/* GoodStand landing — brand system: filing-green, Spectral/Public Sans/Plex Mono.
   Single deliberate light theme with a dark penalty band; holds on any ground. */
:root {
  --paper: #f6f8f4;
  --surface: #ffffff;
  --surface-2: #eef2ec;
  --ink: #1c2622;
  --muted: #5c6b63;
  --faint: #8a978f;
  --green: #17705a;
  --green-deep: #0e4a3b;
  --green-soft: #ddede6;
  --dark: #0f1513;
  --dark-2: #161d1a;
  --mint: #4cc7a0;
  --mint-ink: #8adfc4;
  --line: #d9e1d9;
  --line-strong: #b9c6bc;
  --warn: #a87718;
  --crit: #b23b2e;
  --crit-bg: #f7e4e0;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Public Sans",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: "Spectral", Georgia, serif;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0 0 14px;
}
a {
  color: var(--green);
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.logo svg {
  width: 34px;
  height: 34px;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}
.lang {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 600;
}
.lang a {
  padding: 6px 11px;
  text-decoration: none;
  color: var(--muted);
}
.lang a.active {
  background: var(--green);
  color: #fff;
}
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid var(--green);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 112, 90, 0.25);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 112, 90, 0.32);
}
.btn.ghost {
  color: var(--green-deep);
}
.btn.big {
  font-size: 17px;
  padding: 16px 30px;
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero .sub {
  font-size: 19.5px;
  color: var(--muted);
  max-width: 54ch;
  margin: 20px 0 28px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-note {
  font-size: 13.5px;
  color: var(--faint);
  margin-top: 12px;
}
.shot-frame {
  position: relative;
}
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(18, 38, 32, 0.16);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.browser-bar span {
  margin-left: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--faint);
}
.stamp {
  position: absolute;
  top: -18px;
  right: -10px;
  transform: rotate(7deg);
  z-index: 2;
  border: 2.5px solid var(--green);
  color: var(--green);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(23, 112, 90, 0.18);
}

/* ---------- penalty band ---------- */
.penalties {
  background: var(--dark);
  color: #e5ede8;
  padding: 34px 0;
  margin-top: 56px;
}
.penalties .lead {
  font-family: "Spectral", serif;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.pen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.pen {
  border: 1px solid #26302b;
  background: var(--dark-2);
  border-radius: 10px;
  padding: 14px 16px;
}
.pen .amt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 600;
  color: #ee8377;
}
.pen .lbl {
  font-size: 13.5px;
  color: #94a49b;
  margin-top: 2px;
}
.penalties .foot {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #94a49b;
  margin-top: 16px;
}

/* ---------- sections ---------- */
section {
  padding: 84px 0 10px;
}
.sec-head {
  max-width: 62ch;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sec-head p {
  font-size: 18px;
  color: var(--muted);
  margin-top: 12px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: st;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step::before {
  counter-increment: st;
  content: "0" counter(st);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.12em;
}
.step h3 {
  font-size: 21px;
  margin: 10px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}

/* features */
.feat-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .feat-hero {
    grid-template-columns: 1fr;
  }
}
.feat-big {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feat-big .txt {
  padding: 26px 26px 8px;
}
.feat-big h3 {
  font-size: 23px;
  margin-bottom: 8px;
}
.feat-big p {
  color: var(--muted);
  font-size: 15.5px;
}
.feat-big .shot {
  margin: 14px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(18, 38, 32, 0.1);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feat .ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feat h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
}
.feat p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* immigrant band */
.lang-band {
  background: var(--green-soft);
  border-radius: 16px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 860px) {
  .lang-band {
    grid-template-columns: 1fr;
  }
}
.lang-band h2 {
  font-size: clamp(26px, 3.2vw, 34px);
}
.lang-band p {
  color: var(--green-deep);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 600;
}
.chip small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 11.5px;
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.plan.featured {
  border-color: var(--green);
  box-shadow:
    0 0 0 1.5px var(--green),
    0 18px 40px rgba(23, 112, 90, 0.12);
}
.plan .name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan .price {
  font-family: "Spectral", serif;
  font-size: 40px;
  font-weight: 700;
  margin: 8px 0 0;
}
.plan .per {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 14px;
}
.plan ul {
  padding-left: 18px;
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.plan li {
  margin: 6px 0;
}
.pricing-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
}
.pricing-note b {
  color: var(--ink);
}

/* faq */
.faq {
  max-width: 760px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
}
.faq p {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 0;
}

/* final cta */
.final {
  background: var(--dark);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  margin: 70px 0 0;
}
.final h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
}
.final p {
  color: #94a49b;
  font-size: 17px;
  max-width: 52ch;
  margin: 14px auto 26px;
}
.final .btn.primary {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(76, 199, 160, 0.3);
}

footer {
  padding: 46px 0 60px;
  color: var(--faint);
  font-size: 13.5px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
footer .disclaimer {
  max-width: 70ch;
  margin-top: 12px;
  font-size: 12.5px;
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ================= v2 polish: device mockups, hero glow, responsive ================= */

/* hero glow + tighter grid */
.hero{position:relative}
.hero-grid{position:relative}
.shot-frame::before{content:""; position:absolute; inset:-12% -14%; z-index:-1;
  background:radial-gradient(60% 55% at 60% 40%, rgba(23,112,90,.16), transparent 70%)}
.browser{border-radius:16px}
.browser img{width:100%; height:auto}

/* phone mockup — real device frame, screen cropped from the top */
.phone-mock{width:272px; margin:6px auto 26px; background:#101614; border-radius:44px;
  padding:12px; box-shadow:0 26px 60px rgba(16,22,20,.28), inset 0 0 0 2px #2a332f}
.phone-mock .notch{width:86px; height:22px; background:#101614; border-radius:0 0 14px 14px;
  margin:-12px auto 0; position:relative; z-index:2}
.phone-screen{border-radius:32px; overflow:hidden; height:520px; background:#F6F8F4}
.phone-screen img{width:100%; height:100%; object-fit:cover; object-position:top}

/* drawer shot: tall panel, framed like a real side sheet */
.shot.side{max-width:400px; align-self:center; margin:6px auto 26px}
.shot.side img{width:100%; height:auto}

/* feature-big cards breathe evenly */
.feat-big{justify-content:flex-start}
.feat-big .txt{padding:28px 28px 6px}
.feat-big .shot{margin:16px 24px 26px}

/* header on small screens */
@media (max-width:680px){
  .nav{gap:12px; padding:12px 0}
  .logo{font-size:17px}
  .logo svg{width:28px; height:28px}
  .btn{padding:10px 14px; font-size:14px}
  .btn.big{padding:14px 22px; font-size:15.5px}
  .lang a{padding:5px 9px}
}

/* hero on small screens */
@media (max-width:960px){
  .hero{padding-top:48px}
  .hero .sub{font-size:17.5px}
  .shot-frame{margin-top:34px}
  .stamp{top:-14px; right:6px; padding:6px 10px; font-size:10.5px}
}
@media (max-width:640px){
  section{padding:60px 0 6px}
  .sec-head{margin-bottom:28px}
  .penalties{margin-top:40px}
  .pen .amt{font-size:19px}
  .lang-band{padding:28px 22px}
  .final{padding:44px 22px; border-radius:16px}
  .plan .price{font-size:34px}
  .hero-ctas .btn.big{width:100%; text-align:center}
  .phone-mock{width:246px}
  .phone-screen{height:470px}
}

/* keep images from ever overflowing their cards */
.feat-big .shot, .browser{max-width:100%}
