:root {
  color-scheme: light;
  --ink: #14211f;
  --muted: #66716d;
  --paper: #f5f7f3;
  --surface: #ffffff;
  --line: #e2e8e2;
  --green: #127c67;
  --green-deep: #0c5b4c;
  --mint: #c5f1df;
  --blue: #cfe5f4;
  --amber: #f2bf6a;
  --shadow: 0 24px 70px rgba(28, 54, 45, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 82% 4%, rgba(197, 241, 223, .6), transparent 31rem),
    radial-gradient(ellipse at 8% 28%, rgba(207, 229, 244, .37), transparent 32rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--green-deep); text-underline-offset: .2em; }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: .7rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.shell { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(20, 33, 31, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
}
.brand-mark::before, .brand-mark::after {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--mint);
  border-radius: 5px;
  content: "";
  transform: rotate(45deg);
}
.brand-mark::after { width: 7px; height: 7px; border-color: var(--amber); background: var(--ink); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: #465450; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(4.5rem, 10vw, 8rem) 5rem;
}

.eyebrow, .label {
  color: var(--green);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .99;
}
.hero h1 span { color: var(--green); }
.hero-copy { max-width: 620px; margin-bottom: 2rem; color: #53615b; font-size: clamp(1.06rem, 1.55vw, 1.24rem); }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(28, 54, 45, .1); }
.button-primary { border-color: var(--ink); background: var(--ink); color: white; }
.button-primary:hover { color: white; }

.flow-card {
  position: relative;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(240,248,242,.8));
  box-shadow: var(--shadow);
}
.flow-card::before {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(18, 124, 103, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(18, 124, 103, .035), 0 0 0 52px rgba(18, 124, 103, .025);
  content: "";
}
.flow-heading { position: relative; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.flow-heading strong { font-size: .95rem; }
.status { align-self: start; padding: .3rem .55rem; border-radius: 99px; background: #e3f5ec; color: var(--green-deep); font-size: .69rem; font-weight: 750; }
.flow-step { position: relative; display: grid; grid-template-columns: 37px 1fr; gap: .9rem; align-items: start; padding-block: .9rem; }
.flow-step + .flow-step { border-top: 1px solid var(--line); }
.step-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #e9f3ed; color: var(--green-deep); font-size: .76rem; font-weight: 800; }
.flow-step strong { display: block; margin-bottom: .12rem; font-size: .89rem; }
.flow-step span { color: var(--muted); font-size: .8rem; }
.flow-note { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }

.section { padding-block: 3.7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.section-heading h2 { max-width: 540px; margin-bottom: 0; font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -.055em; line-height: 1.08; }
.section-heading p { max-width: 370px; margin-bottom: .15rem; color: var(--muted); font-size: .95rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card {
  min-height: 235px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
}
.feature-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 2.4rem;
  place-items: center;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 1rem;
  font-weight: 850;
}
.feature-card:nth-child(2) .icon { background: var(--blue); }
.feature-card:nth-child(3) .icon { background: #f8e8c9; }
.feature-card h3 { margin-bottom: .45rem; font-size: 1.03rem; letter-spacing: -.02em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.notice {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  margin-block: 4rem 6rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 27px;
  background: var(--ink);
  color: white;
}
.notice .label { color: var(--mint); }
.notice h2 { margin: .55rem 0 0; font-size: clamp(1.55rem, 3vw, 2.4rem); letter-spacing: -.05em; line-height: 1.1; }
.notice p { margin-bottom: .8rem; color: #cfdbd5; font-size: .92rem; }
.notice a { color: var(--mint); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem 2rem;
  border-top: 1px solid rgba(20, 33, 31, .1);
  color: var(--muted);
  font-size: .82rem;
}
.footer-links { display: flex; gap: 1.1rem; }
.footer-links a { color: #465450; font-weight: 650; text-decoration: none; }

.legal-main { max-width: 850px; padding-block: 5rem 6rem; }
.legal-main h1 { max-width: 760px; margin-block: .45rem 1rem; font-size: clamp(2.7rem, 6vw, 4.7rem); }
.legal-intro { max-width: 700px; margin-bottom: 1.3rem; color: #53615b; font-size: 1.12rem; }
.updated { margin-bottom: 3rem; color: var(--muted); font-size: .85rem; }
.legal-body { padding: clamp(1.3rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.82); }
.legal-body h2 { margin: 2rem 0 .6rem; font-size: 1.25rem; letter-spacing: -.025em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #465450; font-size: .94rem; }
.legal-body ul { padding-left: 1.25rem; }
.legal-body li + li { margin-top: .35rem; }
.legal-callout { margin-top: 1.2rem; padding: 1rem 1.1rem; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: #edf6f0; color: #385249; font-size: .9rem; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4rem; }
  .flow-card { max-width: 520px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card .icon { margin-bottom: 1.4rem; }
  .section-heading, .notice { grid-template-columns: 1fr; display: grid; gap: 1rem; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 30px, 1120px); }
  .site-header { min-height: 72px; }
  .brand { gap: .55rem; font-size: .83rem; }
  .brand-mark { width: 32px; height: 32px; }
  .nav { gap: .85rem; }
  .nav a { font-size: .78rem; }
  .nav .home-link { display: none; }
  .site-footer { align-items: start; flex-direction: column; }
  .legal-main { padding-top: 3.5rem; }
}

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