:root {
  --deep: #10253f;
  --forest: #12372f;
  --teal: #0f766e;
  --teal-dark: #0a5f59;
  --mint: #dff7ee;
  --gold: #f59e0b;
  --tomato: #ef4444;
  --ink: #17212f;
  --muted: #647084;
  --surface: #f5f8f7;
  --surface-2: #edf3f1;
  --white: #ffffff;
  --line: #dbe5e2;
  --shadow: 0 18px 44px rgba(16, 37, 63, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--forest);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: calc(100% - 2rem);
  max-width: 1180px;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 226, 0.95);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 850;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0.55rem 0.72rem;
  color: #2a394d;
  font-size: 0.94rem;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--forest);
  background: var(--surface);
}

.nav-links .nav-accent {
  color: var(--white);
  background: var(--teal);
}

.nav-links .nav-accent:hover,
.nav-links .nav-accent[aria-current="page"] {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--forest);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(720px, calc(100vh - 96px));
  color: var(--white);
  background: var(--forest);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 55, 47, 0.98) 0%, rgba(16, 37, 63, 0.94) 48%, rgba(16, 37, 63, 0.58) 100%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.42), rgba(245, 158, 11, 0.22));
}

.hero-grid {
  min-height: min(720px, calc(100vh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.75fr);
  align-items: center;
  gap: 2.5rem;
  padding-block: 4.5rem 3.75rem;
}

.hero-content {
  max-width: 710px;
  min-width: 0;
}

.product-lockup {
  width: 100%;
  max-width: 700px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.product-lockup img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
}

.product-lockup span {
  display: block;
  color: #d6f7ea;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-lockup strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.product-lockup > span {
  flex: 1 1 220px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c8f4e5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: #f4fbf8;
  font-size: 1.24rem;
  line-height: 1.45;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  font-weight: 820;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  color: #142034;
  background: var(--gold);
}

.btn-primary:hover {
  background: #fbbf24;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-dark {
  color: var(--white);
  background: var(--forest);
}

.btn-dark:hover {
  background: var(--teal-dark);
}

.btn-light {
  color: var(--forest);
  border-color: var(--line);
  background: var(--white);
}

.btn-light:hover {
  background: var(--surface);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  min-width: 0;
}

.phone-frame {
  width: min(100%, 420px);
  max-width: 100%;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.phone-screen {
  overflow: hidden;
  border-radius: 20px;
  color: var(--ink);
  background: #f9fbfa;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  min-width: 0;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: var(--forest);
}

.phone-top strong {
  min-width: 0;
  font-size: 1rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.4rem;
  color: #d8f9ee;
  font-size: 0.78rem;
  font-weight: 800;
}

.live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.mock-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.mock-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.mock-item strong {
  display: block;
  color: var(--forest);
  font-size: 0.92rem;
  line-height: 1.2;
}

.mock-item span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.mock-item.accent {
  border-color: rgba(245, 158, 11, 0.55);
  background: #fff7e8;
}

.mock-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--forest);
  background: var(--mint);
}

.mock-icon svg {
  width: 23px;
  height: 23px;
}

.mock-line {
  height: 8px;
  width: 100%;
  margin-top: 0.72rem;
  border-radius: 99px;
  background: var(--surface-2);
}

.mock-line.short {
  width: 62%;
}

.qr-grid {
  width: 92px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 0.65rem;
}

.qr-grid i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--forest);
}

.qr-grid i:nth-child(3n) {
  background: var(--teal);
}

.section {
  padding-block: 4.8rem;
}

.section-soft {
  background: var(--surface);
}

.section-dark {
  color: var(--white);
  background: var(--deep);
}

.section-header {
  width: 100%;
  max-width: 780px;
  margin-bottom: 2.1rem;
}

.section-title {
  margin: 0;
  color: var(--forest);
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-dark .section-title,
.section-dark .section-kicker {
  color: var(--white);
}

.section-copy {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-copy {
  color: #d8e2eb;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.role-card,
.legal-card,
.support-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(16, 37, 63, 0.06);
}

.feature-card {
  min-height: 230px;
  padding: 1.2rem;
}

.feature-icon,
.mini-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--forest);
  border-radius: var(--radius);
  background: var(--mint);
}

.feature-icon svg,
.mini-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3,
.role-card h3,
.legal-card h2,
.support-card h2,
.contact-card h3 {
  margin: 1rem 0 0.5rem;
  color: var(--forest);
  font-size: 1.08rem;
  line-height: 1.25;
}

.feature-card p,
.role-card p,
.legal-card p,
.support-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.role-card {
  min-height: 190px;
  padding: 1.2rem;
}

.legal-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.doc-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.doc-link {
  display: grid;
  gap: 0.4rem;
  min-height: 126px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.doc-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.doc-link strong {
  font-size: 1rem;
}

.doc-link span {
  color: #d8e2eb;
  font-size: 0.92rem;
}

.page-hero {
  padding-block: 4.2rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 55, 47, 0.98), rgba(16, 37, 63, 0.94)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.38), rgba(239, 68, 68, 0.16));
}

.page-hero p {
  max-width: 820px;
  margin: 1rem 0 0;
  color: #e4f1ee;
  font-size: 1.1rem;
}

.updated {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-top: 1rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #d8f9ee;
  font-size: 0.88rem;
  font-weight: 760;
}

.legal-layout,
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 2rem;
  align-items: start;
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-card,
.support-card,
.contact-card {
  padding: 1.2rem;
}

.legal-card h2,
.support-card h2 {
  margin-top: 0;
  font-size: 1.32rem;
}

.legal-card h3 {
  margin: 1rem 0 0.35rem;
  color: var(--forest);
  font-size: 1.02rem;
}

.legal-card p + p,
.support-card p + p {
  margin-top: 0.8rem;
}

.legal-list,
.support-list,
.plain-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-list li,
.support-list li,
.plain-list li {
  position: relative;
  margin-top: 0.48rem;
  padding-left: 1.15rem;
  color: #435264;
}

.legal-list li::before,
.support-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-aside,
.support-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.9rem;
}

.aside-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.aside-card h2,
.aside-card h3 {
  margin: 0 0 0.75rem;
  color: var(--forest);
  font-size: 1rem;
}

.aside-card a {
  display: block;
  padding-block: 0.43rem;
  color: #405165;
  font-weight: 720;
}

.aside-card a:hover,
.email-link:hover {
  color: var(--teal-dark);
}

.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--forest);
  font-weight: 820;
  word-break: break-word;
}

.notice {
  border-left: 4px solid var(--gold);
}

.support-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.45fr);
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.site-footer {
  color: #dce8e3;
  background: #0b1c24;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(160px, 0.48fr));
  gap: 2rem;
  padding-block: 3rem;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-brand span,
.footer-brand a,
.footer-links a {
  color: #dce8e3;
}

.footer-links h2 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-links a {
  display: block;
  padding-block: 0.34rem;
  font-weight: 650;
}

.footer-links a:hover,
.footer-brand a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7c6c2;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .legal-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-frame {
    margin-inline: 0;
  }

}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .feature-grid,
  .role-grid,
  .legal-layout,
  .support-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside,
  .support-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.625rem;
    overflow: hidden;
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text span {
    display: none;
  }

  .nav-links {
    inset-block-start: 66px;
  }

  .hero-grid {
    gap: 1.75rem;
    padding-block: 3rem 2.2rem;
  }

  .product-lockup img {
    width: 60px;
    height: 60px;
  }

  .hero-content,
  .hero-visual,
  .hero-grid {
    width: 100%;
    max-width: calc(100vw - 1.25rem);
  }

  .product-lockup {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .product-lockup > span {
    flex: 1 1 auto;
    max-width: calc(100vw - 90px);
  }

  .product-lockup span {
    font-size: 0.76rem;
  }

  .product-lockup strong {
    font-size: 0.92rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-lead {
    max-width: 100%;
  }

  .phone-frame {
    width: 100%;
    max-width: calc(100vw - 1.25rem);
  }

  .phone-top {
    gap: 0.5rem;
  }

  .live-pill {
    font-size: 0.72rem;
  }

  .mock-list,
  .mock-item,
  .mock-item > div {
    min-width: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero-lead,
  .page-hero p {
    font-size: 1rem;
  }

  .section {
    padding-block: 3.5rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .doc-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .mock-item {
    grid-template-columns: 40px 1fr;
  }

  .mock-icon {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
