/* Solvearbor styles. No framework. System fonts only, so nothing to download. */

:root {
  --bg: #f6f8fa;
  --bg-alt: #eef3f5;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --muted: #475467;
  --line: #dde4ea;
  --accent: #0f766e;
  --accent-strong: #0a5a54;
  --accent-soft: #e2f3f1;
  --on-accent: #ffffff;
  --link: #0f766e;

  --green: #166534;
  --green-soft: #e3f5e8;
  --yellow: #7a4b00;
  --yellow-soft: #fff1cc;
  --red: #a4231a;
  --red-soft: #fde7e4;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 26, 43, 0.05), 0 8px 24px rgba(14, 26, 43, 0.07);
  --shadow-lg: 0 2px 4px rgba(14, 26, 43, 0.05), 0 18px 48px rgba(14, 26, 43, 0.12);
  --maxw: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 16px rgba(15, 118, 110, 0.28); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; border-radius: 8px;
}
.nav a:not(.btn):hover { color: var(--accent-strong); background: var(--accent-soft); }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; margin-left: auto; min-width: 44px; min-height: 44px; padding: 0 12px;
  background: transparent; border: 2px solid var(--line); border-radius: 10px; color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer; align-items: center; gap: 8px;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 10px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 0 8px; border-radius: 0; border-bottom: 1px solid var(--line); min-height: 50px; }
  .nav .btn { margin: 14px 0 0; }
  /* no JS: keep links visible under the logo */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav a:not(.btn) { border: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); opacity: 0.9; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
}
.chip .icon { color: var(--accent); }
.hero-note { font-size: 0.95rem; color: var(--muted); max-width: 560px; margin-bottom: 14px; }
.access-box {
  display: flex; gap: 12px; align-items: flex-start; max-width: 560px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.97rem; margin-bottom: 10px;
}
.access-box .icon { color: var(--accent-strong); margin-top: 3px; }
.access-box p { margin: 0; }
.fine { font-size: 0.85rem; color: var(--muted); margin: 0; }

@media (max-width: 920px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Night inbox card */
.night-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 20px; position: relative;
}
.night-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.night-head .icon { color: var(--accent); }
.tag {
  margin-left: auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line);
}
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.clock { background: var(--bg-alt); border-radius: 12px; padding: 10px 12px; font-size: 0.85rem; color: var(--muted); }
.clock b { display: block; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.clock span { display: block; }
html:not(.js) .clocks { display: none; }
.mail-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.mail {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
}
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent-soft); color: var(--accent-strong); }
.mail-title { font-weight: 700; font-size: 0.97rem; line-height: 1.3; }
.mail-meta { font-size: 0.82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.pill .icon { width: 1em; height: 1em; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-yellow { background: var(--yellow-soft); color: var(--yellow); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-accent { background: var(--accent-soft); color: var(--accent-strong); }
.night-foot { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Problem strip ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 16px;
}
.card .icon-wrap .icon { width: 26px; height: 26px; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* ---------- Before / After ---------- */
.scenario {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; max-width: 760px;
}
.scenario p { margin: 0; }
.scenario .when { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.scenario blockquote { margin: 0; font-size: 1.1rem; font-weight: 600; }

.ba-panels { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; align-items: start; }
.ba-panel { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.ba-panel.is-with { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); border-top-color: var(--accent); }
.ba-panel > h3 { font-size: 1.35rem; margin-bottom: 20px; }
.ba-inner { display: grid; gap: 24px; flex: 1; align-content: start; }
.ba-inner > * { min-width: 0; }

.timeline { list-style: none; position: relative; display: grid; gap: 0; padding-left: 4px; }
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 9px; top: 24px; bottom: 0; width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline .dot {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--muted);
}
.is-with .timeline .dot { border-color: var(--accent); }
.timeline .dot.bad { border-color: var(--red); background: var(--red-soft); }
.timeline .dot.good { border-color: var(--accent); background: var(--accent); }
.timeline .time { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.timeline .what { display: block; font-weight: 600; }
.timeline .what small { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.outcome { margin-top: 24px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.97rem; }
.outcome.bad { background: var(--red-soft); color: var(--red); }
.outcome.good { background: var(--green-soft); color: var(--green); }

.email-card { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; box-shadow: var(--shadow); }
.email-head { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 0.88rem; display: grid; gap: 3px; }
.email-head div { display: flex; gap: 8px; min-width: 0; }
.email-head dt, .email-head .k { color: var(--muted); min-width: 52px; flex: none; }
.email-head .v { overflow-wrap: anywhere; min-width: 0; }
.email-body { padding: 16px; font-size: 0.97rem; line-height: 1.6; }
.email-body p { margin: 0 0 0.8em; }
.email-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.mini .ask { font-weight: 700; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.mini .ask .icon { margin-top: 4px; color: var(--accent); }
.mini .arrow { color: var(--muted); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 8px 0; }
.mini .result { border-radius: 10px; padding: 12px 14px; font-size: 0.95rem; }
.mini .result p { margin: 0 0 6px; }
.mini .result p:last-child { margin: 0; }
.result.green { background: var(--green-soft); }
.result.yellow { background: var(--yellow-soft); }
.result.red { background: var(--red-soft); }

@media (max-width: 920px) {
  .ba-panels, .ba-inner, .mini-grid { grid-template-columns: 1fr; }
  .ba-panel { padding: 20px; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 1020px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.access-panel {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--radius); padding: 24px;
}
.access-panel .icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); }
.access-panel .icon-wrap .icon { width: 26px; height: 26px; }
.access-panel h3 { margin-bottom: 8px; }
.access-panel ul { list-style: none; display: grid; gap: 6px; margin-top: 8px; }
.access-panel li { display: flex; gap: 10px; align-items: flex-start; }
.access-panel li .icon { color: var(--accent); margin-top: 4px; }
@media (max-width: 560px) { .access-panel { grid-template-columns: 1fr; } }

/* ---------- Green / yellow / red table ---------- */
.gyr { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gyr caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gyr th, .gyr td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.gyr thead th { background: var(--bg-alt); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.gyr tbody tr:last-child th, .gyr tbody tr:last-child td { border-bottom: 0; }
.gyr tbody th { width: 46%; font-weight: 400; }
.gyr .rowtitle { display: block; font-weight: 700; font-size: 1.05rem; margin: 8px 0 4px; }
.gyr tr.g th, .gyr tr.g td { background: color-mix(in srgb, var(--green-soft) 55%, var(--surface)); }
.gyr tr.y th, .gyr tr.y td { background: color-mix(in srgb, var(--yellow-soft) 55%, var(--surface)); }
.gyr tr.r th, .gyr tr.r td { background: color-mix(in srgb, var(--red-soft) 55%, var(--surface)); }
@media (max-width: 700px) {
  .gyr thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gyr, .gyr tbody, .gyr tr, .gyr th, .gyr td { display: block; width: 100%; }
  .gyr tbody th { width: 100%; border-bottom: 0; padding-bottom: 6px; }
  .gyr td { padding-top: 0; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; list-style: none; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow); min-width: 0; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.badge-pop {
  position: absolute; top: -14px; left: 24px; background: var(--accent); color: var(--on-accent);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price .amt { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; }
.reply-target { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.plan .btn { margin-bottom: 20px; }
.plan .lead-in { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.feat { list-style: none; display: grid; gap: 9px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; line-height: 1.45; }
.feat .icon { color: var(--accent); margin-top: 3px; width: 1.1em; height: 1.1em; }
.addon { margin: auto 0 0; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 0.93rem; font-weight: 600; color: var(--ink); }
.plan .feat { margin-bottom: 22px; }
.risk-line {
  margin: 36px auto 0; max-width: 760px; text-align: center; padding: 16px 20px;
  background: var(--accent-soft); border-radius: var(--radius-sm); font-weight: 700; color: var(--ink);
}
.included { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.included h3 { margin-bottom: 16px; }
.included .feat { grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.smallprint { margin: 24px auto 0; max-width: 860px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan.featured { order: -1; } }
@media (max-width: 720px) { .included .feat { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { max-width: 780px; margin: 0 auto; }
.founder blockquote { margin: 0; }
.founder .sign { font-weight: 700; margin-top: 18px; }
.founder .sign span { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; min-height: 56px; font-weight: 700; position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* ---------- Sample form ---------- */
.cta-band { background: linear-gradient(160deg, #0a5a54, #0f766e 60%, #118a80); color: #fff; padding: 80px 0; }
.cta-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.88); }
.cta-band a { color: #fff; }
.cta-points { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.cta-points li { display: flex; gap: 12px; align-items: flex-start; }
.cta-points .icon { margin-top: 4px; }
.form-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.35rem; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 0.97rem; margin-bottom: 6px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"] {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line); border-radius: 10px;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field .err { color: var(--red); font-size: 0.88rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line);
  border-radius: 999px; font-weight: 600; font-size: 0.95rem; background: var(--bg); transition: all 0.15s ease;
}
.check input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-strong); }
.check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; margin-bottom: 18px; }
.consent input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.consent label { font-weight: 400; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status { overflow-wrap: anywhere; }
.cta-grid > *, .hero-grid > *, .founder > * { min-width: 0; }
.form-status.ok { background: var(--green-soft); color: var(--green); }
.form-status.error { background: var(--red-soft); color: var(--red); }
.form-status a { color: inherit; }
.form-privacy { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 920px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } .cta-band { padding: 56px 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-grid > div { min-width: 0; }
.site-footer .brand { font-size: 1.15rem; margin-bottom: 6px; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .copy { margin: 24px 0 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- Policy pages ---------- */
.doc { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5em; }
.doc ul { padding-left: 1.3em; margin-bottom: 1em; }
.doc li { margin-bottom: 0.4em; }
.doc .notice { background: var(--yellow-soft); color: var(--ink); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.95rem; }
.doc .back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; margin-bottom: 8px; }
.notfound { text-align: center; padding: 96px 20px; }
.notfound .big { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; color: var(--accent); letter-spacing: -0.05em; line-height: 1; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
  html.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
  html.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
  .mail { animation: slidein 0.7s ease both; }
  .mail:nth-child(2) { animation-delay: 0.15s; }
  .mail:nth-child(3) { animation-delay: 0.3s; }
  @keyframes slidein { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
  .ba-panel:not([hidden]) { animation: fadein 0.35s ease both; }
  @keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
