/* ==========================================================================
   Beyond Imagination — styles
   Warm off-white · deep navy · teal accent
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --bg-tint: #f2ede4;
  --surface: #ffffff;
  --ink: #14213d;
  --ink-2: #3d4a63;
  --ink-3: #5d6880;
  --line: #e3dccf;
  --line-strong: #cfc6b6;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --teal-soft: #dcefeb;
  --warn-bg: #fff3d6;
  --warn-ink: #7a4d00;
  --warn-line: #efd49a;
  --error: #b42318;
  --error-bg: #fdecea;
  --success: #0f766e;

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.06), 0 1px 1px rgba(20, 33, 61, 0.04);
  --shadow: 0 10px 30px -12px rgba(20, 33, 61, 0.18), 0 2px 6px rgba(20, 33, 61, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(20, 33, 61, 0.28);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--teal);

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; font-weight: 650; letter-spacing: -0.005em; }
h4 { font-size: 0.95rem; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
main:focus { outline: none; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top 0.15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .narrow { max-width: 820px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 0.9rem;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.6; max-width: 40em; }
.lead-sm { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-3); font-size: 0.95rem; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-line: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.7em 1.25em;
  font: inherit; font-weight: 620; font-size: 1rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-line);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s, border-color 0.18s, transform 0.18s var(--ease), box-shadow 0.18s;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--ink); --btn-fg: #fff; --btn-line: var(--ink); }
.btn-primary:hover { --btn-bg: #0c1630; box-shadow: var(--shadow); }
.btn-secondary { --btn-bg: transparent; --btn-line: var(--ink); }
.btn-secondary:hover { --btn-bg: var(--surface); }
.btn-ghost { --btn-bg: transparent; --btn-line: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost:hover { --btn-bg: var(--bg-tint); }
.btn-sm { min-height: 40px; padding: 0.5em 1.05em; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 0.85em 1.6em; font-size: 1.05rem; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.text-link { font-weight: 620; text-decoration: none; color: var(--teal-dark); display: inline-flex; gap: 0.35em; align-items: center; }
.text-link:hover { text-decoration: underline; color: var(--ink); }
.text-link span[aria-hidden] { transition: transform 0.2s var(--ease); }
.text-link:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark-text { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark-text span { color: var(--teal-dark); }
.logo-mark { flex: none; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.98rem;
}
.site-nav ul a:hover { color: var(--ink); background: var(--bg-tint); }
.site-nav ul a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.site-nav ul a[aria-current='page']:focus-visible { box-shadow: var(--focus); border-radius: 6px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px;
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 12px 8px; font-size: 1.05rem; }
  .site-nav ul a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
  .header-cta { width: 100%; min-height: 48px; }
  .no-js .site-nav { position: static; display: flex; box-shadow: none; border: 0; }
}
@media (max-width: 380px) {
  .wordmark-text { font-size: 1.1rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 8px 12px; }
}

/* ---------------------------------------------------------------- Sections */
.section { padding: var(--section) 0; }
.section-top-tight { padding-top: 24px; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-hero-compact { padding-bottom: 24px; }
.page-hero .notice { margin-top: 28px; }

.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump-links a {
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 560; font-size: 0.95rem;
}
.jump-links a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------------------------------------------------------------- Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 24px; font-size: 0.92rem; color: var(--ink-3); }

.hero-visual { position: relative; padding: 24px 0 40px; }
.browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-0.6deg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f6f2ea; border-bottom: 1px solid var(--line); }
.browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-url { margin-left: 12px; flex: 1; font-size: 0.75rem; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; font-family: var(--font-mono); }
.browser-body { padding: 18px 20px 22px; }
.mock-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-serif); font-size: 0.95rem; }
.mock-nav b { margin-right: auto; }
.mock-nav i { width: 34px; height: 6px; border-radius: 4px; background: var(--line); }
.mock-hero { margin-bottom: 18px; }
.mock-line { height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.mock-line.strong { height: 14px; background: var(--ink); opacity: 0.85; margin-bottom: 12px; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mock-form { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fcfbf8; }
.mock-label { font-weight: 650; font-size: 0.88rem; margin-bottom: 10px; }
.mock-field { display: flex; justify-content: space-between; font-size: 0.8rem; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 7px; background: var(--surface); }
.mock-field span { color: var(--ink-3); }
.mock-field em { font-style: normal; font-weight: 600; }
.mock-button { margin-top: 10px; background: var(--teal); color: #fff; text-align: center; border-radius: 999px; font-size: 0.82rem; font-weight: 650; padding: 7px; }

.float-card {
  position: absolute; display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 14px; max-width: 250px; font-size: 0.85rem; line-height: 1.35;
}
.float-card strong { display: block; font-size: 0.9rem; }
.float-card small { color: var(--ink-3); font-size: 0.78rem; }
.fc-dot { flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.fc-dot-navy { background: var(--ink); box-shadow: 0 0 0 4px #e3e6ee; }
.fc-1 { left: -28px; bottom: -4px; }
.fc-2 { right: -16px; top: 0; }
.hero-visual-note { position: absolute; right: 4px; bottom: 6px; font-size: 0.72rem; color: var(--ink-3); margin: 0; }

.js .fc-1, .js .fc-2 { opacity: 0; transform: translateY(10px); animation: float-in 0.7s var(--ease) forwards; }
.js .fc-1 { animation-delay: 0.5s; }
.js .fc-2 { animation-delay: 0.9s; }
@keyframes float-in { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .fc-1 { left: -8px; }
  .fc-2 { right: -6px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .float-card { max-width: 210px; padding: 10px 12px; }
  .fc-1 { left: 0; bottom: -8px; }
  .fc-2 { right: 0; top: -6px; }
  .browser { transform: none; }
}

/* ---------------------------------------------------------------- Problems */
.problem-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.problem::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--teal); margin-bottom: 16px; }
.problem h3 { margin-bottom: 6px; }
.problem p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Cards */
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .card-grid.three { grid-template-columns: 1fr; max-width: 640px; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card > .text-link { margin-top: auto; padding-top: 18px; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); color: var(--ink); margin-bottom: 18px; }
.service-card p { color: var(--ink-2); }

.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 28px; font-size: 0.98rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%230b5c56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.check-list.compact { gap: 6px; margin-top: 20px; }

/* Example cards */
.concept-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--warn-line);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.concept-badge span { font-size: 0.6rem; }
.example-thumb {
  position: relative; height: 150px; border-radius: 12px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--bg-tint), #ebe4d8); border: 1px solid var(--line);
  padding: 18px; overflow: hidden;
}
.thumb-card {
  background: var(--surface); border-radius: 9px; padding: 10px 12px; box-shadow: var(--shadow-sm);
  width: 72%; font-size: 0.78rem; border: 1px solid var(--line);
}
.thumb-card b { display: block; margin-bottom: 6px; }
.thumb-card i { display: block; height: 6px; background: var(--line); border-radius: 3px; margin-bottom: 5px; }
.thumb-card-2 { position: absolute; right: 16px; bottom: 16px; width: 60%; border-left: 3px solid var(--teal); }
.thumb-chip { display: inline-block; margin-top: 4px; font-size: 0.7rem; background: var(--teal-soft); color: var(--teal-dark); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.thumb-steps { display: flex; gap: 6px; margin-bottom: 16px; }
.thumb-steps span { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.thumb-steps .done { background: var(--teal); }
.thumb-steps .now { background: var(--ink); }
.example-card p { color: var(--ink-2); }

/* ---------------------------------------------------------------- Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.process-step { position: relative; padding: 22px 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.process-num { display: inline-block; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 3px 9px; border-radius: 999px; margin-bottom: 14px; }
.process-step p { font-size: 0.95rem; color: var(--ink-2); }
@media (max-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process-step { border-radius: 0; border-width: 0 0 0 2px; border-color: var(--line-strong); background: transparent; padding: 4px 0 28px 28px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-num { position: absolute; left: -15px; top: 0; margin: 0; padding: 4px 6px; background: var(--bg-tint); border: 2px solid var(--teal); }
  .process-step h3 { padding-top: 2px; }
}

/* ---------------------------------------------------------------- Founder */
.founder {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 56px);
}
.founder-monogram, .founder-photo { width: 240px; height: 240px; border-radius: 20px; object-fit: cover; }
.founder-monogram {
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 6rem; font-weight: 600; color: var(--teal-dark);
  background: radial-gradient(circle at 30% 25%, #eef7f5, var(--teal-soft));
  border: 1px solid #c6e3dd;
}
.founder-copy p:not(.eyebrow) { color: var(--ink-2); }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-monogram, .founder-photo { width: 120px; height: 120px; font-size: 3rem; border-radius: 16px; }
}

/* ---------------------------------------------------------------- FAQ */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-weight: 620; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-dark); }
.faq-icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.2s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq[open] .faq-icon { border-color: var(--teal); background: var(--teal-soft); }
.faq-body { padding: 0 4px 22px; color: var(--ink-2); max-width: 44em; }

/* ---------------------------------------------------------------- Invite */
.invite { padding-top: 0; }
.section-tint + .invite, .demo-section + .invite { padding-top: var(--section); }
.invite-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: var(--ink); color: #e8ecf4; border-radius: 24px; padding: clamp(28px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.invite-panel::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid rgba(94, 197, 184, 0.35); pointer-events: none;
}
.invite-panel h2 { color: #fff; }
.invite-panel p { color: #cdd5e3; max-width: 36em; }
.invite-panel .btn-primary { --btn-bg: #fff; --btn-fg: var(--ink); --btn-line: #fff; position: relative; z-index: 1; }
.invite-panel .btn-primary:hover { --btn-bg: var(--teal-soft); }
.invite-panel :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #7fd6ca; }
@media (max-width: 760px) { .invite-panel { grid-template-columns: 1fr; } .invite-actions .btn { width: 100%; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 30em; }
.footer-heading { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { color: var(--ink); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer ul a:hover { color: var(--teal-dark); text-decoration: underline; }
.footer-small { font-size: 0.9rem; color: var(--ink-3) !important; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-3); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- Services page */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.service-detail-intro p:not(.lead-sm) { color: var(--ink-2); }
.service-example { margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-tint); font-size: 0.95rem; color: var(--ink-2); }
.service-example span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 4px; }
.section-tint .service-example { background: var(--bg); }
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; } }

.pricing-panel { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.pricing-panel p { color: var(--ink-2); }

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

.notice { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid; font-size: 0.98rem; }
.notice p { color: inherit !important; }
.notice-info { background: var(--teal-soft); border-color: #b9ddd6; color: #0c3d39; }
.notice-warn { background: var(--warn-bg); border-color: var(--warn-line); color: #5a3a00; margin-bottom: 24px; }
mark.tbc { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed var(--warn-line); padding: 0 4px; border-radius: 4px; font-weight: 600; font-size: 0.92em; }

.principle-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.principle p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) { .principle-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principle-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Demos */
.demo-head { max-width: 760px; margin-bottom: 28px; }
.demo-head .concept-badge { font-size: 0.85rem; padding: 6px 14px; }
.demo-business { color: var(--ink-2); }
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.explain { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.section-tint .explain { background: #fbf9f5; }
.explain h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-dark); margin-bottom: 10px; }
.explain p, .explain li { font-size: 0.96rem; color: var(--ink-2); }
.explain ol { margin: 0; padding-left: 1.2em; }
.explain li { margin-bottom: 4px; }
@media (max-width: 900px) { .explain-grid { grid-template-columns: 1fr; } }

.demo {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.demo > .demo-safe { grid-column: 1 / -1; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
.demo-panel-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 16px; }
.demo-form { min-width: 0; }
.demo-form form + form { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line-strong); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.demo-safe { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-3); margin: 12px 0 0; }
.demo-safe svg { color: var(--teal); flex: none; }

/* Form fields (shared) */
.field { margin: 0 0 18px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 620; font-size: 0.95rem; margin-bottom: 6px; color: var(--ink); padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input[type='text'], input[type='email'], input[type='date'], input[type='number'], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; min-height: 48px; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
select { appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314213d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/12px no-repeat; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22); border-radius: 10px; }
input[aria-invalid='true'], select[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--error); background-color: #fffafa; }
::placeholder { color: var(--ink-3); opacity: 1; }
.hint { font-size: 0.87rem; color: var(--ink-3); margin: 6px 0 0; }
.optional { font-weight: 450; color: var(--ink-3); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 450; font-size: 0.97rem; min-height: 36px; margin: 0; cursor: pointer; }
input[type='checkbox'] { width: 20px; height: 20px; accent-color: var(--teal); flex: none; margin: 0; }
input[type='checkbox']:focus-visible { box-shadow: var(--focus); border-radius: 4px; }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; min-width: 0; text-transform: uppercase; }
.form-error { color: var(--error); background: var(--error-bg); padding: 10px 14px; border-radius: 8px; font-size: 0.93rem; margin-top: 12px; }
.field-error { color: var(--error); font-size: 0.9rem; font-weight: 550; margin: 6px 0 0; }
.field-error:empty { display: none; }
.inline-select { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-2); margin-left: auto; }
.inline-select select { width: auto; min-height: 40px; padding: 6px 34px 6px 10px; font-size: 0.9rem; }

/* Output documents */
.demo-output { min-width: 0; display: flex; flex-direction: column; }
.demo-tabs { display: flex; gap: 4px; background: var(--bg-tint); padding: 4px; border-radius: 12px; margin-bottom: 12px; }
.demo-tabs [role='tab'] {
  flex: 1; min-height: 42px; border: 0; background: transparent; border-radius: 9px; font: inherit; font-weight: 600; font-size: 0.95rem;
  color: var(--ink-2); cursor: pointer;
}
.demo-tabs [role='tab'][aria-selected='true'] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.doc {
  background: #fcfbf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; min-width: 0;
  font-size: 0.95rem;
}
.doc-empty { display: grid; place-items: center; min-height: 260px; text-align: center; color: var(--ink-3); border-style: dashed; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.doc-title { font-size: 1.05rem; margin: 0; }
.doc-ref { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); margin: 2px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-teal { background: var(--teal-soft); color: var(--teal-dark); }
.pill-warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill-navy { background: #e3e7f0; color: var(--ink); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--ink-3); font-size: 0.9rem; }
.kv dd { margin: 0; font-weight: 560; min-width: 0; overflow-wrap: anywhere; }
.doc-section { margin-top: 18px; }
.doc-section h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 8px; }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 9px; background: var(--warn-bg); color: #5a3a00; font-size: 0.9rem; margin-top: 8px; }
.flag-info { background: var(--teal-soft); color: #0c3d39; }
.task-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.task-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 0.92rem; }
.task-list li::before { content: ''; width: 14px; height: 14px; border: 1.5px solid var(--line-strong); border-radius: 4px; transform: translateY(2px); }
.task-list time, .task-list .when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; }
.task-list li.done::before { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3L10.5 4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--teal); }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chip-list li { font-size: 0.82rem; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.msg { margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 0.92rem; position: relative; }
.msg-meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 0.76rem; color: var(--ink-3); margin-bottom: 6px; }
.preview-tag { font-weight: 700; color: var(--warn-ink); background: var(--warn-bg); padding: 1px 8px; border-radius: 999px; }
.js .doc-animate { animation: doc-in 0.35s var(--ease); }
@keyframes doc-in { from { opacity: 0.35; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Repair demo */
.demo-repair { grid-template-columns: 1fr; }
.stepper { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stepper li { position: relative; padding-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--ink-3); }
.stepper li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--line); transition: background 0.3s var(--ease); }
.stepper li.is-done { color: var(--ink-2); }
.stepper li.is-done::before { background: var(--teal); }
.stepper li.is-current { color: var(--ink); }
.stepper li.is-current::before { background: var(--ink); }
.stepper .step-n { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; }
.repair-panels { display: grid; grid-template-columns: 1.15fr 0.8fr 0.9fr; gap: 16px; margin-top: 20px; align-items: start; }
@media (max-width: 1000px) { .repair-panels { grid-template-columns: 1fr 1fr; } .doc-log { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .repair-panels { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; gap: 4px; }
  .stepper li { padding: 0 0 0 20px; }
  .stepper li::before { top: 4px; bottom: 4px; right: auto; width: 6px; height: auto; }
  .inline-select { margin-left: 0; }
}
.phone { background: var(--ink); border-radius: 28px; padding: 10px; box-shadow: var(--shadow); max-width: 320px; width: 100%; justify-self: center; }
.phone-notch { width: 70px; height: 6px; border-radius: 3px; background: #2c3a5a; margin: 4px auto 10px; }
.phone-screen { background: #fcfbf8; border-radius: 20px; padding: 16px; min-height: 360px; font-size: 0.9rem; }
.cust-brand { font-family: var(--font-serif); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.cust-sub { font-size: 0.78rem; color: var(--ink-3); margin-bottom: 14px; }
.cust-track { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 0; }
.cust-track li { position: relative; padding: 0 0 14px 24px; font-size: 0.85rem; color: var(--ink-3); }
.cust-track li::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fcfbf8; }
.cust-track li::after { content: ''; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.cust-track li:last-child::after { display: none; }
.cust-track li.is-done { color: var(--ink-2); }
.cust-track li.is-done::before { background: var(--teal); border-color: var(--teal); }
.cust-track li.is-current { color: var(--ink); font-weight: 650; }
.cust-track li.is-current::before { border-color: var(--ink); background: var(--ink); box-shadow: 0 0 0 4px #dfe3ec; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.88rem; }
.log li { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.log time { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-3); padding-top: 2px; }

/* Service demo */
.area-result { margin: 0; font-weight: 600; font-size: 0.95rem; }
.area-result:empty { display: none; }
.area-result.ok { color: var(--teal-dark); }
.area-result.edge { color: var(--warn-ink); }
.area-result.no, .area-result.err { color: var(--error); }
.area-result { padding: 12px 14px; border-radius: 9px; background: var(--bg-tint); }
.area-result.ok { background: var(--teal-soft); }
.area-result.edge { background: var(--warn-bg); }
.area-result.no, .area-result.err { background: var(--error-bg); }
#sv-output { gap: 14px; }

/* ---------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form, .form-success { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-intro { font-size: 0.92rem; color: var(--ink-3); }
.form-summary { background: var(--error-bg); color: var(--error); border: 1px solid #f3c0ba; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.form-summary:focus-visible { box-shadow: var(--focus); }
.form-summary ul { margin: 6px 0 0; padding-left: 1.2em; }
.form-summary a { color: var(--error); font-weight: 600; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 0.9rem; color: var(--ink-3); margin: 8px 0 22px; }
.form-status { margin: 16px 0 0; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); background: var(--error-bg); padding: 12px 14px; border-radius: 10px; }
.form-status.is-pending { color: var(--ink-2); }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.is-submitting .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: left; border-color: #b9ddd6; }
.form-success:focus { outline: none; box-shadow: var(--focus); }
.form-success p { color: var(--ink-2); }
.success-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); margin-bottom: 18px; }
.contact-aside { position: sticky; top: 100px; }
.contact-aside h2 { font-size: 1.5rem; }
.next-steps { list-style: none; counter-reset: n; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 44px; color: var(--ink-2); }
.next-steps li strong { color: var(--ink); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 0.9rem; }
.aside-note { font-size: 0.92rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 900px) { .contact-aside { position: static; } }

/* ---------------------------------------------------------------- Motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .fc-1, .js .fc-2 { opacity: 1; transform: none; animation: none; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .invite, .skip-link { display: none; }
  body { background: #fff; }
}
