/* Light, formal studio theme: warm paper, deep navy ink, one royal-blue accent */
:root {
  --paper: #f5f4f0;
  --surface: #ffffff;
  --ink: #0e1726;
  --ink-2: #2b3445;
  --muted: #667085;
  --line: #e4e2dc;
  --line-2: #d4d1c8;
  --accent: #1f4bff;
  --accent-soft: #e9eeff;
  --navy: #0b1424;
  --good: #12a150;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .05);
  --shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 18px 40px -18px rgba(14, 23, 38, .22);
  --shadow-lg: 0 2px 4px rgba(14, 23, 38, .04), 0 40px 80px -30px rgba(14, 23, 38, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 500; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 75, 255, .6); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.kicker { font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kicker.light { color: #9fb2ff; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease); }
.header.scrolled { background: rgba(245, 244, 240, .85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-color: var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font: 700 1.3rem var(--display); letter-spacing: -.04em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1.05rem var(--display); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: .92rem; color: var(--ink-2); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

/* 1. Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 55% at 75% 45%, rgba(31, 75, 255, .10), transparent 70%),
    radial-gradient(35% 40% at 92% 85%, rgba(255, 122, 69, .08), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(85% 75% at 60% 40%, #000 35%, transparent 85%);
  mask-image: radial-gradient(85% 75% at 60% 40%, #000 35%, transparent 85%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-content { padding: 110px 0 80px; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .85rem; color: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(18, 161, 80, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(18, 161, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); } }
.hero h1 { margin-top: 26px; font-size: clamp(2.9rem, 6.8vw, 6.2rem); line-height: .98; max-width: 8em; }
.accent-word { color: var(--accent); position: relative; white-space: nowrap; }
.accent-word::after { content: ""; position: absolute; left: 0; right: .2em; bottom: .02em; height: .1em; border-radius: 4px; background: rgba(31, 75, 255, .18); transform-origin: left; animation: underline 1.2s .6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero-sub { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 26em; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn-line { background: var(--surface); }
.hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .9rem; }
.hero-trust li::before { content: "✓"; color: var(--good); font-weight: 600; margin-right: 7px; }

/* Sections */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: .98; margin-top: 12px; }
.head-side { color: var(--muted); max-width: 22em; }

/* 2. Work: bento of large photo cards */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: min(720px, 82vh); min-height: 560px; }
.wcard { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.wcard.big { grid-row: span 2; }
.wcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.wcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 12, 20, .82) 0%, rgba(8, 12, 20, .25) 45%, transparent 70%); transition: background .5s; }
.wcard:hover img { transform: scale(1.06); }
.wcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.wtag { display: inline-block; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.wcard h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin: 12px 0 6px; }
.wcard.big h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.wfeat { color: rgba(255, 255, 255, .78); font-size: .92rem; max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .5s var(--ease), opacity .5s, transform .5s var(--ease); }
.wcard:hover .wfeat, .wcard:focus-visible .wfeat { max-height: 3em; opacity: 1; transform: none; }
.wgo { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; transform: scale(.8); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.wcard:hover .wgo { transform: none; opacity: 1; }

/* Rebuild slider */
.rebuild { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; align-items: center; margin-top: 80px; }
.rebuild-text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.04; margin: 12px 0 10px; }
.rebuild-text p:last-child { color: var(--muted); }
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba-old, .ba-new { position: absolute; inset: 0; }
.ba-new { clip-path: inset(0 0 0 var(--pos)); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(14, 23, 38, .15); transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 600; letter-spacing: 2px; }
.ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--accent); }
.ba-label { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; font: 500 .72rem var(--mono); pointer-events: none; }
.ba-label-old { left: 14px; background: #fffbe0; color: #6b5d00; border: 1px solid #e6d77a; }
.ba-label-new { right: 14px; background: var(--ink); color: #fff; }

/* Old site (deliberately dated) */
.ba-old { background: #c0c0c0; font-family: "Times New Roman", Times, serif; color: #000; font-size: clamp(8px, 1vw, 14px); padding: 2.2% 3%; display: flex; flex-direction: column; gap: 1.6%; }
.old-top { background: linear-gradient(#000080, #1084d0); color: #ffff00; text-align: center; padding: 1.6% 0; border: 3px outset #dfdfdf; }
.old-logo { font: bold 2.1em "Comic Sans MS", "Times New Roman", serif; text-shadow: 2px 2px #ff0000; }
.old-tag { color: #fff; font-style: italic; }
.old-nav { background: #fff; padding: .6% 1%; border: 2px inset #dfdfdf; color: #0000ee; text-align: center; }
.old-marquee { background: #000; color: #00ff00; overflow: hidden; white-space: nowrap; font-family: "Courier New", monospace; padding: .5% 0; }
.old-marquee span { display: inline-block; padding-left: 100%; animation: oldmarquee 14s linear infinite; }
@keyframes oldmarquee { to { transform: translateX(-100%); } }
.old-body { display: grid; grid-template-columns: 28% 1fr; gap: 2%; flex: 1; }
.old-side { background: #ffffcc; border: 2px solid #808080; padding: 4%; display: grid; align-content: start; gap: 8%; }
.old-counter span { background: #000; color: #ff0000; font-family: "Courier New", monospace; padding: 0 4px; letter-spacing: 2px; }
.old-main { background: #fff; border: 2px solid #808080; padding: 3%; display: grid; align-content: start; gap: 5%; }
.old-h { font-size: 1.8em; color: #ff0000; font-weight: bold; }
.old-img { border: 2px dashed #999; color: #999; text-align: center; padding: 6% 0; }
.old-foot { text-align: center; font-size: .85em; }

/* New site */
.ba-new { background: linear-gradient(135deg, #f7f8fb, #eef1fb); font-family: var(--body); color: var(--ink); font-size: clamp(8px, 1vw, 14px); padding: 2.4% 4%; display: flex; flex-direction: column; }
.new-nav { display: flex; align-items: center; gap: 4%; }
.new-logo { font: 700 1.4em var(--display); letter-spacing: -.02em; }
.new-links { flex: 1; display: flex; gap: 6%; justify-content: center; }
.new-links i { width: 9%; height: .45em; border-radius: 9px; background: #c9cfdc; }
.new-btn { display: inline-block; padding: .7em 1.3em; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .9em; }
.new-btn.ghost { background: #fff; color: var(--ink); border: 1px solid #d6dbe6; }
.new-hero { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 6%; align-items: center; }
.new-kicker { font: 500 .8em var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.new-h { font: 600 3em/1.02 var(--display); letter-spacing: -.035em; margin: .35em 0; }
.new-sub { color: var(--muted); font-size: 1.1em; }
.new-ctas { display: flex; gap: .6em; margin-top: 1.4em; }
.new-cards { display: grid; gap: .8em; }
.new-card { background: #fff; border-radius: 1em; padding: 1em 1.2em; box-shadow: 0 10px 30px -14px rgba(14, 23, 38, .3); display: flex; align-items: baseline; gap: .6em; }
.new-card b { font: 600 1.6em var(--display); letter-spacing: -.02em; }
.new-card span { color: var(--muted); }

/* 3. Why me: dark band */
.why { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 75, 255, .35), transparent 65%); pointer-events: none; }
.why .wrap { position: relative; }
.why h2 span { color: #8fa6ff; }
.why-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.bars { padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 22px; align-content: center; }
.bars-title { font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #9aa6bf; }
.bar-row { display: grid; grid-template-columns: 100px 1fr; gap: 8px 16px; align-items: center; }
.bar-name { font-weight: 500; color: #cdd5e5; }
.bar-track { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.bar-track i { position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from)); min-width: 10px; border-radius: 999px; background: #56607a; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.bars.in .bar-track i { transform: scaleX(1); }
.bar-row.me .bar-name { color: #fff; font-weight: 600; }
.bar-row.me .bar-track i { background: linear-gradient(90deg, #4c6fff, #8fa6ff); box-shadow: 0 0 20px rgba(76, 111, 255, .6); }
.bar-val { grid-column: 2; font-size: .88rem; color: #9aa6bf; }
.bar-row.me .bar-val { color: #fff; font-weight: 600; }
.bars-note { font-size: .9rem; color: #9aa6bf; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perk { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.perk:hover { background: rgba(255, 255, 255, .07); border-color: rgba(143, 166, 255, .4); transform: translateY(-3px); }
.perk svg { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: rgba(76, 111, 255, .18); fill: none; stroke: #a9b9ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.perk h3 { font-size: 1.15rem; margin-bottom: 4px; }
.perk p { color: #9aa6bf; font-size: .92rem; }

/* Expandable details */
.more { margin-top: 28px; border-top: 1px solid var(--line); }
.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; padding: 18px 0; font-weight: 500; color: var(--ink-2); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1rem; transition: transform .3s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more.dark { border-color: rgba(255, 255, 255, .12); }
.more.dark summary { color: #cdd5e5; }
.more.dark summary::after { border-color: rgba(255, 255, 255, .25); }

/* Comparison table (inside the dark band) */
.compare { border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; margin-bottom: 8px; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .08); }
.cmp-row > span { padding: 14px 18px; font-size: .9rem; display: flex; align-items: center; gap: 10px; color: #cdd5e5; }
.cmp-row > span[role="rowheader"] { color: #9aa6bf; }
.cmp-head { border-top: 0; }
.cmp-head b { font: 600 1rem var(--display); color: #fff; }
.cmp-row .me { background: rgba(76, 111, 255, .12); }
.cmp-row .good::before, .cmp-row .mid::before, .cmp-row .bad::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.cmp-row .good::before { background: #34d399; }
.cmp-row .mid::before { background: #fbbf24; }
.cmp-row .bad::before { background: #f87171; }

/* 4. Pricing */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard h3 { font-size: 1.3rem; }
.pfor { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.pprice { font: 600 3rem/1 var(--display); letter-spacing: -.045em; margin: 22px 0 20px; }
.pcard ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.pcard li { padding-left: 28px; position: relative; font-size: .95rem; color: var(--ink-2); }
.pcard li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pcard.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.pcard.featured .pfor, .pcard.featured li { color: #b9c0cf; }
.pcard.featured li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.pcard.featured .btn { background: #fff; color: var(--ink); border-color: #fff; }
.pcard.featured .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.badge { position: absolute; top: 18px; right: 18px; font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: #fff; padding: 4px 9px; border-radius: 999px; }
.pprice small, .pc-price small { font: 500 .95rem var(--body); letter-spacing: 0; color: var(--muted); margin-right: 2px; }
.pcard.featured .pprice small { color: #b9c0cf; }
.pcustom { margin-top: 20px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 36px; border-radius: var(--radius); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.pcustom::before { content: ""; position: absolute; width: 480px; height: 480px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 75, 255, .4), transparent 65%); pointer-events: none; }
.pc-text { position: relative; display: grid; align-content: start; gap: 12px; }
.pc-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; }
.pc-text > p:not(.kicker):not(.pc-price) { color: #b9c0cf; }
.pc-price { font: 600 2.4rem/1 var(--display); letter-spacing: -.04em; margin: 8px 0 10px; }
.pc-price small { color: #9aa6bf; }
.pc-text .btn { justify-self: start; background: #fff; color: var(--ink); border-color: #fff; }
.pc-text .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pc-list { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-list li { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 4px; }
.pc-list b { font-weight: 600; font-size: .95rem; }
.pc-list span { color: #9aa6bf; font-size: .85rem; }
.price-foot { margin-top: 22px; color: var(--muted); font-size: .92rem; text-align: center; max-width: 60em; margin-inline: auto; }
.price-foot b { color: var(--ink-2); font-weight: 500; }
.pricing .more { margin-top: 32px; }

.plan-tabs { display: none; }
.plan-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cell { padding: 12px 18px; border-top: 1px solid var(--line); font-size: .9rem; display: flex; align-items: center; }
.cell.label { color: var(--ink-2); }
.cell.th { border-top: 0; justify-content: center; font: 600 .95rem var(--display); background: var(--paper); }
.corner { border-top: 0; background: var(--paper); }
.cell.v, .cell.y, .cell.n { justify-content: center; text-align: center; font-weight: 500; }
.cell[data-col="1"] { background: rgba(31, 75, 255, .035); }
.cell.th[data-col="1"] { background: var(--accent-soft); color: var(--accent); }
.cell.y::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cell.n::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--line-2); }
.care-mini { margin-top: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.care-mini h4 { font-size: 1.05rem; margin-bottom: 12px; }
.care-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.care-cols b { display: block; font-weight: 600; font-size: .95rem; }
.care-cols span { color: var(--muted); font-size: .88rem; }

/* 5. About */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 64px; align-items: center; }
.portrait { margin: 0; }
.portrait-ph, .portrait img { aspect-ratio: 4 / 5; width: 100%; border-radius: var(--radius); object-fit: cover; }
.portrait-ph { display: grid; place-content: center; justify-items: center; gap: 10px; background: linear-gradient(160deg, #e9edf7, #d7deef); }
.portrait-ph span { font: 600 4rem var(--display); letter-spacing: -.04em; color: var(--accent); }
.portrait-ph small { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.about-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; margin: 12px 0 16px; }
.about-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink-2); max-width: 30em; line-height: 1.5; }
.about-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.about-facts li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.about-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* How I work: timeline. Line fills and dots turn on when it scrolls into view */
.roadmap { margin-top: clamp(64px, 9vw, 110px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.roadmap.solo { margin-top: 0; padding-top: 0; border-top: 0; }
.rm-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.rm-head h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08; margin-top: 12px; max-width: 15em; }
.nowrap { white-space: nowrap; }
.rm-note { color: var(--muted); font-size: .95rem; max-width: 22em; }
.rm { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; position: relative; }
.rm::before, .rm::after { content: ""; position: absolute; left: 0; right: 0; top: 43px; height: 2px; border-radius: 2px; background: var(--line-2); }
.rm::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.rm.in::after { transform: scaleX(1); }
.rm-step { position: relative; }
.rm-when { display: block; height: 28px; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rm-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); font: 600 .7rem var(--mono); color: var(--muted); box-shadow: 0 0 0 6px var(--surface); transition: background .4s, border-color .4s, color .4s; transition-delay: calc(.25s + var(--i) * .27s); }
.rm.in .rm-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.rm-step h4 { font-size: 1.1rem; letter-spacing: -.02em; margin-bottom: 6px; }
.rm-step p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.rm-get { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .84rem; font-weight: 500; color: var(--ink-2); }
.rm-pay { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 600 .72rem var(--mono); letter-spacing: .02em; }

/* 6. Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 75, 255, .55), transparent 65%); pointer-events: none; }
.contact-copy { position: relative; }
.contact-copy h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; margin: 16px 0 18px; }
.contact-copy > p { color: #b9c0cf; font-size: 1.1rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.contact-links a { border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 3px; transition: border-color .3s; }
.contact-links a:hover { border-color: #fff; }
.form { position: relative; display: grid; gap: 16px; background: #fff; color: var(--ink); padding: 28px; border-radius: 20px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.form label span { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 1rem; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form button:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: .9rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--good); }
.form-status.err { color: #b42318; }
.form-status a { color: inherit; text-decoration: underline; }
.hero-trust a { color: inherit; border-bottom: 1px solid var(--line-2); }
.hero-trust a:hover { color: var(--accent); border-color: currentColor; }

/* Footer */
.footer { padding: 0 0 40px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1020px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; min-height: 0; }
  .wcard.big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .wcard { aspect-ratio: 4 / 4.2; }
  .wfeat { max-height: 3em; opacity: 1; transform: none; }
  .wgo { opacity: 1; transform: none; width: 40px; height: 40px; }
  .rebuild, .why-grid, .contact-card { grid-template-columns: 1fr; }
  .rebuild { gap: 20px; }
  .pcards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pcustom { grid-template-columns: 1fr; gap: 26px; }
  .about-grid { grid-template-columns: .7fr 1.3fr; gap: 40px; }
  .rm-head { flex-direction: column; align-items: start; gap: 12px; }
  .rm { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
  .rm::before, .rm::after { display: none; }
  .rm-step { padding-left: 50px; }
  .rm-dot { position: absolute; left: 0; top: 0; margin: 0; box-shadow: none; }
  .rm-when { height: auto; margin: 6px 0 4px; }
}

/* Phone */
@media (max-width: 720px) {
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: rgba(245, 244, 240, .97); backdrop-filter: blur(14px); padding: 8px 16px 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .5s var(--ease); }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav-toggle { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

  .hero { align-items: flex-start; }
  .hero-content { padding-top: 104px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .bento { grid-template-columns: 1fr; gap: 14px; }
  .wcard, .wcard.big { aspect-ratio: 4 / 3.6; }
  .wcard-body { padding: 22px; }

  .ba { aspect-ratio: 4 / 3.6; }
  .ba-old, .ba-new { font-size: 8.5px; }
  .old-body { grid-template-columns: 1fr; }
  .old-side { display: none; }
  .new-hero { grid-template-columns: 1fr; align-content: center; gap: 1.5em; }
  .new-h { font-size: 2.6em; }
  .new-links { display: none; }

  .bars { padding: 22px; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .bar-val { grid-column: 1; }
  .perks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .perk { padding: 18px; }

  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; padding: 12px 0; }
  .cmp-row > span { padding: 5px 16px; }
  .cmp-row > span[role="rowheader"] { color: #fff; font-weight: 600; padding-bottom: 6px; }
  .cmp-row > span[data-who]::after { content: attr(data-who); order: -1; flex: none; width: 88px; font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #9aa6bf; }
  .cmp-row .me { background: transparent; }

  .plan-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
  .plan-tabs button { flex: 1; border: 0; background: none; padding: 10px 6px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); }
  .plan-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
  .plan-grid { grid-template-columns: 1.4fr 1fr; }
  .plan-grid[data-show="0"] [data-col="1"], .plan-grid[data-show="0"] [data-col="2"],
  .plan-grid[data-show="1"] [data-col="0"], .plan-grid[data-show="1"] [data-col="2"],
  .plan-grid[data-show="2"] [data-col="0"], .plan-grid[data-show="2"] [data-col="1"] { display: none; }
  .cell { padding: 11px 14px; font-size: .86rem; }
  .care-cols { grid-template-columns: 1fr; }
  .pcustom { padding: 24px; }
  .pc-list { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 260px; }
  .about-facts { flex-direction: column; gap: 8px; }
  .rm { grid-template-columns: 1fr; gap: 28px; }
  .rm::before, .rm::after { display: block; left: 15px; right: auto; width: 2px; height: auto; top: 16px; bottom: 16px; }
  .rm::after { transform: scaleY(0); transform-origin: top; }
  .rm.in::after { transform: scaleY(1); }
  .rm-dot { box-shadow: 0 0 0 6px var(--surface); }
}

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

/* ---------- Footer with links (all pages) ---------- */
.site-foot { padding: 64px 0 36px; border-top: 1px solid var(--line); margin-top: 24px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.foot-brand p { margin: 14px 0 18px; color: var(--muted); max-width: 22em; }
.foot-cols h4 { font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-cols nav { display: grid; gap: 10px; }
.foot-cols nav a { color: var(--ink-2); font-size: .93rem; width: fit-content; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.foot-cols nav a:hover { color: var(--accent); border-color: currentColor; }
.site-foot .footer-inner { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ---------- Guide, industry and report pages ---------- */
.header.solid { background: rgba(245, 244, 240, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-color: var(--line); }
.page-hero { padding: 128px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 85% 20%, rgba(31, 75, 255, .09), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 72px; -webkit-mask-image: linear-gradient(#000, transparent 90%); mask-image: linear-gradient(#000, transparent 90%); }
.page-hero.has-img .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.03; margin: 14px 0 20px; max-width: 16em; }
.page-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 36em; line-height: 1.55; }
.page-meta { margin-top: 18px; font: 500 .78rem var(--mono); color: var(--muted); letter-spacing: .03em; }
.page-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.page-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: var(--line-2); }

.page-body { padding: 8px 0 72px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.toc h4 { font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.toc a:hover { color: var(--accent); }
.toc .btn { margin-top: 18px; }

.prose { max-width: 760px; }
.prose > section { padding-top: 40px; scroll-margin-top: 90px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.12; margin-bottom: 16px; }
.prose h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.prose a:not(.btn) { color: var(--accent); border-bottom: 1px solid rgba(31, 75, 255, .3); }
.prose a:not(.btn):hover { border-color: var(--accent); }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }

.answer { margin-top: 8px; padding: 24px 26px; border-radius: 18px; background: var(--accent-soft); border: 1px solid #d5ddff; }
.answer .kicker { display: block; margin-bottom: 8px; }
.answer p { color: var(--ink); font-size: 1.1rem; }
.note { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--ink-2); }

.table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--paper); font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table-wrap tbody th { font-weight: 600; color: var(--ink); }
.table-wrap td { color: var(--ink-2); }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap .hl { background: #f7f9ff; }
.table-wrap .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.src, .prose .src { margin-top: 10px; font-size: .82rem; line-height: 1.5; color: var(--muted); }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.stat { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font: 600 clamp(1.8rem, 3vw, 2.4rem) var(--display); letter-spacing: -.04em; color: var(--ink); }
.stat span { display: block; margin-top: 6px; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.stat.dark { background: var(--ink); border-color: var(--ink); }
.stat.dark b { color: #fff; }
.stat.dark span { color: #b9c0cf; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.feat { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.feat h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feat p { font-size: .95rem; line-height: 1.55; color: var(--muted); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.cards3 .feat ul { padding-left: 18px; margin-top: 10px; gap: 6px; }
.cards3 .feat li { font-size: .9rem; line-height: 1.5; }
.feat .pro { color: var(--good); font-weight: 600; font-size: .78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.feat .con { color: #c2410c; font-weight: 600; font-size: .78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }

.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; margin-top: 18px; border-radius: 20px; overflow: hidden; background: var(--ink); color: #fff; }
.demo img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.demo-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.demo-body h3 { margin: 0; font-size: 1.4rem; color: #fff; }
.demo-body p { color: #b9c0cf; font-size: .98rem; }
.demo-body .btn { align-self: start; background: #fff; color: var(--ink); border-color: #fff; }
.demo-body .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

.faq { margin-top: 14px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 1.4rem var(--body); color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; }
.faq details p { font-size: .98rem; }

.related { padding: 56px 0 0; }
.related h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 18px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.rel:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.rel small { font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.rel b { font: 600 1.08rem var(--display); letter-spacing: -.02em; color: var(--ink); }
.rel span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.cta-band { margin-top: 64px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 75, 255, .55), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; max-width: 15em; }
.cta-band p { color: #b9c0cf; margin-top: 10px; max-width: 32em; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.guide-links { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.guide-links a { color: var(--accent); border-bottom: 1px solid rgba(31, 75, 255, .3); }
.more.dark .guide-links a { color: #9fb2ff; border-color: rgba(159, 178, 255, .4); }

.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 12px 0 14px; }
.notfound p { color: var(--muted); max-width: 30em; margin: 0 auto 26px; }

@media (max-width: 1020px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .page-hero.has-img .wrap { grid-template-columns: 1fr; gap: 32px; }
  .page-img { aspect-ratio: 16 / 9; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid, .cards3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 104px 0 36px; }
  .feat-grid, .rel-grid, .cards3 { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .demo img { min-height: 0; aspect-ratio: 16 / 9; }
  .cta-band { flex-direction: column; align-items: start; }
  .stat { padding: 18px; }
}
