/* ==========================================================================
   SmartAI Open — Interface System
   smartaiopen.net
   Light, editorial, high-contrast SaaS with an emerald / ink identity.
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #10241f;          /* deep evergreen ink */
  --emerald: #0f9d6b;      /* primary */
  --emerald-deep: #0a7a52;
  --lime: #bff36a;         /* accent highlight */
  --amber: #f0a038;        /* warm secondary accent */
  --brand-1: #0f9d6b;
  --brand-2: #0a7a52;
  --brand-3: #0a7a52;
  --brand-grad: linear-gradient(100deg, #0f9d6b 0%, #0a7a52 100%);
  --brand-grad-soft: linear-gradient(160deg, #eafaf2 0%, #f3f7ee 100%);

  /* Surfaces (light) */
  --bg: #f7f6f1;           /* warm paper */
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f4ee;
  --surface-solid: #ffffff;
  --border: #e2e4dc;
  --border-strong: #cfd3c6;
  --text: #10241f;
  --text-soft: #435049;
  --text-dim: #7a857e;
  --shadow: 0 20px 45px -28px rgba(16, 36, 31, 0.35);
  --shadow-hard: 6px 6px 0 0 var(--ink);
  --glow: 0 22px 60px -30px rgba(15, 157, 107, 0.55);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --maxw: 1180px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", var(--font);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 4px; }

/* Background ambience — subtle dotted paper + corner washes */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46% 40% at 100% 0%, rgba(15, 157, 107, 0.10), transparent 62%),
    radial-gradient(40% 38% at 0% 100%, rgba(240, 160, 56, 0.09), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(16, 36, 31, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 60px 0; }
.grid { display: grid; gap: 22px; }
@media (max-width: 980px) { .section { padding: 76px 0; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-soft); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-soft); max-width: 60ch; }
.gradient-text {
  color: var(--emerald-deep);
  background: linear-gradient(transparent 62%, var(--lime) 62%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--emerald-deep); padding: 6px 12px 6px 14px; border-radius: 4px;
  border: 1.5px solid var(--ink); background: var(--lime);
}
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: left; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; white-space: nowrap;
}
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 4px 4px 0 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 0 var(--ink); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); background: var(--surface-2); }
.btn-ghost:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Card ---------- */
.card {
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 26px; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 3px 3px 0 0 var(--ink);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 0 var(--ink); }
.card .ico {
  width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center;
  background: var(--lime); border: 1.5px solid var(--ink); color: var(--ink); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px solid transparent; transition: border-color .25s, background .25s;
}
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 13px; border-radius: 6px; font-size: .92rem; color: var(--text-soft); font-weight: 600; transition: color .18s, background .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 250px; background: var(--surface-solid); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 8px; box-shadow: 6px 6px 0 0 var(--ink); opacity: 0; visibility: hidden; transition: all .2s var(--ease);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: .9rem; color: var(--text-soft); }
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }
.dropdown a span { display: block; font-size: .78rem; color: var(--text-dim); margin-top: 2px; }

/* Icon button (mobile menu) */
.icon-btn {
  width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--ink); color: var(--ink); box-shadow: 2px 2px 0 0 var(--ink); transition: transform .15s;
}
.icon-btn:hover { transform: translate(-1px,-1px); }
.icon-btn svg { width: 20px; height: 20px; }

/* Mobile nav */
.nav-toggle { display: none; }
.mobile-nav {
  position: fixed; inset: 74px 0 0 0; z-index: 99; background: var(--bg);
  padding: 24px; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 15px 14px; border-radius: 8px; font-size: 1.05rem; color: var(--text-soft); border-bottom: 1.5px solid var(--border); font-weight: 600; }
.mobile-nav a:hover { color: var(--ink); }
.mobile-nav .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust .stat .num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.hero-trust .stat .num.gradient-text { background: none; color: var(--emerald-deep); padding: 0; }
.hero-trust .stat .lbl { font-size: .82rem; color: var(--text-dim); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { order: -1; }
}

/* Dashboard mock */
.mock {
  background: var(--surface-solid); border: 1.5px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 0 var(--ink); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1.5px solid var(--ink); background: var(--surface-2); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); border: 1.5px solid var(--ink); }
.mock-bar .dot:nth-child(1){ background:#ff6b5f; } .mock-bar .dot:nth-child(2){ background:var(--amber); } .mock-bar .dot:nth-child(3){ background:var(--emerald); }
.mock-bar .url { margin-left: 12px; font-size: .78rem; color: var(--text-dim); background: #fff; border: 1.5px solid var(--border-strong); padding: 5px 12px; border-radius: 6px; flex: 1; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-search { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1.5px solid var(--ink); border-radius: 8px; padding: 12px 16px; font-size: .9rem; color: var(--text-soft); }
.mock-search .spark { color: var(--emerald-deep); font-weight: 700; }
.mock-msg { display: flex; gap: 11px; }
.mock-msg .av { width: 30px; height: 30px; border-radius: 6px; background: var(--emerald); border: 1.5px solid var(--ink); flex-shrink: 0; }
.mock-msg .bub { background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 12px 14px; font-size: .85rem; color: var(--text-soft); }
.mock-msg .bub .ln { height: 8px; border-radius: 4px; background: var(--surface-2); margin: 7px 0; }
.mock-msg .bub .ln.s { width: 60%; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-card { background: var(--surface-2); border: 1.5px solid var(--ink); border-radius: 8px; padding: 14px; }
.mock-card .k { font-size: .72rem; color: var(--text-dim); font-weight: 600; }
.mock-card .v { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-top: 4px; color: var(--ink); }
.mock-card .v.up { color: var(--emerald-deep); }

.float-badge {
  position: absolute; background: #fff; border: 1.5px solid var(--ink);
  border-radius: 8px; padding: 11px 15px; box-shadow: 4px 4px 0 0 var(--ink); display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--ink);
}
.float-badge .ico { width: 32px; height: 32px; border-radius: 6px; background: var(--lime); border: 1.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; }
.float-badge .ico svg { width: 18px; height: 18px; }
.float-badge.tl { top: -20px; left: -22px; animation: float 6s var(--ease) infinite; }
.float-badge.br { bottom: -20px; right: -18px; animation: float 6s var(--ease) infinite 1.5s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@media (max-width: 560px) { .float-badge { display: none; } }

/* ---------- Trust strip ---------- */
.trust-strip { text-align: center; }
.trust-strip p { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: center; align-items: center; }
.trust-row .pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); font-size: .92rem; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 100px; background: #fff; box-shadow: 2px 2px 0 0 var(--ink); }
.trust-row .pill svg { width: 18px; height: 18px; color: var(--emerald-deep); }

/* ---------- Grids of cards ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 0 var(--ink); background:#fff; }
.split ul.checks { margin-top: 24px; display: grid; gap: 12px; }
.split ul.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-soft); font-weight: 500; }
.split ul.checks li svg { width: 22px; height: 22px; color: #fff; background: var(--emerald); border: 1.5px solid var(--ink); border-radius: 5px; padding: 2px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.rev .split-media { order: 0; } }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 6px 6px 0 0 var(--ink); }
.stats-band .stat { text-align: center; padding: 34px 16px; border-right: 1.5px solid var(--ink); }
.stats-band .stat:last-child { border-right: none; }
.stats-band .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; color: var(--ink); }
.stats-band .num.gradient-text { background: none; color: var(--emerald-deep); padding: 0; }
.stats-band .lbl { color: var(--text-dim); font-size: .88rem; margin-top: 6px; }
@media (max-width: 700px) { .stats-band { grid-template-columns: 1fr 1fr; } .stats-band .stat:nth-child(2){ border-right: none; } .stats-band .stat:nth-child(1),.stats-band .stat:nth-child(2){ border-bottom: 1.5px solid var(--ink); } }

/* ---------- Pricing ---------- */
.price-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
@media (max-width: 1024px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--ink); border-color: var(--ink); box-shadow: 7px 7px 0 0 var(--emerald); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .desc { color: #b8c7c0; }
.plan.featured ul.feat li { color: #dfe7e3; }
.plan.featured ul.feat li svg { color: var(--ink); background: var(--lime); }
.plan .tag { position: absolute; top: -14px; left: 20px; background: var(--amber); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 6px; border: 1.5px solid var(--ink); }
.plan h3 { font-size: 1.25rem; }
.plan .price { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; margin: 14px 0 2px; color: var(--ink); }
.plan .price span { font-size: 1rem; color: var(--text-dim); font-weight: 600; }
.plan.featured .price span { color: #9fb2aa; }
.plan .desc { font-size: .9rem; color: var(--text-dim); min-height: 40px; }
.plan ul.feat { margin: 20px 0 26px; display: grid; gap: 12px; flex: 1; }
.plan ul.feat li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-soft); align-items: flex-start; }
.plan ul.feat li svg { width: 19px; height: 19px; color: #fff; background: var(--emerald); border: 1.5px solid var(--ink); border-radius: 5px; padding: 2px; flex-shrink: 0; margin-top: 2px; }

.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 48px; }
.billing-toggle .sw { width: 54px; height: 30px; border-radius: 6px; background: #fff; border: 1.5px solid var(--ink); position: relative; transition: background .25s; box-shadow: 2px 2px 0 0 var(--ink); }
.billing-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 4px; background: var(--emerald); border: 1.5px solid var(--ink); transition: transform .25s var(--ease); }
.billing-toggle.year .sw { background: var(--lime); }
.billing-toggle.year .sw::after { transform: translateX(24px); }
.billing-toggle .save { font-size: .78rem; color: var(--emerald-deep); font-weight: 700; }

/* ---------- Token allowances ---------- */
.token-bars { display: grid; gap: 20px; max-width: 660px; margin: 0 auto; }
.token-bar .row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.token-bar .row .gradient-text { background: none; color: var(--emerald-deep); padding: 0; }
.token-bar .track { height: 16px; border-radius: 6px; background: #fff; border: 1.5px solid var(--ink); overflow: hidden; }
.token-bar .fill { height: 100%; background: repeating-linear-gradient(45deg, var(--emerald) 0 10px, var(--emerald-deep) 10px 20px); width: 0; transition: width 1.2s var(--ease); }

/* ---------- FAQ / Accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 3px 3px 0 0 var(--ink); }
.faq-item.open { box-shadow: 3px 3px 0 0 var(--emerald); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--ink); padding: 20px 22px; font-size: 1.02rem; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); }
.faq-q svg { width: 22px; height: 22px; color: var(--ink); background: var(--lime); border: 1.5px solid var(--ink); border-radius: 5px; transition: transform .28s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq-a p { padding: 0 22px 20px; font-size: .95rem; }

/* ---------- Use case tiles ---------- */
.uc-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--ink); min-height: 300px; display: flex; align-items: flex-end; box-shadow: 5px 5px 0 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.uc-tile:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 0 var(--ink); }
.uc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s var(--ease); }
.uc-tile:hover img { transform: scale(1.05); }
.uc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 24%, rgba(16,36,31,.9) 100%); z-index: 1; }
.uc-tile .uc-body { position: relative; z-index: 2; padding: 24px; color: #fff; }
.uc-tile .uc-body h3 { color: #fff; }
.uc-tile .uc-body p { color: rgba(255,255,255,.85); font-size: .92rem; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; border: 1.5px solid var(--ink); border-radius: var(--radius-xl); padding: 66px 40px; background: var(--ink); position: relative; overflow: hidden; box-shadow: 8px 8px 0 0 var(--emerald); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 20px 20px; z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { background: var(--lime); }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 16px auto 18px; }
.cta-band p, .cta-band .lead { color: #c4d2cc; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 0 var(--emerald); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 8px; background: #fff;
  border: 1.5px solid var(--ink); color: var(--text); font-family: inherit; font-size: .95rem; transition: box-shadow .15s, border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--emerald); outline: none; box-shadow: 3px 3px 0 0 var(--emerald); }
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; box-shadow: 3px 3px 0 0 #d64545; }
.field .err { font-size: .78rem; color: #c23a3a; display: none; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--text-soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--emerald); }
.form-success { display: none; padding: 18px 20px; border-radius: 8px; background: var(--lime); border: 1.5px solid var(--ink); color: var(--ink); font-size: .92rem; font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Contact split ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .info-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1.5px solid var(--border); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ico { width: 46px; height: 46px; border-radius: 8px; background: var(--lime); border: 1.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info .info-item .k { font-size: .8rem; color: var(--text-dim); font-weight: 600; }
.contact-info .info-item .v { font-weight: 700; margin-top: 2px; color: var(--ink); }
.map-embed { border: 1.5px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; margin-top: 26px; box-shadow: 5px 5px 0 0 var(--ink); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Page hero ---------- */
.page-hero { padding: 78px 0 40px; text-align: left; }
.page-hero h1 { margin: 18px 0 18px; max-width: 20ch; }
.page-hero .lead { margin: 0; }
.breadcrumbs { font-size: .82rem; color: var(--text-dim); margin-bottom: 12px; font-weight: 600; }
.breadcrumbs a:hover { color: var(--emerald-deep); }

/* ---------- Legal / docs ---------- */
.doc { max-width: 820px; margin: 0 auto; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.doc h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--text-soft); font-size: .96rem; margin-bottom: 12px; }
.doc ul { padding-left: 22px; list-style: disc; }
.doc ul li { margin-bottom: 8px; }
.doc .updated { font-size: .85rem; color: var(--text-soft); padding: 16px 18px; border: 1.5px solid var(--ink); border-left-width: 6px; border-radius: 8px; background: #fff; margin-bottom: 8px; }
.toc { position: sticky; top: 92px; }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc ul { display: grid; gap: 4px; }
.toc a { font-size: .88rem; color: var(--text-dim); padding: 7px 10px; border-radius: 6px; display: block; font-weight: 600; }
.toc a:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1.5px solid var(--ink); padding: 66px 0 30px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.footer-brand p { font-size: .9rem; margin: 16px 0; max-width: 32ch; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--emerald-deep); margin-bottom: 16px; font-family: var(--font); font-weight: 800; }
.footer-col a { display: block; padding: 6px 0; font-size: .9rem; color: var(--text-soft); transition: color .18s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1.5px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--text-dim); }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); box-shadow: 2px 2px 0 0 var(--ink); }
.social a:hover { background: var(--surface-2); transform: translate(-1px,-1px); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 200; max-width: 470px;
  background: var(--surface-solid); border: 1.5px solid var(--ink); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: 8px 8px 0 0 var(--ink); transform: translateY(160%); transition: transform .4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .86rem; margin-bottom: 16px; }
.cookie-banner p a { color: var(--emerald-deep); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 16px; font-size: .85rem; box-shadow: 3px 3px 0 0 var(--ink); }

.modal-overlay { position: fixed; inset: 0; z-index: 210; background: rgba(16,36,31,.55); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal { background: var(--surface-solid); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); max-width: 540px; width: 100%; padding: 30px; max-height: 88vh; overflow-y: auto; box-shadow: 10px 10px 0 0 var(--ink); }
.modal h3 { margin-bottom: 8px; }
.modal > p { font-size: .9rem; margin-bottom: 20px; }
.cookie-pref { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1.5px solid var(--border); }
.cookie-pref .k { font-weight: 700; font-size: .95rem; color: var(--ink); }
.cookie-pref .d { font-size: .82rem; color: var(--text-dim); margin-top: 4px; }
.switch { width: 48px; height: 28px; border-radius: 6px; background: #fff; border: 1.5px solid var(--ink); position: relative; flex-shrink: 0; cursor: pointer; transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 4px; background: var(--text-dim); border: 1.5px solid var(--ink); transition: transform .25s var(--ease); }
.switch.on { background: var(--lime); }
.switch.on::after { transform: translateX(20px); background: var(--emerald); }
.switch.locked { opacity: .55; cursor: not-allowed; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- Misc ---------- */
.divider { height: 1.5px; background: var(--ink); border: none; margin: 0; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; } .mt-16 { margin-top: 16px; }
.badge-soft { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--emerald-deep); background: var(--lime); border: 1.5px solid var(--ink); padding: 6px 12px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--emerald); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 300; }
.skip-link:focus { left: 0; }

/* Mobile nav toggle visibility */
@media (max-width: 920px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: grid; }
}
