/* Zaviku — design system v3. Dependency-free. */

:root {
  --forest: #0b3025;
  --forest-2: #0f4030;
  --emerald: #116447;
  --emerald-hover: #0b533b;
  --emerald-tint: #e6f2ec;
  --offwhite: #f7f9f6;
  --white: #ffffff;
  --text: #16241d;
  --text-2: #596a60;
  --line: #dfe7e1;
  --amber-bg: #fff6e5;
  --amber-line: #eed49a;
  --amber-ink: #7a4f00;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 80px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(16, 36, 29, .05);
  --shadow-2: 0 12px 34px rgba(11, 48, 37, .10);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(40px, 7vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--text);
  font: 400 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); max-width: 58ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--emerald); margin: 0 0 12px; }
.note { font-size: .92rem; color: var(--text-2); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }
section { padding: var(--section) 0; }
.section-tight { padding: clamp(28px, 4vw, 52px) 0; }
.stack > * + * { margin-top: var(--sp-5); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--text); padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100; }
.skip:focus { left: 0; }
.interim-notice { background: #fff6e5; color: #5d4515; border-bottom: 1px solid #ecd9a5; padding: 10px 16px; text-align: center; font-size: .84rem; line-height: 1.5; }
.interim-notice:empty { display: none; }
.interim-notice strong { color: #3f2f0c; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 249, 246, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .nav { display: flex; align-items: center; gap: var(--sp-5); min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 30px; height: 30px; object-fit: contain; align-self: center; flex: none; border-radius: 50%; }
.brand .by { font-size: .78rem; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { color: var(--text-2); padding: 9px 13px; border-radius: var(--r-pill); font-size: .96rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--emerald-tint); color: var(--emerald); text-decoration: none; }
.nav-cta { display: flex; align-items: center; }
.nav-toggle { display: none; margin-left: auto; align-items: center; min-height: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 14px; font: inherit; font-size: .95rem; font-weight: 600; color: var(--text); cursor: pointer; }
.nav-toggle:hover { border-color: var(--emerald); }

@media (max-width: 900px) {
  .site-header .nav { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; order: 3; width: 100%; margin: var(--sp-3) 0 0; flex-direction: column; align-items: stretch; gap: 0; }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: var(--r-sm); border-bottom: 1px solid var(--line); }
  .nav-cta { order: 3; width: 100%; margin-top: var(--sp-3); }
  .nav-cta .btn { width: 100%; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-pill); font-weight: 650; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-hover); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-ghost { background: transparent; color: var(--emerald); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { text-decoration: underline; }

/* Hero */
.hero { padding: clamp(36px, 6vw, 76px) 0 clamp(24px, 4vw, 48px); background: radial-gradient(900px 380px at 78% -10%, var(--emerald-tint), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 45fr 55fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-4); }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--emerald); font-weight: 800; margin-right: 7px; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

/* Interface illustration (fictional demo content) */
.ui { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-2); overflow: hidden; }
.ui-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfb; }
.ui-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ui-top .title { margin-left: 6px; font-size: .82rem; font-weight: 600; color: var(--text-2); }
.ui-body { display: grid; grid-template-columns: 96px 1fr; min-height: 300px; }
.ui-side { border-right: 1px solid var(--line); padding: 14px 12px; background: #fbfcfb; display: flex; flex-direction: column; gap: 6px; }
.ui-side span { font-size: .74rem; color: var(--text-2); padding: 6px 8px; border-radius: 8px; }
.ui-side span.on { background: var(--emerald-tint); color: var(--emerald); font-weight: 700; }
.ui-main { padding: 16px; }
.ui-h { font-weight: 700; font-size: 1.02rem; margin-bottom: 12px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row .t { font-size: .88rem; font-weight: 600; }
.ui-row .s { font-size: .78rem; color: var(--text-2); }
.pill { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); background: var(--emerald-tint); color: var(--emerald); white-space: nowrap; }
.pill.warn { background: #fdf1dc; color: #8a5a00; }
.ui-money { display: flex; gap: 12px; margin-top: 14px; }
.ui-money div { flex: 1; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; }
.ui-money .s { font-size: .72rem; color: var(--text-2); }
.ui-money b { font-size: 1.1rem; }
@media (max-width: 560px) { .ui-body { grid-template-columns: 78px 1fr; } }
.illustration-note { margin-top: 10px; text-align: center; font-size: .82rem; color: var(--text-2); }

/* Workflow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.flow .step { padding: 20px 18px; position: relative; }
.flow .step + .step { border-left: 1px solid var(--line); }
.flow .step b { display: block; color: var(--text); font-size: 1rem; }
.flow .step span { font-size: .84rem; color: var(--text-2); }
.flow .step::before { content: ""; position: absolute; left: 18px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.flow .step b { margin-top: 14px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow .step + .step { border-left: 0; border-top: 1px solid var(--line); }
}

/* Two-column feature/team rows. Distinct from the homepage step diagram above
   so both layouts keep their intended desktop grid. */
.flow-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 4vw, 40px); align-items: start; padding: clamp(24px, 4vw, 40px) 0; border-top: 1px solid var(--line); }
.flow-row h2 { margin-bottom: 8px; }
.flow-row .step { display: inline-block; color: var(--emerald); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.flow-row .checklist { margin-top: 8px; }
@media (max-width: 860px) {
  .flow-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
}

/* Product showcase */
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: var(--sp-6); align-items: start; }
.support { display: grid; gap: clamp(16px, 2vw, 24px); }
.showcase h3 { margin-bottom: .3em; }
.showcase p { margin-bottom: 10px; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); margin-top: var(--sp-5); }
.benefit { border-top: 2px solid var(--emerald); padding-top: 14px; }
.benefit h3 { font-size: 1.1rem; }
.benefit p { margin: 0; font-size: .96rem; }
.audience { margin-top: var(--sp-5); font-size: .96rem; color: var(--text-2); }
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: var(--sp-5); }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.plan.featured { border-color: var(--emerald); box-shadow: var(--shadow-2); }
.plan h3 { margin-bottom: 2px; }
.plan .who { font-size: .9rem; color: var(--text-2); margin-bottom: 12px; }
.plan .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price span { font-size: .85rem; font-weight: 500; color: var(--text-2); display: block; letter-spacing: 0; }
.plan .feats { list-style: none; padding: 0; margin: 14px 0 0; font-size: .92rem; color: var(--text-2); }
.plan .feats li { padding: 5px 0; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: var(--sp-5) auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--emerald); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--forest), var(--emerald)); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--forest); }
.cta-band .btn-primary:hover { background: #eef5f1; }

/* Page head / legal */
.page-head { padding: clamp(32px, 5vw, 60px) 0 clamp(8px, 2vw, 20px); }
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.7em; }
.banner { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); border-radius: var(--r-md); padding: 14px 18px; font-size: .95rem; }

/* Contact & help */
.contact-hero { max-width: 900px; }
.contact-shell { max-width: 1040px; margin: 0 auto; }
.role-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; margin-bottom: var(--sp-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.role-tab { appearance: none; border: 0; background: transparent; color: var(--text); font: inherit; text-align: left; padding: 13px 16px; border-radius: var(--r-md); cursor: pointer; }
.role-tab span { display: block; font-weight: 700; }
.role-tab small { display: block; margin-top: 2px; color: var(--text-2); font-size: .82rem; line-height: 1.35; }
.role-tab:hover { background: var(--offwhite); }
.role-tab[aria-selected="true"] { background: var(--emerald-tint); color: var(--emerald); }
.role-tab[aria-selected="true"] small { color: var(--emerald); }
.js .role-panel { display: none; }
.js .role-panel.is-active { display: block; }
.role-panel h2 { margin-top: 0; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.help-card { display: flex; flex-direction: column; gap: 7px; min-height: 180px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); box-shadow: var(--shadow-1); }
.help-card:hover { text-decoration: none; border-color: var(--emerald); }
a.help-card { transition: border-color .16s ease, transform .12s ease; }
a.help-card:hover { transform: translateY(-1px); }
.help-kicker { color: var(--emerald); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.help-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.25; }
.help-card p { margin: 0; font-size: .93rem; line-height: 1.5; }
.help-link { margin-top: auto; padding-top: 10px; color: var(--emerald); font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.help-card-static { background: var(--amber-bg); border-color: var(--amber-line); }
.help-card-static .help-kicker, .help-card-static .help-link { color: var(--amber-ink); }
.contact-notice { margin-top: var(--sp-4); padding: 16px 18px; border-radius: var(--r-md); background: var(--emerald-tint); border: 1px solid #cde3d7; }
.contact-notice p { margin: 0; font-size: .93rem; color: var(--text); }
.automated-note { margin-top: var(--sp-5); padding-top: 18px; border-top: 1px solid var(--line); }
.automated-note h3 { margin: 0 0 8px; font-size: 1.05rem; }
.automated-note p { margin: 0; font-size: .9rem; }
.automated-note p + p { margin-top: 8px; }
.automated-note .note { font-size: .86rem; }
@media (max-width: 820px) {
  .role-picker { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .help-card { min-height: 0; }
}

/* Product updates */
.updates-head { max-width: 860px; }
.updates-layout { max-width: 1040px; }
.updates-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.updates-label { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.update-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { appearance: none; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--text-2); font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 14px; cursor: pointer; }
.filter-chip:hover { border-color: var(--emerald); color: var(--emerald); }
.filter-chip[aria-pressed="true"] { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.updates-count { margin: 14px 0 0; color: var(--text-2); font-size: .86rem; }
.updates-list { margin-top: 8px; border-bottom: 1px solid var(--line); }
.update-entry { padding: 28px 0; border-top: 1px solid var(--line); }
.update-entry[hidden], .updates-empty[hidden] { display: none; }
.update-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; color: var(--text-2); font-size: .86rem; }
.update-product { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 700; }
.update-logo { width: 24px; height: 24px; object-fit: contain; }
.update-status { display: inline-flex; align-items: center; border-radius: var(--r-pill); padding: 3px 10px; font-size: .76rem; font-weight: 700; }
.status-development { background: #fdf1dc; color: #835300; }
.status-testing { background: #e7eef9; color: #28517f; }
.status-released { background: var(--emerald-tint); color: var(--emerald); }
.update-version { color: var(--text-2); }
.update-title { margin: 0 0 8px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.update-summary { max-width: 78ch; margin: 0; }
.update-changes { max-width: 78ch; margin: 14px 0 0; padding: 0; list-style: none; }
.update-changes li { position: relative; padding: 6px 0 6px 22px; color: var(--text-2); font-size: .95rem; border-bottom: 1px solid var(--line); }
.update-changes li:last-child { border-bottom: 0; }
.update-changes li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--emerald); font-weight: 800; }
.updates-empty { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: var(--text-2); }

/* Community */
.community-panel { display: flex; align-items: flex-start; gap: clamp(18px, 3vw, 32px); padding: clamp(24px, 4vw, 36px); border: 1px solid #cde3d7; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--emerald-tint), #f8fbf9); }
.community-logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.community-copy { max-width: 760px; }
.community-copy h2 { margin: 0 0 10px; }
.community-copy p:last-child { margin-bottom: 0; }
@media (max-width: 620px) {
  .community-panel { flex-direction: column; }
}

/* Footer — compact horizontal grid */
.site-footer { background: var(--forest); color: rgba(255, 255, 255, .72); margin-top: var(--sp-9); padding: clamp(32px, 5vw, 56px) 0 22px; }
.site-footer a { color: rgba(255, 255, 255, .88); }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .93rem; }
.site-footer .blurb { color: rgba(255, 255, 255, .72); font-size: .95rem; max-width: 34ch; margin: 10px 0 0; }
.site-footer .legal-line { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: var(--sp-6); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
@media (max-width: 820px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .site-footer .brand-col { grid-column: 1 / -1; }
}

/* Legacy helpers still used by older pages */
.grid-3, .grid-2 { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.card h3 { margin-top: 0; }
.card ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.m { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.m .s { color: var(--text-2); font-size: .9rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li { padding: 7px 0 7px 26px; position: relative; color: var(--text-2); border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }

/* Product catalogue */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 3vw, 28px); margin-top: var(--sp-5); }
.product-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1); }
.product-card h3 { margin: 0; font-size: 1.45rem; }
.product-card p { margin: 0 0 6px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; color: var(--text-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.product-meta .pill { text-transform: none; letter-spacing: 0; }

.nav-status { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; color: var(--text-2); font-size: .96rem; font-weight: 500; cursor: default; white-space: nowrap; }
.nav-status small { display: inline-block; padding: 2px 7px; border-radius: var(--r-pill); background: var(--emerald-tint); color: var(--emerald); font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.btn.is-disabled { opacity: .58; cursor: not-allowed; pointer-events: none; }
@media (max-width: 900px) {
  .nav-status { width: 100%; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
}

/* Visual refresh v4 — stronger hierarchy, product-led presentation. */
:root {
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink-soft: #3d4f45;
  --surface: #ffffff;
  --surface-2: #fbfcfb;
  --ring: rgba(17, 100, 71, .22);
  --shadow-3: 0 24px 70px rgba(11, 48, 37, .16);
}
body { background: #f6f8f5; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 780; letter-spacing: -0.038em; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.35rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.06; }
.lead { color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #cfe2d7; border-radius: var(--r-pill); background: rgba(230, 242, 236, .75); font-size: .72rem; letter-spacing: .12em; }
.site-header { background: rgba(246, 248, 245, .86); box-shadow: 0 1px 0 rgba(11, 48, 37, .04); }
.site-header .nav { min-height: 76px; }
.brand { font-size: 1.3rem; }
.brand-logo { width: 34px; height: 34px; }
.nav-links a { font-size: .93rem; }
.btn { min-height: 46px; padding: 12px 22px; box-shadow: 0 1px 1px rgba(11, 48, 37, .04); }
.btn-primary { background: linear-gradient(180deg, #126b4c, #0f5b41); box-shadow: 0 8px 22px rgba(17, 100, 71, .18); }
.btn-secondary { box-shadow: var(--shadow-1); }
.btn-ghost { box-shadow: none; }

.hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(800px 360px at 88% -20%, rgba(17, 100, 71, .16), transparent 65%),
  linear-gradient(180deg, #fbfcfa, #f4f8f4);
  padding: clamp(44px, 7vw, 92px) 0 clamp(44px, 6vw, 84px);
}
.hero-grid { grid-template-columns: 47fr 53fr; gap: clamp(28px, 5vw, 70px); }
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 51ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.hero-points li { font-size: .9rem; }
.hero-product { position: relative; }
.hero-product .product-shot { transform: rotate(-.7deg); }
.hero-product-card { position: absolute; left: -18px; bottom: -22px; max-width: 280px; padding: 14px 16px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); backdrop-filter: blur(10px); }
.hero-product-card .tiny { margin: 0 0 3px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
.hero-product-card strong { display: block; font-size: .98rem; }
.hero-product-card span { display: block; font-size: .82rem; color: var(--text-2); }
@media (max-width: 940px) { .hero-product-card { position: static; margin-top: 12px; max-width: none; } .hero-product .product-shot { transform: none; } }

.product-shot { border: 1px solid #d5e1da; border-radius: 20px; background: var(--white); padding: 7px; box-shadow: var(--shadow-3); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 7px 9px 10px; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7e1db; }
.screen-bar span { margin-left: 8px; font-size: .68rem; color: #7a8b81; font-weight: 650; letter-spacing: .02em; }
.product-shot img { width: 100%; height: auto; border-radius: 13px; border: 1px solid #e8eee9; background: #f8faf7; }

.section-alt { background: linear-gradient(180deg, #f0f6f1, #f7faf7); border-top: 1px solid #dce9e0; border-bottom: 1px solid #dce9e0; }
.section-forest { background: var(--forest); color: #fff; }
.section-forest h2 { color: #fff; }
.section-forest p, .section-forest .lead { color: rgba(255,255,255,.74); }
.section-forest .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #b9e0cb; }

.product-hero { padding: clamp(40px, 6vw, 76px) 0; border-bottom: 1px solid var(--line); background:
  radial-gradient(700px 340px at 86% 0%, rgba(17,100,71,.13), transparent 65%), linear-gradient(180deg,#fbfcfa,#f5f9f5); }
.product-hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.product-hero h1 { max-width: 11ch; }
.product-hero .hero-actions { margin-top: 20px; }
@media (max-width: 980px) { .product-hero-grid { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: var(--sp-5); }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1); }
.feature .mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--emerald-tint); color: var(--emerald); font-size: .72rem; font-weight: 800; margin-bottom: 14px; }
.feature h3 { margin-bottom: 6px; font-size: 1.08rem; }
.feature p { margin: 0; font-size: .94rem; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.media-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.media-split.reverse { grid-template-columns: 1.1fr .9fr; }
.media-copy h2 { max-width: 15ch; }
.media-copy .step { display: inline-block; margin-bottom: 10px; color: var(--emerald); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.media-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.media-points li { position: relative; padding-left: 24px; color: var(--text-2); font-size: .95rem; }
.media-points li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }
@media (max-width: 900px) { .media-split, .media-split.reverse { grid-template-columns: 1fr; } }

.product-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.product-card { padding: 26px; gap: 12px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: #c9ddd0; }
.product-logo { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); padding: 5px; object-fit: contain; }
.product-card h3 { font-size: 1.55rem; }
.product-audience { font-size: .82rem; font-weight: 650; color: var(--emerald); }
.product-benefits { margin: 3px 0 8px; padding: 0; list-style: none; display: grid; gap: 7px; }
.product-benefits li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--text-2); }
.product-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }
.product-card .btn { margin-top: auto; }

.plan { display: flex; flex-direction: column; }
.plan .feats li::before { content: "✓"; color: var(--emerald); font-weight: 800; margin-right: 7px; }
.plan .badge { align-self: flex-start; margin-bottom: 8px; }
.pricing-note { text-align: center; margin-top: 14px; font-size: .88rem; color: var(--text-2); }

.legal-page { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: 100px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: .85rem; }
.legal-toc strong { display: block; margin-bottom: 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--emerald); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 20px; font-size: .82rem; color: var(--text-2); }
.legal-body h2 { scroll-margin-top: 100px; margin-top: 2em; font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.legal-body h3 { margin-top: 1.4em; }
.legal-body ul { padding-left: 22px; color: var(--text-2); }
.legal-body li { margin: 7px 0; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .86rem; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 9px 10px; }
.legal-body th { color: var(--text-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .legal-page { grid-template-columns: 1fr; } .legal-toc { position: static; } }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; display: none; justify-content: center; pointer-events: none; }
.cookie-banner.is-visible { display: flex; }
.cookie-banner-inner { pointer-events: auto; width: min(760px, 100%); background: rgba(255,255,255,.98); border: 1px solid #c9ddd0; border-radius: 18px; box-shadow: var(--shadow-3); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; align-items: center; }
.cookie-banner h2 { font-size: 1rem; margin-bottom: 4px; }
.cookie-banner p { margin: 0; font-size: .86rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 40px; padding: 9px 15px; font-size: .88rem; box-shadow: none; }
.cookie-dialog { width: min(620px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 18px; padding: 0; box-shadow: var(--shadow-3); background: var(--white); }
.cookie-dialog::backdrop { background: rgba(11, 48, 37, .42); backdrop-filter: blur(3px); }
.cookie-dialog-inner { padding: 24px; }
.cookie-dialog h2 { font-size: 1.4rem; }
.cookie-choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; }
.cookie-choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--emerald); }
.cookie-choice h3 { margin: 0 0 4px; font-size: .98rem; }
.cookie-choice p { margin: 0; font-size: .86rem; }
.cookie-choice.essential { background: var(--surface-2); }
.cookie-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cookie-settings-link { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 680px) { .cookie-banner-inner { grid-template-columns: 1fr; } .cookie-actions { justify-content: stretch; } .cookie-actions .btn { flex: 1; } }
