/* Tahapin landing page v4 — mobile first, minimal & techy */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #8B0000;
  --brand-700: #6E0000;
  --brand-300: #E0564A;
  --brand-200: #F2B8B0;
  --brand-100: #F4E1DF;
  --brand-50: #FBF4F3;
  --ink: #111110;
  --ink-2: #44403C;
  --muted: #78716C;
  --line: #E7E5E4;
  --line-2: #D6D3D1;
  --surface: #FAFAF9;
  --white: #FFFFFF;
  --ok: #15803D;
  --ok-50: #F0FDF4;
  --warn: #B45309;
  --warn-50: #FFF7ED;
  --bad: #B91C1C;
  --bad-50: #FEF2F2;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 16, .05);
  --shadow: 0 1px 2px rgba(17, 17, 16, .04), 0 12px 32px -12px rgba(17, 17, 16, .14);
  --shadow-lg: 0 2px 6px rgba(17, 17, 16, .05), 0 40px 80px -30px rgba(17, 17, 16, .35);
  --wrap: 1160px;
  --pad: 20px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo-pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cg fill='none' stroke='%238B0000' stroke-opacity='.16' stroke-width='1'%3E%3Cg transform='translate%2810 10%29 scale%28.16%29'%3E%3Cpath d='M0 18.6H23.2C32.5 18.6 39.9 26.1 39.9 35.3V57.6H16.7C7.5 57.6 0 50.1 0 40.9Z'/%3E%3Cpath d='M98 19.9C106.5 19.9 113.4 26.8 113.4 35.3V56.3H62.9C54.3 56.3 47.5 49.4 47.5 40.9V19.9Z'/%3E%3Cpath d='M46.2 64.9H68C77.2 64.9 84.6 72.3 84.6 81.6V103.8H62.9C53.7 103.8 46.2 96.3 46.2 87.1Z'/%3E%3C/g%3E%3Cg transform='translate%2854 54%29 scale%28.16%29'%3E%3Cpath d='M0 18.6H23.2C32.5 18.6 39.9 26.1 39.9 35.3V57.6H16.7C7.5 57.6 0 50.1 0 40.9Z'/%3E%3Cpath d='M98 19.9C106.5 19.9 113.4 26.8 113.4 35.3V56.3H62.9C54.3 56.3 47.5 49.4 47.5 40.9V19.9Z'/%3E%3Cpath d='M46.2 64.9H68C77.2 64.9 84.6 72.3 84.6 81.6V103.8H62.9C53.7 103.8 46.2 96.3 46.2 87.1Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --logo-pat-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.16' stroke-width='1'%3E%3Cg transform='translate%2810 10%29 scale%28.16%29'%3E%3Cpath d='M0 18.6H23.2C32.5 18.6 39.9 26.1 39.9 35.3V57.6H16.7C7.5 57.6 0 50.1 0 40.9Z'/%3E%3Cpath d='M98 19.9C106.5 19.9 113.4 26.8 113.4 35.3V56.3H62.9C54.3 56.3 47.5 49.4 47.5 40.9V19.9Z'/%3E%3Cpath d='M46.2 64.9H68C77.2 64.9 84.6 72.3 84.6 81.6V103.8H62.9C53.7 103.8 46.2 96.3 46.2 87.1Z'/%3E%3C/g%3E%3Cg transform='translate%2854 54%29 scale%28.16%29'%3E%3Cpath d='M0 18.6H23.2C32.5 18.6 39.9 26.1 39.9 35.3V57.6H16.7C7.5 57.6 0 50.1 0 40.9Z'/%3E%3Cpath d='M98 19.9C106.5 19.9 113.4 26.8 113.4 35.3V56.3H62.9C54.3 56.3 47.5 49.4 47.5 40.9V19.9Z'/%3E%3Cpath d='M46.2 64.9H68C77.2 64.9 84.6 72.3 84.6 81.6V103.8H62.9C53.7 103.8 46.2 96.3 46.2 87.1Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
svg { flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(31px, 8.2vw, 52px); line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(26px, 6.4vw, 42px); line-height: 1.18; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: -0.015em; }
p { margin: 0; }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 56ch; }
.hl { color: var(--brand); }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand);
}
.eyebrow.light { color: #FFD9D3; }
.sec-head { max-width: 700px; margin-bottom: 40px; }
.sec-head p { margin-top: 16px; font-size: 16px; color: var(--ink-2); max-width: 60ch; }

section { padding: 72px 0; position: relative; }
.bg-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--logo-pat); background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 25%, transparent 78%);
}
.grid-bg.dark { background-image: var(--logo-pat-w); -webkit-mask-image: none; mask-image: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 10px;
  font-weight: 550; font-size: 15.5px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px rgba(139,0,0,.6); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--brand); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* Test banner */
.test-banner { display: none; background: var(--warn-50); color: var(--warn); text-align: center; font-size: 13px; padding: 8px 16px; }
.test-banner.show { display: block; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 22px; width: auto; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 359px) { .hide-xs { display: none; } }

/* Mobile section menu */
.mnav { position: fixed; inset: 0; z-index: 60; }
.mnav-backdrop { position: absolute; inset: 0; background: rgba(17,17,16,.35); opacity: 0; transition: opacity .2s; }
.mnav-sheet {
  position: absolute; top: 0; left: 0; right: 0;
  background: #fff; border-radius: 0 0 20px 20px;
  padding: 16px var(--pad) 24px; box-shadow: var(--shadow-lg);
  transform: translateY(-16px); opacity: 0; transition: transform .22s ease, opacity .22s ease;
  max-height: 100dvh; overflow-y: auto;
}
.mnav.open .mnav-backdrop { opacity: 1; }
.mnav.open .mnav-sheet { transform: none; opacity: 1; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; height: 30px; margin-bottom: 8px; }
.mnav-head .mono { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mnav-close { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mnav-close svg { width: 18px; height: 18px; }
.mnav-list { list-style: none; margin: 0 0 20px; padding: 0; }
.mnav-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 2px;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500;
}
.mnav-list a::after { content: "→"; font-family: var(--mono); font-size: 14px; color: var(--line-2); }
.mnav-list a:active { background: var(--surface); }
.mnav-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero-grid { position: relative; display: grid; gap: 48px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 1.4;
  background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(139,0,0,.4); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139,0,0,.4); } 70% { box-shadow: 0 0 0 8px rgba(139,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(139,0,0,0); } }
.hero .lead { margin-top: 20px; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.hero-note { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 17px; height: 17px; color: var(--brand); }

.hero-visual { position: relative; padding: 0 5% 8px; }
.laptop { position: relative; max-width: 640px; margin: 0 auto; isolation: isolate; }
.laptop::before {
  content: ""; position: absolute; inset: -12% -10% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 0, 0, .10), transparent 70%);
}
.lp-lid {
  position: relative; background: rgba(139, 0, 0, .05); border: 1.25px solid var(--brand);
  border-radius: 14px 14px 4px 4px; padding: 3.4% 3.4% 3%;
}
.lp-cam { position: absolute; top: 1.3%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; border: 1.25px solid var(--brand); background: #fff; }
.lp-screen { border-radius: 4px; overflow: hidden; background: #fff; aspect-ratio: 1340 / 850; border: 1px solid rgba(139, 0, 0, .22); }
.lp-screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.lp-base {
  position: relative; height: 13px; margin: 0 -7%;
  background: rgba(139, 0, 0, .10); border: 1.25px solid var(--brand); border-radius: 2px 2px 14px 14px;
}
.lp-base span { position: absolute; top: -1px; left: 50%; width: 18%; height: 5px; transform: translateX(-50%); background: #fff; border: 1.25px solid var(--brand); border-top: 0; border-radius: 0 0 6px 6px; }

.chip-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px 8px 8px; box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.3; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.chip-float b { display: block; font-weight: 600; }
.chip-float .mono { font-size: 10.5px; color: var(--muted); }
.chip-float .ic { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.chip-float .ic svg { width: 16px; height: 16px; }
.chip-float .ic.warn { background: var(--warn-50); color: var(--warn); }
.chip-float .ic.ok { background: var(--ok-50); color: var(--ok); }
.chip-float .ic.wa { background: #E7F8EE; color: #25D366; }
.cf-1 { top: -18px; left: 0; }
.cf-2 { bottom: -14px; right: 0; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Flow */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }
.seg button { border: 0; background: transparent; border-radius: 8px; min-height: 42px; font-size: 14.5px; font-weight: 550; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.flow-grid { display: grid; gap: 16px; }
.flow-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; }
.flow-panel.next { border-color: var(--brand-100); background: linear-gradient(180deg, var(--brand-50), #fff 45%); }
.flow-panel h3 { display: flex; align-items: center; gap: 10px; }
.flow-panel h3 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.flow-panel.next h3 .dot { background: var(--brand); }
.flow-panel > p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.diagram { display: flex; flex-direction: column; align-items: center; margin: 24px 0; padding: 24px 12px; border: 1px dashed var(--line-2); border-radius: var(--r-md); background: var(--surface); }
.flow-panel.next .diagram { background: #fff; }
.node {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; text-align: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 550;
}
.node svg, .node img { width: 18px; height: 18px; color: var(--ink-2); }
.node small { display: block; width: 100%; font-size: 12px; font-weight: 400; color: var(--muted); }
.node.brand { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.node.sm { flex-direction: column; gap: 4px; padding: 8px 10px; font-size: 13px; }
.vendors { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.state { font-family: var(--mono); font-size: 10.5px; font-weight: 500; padding: 2px 7px; border-radius: 999px; }
.st-wait { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.st-late { background: var(--warn-50); color: var(--warn); }
.st-ok { background: var(--ok-50); color: var(--ok); }
.link { width: 1px; height: 24px; background: var(--line-2); }
.link.dash { background: repeating-linear-gradient(var(--muted) 0 3px, transparent 3px 7px); }
.link.brand { background: var(--brand); width: 1.5px; }
.speech { margin-top: 10px; font-size: 13.5px; background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 6px 12px; color: var(--ink-2); }
.speech.ok { background: var(--ok-50); border-color: #BBF7D0; color: var(--ok); }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 36px; font-size: 15px; color: var(--ink-2); }
.steps-list li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted);
  width: 26px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.steps-list b { color: var(--ink); font-weight: 600; }
.flow-panel.next .steps-list li::before { color: var(--brand); border-color: var(--brand-100); }
.flow-switch { margin-top: 24px; }

/* Line-art illustrations — monochrome red, thin outline + translucent fill */
.la { display: block; width: 100%; height: auto; overflow: visible; }
.la path, .la circle, .la rect, .la ellipse { fill: none; stroke: var(--brand); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.la .f0 { fill: #fff; }
.la .f1 { fill: rgba(139, 0, 0, .06); }
.la .f2 { fill: rgba(139, 0, 0, .13); }
.la .f3 { fill: rgba(139, 0, 0, .26); }
.la .fs { fill: var(--brand); }
.la .ns { stroke: none; }
.la .wk { stroke: #fff; stroke-width: 1.6; }
.la .thick { stroke-width: 2; }
.la .dash { stroke-dasharray: 3 5; stroke: rgba(139, 0, 0, .55); }
.la text { font-family: var(--font); font-size: 11.5px; font-weight: 500; fill: var(--brand-700); stroke: none; }
.la .mono-t { font-family: var(--mono); font-size: 10.5px; font-weight: 400; fill: rgba(139, 0, 0, .6); }
.la .q { font-size: 20px; font-weight: 600; fill: var(--brand); }
.la .wt { font-family: var(--mono); font-size: 10px; font-weight: 600; fill: #fff; }

/* Scenes (Open Peeps characters, CC0) */
.scene { display: block; width: 100%; height: auto; max-width: 340px; margin: 0 auto; overflow: visible; }
.scene text { font-family: var(--font); font-size: 11.5px; font-weight: 500; }
.scene .sc-t { fill: #3A0000; }
.scene .sc-tw { fill: #fff; }
.scene .sc-tw.mono { font-family: var(--mono); font-size: 10.5px; }
.scene .sc-tw.q { font-size: 12px; font-weight: 700; }
.scene .sc-m { font-family: var(--mono); font-size: 10px; fill: rgba(110, 0, 0, .65); }
.scene .sc-b { fill: #fff; stroke: #6E0000; stroke-width: 1.5; }
.scene .sc-s { fill: #6E0000; }
.scene .sc-dot { fill: #6E0000; }
.scene .sc-ln { fill: none; stroke: #6E0000; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scene .sc-ln.thick { stroke-width: 2.4; }
.scene .sc-wk { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scene .sc-dash { fill: none; stroke: #6E0000; stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: round; opacity: .6; }

/* Pains */
.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.pain-art {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding: 24px 16px 0; min-height: 220px; background: var(--surface); border-bottom: 1px solid var(--line);
  background-image: var(--logo-pat); background-size: 88px 88px;
}
.pain-art .scene { max-width: 330px; }
.pain-body { padding: 22px 22px 26px; }
.pain-num { font-size: 12px; color: var(--brand); font-weight: 500; }
.pain-body h3 { margin-top: 6px; }
.pain-body p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

.ui-card { position: relative; width: 100%; max-width: 330px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font-size: 13px; box-shadow: var(--shadow); }
.ui-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ui-head b { font-size: 13.5px; font-weight: 600; }
.ui-head .mono { font-size: 10.5px; color: var(--muted); }
.ui-cols, .ui-row { display: grid; grid-template-columns: 1fr .8fr 1.35fr; gap: 8px; align-items: center; }
.ui-cols { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ui-row { padding: 9px 0; border-bottom: 1px solid var(--line); }
.ui-row:last-child { border-bottom: 0; }
.ui-row .mono { font-size: 11.5px; color: var(--ink-2); }
.ui-row.late { background: var(--bad-50); margin: 0 -14px; padding: 9px 14px; border-radius: 0 0 10px 10px; }
.ui-row.late .mono { color: var(--bad); font-weight: 600; }
.code { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; justify-self: start; white-space: nowrap;
  font-size: 11px; font-weight: 550; line-height: 1.3; padding: 3px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.pill.ok { background: var(--ok-50); border-color: #BBF7D0; color: var(--ok); }
.pill.warn { background: var(--warn-50); border-color: #FED7AA; color: var(--warn); }
.pill.bad { background: var(--bad-50); border-color: #FECACA; color: var(--bad); }
.pill.brand { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }

.invoice .inv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.invoice .inv-row span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.invoice .inv-row .mono { font-size: 12px; }
.invoice .inv-row.minus span, .invoice .inv-row.minus .mono { color: var(--bad); }
.invoice .inv-row.minus svg { width: 14px; height: 14px; }
.invoice .inv-row.total { border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 12px; }
.invoice .inv-row.total b { font-weight: 600; }
.inv-stamp { display: inline-block; margin-top: 10px; transform: rotate(-3deg); border: 1.5px solid var(--bad); color: var(--bad); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }

.note-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--brand); border-radius: 8px; }
.note-line svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }

/* Calculator */
.calc { display: grid; gap: 16px; }
.calc-inputs { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; }
.ctrl + .ctrl { margin-top: 28px; }
.ctrl-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ctrl-top label { font-size: 15px; font-weight: 550; line-height: 1.35; }
.hint { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.val { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--mono); font-size: 14px; flex: none; }
.val:focus-within { border-color: var(--brand); }
.val input { width: 3.2ch; border: 0; background: transparent; text-align: right; font-family: var(--mono); font-size: 14px; outline: none; padding: 0; }
.val.wide input { width: 10.5ch; }
.val span { color: var(--muted); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 18px 0 4px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--brand-100); }

.calc-out {
  color: #fff; border-radius: var(--r-lg); padding: 28px 22px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 120, 100, .35), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(40, 0, 0, .55), transparent 60%),
    linear-gradient(145deg, #A30F0F 0%, #8B0000 45%, #520000 100%);
  box-shadow: 0 24px 60px -24px rgba(139, 0, 0, .55);
}
.calc-out .lbl { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.calc-out .big { font-size: clamp(38px, 11vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc-out .per { font-size: 14px; color: rgba(255,255,255,.72); margin-top: 8px; }
.calc-out .per b { color: #fff; font-weight: 600; }
.split { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.18); margin-top: 22px; }
.split i { display: block; height: 100%; transition: width .3s; }
.split .s1, .sw.s1 { background: #fff; }
.split .s2, .sw.s2 { background: rgba(255,255,255,.5); }
.legend { margin-top: 10px; }
.legend .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.legend .row span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); }
.legend .row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sw { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.vs { margin-top: 18px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.8); }
.vs strong { color: #fff; font-weight: 600; }
.vs .ratio { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: #fff; background: rgba(255,255,255,.14); padding: 3px 8px; border-radius: 6px; }
.calc-foot { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 72ch; }

/* Mindset */
.mind-grid { display: grid; gap: 16px; align-items: stretch; }
.mind { border-radius: var(--r-lg); padding: 22px 20px 26px; border: 1px solid var(--line); background: var(--surface); }
.mind.new { background: var(--brand-50); border-color: var(--brand-100); }
.mind-art { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px 0; margin-bottom: 22px; overflow: hidden; background-image: var(--logo-pat); background-size: 88px 88px; }
.mind.new .mind-art { border-color: var(--brand-100); }
.mind .who { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mind.new .who { color: var(--brand); }
.big-line { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin-top: 8px; }
.mind .d { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.mind ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.mind li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.mind li svg { width: 18px; height: 18px; margin-top: 2px; }
.mind.old li svg { color: var(--muted); }
.mind.new li svg { color: var(--brand); }
.shift-arrow { display: flex; justify-content: center; }
.shift-arrow span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; transform: rotate(90deg); }
.shift-arrow svg { width: 18px; height: 18px; color: var(--brand); }

/* Features */
.features { display: grid; gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.stage {
  display: flex; align-items: center; justify-content: center; padding: 22px 18px; min-height: 232px;
  background: var(--surface); border-bottom: 1px solid var(--line);
  background-image: var(--logo-pat); background-size: 88px 88px;
}
.ill { width: 100%; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font-size: 13px; box-shadow: var(--shadow); }
.ill-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ill-title b { font-size: 13.5px; font-weight: 600; }
.ill-title small { display: block; font-size: 11.5px; color: var(--muted); }
.feature .txt { padding: 22px 22px 26px; }
.f-num { font-size: 12px; font-weight: 500; color: var(--brand); }
.feature h3 { margin-top: 6px; }
.feature .txt p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.items > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.check-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.cbox { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cbox.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.cbox svg { width: 12px; height: 12px; }
.grow { flex: 1; min-width: 0; line-height: 1.35; }
.grow small { display: block; font-size: 11.5px; color: var(--muted); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.photo { margin: 0; border-radius: 8px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo figcaption { padding: 5px 4px 6px; text-align: center; font-size: 11px; font-weight: 550; color: var(--ink-2); }
.meta-line { margin-top: 10px; font-size: 10.5px; color: var(--muted); }
.gantt { position: relative; padding-top: 18px; }
.gantt .g { display: grid; grid-template-columns: 54px 1fr; gap: 8px; align-items: center; padding: 5px 0; font-size: 12px; color: var(--ink-2); }
.track { position: relative; height: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.track i { position: absolute; top: -1px; bottom: -1px; border-radius: 99px; background: var(--ok); }
.track i.run { background: var(--brand); }
.track i.late { background: repeating-linear-gradient(45deg, var(--warn) 0 4px, #F59E0B 4px 8px); }
.deadline { position: absolute; top: 0; bottom: 0; left: calc(62px + (100% - 62px) * .84); border-left: 1.5px dashed var(--bad); }
.deadline span { position: absolute; top: -2px; left: 4px; font-size: 9.5px; color: var(--bad); white-space: nowrap; }
.flag { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; background: var(--warn-50); color: var(--warn); border-radius: 8px; padding: 9px 10px; font-size: 12px; line-height: 1.45; }
.flag svg { width: 15px; height: 15px; margin-top: 1px; }
.wa-draft { background: var(--ok-50); border: 1px solid #DCFCE7; border-radius: 10px 10px 10px 3px; padding: 10px 12px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.wa-draft b { color: var(--ink); font-weight: 600; }
.wa-actions { display: flex; gap: 8px; margin-top: 10px; }
.wa-actions span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; font-size: 12px; font-weight: 550; }
.wa-actions svg { width: 14px; height: 14px; }
.wa-actions .a1 { border: 1px solid var(--line-2); }
.wa-actions .a2 { background: #25D366; color: #fff; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.dash-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.dash-stats b { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; }
.dash-stats small { font-size: 11px; color: var(--muted); }
.ok-t { color: var(--ok); } .warn-t { color: var(--warn); }
.dash-row { display: grid; grid-template-columns: 62px 1fr 32px; gap: 8px; align-items: center; padding: 6px 0; font-size: 12px; }
.dash-row .num { text-align: right; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.dash-row .bar { height: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.dash-row .bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.dash-row .bar i.w { background: var(--warn); }
.dash-row .bar i.b { background: var(--bad); }

/* Gallery */
.gallery-wrap { margin-top: 56px; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.gallery-head h3 { font-size: 20px; }
.gallery-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scroll-padding: 0 var(--pad); }
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 88%; margin: 0; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.shot-bar span { font-size: 11px; color: var(--muted); margin-left: 6px; }
.shot figcaption { padding: 12px 14px 14px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }

.shot, .lp-screen[data-zoom] { cursor: zoom-in; position: relative; }
.shot img { transition: transform .3s ease; }
.shot:hover img { transform: scale(1.015); }
.shot:focus-visible, .lp-screen:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(14, 6, 6, .97); display: flex; flex-direction: column; opacity: 0; transition: opacity .18s; }
.lightbox.open { opacity: 1; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: #fff; }
.lb-cap { font-size: 12px; color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-tools { display: flex; gap: 6px; flex: none; }
.lb-tools button, .lb-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.lb-tools svg, .lb-nav svg { width: 18px; height: 18px; }
.lb-stage { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: zoom-in; padding: 0 10px; }
.lb-stage.zoomed { cursor: grab; }
.lb-stage img { max-width: 100%; max-height: 100%; border-radius: 8px; transform-origin: center center; transition: transform .12s ease-out; user-select: none; -webkit-user-drag: none; background: #fff; }
.lb-nav { position: absolute; top: 50%; margin-top: -20px; }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-hint { text-align: center; font-size: 12px; color: rgba(255,255,255,.55); padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
@media (max-width: 759px) { .lb-nav { top: auto; bottom: calc(44px + env(safe-area-inset-bottom)); margin: 0; } }

/* Industry */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)) 20px; padding: 0 var(--pad) 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 0 16px; min-height: 40px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ind-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; }
.ind-panel { position: relative; overflow: hidden; }
.ind-top { position: relative; display: flex; flex-direction: column; gap: 12px; margin: -24px -20px 28px; padding: 24px 20px 24px; background: linear-gradient(180deg, var(--brand-50), rgba(251,244,243,0)); border-bottom: 1px dashed var(--brand-100); }
.ind-top > div:not(.ind-art), .ind-top .ind-meta { position: relative; z-index: 1; }
.ind-art .la { width: 100%; }
.ind-art { order: -1; width: 128px; margin-bottom: 4px; pointer-events: none; }
.add-stage {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px;
  min-height: 52px; padding: 12px 18px; border: 1.25px dashed var(--brand); border-radius: 14px;
  background: #fff; color: var(--brand); font-size: 15px; font-weight: 600; text-decoration: none; text-align: left; line-height: 1.35;
  transition: background .15s;
}
.add-stage:hover { background: var(--brand-50); }
.add-stage .plus { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; line-height: 1; flex: none; }
.ind-top h3 { font-size: 20px; }
.ind-top p { font-size: 15px; color: var(--ink-2); margin-top: 6px; max-width: 62ch; }
.ind-meta { align-self: flex-start; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.stages { list-style: none; counter-reset: st; padding: 0; margin: 0; }
.stages li { counter-increment: st; position: relative; padding: 0 0 20px 40px; }
.stages li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); display: flex; align-items: center; justify-content: center;
}
.stages li::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 4px; width: 1px; background: var(--line); }
.stages li:last-child { padding-bottom: 0; }
.stages li:last-child::after { display: none; }
.stages li.risk::before { border-color: var(--warn); background: var(--warn-50); color: var(--warn); }
.s-name { font-size: 15px; font-weight: 550; line-height: 1.4; }
.s-who { font-size: 13px; color: var(--muted); margin-top: 2px; }
.s-risk, .risk-inline { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--warn); background: var(--warn-50); border: 1px solid #FED7AA; padding: 0 6px; border-radius: 4px; vertical-align: 2px; margin-left: 4px; line-height: 1.7; }
.risk-inline { margin: 0; }
.ind-foot { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Keep */
.keep-grid { display: grid; gap: 16px; }
.keep { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; }
.k-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.k-ic svg { width: 20px; height: 20px; }
.keep h3 { margin-top: 16px; }
.keep p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sources span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--surface); }
.sources svg { width: 14px; height: 14px; }

/* Comparison */
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp thead { display: none; }
.cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
.cmp tbody tr { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 16px 6px; margin-bottom: 12px; overflow: hidden; }
.cmp tbody th { font-size: 15px; font-weight: 600; text-align: left; margin-bottom: 8px; }
.cmp tbody td { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.cmp tbody td::before { content: attr(data-l); font-size: 13px; color: var(--muted); flex: 0 0 40%; }
.cmp tbody td.us { background: var(--brand-50); margin: 0 -16px; padding: 10px 16px; }
.cmp tbody td.us::before { color: var(--brand); font-weight: 550; }
.cv { text-align: right; color: var(--ink-2); line-height: 1.5; }
.price { font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.us .price { color: var(--brand); }
.cmp .y, .cmp .n { display: inline-flex; align-items: flex-start; gap: 6px; }
.cmp .y svg, .cmp .n svg { margin-top: 3px; }
.cmp .y { color: var(--ok); font-weight: 550; }
.cmp .n { color: var(--muted); }
.cmp .y svg, .cmp .n svg { width: 15px; height: 15px; }
.bridge-q { margin-top: 28px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.bridge-q p { font-size: 18px; font-weight: 550; line-height: 1.45; letter-spacing: -0.01em; }
.bridge-q p span { display: block; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.7); margin-top: 8px; }

/* Pricing */
.founding-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; margin-bottom: 20px; }
.founding-banner b { color: var(--brand); font-weight: 600; }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-ui { position: relative; width: 36px; height: 20px; border-radius: 99px; background: var(--line-2); transition: background .2s; }
.sw-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.toggle input:checked + .sw-ui { background: var(--brand); }
.toggle input:checked + .sw-ui::after { transform: translateX(16px); }
.toggle input:focus-visible + .sw-ui { outline: 2px solid var(--brand); outline-offset: 2px; }
.plans { display: grid; gap: 12px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px 20px; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.plan.match { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ribbon { position: absolute; top: -10px; left: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 6px; }
.ribbon.m { background: var(--ink); }
.plan.pop .ribbon.m { display: none; }
.p-name { font-size: 17px; font-weight: 600; }
.p-vol { font-size: 12px; color: var(--muted); margin-top: 2px; }
.p-price { margin: 16px 0 18px; min-height: 52px; display: flex; flex-direction: column; justify-content: flex-end; }
.p-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; min-height: 20px; }
.p-price .now { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.p-price .now small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.p-price .talk { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.p-cta { margin-top: auto; }
.plan-feats { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px; }
.plan-feats h3 { font-size: 16px; }
.plan-feats ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.plan-feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.plan-feats svg { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.price-notes { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 550; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 400; line-height: 1.1; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "−"; color: var(--brand); }
.faq details p { padding: 0 32px 20px 0; font-size: 15px; color: var(--ink-2); }

/* CTA + form */
.cta-sec {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(255, 110, 90, .38), transparent 60%),
    radial-gradient(55% 60% at 100% 100%, rgba(30, 0, 0, .65), transparent 65%),
    radial-gradient(40% 50% at 85% 10%, rgba(200, 30, 30, .5), transparent 70%),
    linear-gradient(150deg, #A8110F 0%, #8B0000 42%, #4D0000 100%);
}
.cta-grid { position: relative; display: grid; gap: 36px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { margin-top: 16px; font-size: 16px; color: rgba(255,255,255,.82); max-width: 48ch; }
.cta-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.cta-copy li { display: flex; gap: 10px; font-size: 15px; color: rgba(255,255,255,.9); }
.cta-copy li svg { width: 18px; height: 18px; color: #fff; margin-top: 3px; }
.form-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 24px 20px; box-shadow: 0 30px 80px -30px rgba(40, 0, 0, .7); }
.form-intro { text-align: center; padding: 8px 0 0; }
.fi-mark { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); display: flex; align-items: center; justify-content: center; }
.form-intro h3 { font-size: 21px; }
.form-intro > p { margin: 8px auto 0; font-size: 15px; color: var(--ink-2); max-width: 36ch; }
.fi-steps { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 8px; text-align: left; }
.fi-steps li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; font-weight: 500; background: var(--surface); }
.fi-steps .mono { width: 24px; height: 24px; border-radius: 50%; border: 1.25px solid var(--brand); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: none; }
.progress { display: flex; gap: 6px; }
.progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); transition: background .2s; }
.progress i.on { background: var(--brand); }
.step-label { margin: 12px 0 20px; font-size: 13px; color: var(--muted); }
.step-label b { color: var(--ink); font-weight: 600; }
.form-error { display: none; background: var(--bad-50); color: var(--bad); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 16px; }
.form-error.show { display: block; }
.field { margin-bottom: 18px; }
.field > label, .flabel { display: block; font-size: 14px; font-weight: 550; margin-bottom: 6px; }
.field input:not([type=radio]):not([type=checkbox]), .field select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field .err { display: none; font-size: 13px; color: var(--bad); margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input:not([type=radio]):not([type=checkbox]), .field.invalid select { border-color: var(--bad); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; min-height: 44px; font-size: 15px; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.radios input, .consent input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; gap: 10px; margin-top: 6px; }
.f-actions .btn { flex: 1; }
.privacy-micro { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.thanks { display: none; text-align: center; padding: 28px 4px; }
.thanks.show { display: block; }
.ok-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.ok-ic svg { width: 26px; height: 26px; }
.thanks h3 { font-size: 22px; margin-top: 16px; }
.thanks p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 112px; }
.foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; font-size: 13px; color: var(--muted); }
.foot-logo { height: 20px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--brand); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 16px; box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 24px)); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sc-txt { font-size: 12px; line-height: 1.35; color: var(--muted); }
.sc-txt b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- ≥ 560px ---------- */
@media (min-width: 560px) {
  .hero-cta { flex-direction: row; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:last-child { grid-column: 1 / -1; }
  .form-card { padding: 32px 28px; }
  .shot { flex-basis: 70%; }
}

/* ---------- ≥ 760px ---------- */
@media (min-width: 760px) {
  :root { --pad: 32px; }
  section { padding: 96px 0; }
  .sec-head { margin-bottom: 52px; }
  .sec-head p { font-size: 17px; }
  .pains { grid-template-columns: 1fr 1fr; }
  .pain:last-child { grid-column: 1 / -1; flex-direction: row; }
  .pain:last-child .pain-art { flex: 1; border-bottom: 0; border-right: 1px solid var(--line); }
  .pain:last-child .pain-body { flex: 1; align-self: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .ind-panel { padding: 32px; }
  .add-stage { width: fit-content; margin-left: auto; margin-right: auto; padding: 12px 26px; }
  .ind-top { flex-direction: column; justify-content: center; align-items: flex-start; margin: -32px -32px 32px; padding: 32px 250px 32px 32px; min-height: 180px; }
  .ind-art { position: absolute; width: 200px; right: 28px; top: 50%; transform: translateY(-50%); margin: 0; }
  .keep-grid { grid-template-columns: 1fr 1fr; }
  .keep.migrate { grid-column: 1 / -1; }
  .bridge-q { flex-direction: row; justify-content: space-between; align-items: center; padding: 32px; }
  .plan-feats ul { grid-template-columns: 1fr 1fr; }
  .price-notes { flex-direction: row; justify-content: space-between; gap: 24px; }
  .foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .foot { text-align: left; }
  .foot-meta { order: 2; flex: 1; text-align: center; }
  .foot-links { order: 3; }
  .calc-inputs, .calc-out { padding: 32px; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .seg, .flow-switch { display: none; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-panel[hidden] { display: block !important; }
  .flow-panel { padding: 32px; }
  .calc { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .mind-grid { grid-template-columns: 1fr auto 1fr; }
  .shift-arrow { align-items: center; }
  .shift-arrow span { transform: none; }
  .mind { padding: 28px 28px 32px; }
  .cmp thead { display: table-header-group; }
  .cmp { display: table; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
  .cmp tbody { display: table-row-group; }
  .cmp tr, .cmp tbody tr { display: table-row; border: 0; padding: 0; margin: 0; background: none; }
  .cmp th, .cmp td, .cmp tbody td, .cmp tbody th { display: table-cell; padding: 18px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; margin: 0; }
  .cmp thead th { border-top: 0; font-size: 15px; font-weight: 600; vertical-align: bottom; background: var(--surface); }
  .cmp thead th small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
  .cmp thead th.us { color: var(--brand); background: var(--brand-50); }
  .cmp tbody th { font-size: 14.5px; font-weight: 550; width: 24%; color: var(--ink); }
  .cmp tbody td::before { display: none; }
  .cmp tbody td.us { background: var(--brand-50); padding: 18px 20px; }
  .cv { text-align: left; }
  .sticky-cta { display: none; }
  footer { padding-bottom: 36px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-grid .sec-head { position: sticky; top: 96px; margin-bottom: 0; }
  .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .gallery { margin: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; }
  .shot { flex-basis: 58%; }
  .tabs { flex-wrap: wrap; margin: 0 0 24px; padding: 0; overflow: visible; }
}

/* ---------- ≥ 1080px ---------- */
@media (min-width: 1080px) {
  section { padding: 112px 0; }
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
  .hero-visual { padding: 0 0 0 4%; }
  .cf-1 { left: -6%; top: 10%; }
  .cf-2 { right: -2%; bottom: 4%; }
  .pains { grid-template-columns: repeat(6, 1fr); }
  .pain { grid-column: span 2; }
  .pain:nth-child(1), .pain:nth-child(2) { grid-column: span 3; }
  .pain:last-child { grid-column: span 2; flex-direction: column; }
  .pain:last-child .pain-art { flex: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .pain:last-child .pain-body { align-self: stretch; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .keep-grid { grid-template-columns: repeat(3, 1fr); }
  .keep.migrate { grid-column: auto; }
  .plans { grid-template-columns: repeat(5, 1fr); }
  .plan:last-child { grid-column: auto; }
  .stages { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
  .stages li { padding: 40px 0 0; }
  .stages li::after { left: 34px; right: -6px; top: 13px; bottom: auto; width: auto; height: 1px; }
}

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

/* Bar pembanding versi (hapus sebelum rilis) */
.compare-bar { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; background: var(--ink); color: #fff; font-size: 13px; }
.compare-bar .mono { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-right: 6px; }
.compare-bar a { color: #fff; text-decoration: none; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.compare-bar a.on { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }

/* v4.9 */
.legend .how { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.72); padding: 0 0 10px 17px; margin: -4px 0 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.legend .how b { color: #fff; font-weight: 600; }
.legend .row { border-bottom: 0; }
.calc-foot b { color: var(--ink-2); }
.node.brand-soft { border-color: var(--brand-100); background: var(--brand-50); color: var(--ink); }
.node.brand-soft svg { color: var(--brand); }
.ind-custom { margin-top: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--brand-50); border: 1px solid var(--brand-100); text-align: center; }
.ind-custom p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 0 auto; }
.ind-custom p b { color: var(--ink); font-weight: 600; }
.ind-custom .add-stage { margin-top: 16px; }
.nav-links a { position: relative; }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--brand); }
.mnav-list a.active { color: var(--brand); font-weight: 600; background: var(--brand-50); border-radius: 10px; padding-left: 12px; padding-right: 12px; }
.mnav-list a.active::after { color: var(--brand); }
.calc-inputs { display: flex; flex-direction: column; }
.calc-note { margin-top: 28px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
.calc-note b { color: var(--ink-2); }
@media (min-width: 900px) { .calc-note { margin-top: auto; } .calc-inputs .ctrl:last-of-type { margin-bottom: 28px; } }

/* sembunyikan CTA header saat CTA bawah tampil (mobile) */
.bar-end .btn { transition: opacity .2s, transform .2s; }
@media (max-width: 899px) { body.sticky-on .bar-end .btn { opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden; } }

/* ===== Versi ringkas (index-ringkas.html) ===== */
.wa-btn svg { color: #25D366; }
.btn-ghost.wa-btn { border-color: var(--line-2); }
.chain { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: ch; }
.chain li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; position: relative; }
.chain .c-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chain .c-ic svg { width: 20px; height: 20px; }
.chain b { font-size: 16px; font-weight: 600; }
.chain p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.note-line a { color: var(--brand); font-weight: 600; }
.ind-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.ind-chips .chip { padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; }
.ind-chips a { font-weight: 600; font-size: 13.5px; }
.short-plans { display: grid; gap: 12px; }
.short-plans .ribbon { white-space: nowrap; }
.price-small { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.price-small a { font-weight: 600; }
.trust-grid { display: grid; gap: 16px; }
.founder { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; }
.f-photo { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-50); border: 1.5px dashed var(--brand-200); display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 10px; flex: none; }
.f-name { display: block; font-size: 18px; font-weight: 600; }
.f-role { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.founder p { margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.f-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.f-wa svg { width: 18px; height: 18px; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.promise svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.promise b { display: block; font-size: 15.5px; font-weight: 600; }
.promise span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.lp-short .privacy-micro a { font-weight: 600; }
@media (min-width: 760px) {
  .chain { grid-template-columns: repeat(3, 1fr); }
  .chain li { flex-direction: column; }
  .short-plans { grid-template-columns: repeat(3, 1fr); }
  .founder { flex-direction: row; padding: 28px; }
}
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .features.three { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) { .lp-short .trust-grid { align-items: start; } }

/* ===== Video demo ===== */
.lp-video { background: #0e0e0d; }
.lp-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.fplayer { display: grid; gap: 16px; }
.fp-tabs { display: grid; gap: 8px; }
.fp-tab { position: relative; display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 14px 16px 16px; background: transparent; border: 1px solid transparent; border-radius: 14px; cursor: pointer; color: var(--ink); overflow: hidden; }
.fp-tab:hover { background: rgba(139,0,0,.035); }
.fp-tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.fp-n { font-size: 12px; color: var(--muted); padding-top: 3px; flex: none; }
.fp-tab[aria-selected="true"] .fp-n { color: var(--brand); }
.fp-t b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.fp-t span { display: none; margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.fp-tab[aria-selected="true"] .fp-t span { display: block; }
.fp-bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: transparent; border-radius: 3px; overflow: hidden; }
.fp-tab[aria-selected="true"] .fp-bar { background: var(--line); }
.fp-bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s linear; }
.fp-stage { position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fp-frame { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.fp-frame span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.fp-stage video { display: block; width: 100%; aspect-ratio: 16 / 10; background: #F6F3F2; object-fit: cover; }
@media (max-width: 759px) {
  .fp-tabs { display: flex; overflow-x: auto; gap: 8px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); }
  .fp-tabs::-webkit-scrollbar { display: none; }
  .fp-tab { flex: 0 0 78%; scroll-snap-align: start; background: #fff; border-color: var(--line); }
  .fp-t span { display: block; }
  .fplayer { gap: 12px; }
  .fp-stage { order: -1; }
}
@media (min-width: 900px) {
  .fplayer { grid-template-columns: minmax(280px, 1fr) 2fr; align-items: center; gap: 28px; }
}
