/* Shadi AI Systems design system */

:root {
  --ink: #1E1C1A;
  --ink-2: #2A2724;
  --ink-3: #3A3632;
  --paper: #FAF8F5;
  --paper-2: #F3EFEA;
  --surface: #FFFFFF;
  --muted: #625C56;
  --muted-on-ink: #B4ADA5;
  --line: #E6E0D9;
  --line-on-ink: #3A3632;
  --orange: #F0642A;
  --orange-soft: #FDE9DF;
  --orange-ink: #B4431A;
  --green: #256840;
  --green-soft: #E3F1E8;
  --amber: #8A5A00;
  --amber-soft: #FBF0D9;
  --slate-soft: #ECEAE7;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-4: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-5: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgba(30, 28, 26, .04), 0 8px 24px rgba(30, 28, 26, .06);
  --shadow-l: 0 2px 4px rgba(30, 28, 26, .04), 0 24px 48px rgba(30, 28, 26, .10);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-ink { background: var(--ink); color: var(--paper); }
.section-alt { background: var(--paper-2); }

/* Type */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: var(--step-5); letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.3; }
p { max-width: 68ch; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.6; }
.section-ink .lead { color: var(--muted-on-ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-ink .eyebrow { color: var(--orange); }
.accent { color: var(--orange-ink); }
.section-ink .accent { color: var(--orange); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: var(--step-0); line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #E2551B; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.section-ink .btn-ghost { border-color: var(--line-on-ink); color: var(--paper); }
.section-ink .btn-ghost:hover { border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-ink);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.text-link:hover { border-bottom-color: currentColor; }
.text-link svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; line-height: 1; }
.brand-name small {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .32em; color: var(--muted); margin-top: 5px;
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--ink-3);
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; display: none;
  }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; font-size: 16px; }
}
@media (min-width: 881px) {
  .nav-menu { display: flex; align-items: center; }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.hero .btn-row { margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.hero-points svg { width: 18px; height: 18px; color: var(--orange-ink); flex: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Call card (illustrative product visual) */
.call-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-l); overflow: hidden; max-width: 520px; width: 100%; justify-self: end;
}
@media (max-width: 960px) { .call-card { justify-self: start; } }
.call-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.call-who { display: flex; align-items: center; gap: 12px; }
.call-avatar {
  width: 38px; height: 38px; border-radius: 12px; background: var(--ink);
  display: grid; place-items: center; flex: none;
}
.call-avatar svg { width: 20px; height: 20px; color: var(--paper); }
.call-title { font-weight: 800; font-size: 15px; line-height: 1.2; }
.call-sub { font-size: 13px; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  background: var(--slate-soft); color: var(--ink-3);
}
.tag-live { background: var(--orange-soft); color: var(--orange-ink); }
.tag-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.wave { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 44px; padding: 0 20px; margin: 18px 0 4px; }
.wave i {
  display: block; width: 4px; border-radius: 4px; background: var(--ink); opacity: .85;
  height: var(--h, 20%); transform-origin: center; animation: wave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.11s);
}
.wave i.hot { background: var(--orange); opacity: 1; }
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }

.transcript { list-style: none; padding: 14px 20px 6px; display: grid; gap: 12px; }
.transcript li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.transcript .who { font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.transcript .who.ai { color: var(--orange-ink); }

.outcome {
  margin: 14px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; display: grid; gap: 10px; background: var(--paper);
}
.outcome-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.outcome-row span:first-child { color: var(--muted); font-weight: 600; }
.outcome-row strong { font-weight: 700; }
.chip-callback { background: var(--amber-soft); color: var(--amber); }
.chip-agreed { background: var(--green-soft); color: var(--green); }
.call-note { font-size: 12px; color: var(--muted); padding: 0 20px 16px; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.card { text-decoration: none; }
a.card:hover { border-color: #D3CBC2; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 8px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--paper-2);
  display: grid; place-items: center; color: var(--ink); flex: none;
}
.icon svg { width: 24px; height: 24px; }
.icon.orange { background: var(--orange-soft); color: var(--orange-ink); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge-new {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink);
}

/* Pain list */
.pain { padding: 28px 0 0; border-top: 2px solid var(--ink); }
.pain h3 { font-size: var(--step-1); }
.pain p { color: var(--muted); margin-top: 10px; }
.pain-num { font-family: var(--mono); font-size: 13px; color: var(--orange-ink); font-weight: 600; margin-bottom: 12px; display: block; }

/* Flow (how a call works) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: flow; list-style: none; padding: 0; }
.flow li {
  position: relative; padding: 24px; border-radius: var(--radius-l);
  background: var(--ink-2); border: 1px solid var(--line-on-ink);
}
.flow li::before {
  counter-increment: flow; content: "0" counter(flow);
  display: block; font-family: var(--mono); font-size: 13px; color: var(--orange); font-weight: 600; margin-bottom: 18px;
}
.flow h3 { font-size: var(--step-1); }
.flow p { color: var(--muted-on-ink); margin-top: 10px; font-size: 15px; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }

.outcomes-panel {
  margin-top: 20px; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-l);
  border: 1px solid var(--line-on-ink); display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center;
}
.outcomes-panel h3 { font-size: var(--step-2); }
.outcomes-panel p { color: var(--muted-on-ink); margin-top: 10px; }
.outcome-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.outcome-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line-on-ink); font-size: 14px; font-weight: 600;
}
.outcome-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #8B847C); }
@media (max-width: 860px) { .outcomes-panel { grid-template-columns: 1fr; } }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; counter-reset: step; }
.process li { padding: 0 24px 0 0; position: relative; }
.process .step-num {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; font-weight: 800; position: relative; z-index: 1;
}
.process li:last-child .step-num { background: var(--orange); border-color: var(--orange); }
.process li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: var(--line);
}
.process h3 { font-size: var(--step-1); margin-top: 20px; }
.process p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process li { padding: 0 0 0 64px; }
  .process .step-num { position: absolute; left: 0; top: 0; }
  .process h3 { margin-top: 8px; }
  .process li:not(:last-child)::after { top: 48px; left: 21px; right: auto; width: 2px; height: calc(100% - 20px); }
}

/* Principles */
.principle { display: flex; gap: 16px; align-items: flex-start; }
.principle .icon { width: 44px; height: 44px; }
.principle h3 { font-size: var(--step-1); }
.principle p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.quote-block {
  border-left: 4px solid var(--orange); padding: 8px 0 8px 24px;
  font-size: var(--step-2); font-weight: 700; letter-spacing: -0.015em; line-height: 1.35;
}

/* Stack */
.stack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.stack li {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface);
}
.stack strong { display: block; font-size: 16px; }
.stack span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.45; }
@media (max-width: 1000px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stack { grid-template-columns: 1fr; } }

/* Service detail */
.service {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px);
  padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-intro h2 { font-size: var(--step-3); margin-top: 18px; }
.service-intro p { color: var(--muted); margin-top: 14px; }
.service-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.service-box.wide { grid-column: 1 / -1; }
.service-box h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); font-weight: 800; }
.service-box p { margin-top: 12px; color: var(--ink-3); }
.checks { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-3); line-height: 1.5; }
.checks svg { width: 20px; height: 20px; color: var(--orange-ink); margin-top: 2px; }
.section-ink .checks li { color: var(--paper); }
.section-ink .checks svg { color: var(--orange); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .service-body { grid-template-columns: 1fr; } }

/* Page hero */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { margin-top: 16px; font-size: var(--step-5); max-width: 18ch; }
.page-hero .lead { margin-top: 20px; max-width: 60ch; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.faq details[open] { border-color: #D3CBC2; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: var(--step-1);
  display: flex; justify-content: space-between; gap: 20px; align-items: center; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-3); display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--step-3); margin-bottom: 20px; }

/* CTA band */
.cta-band {
  background: var(--ink); color: var(--paper); border-radius: var(--radius-l);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: var(--step-4); }
.cta-band p { color: var(--muted-on-ink); margin-top: 14px; font-size: var(--step-1); }
.cta-band .bars { position: absolute; right: -10px; bottom: -10px; display: flex; gap: 10px; align-items: flex-end; opacity: .08; pointer-events: none; }
.cta-band .bars i { width: 14px; border-radius: 8px; background: var(--paper); display: block; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); font-size: 16px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E1C1A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC7BE; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.field [aria-invalid="true"] { border-color: #B42318; background: #FEF3F2; }
.field .error { color: #B42318; font-size: 14px; font-weight: 600; margin-top: 6px; display: none; }
.field [aria-invalid="true"] ~ .error { display: block; }
.check-field { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-3); }
.check-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--green-soft); color: var(--green); }
.form-status.err { display: block; background: #FEF3F2; color: #B42318; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions small { color: var(--muted); font-size: 14px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
.side-card + .side-card { margin-top: 16px; }
.side-card.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.side-card h2, .side-card h3 { font-size: var(--step-2); }
.side-card p { color: var(--muted); margin-top: 10px; }
.side-card.ink p { color: var(--muted-on-ink); }
.side-card .btn { margin-top: 20px; width: 100%; }
.expect { list-style: none; padding: 0; counter-reset: ex; display: grid; gap: 16px; margin-top: 18px; }
.expect li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--ink-3); font-size: 15.5px; }
.expect li::before {
  counter-increment: ex; content: counter(ex);
  width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2);
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--ink);
}

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-3); margin: 44px 0 14px; }
.prose h3 { font-size: var(--step-1); margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-3); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin-top: 12px; display: grid; gap: 8px; }
.prose a { color: var(--orange-ink); font-weight: 600; }
.prose .updated { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 32px; margin-top: var(--section); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--muted-on-ink); margin-top: 16px; font-size: 15px; max-width: 36ch; }
.site-footer .brand-name small { color: var(--muted-on-ink); }
.footer-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted-on-ink); }
.footer-links { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--paper); font-weight: 600; font-size: 15px; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-on-ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-on-ink);
}
.footer-bottom a { color: var(--muted-on-ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-flush { margin-top: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utility */
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 48px; }
.center { text-align: center; }
.field label.check-field { display: grid; font-weight: 500; font-size: 15px; margin-bottom: 0; }
