:root {
  color-scheme: light;
  --navy: #103b55;
  --navy-deep: #0a2b3f;
  --green: #67b92d;
  --ink: #1d2b34;
  --muted: #71808a;
  --line: rgba(255, 255, 255, 0.72);
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 15%, rgba(103, 185, 45, 0.18), transparent 30rem),
    radial-gradient(ellipse at 90% 85%, rgba(16, 59, 85, 0.12), transparent 34rem),
    linear-gradient(135deg, #f8faf8 0%, #edf3f3 52%, #f5f7f4 100%);
}

.site-header {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  width: min(100%, 1040px);
  min-height: 58px;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
}

.group-logo {
  display: block;
  width: 66px;
  height: 58px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(16, 59, 85, 0.19);
}

.eyebrow,
.card-kicker {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.brand-lockup .eyebrow {
  margin-bottom: 3px;
  color: #588d31;
}

.brand-lockup h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.24rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.main-content {
  display: flex;
  width: min(100% - 40px, 920px);
  min-height: calc(100vh - 87px);
  min-height: calc(100svh - 87px);
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.intro {
  padding: 30px 0 26px;
  text-align: center;
}

.intro-eyebrow {
  margin-bottom: 10px;
  color: #558f2b;
}

.intro h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.intro-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.access-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 14px 38px rgba(16, 59, 85, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card-heading {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 59, 85, 0.1);
}

.logo-frame {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(10, 43, 63, 0.1);
}

.logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.griffe-frame {
  background: #718c2c;
}

.gelson-frame {
  background: #164b69;
}

.card-kicker {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.59rem;
  letter-spacing: 0.075em;
  line-height: 1.4;
}

.card-heading h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.24rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.card-links {
  display: grid;
  gap: 5px;
  padding-top: 11px;
}

.access-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.access-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.68);
}

.access-link:focus-visible {
  outline: 3px solid rgba(103, 185, 45, 0.55);
  outline-offset: 2px;
}

.access-link strong,
.access-link small {
  display: block;
}

.access-link strong {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 650;
}

.access-link small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.3;
}

.arrow {
  flex: 0 0 auto;
  color: #5a9e2c;
  font-size: 1.05rem;
}

.shared-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(240, 247, 233, 0.48);
}

.shared-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(103, 185, 45, 0.12);
}

.shared-notice p {
  margin: 0;
  color: #586770;
  font-size: 0.72rem;
  line-height: 1.4;
}

.shared-label {
  color: #5b942f;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.gelson-card .card-links {
  padding-top: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 19px 0 15px;
  color: #809099;
  font-size: 0.73rem;
}

.site-footer p {
  margin: 0;
}

.footer-mark {
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand-lockup {
    min-height: 52px;
    gap: 12px;
  }

  .group-logo {
    width: 58px;
    height: 52px;
  }

  .brand-lockup h1 {
    font-size: 1.12rem;
  }

  .main-content {
    width: min(100% - 28px, 440px);
    min-height: calc(100vh - 73px);
    min-height: calc(100svh - 73px);
  }

  .intro {
    padding: 24px 0 19px;
  }

  .intro h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .intro-copy {
    max-width: 300px;
    margin: 8px auto 0;
    font-size: 0.84rem;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .access-card {
    padding: 14px 16px;
    border-radius: 13px;
  }

  .card-heading {
    min-height: 60px;
    gap: 11px;
    padding-bottom: 10px;
  }

  .logo-frame {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .card-heading h3 {
    font-size: 1.15rem;
  }

  .card-links {
    gap: 2px;
    padding-top: 7px;
  }

  .access-link {
    min-height: 47px;
    padding: 6px 8px;
  }

  .shared-notice {
    margin: 7px 0;
    padding: 6px 8px;
  }

  .site-footer {
    padding: 13px 0 10px;
  }
}

@media (max-height: 700px) and (min-width: 641px) {
  .intro {
    padding: 18px 0 15px;
  }

  .intro h2 {
    font-size: 1.9rem;
  }

  .access-card {
    padding: 15px;
  }

  .site-footer {
    padding: 12px 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
