:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --bg-soft: #11151b;
  --surface: #161b22;
  --surface-strong: #202733;
  --text: #f7f8fa;
  --muted: #aab3c0;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #ff6b4a;
  --accent-2: #d9ff62;
  --ink-on-accent: #0a0c10;
  --text-on-strong: #f7f8fa;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="handoff"] {
  color-scheme: light;
  --bg: #f4f0e8;
  --bg-soft: #ebe5d9;
  --surface: #fffdf7;
  --surface-strong: #17253d;
  --text: #17253d;
  --muted: #5e6670;
  --line: rgba(23, 37, 61, 0.16);
  --accent: #007f78;
  --accent-2: #efb455;
  --ink-on-accent: #ffffff;
  --text-on-strong: #fffdf7;
  --shadow: 0 24px 70px rgba(32, 42, 56, 0.11);
  font-family: Georgia, "Times New Roman", serif;
}

body[data-theme="takeover"] {
  --bg: #0b0d0f;
  --bg-soft: #14171a;
  --surface: #1b1f23;
  --surface-strong: #232a31;
  --text: #f5f2ea;
  --muted: #b3b4b0;
  --line: rgba(245, 242, 234, 0.14);
  --accent: #f4b63f;
  --accent-2: #5b82ff;
  --ink-on-accent: #15100a;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

body[data-theme="replatform"] {
  --bg: #07111f;
  --bg-soft: #0c1930;
  --surface: #10213c;
  --surface-strong: #152a4b;
  --text: #eef6ff;
  --muted: #9eb1c8;
  --line: rgba(135, 175, 230, 0.2);
  --accent: #8b7cff;
  --accent-2: #42e8cf;
  --ink-on-accent: #07111f;
}

body[data-theme="hosting"] {
  --bg: #06100d;
  --bg-soft: #0b1a15;
  --surface: #10241d;
  --surface-strong: #173126;
  --text: #effff7;
  --muted: #9ab8aa;
  --line: rgba(142, 212, 176, 0.18);
  --accent: #52e08e;
  --accent-2: #58a6ff;
  --ink-on-accent: #04110a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 28rem),
    linear-gradient(120deg, transparent 0 48%, color-mix(in srgb, var(--accent-2) 5%, transparent) 48% 49%, transparent 49%);
}
a { color: inherit; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.25rem, 8vw, 7.7rem); max-width: 940px; }
h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); max-width: 850px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
button, input, textarea { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--ink-on-accent); }
.skip-link:focus { top: 20px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 780; letter-spacing: -0.035em; font-size: 1.1rem; }
.brand-mark { width: 18px; aspect-ratio: 1; border-radius: 5px 50% 50% 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: rotate(12deg); box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 45%, transparent); }
.site-nav { display: flex; align-items: center; gap: 26px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .91rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a:focus { color: var(--text); }
.site-nav .nav-cta { color: var(--ink-on-accent); background: var(--accent); border-radius: 999px; padding: 10px 18px; }
.nav-toggle { display: none; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.hero { padding: clamp(75px, 11vw, 145px) 0 95px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(45px, 6vw, 85px); align-items: center; }
.hero h1 em, .section h2 em, .outcome-section h2 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 700px; font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: 30px; }
.eyebrow { display: block; margin-bottom: 20px; color: var(--accent); font: 750 .75rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); font: 720 .93rem/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--accent); }
.button-solid { background: var(--accent); color: var(--ink-on-accent); border-color: transparent; }
.button-ghost { background: transparent; color: var(--text); }
.hero-note { margin-top: 20px; font-size: .86rem; }
.hero-visual { position: relative; min-width: 0; }
.hero-art { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.hero-art img { display: block; width: 100%; height: auto; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0, 0, 0, .22); }
.signal-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--accent) 6%), var(--surface)); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-visual .signal-panel { position: absolute; z-index: 2; right: -18px; bottom: -48px; width: min(390px, 88%); }
.signal-top, .signal-footer { display: flex; justify-content: space-between; gap: 20px; padding: 5px 4px 18px; color: var(--muted); font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.live-dot { color: var(--accent-2); }
.signal-row { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 6px; border-top: 1px solid var(--line); }
.signal-index { color: var(--accent); font: 700 .75rem/1 ui-monospace, monospace; }
.signal-row strong, .signal-row span { display: block; }
.signal-row div span { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.signal-footer { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 4px; }
.section { padding: clamp(85px, 11vw, 145px) 0; border-top: 1px solid var(--line); }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.split-heading > p { font-size: 1.12rem; max-width: 520px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { min-height: 280px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card:nth-child(2) { transform: translateY(24px); }
.card-number { color: var(--accent); font: 700 .78rem/1 ui-monospace, monospace; }
.card h3 { margin-top: auto; padding-top: 55px; }
.card p { margin: 14px 0 0; font-size: .95rem; }
.offer-section { background: var(--bg-soft); }
.section-lede { max-width: 690px; margin: 22px 0 50px; font-size: 1.12rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.offer-card:nth-child(2) { background: var(--accent); color: var(--ink-on-accent); }
.offer-card:nth-child(2) p, .offer-card:nth-child(2) li { color: color-mix(in srgb, var(--ink-on-accent) 78%, transparent); }
.offer-tag { display: inline-block; padding: 7px 11px; margin-bottom: 60px; border: 1px solid currentColor; border-radius: 999px; font: 700 .67rem/1 ui-sans-serif, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.offer-card p { margin-top: 14px; }
.offer-card ul { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid currentColor; }
.offer-card li { padding: 10px 0; color: var(--muted); border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); font-size: .9rem; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 80px minmax(220px, .7fr) 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.process-step > span { color: var(--accent); font: 700 .8rem/1 ui-monospace, monospace; }
.process-step p { margin: 0; }
.outcome-section { padding: clamp(85px, 11vw, 145px) 0; background: var(--accent); color: var(--ink-on-accent); }
.outcome-section .eyebrow { color: var(--ink-on-accent); }
.outcome-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.outcome-points { border-top: 1px solid color-mix(in srgb, var(--ink-on-accent) 30%, transparent); }
.outcome-points div { padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink-on-accent) 30%, transparent); }
.outcome-points strong, .outcome-points span { display: block; }
.outcome-points span { opacity: .72; margin-top: 3px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-size: 1.4rem; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 45px 22px 0; }
.contact-section { padding: clamp(85px, 11vw, 140px) 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); }
.contact-copy h2 { font-size: clamp(2.3rem, 4.5vw, 4rem); }
.contact-copy > p { margin-top: 22px; font-size: 1.05rem; }
.mini-list { list-style: none; margin: 30px 0 0; padding: 0; }
.mini-list li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.mini-list li::before { content: "↳"; color: var(--accent); margin-right: 10px; }
.lead-form { position: relative; padding: clamp(24px, 4vw, 42px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--muted); font: 650 .77rem/1.3 ui-sans-serif, sans-serif; letter-spacing: .04em; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); padding: 13px 14px; outline: none; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.lead-form .check-label { display: flex; grid-template-columns: none; align-items: flex-start; letter-spacing: 0; }
.check-label input { width: auto; margin-top: 3px; }
.lead-form .button { width: 100%; border: 0; }
.form-fine { margin: 14px 0 0; font-size: .75rem; text-align: center; }
.form-notice { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; }
.form-notice.success { background: color-mix(in srgb, var(--accent-2) 18%, transparent); }
.form-notice.error { background: rgba(255, 82, 82, .15); }
.honeypot { position: absolute; left: -9999px; }
.tool-hero, .legal-hero { padding: clamp(75px, 10vw, 125px) 0 65px; border-bottom: 1px solid var(--line); }
.tool-hero h1, .legal-hero h1, .not-found h1 { font-size: clamp(3rem, 7vw, 6.3rem); }
.tool-hero p, .legal-hero p { max-width: 700px; margin-top: 24px; font-size: 1.12rem; }
.tool-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.assessment { display: grid; gap: 14px; }
.assessment-progress { height: 5px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.assessment-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s ease; }
.assessment fieldset { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.assessment legend { width: 100%; display: flex; gap: 16px; padding: 0 0 16px; font-weight: 700; }
.assessment legend span { color: var(--accent); font: 700 .75rem/1.5 ui-monospace, monospace; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; color: var(--muted); font-size: .8rem; }
.choice-row input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--text); }
.choice-row input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.result-panel { position: sticky; top: 100px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); color: var(--text-on-strong); box-shadow: var(--shadow); }
.result-panel.has-result { border-color: var(--accent); }
.result-score { display: flex; align-items: baseline; gap: 5px; margin: 30px 0 20px; }
.result-score strong { font-size: 5rem; line-height: .8; color: var(--accent); }
.result-panel h2 { font-size: 2rem; }
.result-panel p { margin-top: 16px; color: color-mix(in srgb, var(--text-on-strong) 72%, transparent); }
.legal-copy { padding-top: 65px; padding-bottom: 110px; }
.legal-copy h2 { margin: 45px 0 14px; font-size: 1.65rem; }
.legal-copy p { font-size: 1.02rem; }
.not-found { min-height: 70vh; display: grid; align-items: center; padding: 80px 0; }
.not-found p { margin-top: 24px; }
.site-footer { padding: 65px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-grid p { max-width: 480px; margin-top: 18px; }
.footer-links { display: grid; justify-content: end; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }

/* Developer Gone — incident-room noir */
body[data-theme="gone"] {
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
}
body[data-theme="gone"]::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .018) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .018) 80px);
}
body[data-theme="gone"] .site-header { background: rgba(5, 7, 9, .9); }
body[data-theme="gone"] .brand { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .02em; }
body[data-theme="gone"] .brand-mark { width: 8px; height: 24px; border-radius: 2px; transform: skew(-13deg); }
body[data-theme="gone"] .hero { padding: 0; }
body[data-theme="gone"] .hero-grid { position: relative; min-height: 790px; width: min(100%, 1500px); grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr); gap: 0; }
body[data-theme="gone"] .hero-copy { position: relative; z-index: 4; padding: 110px 0 100px max(20px, calc((100vw - var(--max)) / 2)); margin-right: -140px; }
body[data-theme="gone"] .hero h1 { max-width: 840px; font-size: clamp(4rem, 7.5vw, 7.2rem); text-shadow: 0 12px 45px #000; }
body[data-theme="gone"] .hero-lede { max-width: 630px; padding: 17px 20px; margin-left: -20px; background: rgba(8, 10, 13, .74); border-left: 3px solid var(--accent); backdrop-filter: blur(12px); }
body[data-theme="gone"] .hero-visual { height: 790px; }
body[data-theme="gone"] .hero-art { height: 100%; border: 0; border-radius: 0; box-shadow: none; }
body[data-theme="gone"] .hero-art img { height: 100%; object-position: 58% center; }
body[data-theme="gone"] .hero-art::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 12, 16, .75) 18%, transparent 65%); box-shadow: none; }
body[data-theme="gone"] .hero-visual .signal-panel { right: 28px; bottom: 26px; width: 365px; border-radius: 3px; transform: none; background: rgba(8, 11, 13, .86); backdrop-filter: blur(15px); }
body[data-theme="gone"] .card-grid { align-items: stretch; }
body[data-theme="gone"] .card { border-radius: 2px; border-left: 3px solid var(--accent); background: linear-gradient(140deg, #11151b, #080a0d); }
body[data-theme="gone"] .card:nth-child(2) { transform: translateY(30px); border-left-color: var(--accent-2); }
body[data-theme="gone"] .offer-card, body[data-theme="gone"] .lead-form { border-radius: 3px; }
body[data-theme="gone"] .process-step { grid-template-columns: 70px .65fr 1fr; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Software Handoff — warm editorial composition */
body[data-theme="handoff"]::before {
  background:
    radial-gradient(circle at 20% 0, rgba(239, 180, 85, .18), transparent 24rem),
    linear-gradient(90deg, transparent 49.8%, rgba(23, 37, 61, .05) 50%, transparent 50.2%);
}
body[data-theme="handoff"] .site-header { position: relative; background: var(--bg); border-bottom: 1px solid #17253d; }
body[data-theme="handoff"] .nav-shell { min-height: 96px; }
body[data-theme="handoff"] .brand { font-family: Georgia, serif; font-style: italic; font-size: 1.25rem; }
body[data-theme="handoff"] .brand-mark { width: 28px; border-radius: 50%; background: transparent; border: 2px solid var(--accent); box-shadow: 10px 0 0 -3px var(--accent-2); transform: none; }
body[data-theme="handoff"] .site-nav { font-family: Georgia, serif; font-style: italic; }
body[data-theme="handoff"] .hero { padding: 60px 0 120px; }
body[data-theme="handoff"] .hero-grid { display: flex; flex-direction: column; gap: 46px; }
body[data-theme="handoff"] .hero-copy { width: min(100%, 1040px); display: grid; grid-template-columns: .34fr 1fr; column-gap: 50px; align-items: start; }
body[data-theme="handoff"] .hero-copy .eyebrow { grid-column: 1; grid-row: 1 / span 2; padding-top: 12px; border-top: 1px solid var(--text); font-family: ui-sans-serif, sans-serif; }
body[data-theme="handoff"] .hero h1 { grid-column: 2; font-size: clamp(3.7rem, 7.7vw, 7.3rem); }
body[data-theme="handoff"] .hero-lede, body[data-theme="handoff"] .hero-actions, body[data-theme="handoff"] .hero-note { grid-column: 2; }
body[data-theme="handoff"] .hero-visual { width: 100%; }
body[data-theme="handoff"] .hero-art { height: clamp(430px, 52vw, 680px); border: 0; border-radius: 48% 48% 8px 8px / 16% 16% 8px 8px; box-shadow: 0 35px 80px rgba(34, 42, 50, .15); }
body[data-theme="handoff"] .hero-art img { height: 100%; object-position: center; }
body[data-theme="handoff"] .hero-art::after { box-shadow: inset 0 0 0 1px rgba(23, 37, 61, .12); }
body[data-theme="handoff"] .hero-visual .signal-panel { left: 50%; right: auto; bottom: -56px; width: min(820px, 88%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 10px 28px; transform: translateX(-50%); border-radius: 2px; background: #fffdf7; }
body[data-theme="handoff"] .signal-top, body[data-theme="handoff"] .signal-footer { display: none; }
body[data-theme="handoff"] .signal-row { grid-template-columns: 28px 1fr; border: 0; border-right: 1px solid var(--line); }
body[data-theme="handoff"] .signal-row:last-of-type { border-right: 0; }
body[data-theme="handoff"] .split-heading { grid-template-columns: .8fr 1.2fr; align-items: start; }
body[data-theme="handoff"] .card-grid { gap: 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); }
body[data-theme="handoff"] .card { min-height: 330px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
body[data-theme="handoff"] .card:nth-child(2) { transform: none; }
body[data-theme="handoff"] .card:last-child { border-right: 0; }
body[data-theme="handoff"] .offer-section { background: #17253d; color: #fffdf7; }
body[data-theme="handoff"] .offer-section p, body[data-theme="handoff"] .offer-card p, body[data-theme="handoff"] .offer-card li { color: #bfc7d1; }
body[data-theme="handoff"] .offer-grid { grid-template-columns: 1fr; }
body[data-theme="handoff"] .offer-card { display: grid; grid-template-columns: 150px .6fr 1fr; gap: 36px; align-items: start; border: 0; border-top: 1px solid rgba(255, 255, 255, .22); border-radius: 0; background: transparent; }
body[data-theme="handoff"] .offer-card:nth-child(2) { background: transparent; color: inherit; }
body[data-theme="handoff"] .offer-tag { margin: 0; }
body[data-theme="handoff"] .offer-card ul { margin: 0; }
body[data-theme="handoff"] .outcome-section { background: #efb455; }

/* Legacy App Takeover — industrial cutaway */
body[data-theme="takeover"] { font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif; }
body[data-theme="takeover"]::before { background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(91, 130, 255, .045) 120px); }
body[data-theme="takeover"] .site-header { position: absolute; top: 0; left: 0; right: 0; background: rgba(5, 6, 7, .82); border-bottom: 2px solid var(--accent); }
body[data-theme="takeover"] .nav-shell { min-height: 84px; }
body[data-theme="takeover"] .brand { font-size: 1.2rem; letter-spacing: .08em; }
body[data-theme="takeover"] .brand-mark { width: 20px; border-radius: 0; background: var(--accent); transform: none; box-shadow: inset 0 0 0 5px #1b1f23; }
body[data-theme="takeover"] .button, body[data-theme="takeover"] .site-nav .nav-cta { border-radius: 0; text-transform: uppercase; letter-spacing: .05em; }
body[data-theme="takeover"] .hero { padding: 0; }
body[data-theme="takeover"] .hero-grid { position: relative; display: block; width: 100%; max-width: none; min-height: 900px; }
body[data-theme="takeover"] .hero-copy { position: absolute; z-index: 4; left: max(28px, calc((100vw - var(--max)) / 2)); bottom: 54px; width: min(720px, calc(100% - 56px)); padding: 34px 38px; background: rgba(7, 8, 9, .9); border-left: 8px solid var(--accent); box-shadow: 24px 24px 0 rgba(0, 0, 0, .35); }
body[data-theme="takeover"] .hero h1, body[data-theme="takeover"] .section h2, body[data-theme="takeover"] .outcome-section h2 { text-transform: uppercase; letter-spacing: -.045em; }
body[data-theme="takeover"] .hero h1 { font-size: clamp(3.6rem, 6vw, 6.2rem); }
body[data-theme="takeover"] .hero-lede { font-size: 1.05rem; }
body[data-theme="takeover"] .hero-visual { position: absolute; inset: 0; }
body[data-theme="takeover"] .hero-art { height: 100%; border: 0; border-radius: 0; }
body[data-theme="takeover"] .hero-art img { height: 100%; object-position: center; }
body[data-theme="takeover"] .hero-art::after { background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 40%, rgba(0, 0, 0, .68)); box-shadow: none; }
body[data-theme="takeover"] .hero-visual .signal-panel { top: 118px; right: max(28px, calc((100vw - var(--max)) / 2)); bottom: auto; width: 340px; border-radius: 0; transform: none; background: rgba(13, 15, 17, .9); border-top: 4px solid var(--accent-2); }
body[data-theme="takeover"] .section { border-top: 6px solid #20252a; }
body[data-theme="takeover"] .card-grid { gap: 0; }
body[data-theme="takeover"] .card { border-radius: 0; border-width: 1px 1px 1px 6px; min-height: 360px; background: linear-gradient(145deg, #20252a, #101214); }
body[data-theme="takeover"] .card:nth-child(2) { transform: none; border-left-color: var(--accent); }
body[data-theme="takeover"] .card:nth-child(3) { border-left-color: var(--accent-2); }
body[data-theme="takeover"] .offer-card, body[data-theme="takeover"] .lead-form { border-radius: 0; }
body[data-theme="takeover"] .offer-card { border-top: 5px solid var(--accent); }
body[data-theme="takeover"] .process-section {
  background:
    linear-gradient(rgba(91, 130, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 130, 255, .08) 1px, transparent 1px),
    #0c1017;
  background-size: 32px 32px;
}
body[data-theme="takeover"] .process-step { grid-template-columns: 90px .7fr 1fr; border-bottom-color: rgba(91, 130, 255, .35); }

/* Replatform Ready — luminous gallery */
body[data-theme="replatform"] { font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif; }
body[data-theme="replatform"]::before { background: radial-gradient(circle at 50% 12%, rgba(139, 124, 255, .22), transparent 32rem); }
body[data-theme="replatform"] .site-header { top: 14px; margin: 0 auto; width: min(calc(100% - 28px), 1180px); border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 17, 31, .76); }
body[data-theme="replatform"] .nav-shell { min-height: 64px; width: min(calc(100% - 32px), 1100px); }
body[data-theme="replatform"] .brand-mark { border-radius: 50%; background: conic-gradient(var(--accent), var(--accent-2), var(--accent)); box-shadow: 0 0 26px rgba(66, 232, 207, .4); }
body[data-theme="replatform"] .hero { padding-top: 115px; }
body[data-theme="replatform"] .hero-grid { display: flex; flex-direction: column; gap: 56px; }
body[data-theme="replatform"] .hero-copy { max-width: 980px; margin: auto; text-align: center; }
body[data-theme="replatform"] .hero h1 { margin-inline: auto; font-size: clamp(4rem, 8.5vw, 8rem); }
body[data-theme="replatform"] .hero-lede { max-width: 760px; margin-inline: auto; }
body[data-theme="replatform"] .hero-actions { justify-content: center; }
body[data-theme="replatform"] .hero-art { height: clamp(430px, 50vw, 650px); border-radius: 38px; border-color: rgba(139, 124, 255, .38); background: #050b18; box-shadow: 0 35px 120px rgba(76, 73, 189, .28); }
body[data-theme="replatform"] .hero-art img { height: 100%; object-position: center; }
body[data-theme="replatform"] .hero-visual .signal-panel { left: 50%; right: auto; bottom: -45px; width: min(880px, 90%); display: grid; grid-template-columns: repeat(3, 1fr); transform: translateX(-50%); border-radius: 18px; background: rgba(9, 23, 43, .82); backdrop-filter: blur(20px); }
body[data-theme="replatform"] .signal-top, body[data-theme="replatform"] .signal-footer { display: none; }
body[data-theme="replatform"] .signal-row { border: 0; border-right: 1px solid var(--line); }
body[data-theme="replatform"] .signal-row:last-of-type { border-right: 0; }
body[data-theme="replatform"] .card-grid { grid-template-columns: 1.35fr .825fr .825fr; }
body[data-theme="replatform"] .card { min-height: 330px; border-color: rgba(139, 124, 255, .23); background: linear-gradient(150deg, rgba(21, 42, 75, .9), rgba(8, 18, 34, .9)); }
body[data-theme="replatform"] .card:first-child { min-height: 430px; }
body[data-theme="replatform"] .card:nth-child(2) { transform: translateY(52px); }
body[data-theme="replatform"] .offer-section { background: transparent; }
body[data-theme="replatform"] .offer-card { background: rgba(16, 33, 60, .72); backdrop-filter: blur(10px); }
body[data-theme="replatform"] .offer-card:nth-child(2) { background: linear-gradient(145deg, var(--accent), #5c4ad4); }
body[data-theme="replatform"] .process-list { display: grid; grid-template-columns: repeat(4, 1fr); border: 0; gap: 12px; }
body[data-theme="replatform"] .process-step { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
body[data-theme="replatform"] .process-step h3 { margin: 45px 0 18px; }
body[data-theme="replatform"] .outcome-section { background: linear-gradient(115deg, var(--accent), var(--accent-2)); }

/* Legacy App Hosting — organic operations landscape */
body[data-theme="hosting"] { font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif; }
body[data-theme="hosting"]::before { background: radial-gradient(circle at 83% 18%, rgba(82, 224, 142, .14), transparent 28rem); }
body[data-theme="hosting"] .site-header { background: rgba(6, 16, 13, .78); border-bottom: 0; }
body[data-theme="hosting"] .nav-shell { min-height: 88px; }
body[data-theme="hosting"] .brand { font-size: 1.16rem; }
body[data-theme="hosting"] .brand-mark { border-radius: 50% 50% 50% 6px; background: radial-gradient(circle at 35% 35%, #d9ffe9, var(--accent) 36%, #0c5031 70%); transform: rotate(-28deg); }
body[data-theme="hosting"] .hero { padding: 70px 0 125px; }
body[data-theme="hosting"] .hero-grid { grid-template-columns: .82fr 1.18fr; gap: 56px; }
body[data-theme="hosting"] .hero h1 { font-size: clamp(3.8rem, 6.8vw, 6.8rem); }
body[data-theme="hosting"] .hero-art { height: 720px; border: 0; border-radius: 45% 10% 38% 15% / 28% 12% 35% 16%; box-shadow: 0 45px 110px rgba(0, 0, 0, .35); }
body[data-theme="hosting"] .hero-art img { height: 100%; object-position: 64% center; }
body[data-theme="hosting"] .hero-art::after { background: linear-gradient(145deg, transparent 55%, rgba(82, 224, 142, .16)); }
body[data-theme="hosting"] .hero-visual .signal-panel { left: -45px; right: auto; bottom: 24px; width: 350px; border-radius: 28px 8px 28px 8px; transform: none; background: rgba(8, 25, 19, .88); backdrop-filter: blur(18px); }
body[data-theme="hosting"] .card-grid { align-items: start; }
body[data-theme="hosting"] .card { min-height: 320px; border-radius: 60px 14px 60px 14px; background: linear-gradient(145deg, #122b22, #0a1713); }
body[data-theme="hosting"] .card:nth-child(2) { transform: translateY(55px); border-radius: 14px 60px 14px 60px; }
body[data-theme="hosting"] .card:nth-child(3) { margin-top: -28px; }
body[data-theme="hosting"] .offer-section { background: #edf8f1; color: #092016; }
body[data-theme="hosting"] .offer-section p, body[data-theme="hosting"] .offer-card p, body[data-theme="hosting"] .offer-card li { color: #466355; }
body[data-theme="hosting"] .offer-card { border-color: rgba(9, 32, 22, .12); border-radius: 28px; background: #fff; box-shadow: 0 22px 60px rgba(3, 29, 17, .09); }
body[data-theme="hosting"] .offer-card:nth-child(2) { background: #52e08e; }
body[data-theme="hosting"] .process-step { grid-template-columns: 70px .75fr 1fr; }
body[data-theme="hosting"] .outcome-section {
  background:
    radial-gradient(circle at 78% 48%, rgba(82, 224, 142, .28), transparent 24rem),
    linear-gradient(110deg, #03100b, #0a2d20);
  color: #effff7;
}
body[data-theme="hosting"] .outcome-section .eyebrow { color: var(--accent); }
body[data-theme="hosting"] .outcome-points { border-top-color: rgba(255, 255, 255, .25); }
body[data-theme="hosting"] .outcome-points div { border-bottom-color: rgba(255, 255, 255, .25); }

@media (max-width: 900px) {
  .hero-grid, .split-heading, .outcome-grid, .faq-grid, .contact-grid, .tool-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .signal-panel { transform: none; }
  .card-grid, .offer-grid { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .card:nth-child(2) { transform: none; }
  .process-step { grid-template-columns: 50px 1fr; }
  .process-step p { grid-column: 2; }
  .result-panel { position: static; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 14px; right: 14px; padding: 20px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.4rem); }
  .field-row, .choice-row, .footer-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 35px 1fr; gap: 15px; }
  .footer-links { justify-content: start; }
  .footer-base { flex-direction: column; }
}

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

@media (max-width: 900px) {
  body[data-theme="gone"] .hero-grid { min-height: auto; display: flex; flex-direction: column; }
  body[data-theme="gone"] .hero-copy { order: 2; margin: -120px 0 0; padding: 50px 28px 80px; background: linear-gradient(180deg, rgba(10, 12, 16, .86), var(--bg) 28%); }
  body[data-theme="gone"] .hero-visual { order: 1; width: 100%; height: 590px; }
  body[data-theme="gone"] .hero-art::after { background: linear-gradient(180deg, transparent 45%, var(--bg)); }
  body[data-theme="gone"] .hero-visual .signal-panel { right: 22px; bottom: 25px; }

  body[data-theme="handoff"] .offer-card { grid-template-columns: 110px 1fr; }
  body[data-theme="handoff"] .offer-card ul { grid-column: 2; }

  body[data-theme="takeover"] .hero-grid { min-height: 820px; }
  body[data-theme="takeover"] .hero-visual .signal-panel { top: 110px; right: 24px; width: 310px; }
  body[data-theme="takeover"] .hero-copy { left: 24px; bottom: 30px; }

  body[data-theme="replatform"] .card-grid { grid-template-columns: 1fr; }
  body[data-theme="replatform"] .card:first-child, body[data-theme="replatform"] .card { min-height: 240px; }
  body[data-theme="replatform"] .card:nth-child(2) { transform: none; }
  body[data-theme="replatform"] .process-list { grid-template-columns: 1fr 1fr; }

  body[data-theme="hosting"] .hero-grid { grid-template-columns: 1fr; }
  body[data-theme="hosting"] .hero-copy { max-width: 760px; }
  body[data-theme="hosting"] .hero-art { height: 620px; }
  body[data-theme="hosting"] .hero-visual .signal-panel { left: 24px; }
  body[data-theme="hosting"] .card:nth-child(2), body[data-theme="hosting"] .card:nth-child(3) { transform: none; margin-top: 0; }
}

@media (max-width: 700px) {
  body[data-theme="gone"] .hero-visual { height: 480px; }
  body[data-theme="gone"] .hero h1 { font-size: clamp(3.25rem, 16vw, 5.2rem); }
  body[data-theme="gone"] .hero-visual .signal-panel { position: relative; right: auto; bottom: 115px; width: calc(100% - 28px); margin: 0 auto; }
  body[data-theme="gone"] .hero-copy { margin-top: -60px; }

  body[data-theme="handoff"] .nav-shell { min-height: 74px; }
  body[data-theme="handoff"] .hero { padding-top: 38px; }
  body[data-theme="handoff"] .hero-copy { display: block; }
  body[data-theme="handoff"] .hero-copy .eyebrow { padding-top: 0; border-top: 0; }
  body[data-theme="handoff"] .hero h1 { font-size: clamp(3.25rem, 16vw, 5.4rem); }
  body[data-theme="handoff"] .hero-art { height: 430px; border-radius: 45% 45% 4px 4px / 10% 10% 4px 4px; }
  body[data-theme="handoff"] .hero-visual .signal-panel,
  body[data-theme="replatform"] .hero-visual .signal-panel { position: relative; left: auto; bottom: auto; width: 100%; display: block; transform: none; margin-top: -4px; border-radius: 0 0 16px 16px; }
  body[data-theme="handoff"] .signal-row,
  body[data-theme="replatform"] .signal-row { border-right: 0; border-top: 1px solid var(--line); }
  body[data-theme="handoff"] .offer-card { display: block; }
  body[data-theme="handoff"] .offer-card > * { margin-bottom: 18px; }

  body[data-theme="takeover"] .site-header { position: relative; background: #090b0c; }
  body[data-theme="takeover"] .hero-grid { min-height: auto; display: flex; flex-direction: column; }
  body[data-theme="takeover"] .hero-visual { position: relative; order: 1; height: 520px; }
  body[data-theme="takeover"] .hero-copy { position: relative; order: 2; left: auto; bottom: auto; width: calc(100% - 28px); margin: -80px auto 60px; padding: 25px; }
  body[data-theme="takeover"] .hero-visual .signal-panel { display: none; }
  body[data-theme="takeover"] .hero h1 { font-size: clamp(3.1rem, 14vw, 5rem); }

  body[data-theme="replatform"] .site-header { top: 8px; border-radius: 18px; }
  body[data-theme="replatform"] .hero { padding-top: 85px; }
  body[data-theme="replatform"] .hero h1 { font-size: clamp(3.35rem, 16vw, 5.6rem); }
  body[data-theme="replatform"] .hero-art { height: 390px; border-radius: 22px 22px 0 0; }
  body[data-theme="replatform"] .process-list { grid-template-columns: 1fr; }

  body[data-theme="hosting"] .hero { padding-top: 35px; }
  body[data-theme="hosting"] .hero h1 { font-size: clamp(3.3rem, 15vw, 5.4rem); }
  body[data-theme="hosting"] .hero-art { height: 500px; border-radius: 38% 8% 30% 10% / 20% 8% 26% 10%; }
  body[data-theme="hosting"] .hero-visual .signal-panel { position: relative; left: auto; bottom: auto; width: calc(100% - 28px); margin: -105px auto 0; }
  body[data-theme="hosting"] .card { border-radius: 32px 10px 32px 10px; }
}
