﻿/* ==========================================================================
   OctaFor — site styles
   Light editorial layout. Ink + one signal yellow (taken from ApnaPayment).
   Yellow is used for fills only (buttons, markers, bars), never for text.
   ========================================================================== */

:root {
  --canvas: #F5F8FA;
  --paper: #FCFEFF;
  --line: #BEC9CE;
  --line-strong: #8D9BA1;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;

  --brand: #F8DA00;
  --brand-hover: #E9CC00;
  --brand-tint: #FFF8C7;
  --brand-line: #EEDC6A;

  --done: #0F766E;
  --done-tint: #E9F5F3;
  --warn: #92400E;
  --warn-tint: #FBF4E6;

  --font-head: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: 28px;
  --section: 120px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
}
@media (max-width: 720px) { :root { --gutter: 18px; --section: 76px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); font-weight: 700; }
figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-network-line, .hero-network-dot { animation: none !important; }
  .hero-network-full-line, .hero-network-full-dot { animation: none !important; }
}
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--paper + .section--paper { border-top: 0; }

/* ---------- Type ---------- */
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.03; letter-spacing: -0.04em; font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: .8125rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--font-head); font-size: .95rem; font-weight: 650; color: var(--ink-2);
}
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head .lead { margin-top: 18px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.prose p { color: var(--ink-2); max-width: 62ch; }
.prose p + p { margin-top: 1em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--brand); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 3px 0 rgba(15, 23, 42, .12); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1E293B; }
.btn--ghost { background: var(--paper); border: 2px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .925rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link {
  font-family: var(--font-head); font-weight: 650; color: var(--ink);
  background: linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 3px no-repeat;
  padding-bottom: 2px; transition: background-size .2s ease;
}
.text-link:hover { background-size: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 245, .9);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.04em; }
.brand-logo { width: 158px; height: 48px; flex: none; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 13px; border-radius: var(--r-sm); font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color .15s ease, background-color .15s ease; }
.nav a:hover { color: var(--ink); background: rgba(15, 23, 42, .05); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: background-color .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 940px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header-inner { height: 64px; }
  .mobile-menu { position: fixed; inset: 64px 0 0 0; z-index: 49; background: var(--paper); padding: 8px var(--gutter) 32px; overflow-y: auto; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu a.m-link { display: flex; justify-content: space-between; padding: 18px 0; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 28px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  }
  .action-bar.single { grid-template-columns: 1fr; }
  .action-bar .btn { height: 48px; }
  body.has-action-bar { padding-bottom: 76px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero-network-full { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .26; }
.hero-grid { position: relative; z-index: 1; }
.hero-network-full-line { fill: none; stroke: #9BBCC6; stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 5 14; animation: hero-network-full-flow 10s linear infinite; }
.hero-network-full-line--soft { stroke: #B6CDD2; stroke-width: 1; opacity: .7; animation-duration: 14s; animation-direction: reverse; }
.hero-network-full-dot { fill: #C4E1E7; stroke: #0F172A; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hero-network-full-pulse 3.6s ease-in-out infinite; }
.hero-network-full-dot--2 { animation-delay: -.8s; }
.hero-network-full-dot--3 { animation-delay: -1.6s; }
.hero-network-full-dot--4 { animation-delay: -2.4s; }
.hero-network-full-dot--5 { animation-delay: -3.2s; }
@keyframes hero-network-full-flow { to { stroke-dashoffset: -95; } }
@keyframes hero-network-full-pulse { 0%, 100% { opacity: .48; transform: scale(.72); } 50% { opacity: 1; transform: scale(1.2); } }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-copy { position: relative; isolation: isolate; }
.hero-network { position: absolute; z-index: -1; right: -12%; bottom: -22px; width: 112%; height: 210px; opacity: .38; pointer-events: none; overflow: visible; }
.hero-network-line { fill: none; stroke: #8FB5C0; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 7 12; animation: hero-network-flow 7s linear infinite; }
.hero-network-line--soft { stroke: #AFC9CF; stroke-width: 1; opacity: .65; animation-duration: 9s; animation-direction: reverse; }
.hero-network-dot { fill: #C4E1E7; stroke: #0F172A; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hero-network-pulse 2.8s ease-in-out infinite; }
.hero-network-dot--2 { animation-delay: -.7s; }
.hero-network-dot--3 { animation-delay: -1.4s; }
.hero-network-dot--4 { animation-delay: -2.1s; }
@keyframes hero-network-flow { to { stroke-dashoffset: -76; } }
@keyframes hero-network-pulse { 0%, 100% { opacity: .55; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.18); } }
.hero-for { font-size: .95rem; color: var(--ink-2); font-weight: 500; margin-bottom: 22px; }
.hero-for b { font-weight: 650; color: var(--ink); }
.h1-accent { color: #7A5200; font-style: italic; text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.hero-hindi { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--ink-2); margin-top: 18px; letter-spacing: -0.01em; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .9rem; color: var(--muted); }
.hero-trust .faces { display: flex; }
.hero-trust .faces span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--canvas);
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
}
.hero-trust .faces span + span { margin-left: -8px; background: var(--brand); color: var(--ink); }
.hero-trust b { color: var(--ink); font-weight: 600; }

.hero-visual { position: relative; padding: 0 0 70px 0; }
.hero-visual .browser--main { width: 100%; }
.hero-visual .browser--float { position: absolute; width: 58%; left: -8%; bottom: 0; }
.hero-visual .float-chip {
  position: absolute; right: -10px; top: 46%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .35);
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 4px var(--done-tint); }
.float-chip b { display: block; font-family: var(--font-head); font-size: .9rem; }
.float-chip span { font-size: .8rem; color: var(--muted); }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 40px 0 72px; }
  .hero-visual .browser--float { left: auto; right: 0; }
  .hero-visual .float-chip { right: auto; left: 0; top: auto; bottom: 18px; }
}

/* Browser frame (holds real screenshots/images) */
.browser {
  display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 48px -30px rgba(15, 23, 42, .35);
}
.browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #FBFBFA; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #E2E2DD; }
.browser-url { flex: 1; max-width: 260px; margin: 0 auto; height: 22px; border-radius: 6px; background: #F1F1EE; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.browser-url::before { content: ""; width: 8px; height: 9px; border: 1.5px solid #94A3B8; border-radius: 2px; border-top-width: 3px; }
.browser-shot { aspect-ratio: 1200 / 630; background: #EEEDE9; overflow: hidden; }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Logo strip ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.logos-inner { display: flex; align-items: center; gap: 48px; min-height: 104px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.logos-label { font-size: .95rem; color: var(--muted); max-width: 22ch; line-height: 1.4; }
.logos-list { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.logos-list a { display: flex; align-items: center; gap: 12px; opacity: .9; transition: opacity .15s ease; }
.logos-list a:hover { opacity: 1; }
.logos-list img.ap { height: 30px; width: auto; }
.logos-list img.ov { height: 52px; width: auto; }
.logos-list .live { font-family: var(--font-mono); font-size: .72rem; color: var(--done); display: inline-flex; align-items: center; gap: 6px; }
.logos-list .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--done); }
@media (max-width: 720px) { .logos-inner { gap: 18px 32px; } .logos-list { gap: 20px 36px; } }

/* ---------- Stats (proof numbers) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid #B89B00; }
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.1rem); letter-spacing: -0.045em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: .95rem; max-width: 24ch; }
.stats-note { margin-top: 26px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 22px 14px 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* ---------- Why (before / after) ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.why-grid .h2 { max-width: 14ch; }
.why-close { margin-top: 28px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.5; }
.why-close span { display: block; color: var(--muted); font-weight: 600; }
.compare { background: var(--paper); border: 2px solid #D3C14A; border-radius: var(--r-lg); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row > div { padding: 20px 24px; font-size: .95rem; }
.compare-row > div:first-child { color: var(--muted); border-right: 1px solid var(--line); }
.compare-row > div:last-child { color: var(--ink); font-weight: 500; }
.compare-head > div { font-family: var(--font-head); font-weight: 700; font-size: .9rem; padding-top: 16px; padding-bottom: 16px; }
.compare-head > div:first-child { background: #FAFAF8; color: var(--ink-2) !important; }
.compare-head > div:last-child { background: var(--brand); }
@media (max-width: 940px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .compare-row > div { padding: 16px; font-size: .9rem; } }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: #ECECE8; border: 2px solid #B89B00; border-radius: var(--r-md); }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 8px; font-family: var(--font-head); font-weight: 650; font-size: .95rem; color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .1), inset 0 -3px 0 var(--brand); }
@media (max-width: 720px) {
  .tabs--scroll { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100% + var(--gutter)); margin-right: calc(var(--gutter) * -1); border-radius: var(--r-md) 0 0 var(--r-md); }
  .tabs--scroll::-webkit-scrollbar { display: none; }
  .tabs--scroll .tab { flex: none; }
}

/* Industry panel */
.industry { margin-top: 26px; background: var(--paper); border: 2px solid #D3C14A; border-radius: var(--r-lg); }
.industry-cols { display: grid; grid-template-columns: 1fr 1fr; }
.industry-col { padding: 38px 40px; }
.industry-col + .industry-col { border-left: 1px solid var(--line); }
.industry-col h3 { font-size: 1.05rem; margin-bottom: 20px; }
.industry-col h3.is-muted { color: var(--muted); font-weight: 650; }
.list-plain li { position: relative; padding-left: 24px; color: var(--ink-2); }
.list-plain li + li { margin-top: 13px; }
.list-plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--line-strong); }
.list-check li { position: relative; padding-left: 30px; color: var(--ink); }
.list-check li + li { margin-top: 13px; }
.list-check li::before, .block-grid li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.5 2.5L13 6.3' fill='none' stroke='%230F172A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.flow { padding: 22px 40px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-label { font-size: .85rem; color: var(--muted); margin-right: 6px; width: 100%; }
.flow span.step-chip { font-size: .85rem; font-weight: 500; background: #FAFAF8; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.flow i { width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8M8 4l3 3-3 3' fill='none' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.industry-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 40px; border-top: 1px solid var(--line); background: #FAFAF8; border-radius: 0 0 var(--r-lg) var(--r-lg); font-size: .925rem; color: var(--muted); }
.industry-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 24px 0 26px; }
.industry-card { min-width: 0; padding: 0; overflow: hidden; border: 2px solid #A5AEA7; border-radius: var(--r-md); background: var(--paper); text-align: left; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.industry-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-card span { display: block; padding: 10px 12px; font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--ink); }
.industry-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.industry-card.is-active { border: 2px solid #9A7A00; box-shadow: 0 8px 22px rgba(15, 23, 42, .10); transform: translateY(-3px); }
.industry-card.is-active img { filter: saturate(1.12) contrast(1.03); }
.industry-card.is-active span { color: #6F5600; box-shadow: inset 0 -3px 0 #F8DA00; }
@media (max-width: 820px) {
  .industry-gallery { grid-template-columns: repeat(2, 1fr); }
  .industry-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 6px); }
  .industry-cols { grid-template-columns: 1fr; }
  .industry-col { padding: 28px 22px; }
  .industry-col + .industry-col { border-left: 0; border-top: 1px solid var(--line); }
  .flow, .industry-foot { padding-left: 22px; padding-right: 22px; }
}

/* ---------- Case studies ---------- */
.case { background: var(--paper); border: 2px solid #D3C14A; border-radius: var(--r-lg); overflow: hidden; }
.case + .case { margin-top: 32px; }
.case-top { display: grid; grid-template-columns: 1.15fr .85fr; }
.case-media { background: #F1F1EE; padding: 40px; border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: center; }
.case-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.case-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); border: 2px solid #A5AEA7; background: #E8E7E2; }
.case-body { padding: 40px; }
.case-logo { height: 30px; width: auto; margin-bottom: 26px; }
.case-logo.ov { height: 54px; margin-bottom: 18px; }
.case-body h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.18; letter-spacing: -0.03em; }
.case-body p { color: var(--ink-2); margin-top: 14px; }
.case-body .list-check { margin-top: 22px; }
.case-body .list-check li { font-size: .95rem; }
.case-links { display: flex; gap: 22px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.case-facts > div { padding: 22px 28px; }
.case-facts > div + div { border-left: 1px solid var(--line); }
.case-facts > div > span { display: block; font-size: .8125rem; color: var(--muted); }
.case-facts b { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.case-facts small { display: block; margin-top: 2px; font-size: .75rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 980px) {
  .case-top { grid-template-columns: 1fr; }
  .case-media { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .case-body { padding: 28px 22px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts > div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .case-facts > div + div { border-left: 0; }
  .case-facts > div:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--paper); border: 2px solid #A5AEA7; border-radius: var(--r-md); padding: 28px 28px 30px; }
.step:first-child, .step:last-child { border-color: #D3C14A; }
.step-num { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.step-num b { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.04em; }
.step-num span { font-size: .8rem; font-weight: 600; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 99px; padding: 3px 10px; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { padding: 22px; } }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote { background: var(--paper); border: 2px solid #A5AEA7; border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; }
.quote-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.quote-top img { height: 26px; width: auto; }
.quote-top img.ov { height: 40px; }
.review-domain { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--ink); background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 99px; padding: 7px 12px; }
.stars { display: flex; gap: 2px; color: #E2B800; }
.stars svg { width: 17px; height: 17px; }
.quote blockquote { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); flex: 1; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--brand); color: var(--ink); font-family: var(--font-head); font-weight: 800; }
.quote-by strong { display: block; font-family: var(--font-head); font-weight: 700; }
.quote-by span { font-size: .875rem; color: var(--muted); }
.quote-by .tag { margin-left: auto; font-size: .78rem; color: var(--ink-2); background: #F3F3F0; border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quote { padding: 28px 22px; } .quote-by .tag { display: none; } }

/* ---------- About / vision ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.about-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.32; letter-spacing: -0.025em; }
.about-quote::before { content: "“"; display: block; font-size: 4rem; line-height: .7; color: var(--brand); -webkit-text-stroke: 1px rgba(15, 23, 42, .15); margin-bottom: 14px; }
.about-sign { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .95rem; }
.about-sign b { color: var(--ink); font-family: var(--font-head); }
.principles li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
.principles li:first-child { padding-top: 0; }
.principles .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); border: 1px solid var(--brand-line); display: grid; place-items: center; grid-row: span 2; }
.principles .ico svg { width: 20px; height: 20px; }
.principles h3 { font-size: 1.05rem; margin-bottom: 4px; }
.principles p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 940px) { .about { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #EFEFEB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8v10M8 13h10' stroke='%230F172A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand); }
.faq details > div { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 66ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- CTA band (yellow) ---------- */
.cta-band { background: var(--brand); padding: 96px 0; border-top: 1px solid var(--brand-line); }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.cta-band .h2 { max-width: 16ch; }
.cta-band p { color: #3B3A2A; margin-top: 18px; max-width: 52ch; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .btn--ghost { background: transparent; border-color: rgba(15, 23, 42, .35); }
.cta-band .btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .25); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } .cta-band { padding: 72px 0; } }

/* ---------- Footer (dark) ---------- */
.site-footer { background: var(--ink); color: #CBD5E1; padding: 80px 0 32px; font-size: .95rem; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p { color: #94A3B8; margin-top: 18px; max-width: 34ch; }
.footer-about .btn { margin-top: 26px; }
.site-footer h4 { font-size: .9rem; font-weight: 700; margin-bottom: 18px; color: #fff; }
.site-footer ul li + li { margin-top: 11px; }
.site-footer ul a { color: #CBD5E1; transition: color .15s ease; }
.site-footer ul a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid #1E293B; color: #64748B; font-size: .85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Inner page header ---------- */
.page-head { padding: 76px 0 68px; }
.page-head .lead { margin-top: 22px; }
@media (max-width: 720px) { .page-head { padding: 44px 0 48px; } }

/* ---------- Services page ---------- */
.service-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }
.service-category { min-height: 150px; position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 26px; background: var(--paper); border: 2px solid #A5AEA7; border-radius: var(--r-lg); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.service-category:hover { transform: translateY(-3px); border-color: #9A7A00; }
.service-category[aria-selected="true"] { border: 3px solid #9A7A00; background: var(--brand-tint); box-shadow: 0 12px 28px rgba(15, 23, 42, .10); }
.service-category-num { font-family: var(--font-mono); font-size: .75rem; color: #6F5600; margin-bottom: 18px; }
.service-category b { font-family: var(--font-head); font-size: clamp(1.35rem, 2vw, 1.65rem); }
.service-category > span:last-child { display: block; margin-top: 6px; color: var(--ink-2); font-size: .92rem; }
.service-index a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; transition: border-color .15s ease; }
.service-index a:hover { border-color: var(--ink); }
.service-index em { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.service-index b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-top: 18px; letter-spacing: -0.01em; }
.service-index span { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .service-categories { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .service-categories { grid-template-columns: 1fr; } }

.service { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.service-aside { position: sticky; top: 108px; }
.service-aside .h2 { margin-bottom: 18px; }
.service-aside p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { font-size: .82rem; font-weight: 500; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.section--paper .chip { background: var(--canvas); }
.chips-label { display: block; font-size: .875rem; color: var(--muted); margin-top: 28px; }
.service-main > * + * { margin-top: 24px; }
.block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.section--paper .block { background: var(--canvas); }
.block h3 { font-size: 1.05rem; margin-bottom: 20px; }
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.block-grid li { position: relative; padding-left: 30px; }
.block-grid li b { display: block; font-weight: 600; }
.block-grid li span { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.proof { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.section--paper .proof { background: var(--canvas); }
.proof-img { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: #E8E7E2; aspect-ratio: 4 / 3; }
.proof-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-text { padding: 6px 8px 6px 0; }
.proof-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.proof-head strong { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; }
.proof-head .muted { font-size: .85rem; }
.proof p { color: var(--ink-2); font-size: .95rem; }
.proof .outcome { margin-top: 10px; color: var(--ink); background: var(--brand-tint); border-radius: 6px; padding: 8px 12px; font-size: .9rem; }
.proof .outcome b { font-weight: 650; }
.proof a.text-link { display: inline-block; margin-top: 12px; font-size: .9rem; }
.stack-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .875rem; }
.stack-line .mono { color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: .75rem; }
.safeguards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.safeguards b { display: block; font-family: var(--font-head); font-weight: 700; font-size: .975rem; margin-bottom: 4px; }
.safeguards span { font-size: .925rem; color: var(--ink-2); }
.marketing-block { border: 2px solid #D3C14A; }
.marketing-block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.marketing-block-head h3 { margin: 0; }
.marketing-block-head span { font-size: .78rem; color: #6F5600; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 99px; padding: 5px 10px; }
.ai-tools-block { border: 2px solid #A5AEA7; }
.llm-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.llm-tool { min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #FAFAF8; border: 1.5px solid #C5CAC6; border-radius: var(--r-md); }
.llm-tool img { width: 28px; height: 28px; object-fit: contain; }
.llm-tool b { font-family: var(--font-head); font-size: .85rem; }
.marketing-note { margin-top: 16px; color: var(--muted); font-size: .88rem; }
.marketing-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.marketing-stats div { min-height: 118px; padding: 18px; background: var(--ink); color: #fff; border: 2px solid #D3C14A; border-radius: var(--r-md); }
.marketing-stats b { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1; color: #F8DA00; }
.marketing-stats span { display: block; margin-top: 10px; font-size: .82rem; color: #CBD5E1; }
.ai-impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.ai-impact div { padding: 14px; background: var(--brand-tint); border: 1.5px solid var(--brand-line); border-radius: var(--r-sm); }
.ai-impact b { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.ai-impact span { display: block; color: var(--ink-2); font-size: .82rem; line-height: 1.45; }
.marketing-platforms { padding: 18px 20px; border: 2px solid #A5AEA7; border-radius: var(--r-md); background: var(--paper); }
.marketing-platforms > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: .82rem; }
.marketing-platforms div { display: flex; flex-wrap: wrap; gap: 8px; }
.marketing-platforms b { font-size: .78rem; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 99px; padding: 6px 10px; }
@media (max-width: 980px) {
  .service { grid-template-columns: 1fr; gap: 32px; }
  .service-aside { position: static; }
  .block { padding: 24px 20px; }
  .block-grid, .safeguards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .proof { grid-template-columns: 1fr; } .proof-text { padding: 0 4px 4px; } }
@media (max-width: 600px) {
  .llm-tools { grid-template-columns: 1fr 1fr; }
  .marketing-block-head { align-items: flex-start; flex-direction: column; }
  .marketing-stats { grid-template-columns: 1fr 1fr; }
  .ai-impact { grid-template-columns: 1fr 1fr; }
}

.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.section--paper .promise-grid > div { background: var(--canvas); }
.promise-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.promise-grid p { font-size: .925rem; color: var(--ink-2); }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact-aside > * + * { margin-top: 36px; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list b { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.expect li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--ink-2); font-size: .95rem; align-items: start; }
.expect li + li { margin-top: 16px; }
.expect li b { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--ink); }
.mini-quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.mini-quote p { font-family: var(--font-head); font-weight: 600; line-height: 1.5; }
.mini-quote span { display: block; margin-top: 12px; font-size: .85rem; color: var(--muted); }

.form-card { background: var(--paper); border: 2px solid #D3C14A; border-radius: var(--r-lg); padding: 34px; }
.form-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.tracker-review { max-width: 760px; margin: 0 auto; }
.form-card .tabs { margin-bottom: 28px; }
.form-panel > p.muted { margin: -8px 0 24px; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 14px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: .975rem; transition: border-color .15s ease, box-shadow .15s ease; }
.textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(248, 218, 0, .45); }
.input::placeholder, .textarea::placeholder { color: #94A3B8; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #B91C1C; }
.field-error { font-size: .8125rem; color: #B91C1C; display: none; }
.field.has-error .field-error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .925rem; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.check:hover { border-color: var(--line-strong); }
.check input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; flex: none; }
.check:has(input:checked) { border-color: var(--ink); background: var(--brand-tint); }
.rating { display: flex; gap: 4px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { cursor: pointer; color: #D6D6D0; padding: 2px; border-radius: 4px; transition: color .1s ease; }
.rating label svg { width: 30px; height: 30px; }
.rating label.is-on { color: #E2B800; }
.rating input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); font-weight: 400 !important; }
.consent input { accent-color: var(--ink); width: 16px; height: 16px; margin: 3px 0 0; flex: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: .8125rem; max-width: 36ch; }
.form-status { display: none; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm); font-size: .925rem; border: 1px solid; }
.form-status.is-ok { display: block; color: #134E4A; background: var(--done-tint); border-color: #CBE6E1; }
.form-status.is-err { display: block; color: #7F1D1D; background: #FEF2F2; border-color: #FECACA; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-grid .contact-aside { order: 2; } }
@media (max-width: 600px) { .form-card { padding: 22px 18px; } .form-grid, .check-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- Status chips ---------- */
.status { display: inline-flex; align-items: center; gap: 7px; flex: none; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; padding: 3px 10px; border-radius: 99px; white-space: nowrap; border: 1px solid transparent; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--done, .status--live { color: var(--done); background: var(--done-tint); border-color: #CBE6E1; }
.status--progress { color: var(--ink); background: var(--brand-tint); border-color: var(--brand-line); }
.status--progress::before { background: #D4A900; }
.status--queued { color: var(--muted); background: #F3F3F0; border-color: var(--line); }
.status--hold { color: var(--warn); background: var(--warn-tint); border-color: #EFDDBB; }
.bar { display: block; height: 6px; background: #ECECE8; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ink); border-radius: 99px; width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1); }

/* ---------- Tracker page ---------- */
.lookup { display: flex; gap: 10px; max-width: 580px; margin-top: 34px; }
.lookup .input { height: 54px; font-family: var(--font-mono); font-size: 1rem; text-transform: uppercase; }
.lookup .input::placeholder { text-transform: none; font-family: var(--font-body); }
.lookup .btn { height: 54px; }
.lookup-help { margin-top: 14px; font-size: .925rem; color: var(--muted); }
.lookup-help button { background: linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 3px no-repeat; border: 0; padding: 0 0 2px; color: var(--ink); font-weight: 650; font-family: var(--font-head); }
.lookup-msg { margin-top: 16px; max-width: 580px; }
@media (max-width: 560px) { .lookup { flex-direction: column; } .lookup .btn { width: 100%; } }

.tracker { display: grid; gap: 22px; }
.t-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.t-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.t-card-head h2 { font-size: 1.1rem; letter-spacing: -0.015em; }
.t-card-head .muted { font-size: .875rem; }
.t-card-body { padding: 28px; }
.t-summary { padding: 32px 28px; }
.t-sample-note { font-size: .875rem; color: var(--warn); background: var(--warn-tint); border: 1px solid #EFDDBB; border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 22px; }
.t-summary-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.t-summary h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -0.03em; line-height: 1.2; margin-top: 10px; }
.t-summary .client { color: var(--muted); margin-top: 4px; }
.t-big { text-align: right; }
.t-big b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; }
.t-big span { font-size: .85rem; color: var(--muted); }
.t-summary .bar { height: 10px; margin-top: 26px; }
.t-summary .bar > i { background: linear-gradient(90deg, var(--ink), var(--ink)); }
.t-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--line); }
.t-facts > div { padding: 18px 16px 0 0; }
.t-facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.t-facts span { display: block; font-size: .8125rem; color: var(--muted); }
.t-facts b { display: block; font-weight: 650; margin-top: 4px; }
@media (max-width: 760px) {
  .t-summary { padding: 24px 20px; }
  .t-big { text-align: left; }
  .t-facts { grid-template-columns: 1fr 1fr; }
  .t-facts > div, .t-facts > div + div { padding: 14px 10px 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .t-facts > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
}
.phases { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); }
.phase { position: relative; padding-top: 28px; padding-right: 12px; }
.phase::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.phase.is-done::before { background: var(--done); }
.phase.is-progress::before { background: linear-gradient(90deg, var(--ink) 50%, var(--line) 50%); }
.phase-dot { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); }
.phase.is-done .phase-dot { background: var(--done); border-color: var(--done); }
.phase.is-done .phase-dot::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.phase.is-progress .phase-dot { background: var(--brand); border-color: var(--ink); box-shadow: 0 0 0 4px var(--brand-tint); }
.phase b { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin-top: 8px; }
.phase span { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) {
  .phases { grid-template-columns: 1fr; }
  .phase { padding: 0 0 22px 34px; }
  .phase:last-child { padding-bottom: 0; }
  .phase::before { top: 18px; bottom: -2px; left: 8px; right: auto; width: 2px; height: auto; }
  .phase:last-child::before { display: none; }
  .phase.is-progress::before { background: linear-gradient(180deg, var(--ink) 50%, var(--line) 50%); }
  .phase b { margin-top: -1px; }
}
.features-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.features-list li:last-child { border-bottom: 0; }
.features-list b { font-weight: 600; }
.features-list p { grid-column: 1; font-size: .9rem; color: var(--muted); }
.features-list .f-side { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.features-list .f-bar { display: block; width: 110px; }
.features-list .f-bar .bar { height: 4px; }
.feature-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.feature-filter button { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 5px 12px; font-size: .8125rem; color: var(--ink-2); font-weight: 500; }
.feature-filter button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 600px) {
  .features-list li { padding: 16px 20px; grid-template-columns: 1fr; }
  .features-list .f-side { grid-row: auto; grid-column: 1; flex-direction: row; align-items: center; justify-content: space-between; }
  .t-card-head, .t-card-body { padding-left: 20px; padding-right: 20px; }
}
.t-two { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .t-two { grid-template-columns: 1fr; } }
.updates li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.updates li:first-child { padding-top: 0; }
.updates li:last-child { border-bottom: 0; padding-bottom: 0; }
.updates time { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); padding-top: 2px; }
.updates p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 480px) { .updates li { grid-template-columns: 1fr; gap: 4px; } }
.next-box b { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
.next-box .date { display: inline-block; font-family: var(--font-mono); font-size: .8125rem; margin-top: 8px; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 6px; padding: 2px 8px; }
.next-box hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.next-box .lbl { font-size: .8125rem; color: var(--muted); }
.how-tracker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-tracker > div { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.how-tracker em { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.how-tracker h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.how-tracker p { font-size: .925rem; color: var(--ink-2); }
@media (max-width: 760px) { .how-tracker { grid-template-columns: 1fr; } }
.center-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
