@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/PlusJakartaSans_700Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/fonts/BeVietnamPro_400Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/fonts/BeVietnamPro_600SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #fbf9f5; --surface: #efeee9; --card: #ffffff;
  --text: #31332f; --text-2: #5e605b;
  --green: #136d41; --green-dim: #006036; --green-deep: #0a3b23;
  --mint: #e7f1ec; --fixed: #a1f5bc; --sage: #a1c4b3; --coral: #f28b82;
  --line: #dcdad3;
  --font-head: "Plus Jakarta Sans", ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-body); font-weight: 400; font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; overflow-wrap: break-word; }
main { flex: 1 0 auto; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0; text-wrap: balance; color: var(--green-deep); }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { color: var(--green-deep); }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; }
::selection { background: var(--fixed); color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 10; background: var(--green-deep); color: #fbf9f5; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; outline-color: var(--fixed); }

/* Header (all pages) */
.site-header { background: var(--green-deep); }
.site-header :focus-visible { outline-color: var(--fixed); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; text-decoration: none; color: #fbf9f5; display: inline-flex; align-items: center; min-height: 44px; }
.wordmark:hover { color: #fbf9f5; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--green); color: #ffffff; font-weight: 600; text-decoration: none; flex-shrink: 0; border: 2px solid var(--sage); }
.btn:hover { background: var(--green-dim); color: #ffffff; }
.btn:active { opacity: 0.9; }
.btn-sm { font-size: 0.9375rem; }
.btn-lg { min-height: 52px; padding: 0 32px; font-size: 1.0625rem; }

/* Footer (all pages) */
.site-footer { padding-block: 28px; background: var(--green-deep); color: var(--mint); }
.site-footer a { color: var(--mint); }
.site-footer :focus-visible { outline-color: var(--fixed); }
.foot-links a { display: inline-block; padding-block: 10px; }
.legal { font-size: 0.9375rem; max-width: 68ch; margin-top: 8px; }

/* Home: top */
.hero { background: var(--green-deep); color: #fbf9f5; overflow: hidden; padding-top: 24px; }
.hero-grid { display: grid; gap: 48px; }
.hero h1 { color: #fbf9f5; font-size: clamp(2.75rem, 12.5vw, 5rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 9em; }
.hero-copy > * + * { margin-top: 20px; }
.hero-copy > h1 + p { margin-top: 24px; }
.lede { font-size: 1.1875rem; max-width: 34ch; color: var(--mint); }
.what { color: var(--sage); }
.soon { font-weight: 600; }
.hero .soon { color: #fbf9f5; }
.hero-copy > .cta { margin-top: 28px; }
.hero-visual { align-self: end; }

/* Phone mock-up (decorative) */
.phone { width: min(300px, 100%); margin-inline: auto; height: 400px; background: #04170d; padding: 10px 10px 0; border-radius: 44px 44px 0 0; box-shadow: 0 0 0 2px #1d5a3a; overflow: hidden; }
.screen { height: 100%; background: var(--bg); border-radius: 34px 34px 0 0; padding: 38px 16px 0; position: relative; }
.screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 84px; height: 20px; margin-left: -42px; border-radius: 999px; background: #04170d; }
.card { background: var(--card); color: var(--text); border-radius: 18px; padding: 16px; font-size: 0.9375rem; line-height: 1.4; box-shadow: 0 0 0 1px var(--surface); }
.card + .card { margin-top: 14px; }
.chip { display: inline-block; background: var(--mint); color: var(--green-deep); font-weight: 600; font-size: 0.8125rem; line-height: 1.3; padding: 3px 10px; border-radius: 999px; }
.card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; color: var(--green-deep); margin-top: 10px; }
.card-sub { color: var(--text-2); font-size: 0.875rem; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.avs { display: flex; }
.avs i { display: block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.avs i:first-child { margin-left: 0; }
.a1 { background: var(--sage); } .a2 { background: var(--green); } .a3 { background: var(--coral); }
.pill { background: var(--green); color: #fff; font-weight: 600; font-size: 0.875rem; padding: 6px 16px; border-radius: 999px; }
.chat-head { font-weight: 600; font-size: 0.875rem; color: var(--text-2); margin-bottom: 8px; }
.bub { padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); color: var(--text); }

/* Home: sections */
.sec { padding-block: 56px; }
.sec h2 { font-size: clamp(1.75rem, 5.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em; }
.sec-grid { display: grid; gap: 24px; }
.prose { font-size: 1.1875rem; max-width: 60ch; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; padding-block: 22px; border-top: 1px solid var(--line); max-width: 64ch; }
.steps li::before { content: counter(step); font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; line-height: 1.2; color: var(--green); grid-row: 1 / span 2; }
.steps strong { grid-column: 2; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--green-deep); }
.steps span { grid-column: 2; }
.safe-list li { padding-block: 14px; border-top: 1px solid var(--line); max-width: 64ch; }
.safe-list li:first-child { padding-top: 0; border-top: 0; }
.need { margin-top: 20px; font-weight: 600; }
.faq-list { max-width: 720px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--green-deep); padding: 10px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; flex-shrink: 0; color: var(--green); }
details[open] > summary::after { content: "\2212"; }
details > p { padding-bottom: 16px; max-width: 64ch; }
.last { background: var(--mint); }
.last h2 { font-size: clamp(2.25rem, 8vw, 3.75rem); }
.last .soon { color: var(--green-deep); font-size: 1.25rem; }
.ringed { position: relative; display: inline-block; }
.ring { position: absolute; left: -9%; top: -16%; width: 118%; height: 136%; overflow: visible; pointer-events: none; }
.ring path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.badge { display: inline-block; padding: 14px; margin-left: -14px; }
.badge img { height: 48px; width: auto; }

/* Inner pages: privacy, contact, 404 */
.doc main { padding-block: 40px 64px; }
.doc main .wrap > * { max-width: 65ch; }
.doc main h1 { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.doc main h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; margin: 48px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.doc main h3 { font-size: 1.0625rem; line-height: 1.4; margin: 28px 0 8px; }
.doc main p { margin-bottom: 16px; }
.doc main ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.doc main li { margin-bottom: 8px; padding-left: 4px; }
.doc main li::marker { color: var(--green); }
.doc .meta { color: var(--text-2); }
.doc .link-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.doc .link-list li { margin: 0; padding: 0; }
.doc .link-list a { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-head); font-weight: 700; color: var(--green-deep); text-decoration: none; }
.doc .link-list a:hover { border-color: var(--green); color: var(--green); }
.doc .toc { margin-top: 24px; padding: 16px 20px 12px; background: var(--mint); border-radius: 12px; }
.doc .toc p { margin: 0 0 4px; font-family: var(--font-head); font-weight: 700; color: var(--green-deep); }
.doc .toc ul { margin: 0; padding: 0; list-style: none; }
.doc .toc li { margin: 0; padding: 0; }
.doc .toc a { display: flex; align-items: center; min-height: 44px; color: var(--green-deep); }
.doc .contact-item { margin-bottom: 32px; }
.doc .contact-item .mail { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.doc .contact-item p { margin: 0; }
.doc .urgent { padding: 16px 20px; background: var(--mint); color: var(--green-deep); border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; }
.doc .urgent p { margin: 0; }
.doc .urgent a { color: var(--green-deep); }
.doc main h2 strong { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.doc mark.placeholder { background: var(--coral); color: var(--text); font-weight: 700; padding: 0 4px; border-radius: 4px; }

@media (min-width: 900px) {
  .wrap { padding-inline: 40px; }
  .badge img { height: 54px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; }
  .hero-copy { padding-bottom: 88px; }
  .hero-visual { margin-top: 24px; }
  .phone { height: 520px; width: 320px; }
  .sec { padding-block: 96px; }
  .sec-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .doc main { padding-block: 64px 96px; }
}

/* Invite page (/i/<code>) */
[hidden] { display: none !important; }
.doc .invite-label { margin-bottom: 4px; margin-top: 24px; color: var(--text-2); font-weight: 600; }
.doc .invite-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.25rem, 11vw, 3.5rem); line-height: 1.1; letter-spacing: 0.08em; color: var(--green-deep); background: var(--mint); border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; overflow-wrap: anywhere; }
.doc .invite-cta { margin-bottom: 16px; }
