:root {
  --ink: #13231f;
  --green: #143d34;
  --mint: #b9eece;
  --cream: #f4f1e9;
  --paper: #fcfaf4;
  --orange: #ef7c52;
  --line: #d9ddd4;
  --muted: #65716d;
  --radius: 18px;
  --focus: #176c58;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 "DM Sans",
    system-ui,
    sans-serif;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
}
h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
}
h3 {
  font-size: 1.65rem;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  background: white;
  padding: 0.8rem;
  z-index: 99;
}
.skip:focus {
  top: 1rem;
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 244, 0.94);
  position: relative;
  z-index: 4;
}
.nav nav {
  display: flex;
  gap: 2rem;
}
.nav nav a {
  text-decoration: none;
  color: #43534e;
  font-size: 0.92rem;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font: 700 0.82rem/1 "Manrope";
  letter-spacing: 0.13em;
}
.brandmark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: var(--green);
  font-size: 1rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font: 600 0.92rem "DM Sans";
}
.button.primary {
  background: var(--green);
  color: white;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; }
.button.ghost {
  border-color: var(--ink);
}
.button.light {
  background: var(--mint);
  color: var(--green);
}
.button.on-dark { border-color: #17332c; color: #17332c; }
.text-link {
  font-weight: 600;
  text-underline-offset: 5px;
}
.hero {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem) 4rem;
  min-height: 760px;
  background:
    radial-gradient(
      circle at 82% 30%,
      rgba(185, 238, 206, 0.7),
      transparent 29%
    ),
    linear-gradient(150deg, var(--paper), #edf2e9);
}
.hero h1 {
  max-width: 1050px;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.eyebrow,
.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #4d6760;
  margin: 0 0 1.5rem;
}
.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  max-width: 710px;
  color: #43534e;
  margin: 2rem 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust {
  display: flex;
  gap: 2.4rem;
  margin-top: 5rem;
  color: #556560;
  font-size: 0.88rem;
}
.trust span:before {
  content: "●";
  color: var(--orange);
  margin-right: 0.6rem;
}
.signal {
  background: var(--green);
  color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2.2rem clamp(1.25rem, 8vw, 9rem);
  gap: 2rem;
}
.signal div {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.signal strong {
  font-size: 0.75rem;
  color: var(--mint);
}
.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem);
}
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8vw;
}
.split p:not(.kicker),
.section-head > p,
.control > div > p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 600px;
}
.dark {
  background: #102e28;
  color: white;
}
.dark .kicker {
  color: var(--mint);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
}
.section-head > p {
  color: #afc1bb;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.cards article {
  border: 1px solid #315148;
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
}
.cards .num {
  color: var(--mint);
  font-size: 0.75rem;
}
.cards h3 {
  margin: 3rem 0 1rem;
}
.cards p {
  color: #b9c9c4;
}
.tag {
  margin-top: auto;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mint);
}
.control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
}
.visual {
  height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}
.orb {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #e8fff0,
    var(--mint) 45%,
    #5fa982
  );
  box-shadow: 0 35px 80px rgba(20, 61, 52, 0.25);
}
.orbit {
  position: absolute;
  border: 1px solid #aabcb5;
  border-radius: 50%;
  width: 370px;
  height: 370px;
}
.orbit.two {
  width: 480px;
  height: 260px;
  transform: rotate(35deg);
}
.chip {
  position: absolute;
  background: white;
  padding: 0.55rem 0.8rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.c1 {
  top: 12%;
  left: 10%;
}
.c2 {
  right: 7%;
  top: 40%;
}
.c3 {
  bottom: 12%;
  left: 22%;
}
.checks {
  padding: 0;
  list-style: none;
}
.checks li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.checks li:before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  margin-right: 1rem;
}
.faq {
  max-width: 1100px;
  margin: auto;
}
.faq h2 {
  margin-bottom: 3rem;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font: 600 1.1rem "Manrope";
}
.faq details p {
  color: var(--muted);
  max-width: 760px;
}
.cta {
  text-align: center;
  background: var(--orange);
  padding: clamp(5rem, 10vw, 9rem) 1.25rem;
}
.cta p:not(.kicker) {
  max-width: 650px;
  margin: 1.5rem auto 2rem;
}
footer {
  padding: 2.5rem clamp(1.25rem, 5vw, 5.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.auth-page {
  min-height: 100vh;
  background: linear-gradient(120deg, #e6efe8, var(--paper));
}
.auth-page .nav {
  background: transparent;
}
.auth-wrap {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 8vw;
  padding: 3rem clamp(1.25rem, 9vw, 10rem);
}
.auth-copy p:not(.kicker) {
  max-width: 450px;
  color: var(--muted);
  font-size: 1.15rem;
}
.auth-card {
  background: white;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(20, 61, 52, 0.12);
  max-width: 500px;
  width: 100%;
}
.auth-card h2 {
  font-size: 2rem;
}
.auth-card h3 { font-size: 1.35rem; }
.auth-switch { margin-top: 1.25rem; }
.auth-card small { display: block; color: var(--muted); margin-top: -.8rem; margin-bottom: 1rem; }
.muted {
  color: var(--muted);
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin: 1.25rem 0;
}
input {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid #b8c1bd;
  border-radius: 10px;
  font: inherit;
  background: white;
}
input:focus {
  outline: 3px solid rgba(23, 108, 88, 0.3);
  border-color: var(--green);
}
form .button {
  width: 100%;
  margin: 0.5rem 0;
}
.status {
  min-height: 3rem;
  color: #5d3223;
  font-size: 0.86rem;
}
.not-found {
  max-width: 760px;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 9vw, 8rem);
}
.not-found h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.not-found > p:not(.kicker) { color: #43534e; font-size: 1.15rem; max-width: 620px; }
.request-history { margin-top: 2rem; }
.request-history h2 { font-size: 1.75rem; }
.request-history .protocol { font-family: ui-monospace, monospace; font-size: .78rem; }
.portal {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: #f3f5f1;
}
.portal aside {
  background: var(--green);
  color: white;
  padding: 2rem 1.4rem;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.portal aside .brandmark {
  background: var(--mint);
  color: var(--green);
}
.portal aside nav {
  margin-top: 3rem;
  display: grid;
  gap: 0.25rem;
}
.portal aside nav a,
.nav-logout {
  padding: 0.75rem 1rem;
  border-radius: 9px;
  text-decoration: none;
  color: #c9d7d2;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.portal aside nav a.active,
.portal aside nav a:hover {
  background: #285047;
  color: white;
}
.nav-logout {
  margin-top: auto;
}
.portal main {
  padding: 2.5rem clamp(1.2rem, 4vw, 4rem);
}
.portal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}
.portal-head h1 {
  font-size: 2.7rem;
}
.account {
  background: white;
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  border-radius: 99px;
  font-size: 0.78rem;
}
.loading,
.empty {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  margin-top: 2rem;
}
.empty h2 {
  font-size: 1.6rem;
}
.empty p {
  color: var(--muted);
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.data-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.data-grid article div {
  padding: 0.6rem 0;
  border-bottom: 1px solid #edf0ec;
}
.data-grid span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.data-grid strong {
  word-break: break-word;
}
@media (max-width: 800px) {
  .nav nav {
    display: none;
  }
  .nav-actions .ghost { display: none; }
  .hero {
    min-height: auto;
  }
  .trust {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 3rem;
  }
  .signal,
  .split,
  .cards,
  .control,
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .signal {
    gap: 1rem;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .cards article {
    min-height: 260px;
  }
  .visual {
    height: 380px;
    overflow: hidden;
  }
  .orbit {
    width: 300px;
    height: 300px;
  }
  .orbit.two {
    width: 370px;
  }
  .auth-copy {
    display: none;
  }
  .portal {
    display: block;
  }
  .portal aside {
    position: relative;
    width: 100%;
    height: auto;
  }
  .portal aside nav {
    display: flex;
    overflow-x: auto;
    margin-top: 1.5rem;
  }
  .portal aside nav a {
    white-space: nowrap;
  }
  .nav-logout {
    position: absolute;
    right: 1rem;
    top: 1.45rem;
  }
  .portal-head {
    align-items: flex-start;
  }
  .account {
    display: none;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 420px) {
  h1 {
    font-size: 2.75rem;
  }
  .nav {
    height: 72px;
  }
  .nav .button {
    padding: 0 0.9rem;
  }
  .nav-actions .button { min-height: 44px; }
  .hero {
    padding-top: 4rem;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .signal {
    padding-block: 1.5rem;
  }
  .section {
    padding-block: 4.5rem;
  }
  .visual {
    height: 320px;
  }
  .orb {
    width: 130px;
    height: 130px;
  }
  .portal main {
    padding: 1.5rem 1rem;
  }
  .portal-head h1 {
    font-size: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
