/* Realo site styles. All colours and sizes live in the tokens below. Change a token and it changes everywhere. */
/* Font: Plus Jakarta Sans (SIL Open Font License), self-hosted so no third party sees visitors. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); }

:root {
  --ground: #f3f6fb;        /* page background */
  --surface: #ffffff;       /* cards */
  --surface-2: #e7eefb;     /* blue-tinted panels, nav group */
  --surface-3: #eef1f6;     /* neutral inner panels */
  --ink: #0c1a33;           /* main text */
  --ink-2: #3a475e;         /* secondary text */
  --blue: #1450d2;          /* brand primary: trust */
  --blue-ink: #0d3a9e;      /* blue text on light grounds */
  --navy: #0a1f4d;          /* dark sections */
  --navy-2: #13306e;        /* panels inside dark sections */
  --orange: #f97316;        /* brand accent: innovation, used for actions */
  --orange-soft: #ffe8d6;
  --good: #12804a;
  --warn: #c2410c;
  --bad: #c62828;
  --on-accent: #0c1a33;      /* text on orange and other fixed accents, same in both themes */
  --blue-text: #1450d2;     /* blue used as text/strokes */
  --line: #dde3ee;          /* only for form fields and tables */

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-hero: clamp(2.6rem, 1.2rem + 5.4vw, 5.4rem);
  --step-h2: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --step-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  --step-lead: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  --step-body: 1.0625rem;
  --step-small: .9375rem;

  --r-card: 28px;
  --r-inner: 16px;
  --margin: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --gap-section: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.55;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue-text); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); letter-spacing: -0.015em; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--on-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 99px; z-index: 50; }
.skip:focus { top: 12px; color: var(--ground); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.section { padding-top: var(--gap-section); }
.lead { font-size: var(--step-lead); color: var(--ink); line-height: 1.5; max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step-small); }

/* "NEED" notes: gaps POPCY must fill before launch. Delete each one once filled. */
.need { background: #fff3c4; color: #5b4300; padding: 2px 8px; border-radius: 6px; font-weight: 600; font-size: .95em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--on-accent); }
.btn-primary:hover { background: #ff8a34; color: var(--on-accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blue-ink); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--ground); }
.btn-dark:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.reassure { margin-top: 18px; font-size: var(--step-small); font-weight: 600; color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ground); transition: background-color .2s; }
.site-header.scrolled { background: color-mix(in srgb, var(--ground) 97%, transparent); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.brand svg { width: 34px; height: 34px; }
.nav > nav { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 5px; background: var(--surface-2); border-radius: 999px; }
.nav-links a { display: block; white-space: nowrap; padding: 10px 18px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9375rem; transition: background-color .18s, color .18s; }
.nav-links a:hover { color: var(--blue-ink); background: var(--surface); }
.nav-links a[aria-current="page"] { background: var(--blue); color: #fff; }
.nav .btn { min-height: 46px; padding: 0 22px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1240px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; left: var(--margin); right: var(--margin); top: 78px; flex-direction: column; padding: 10px; border-radius: 24px; background: var(--surface); box-shadow: 0 18px 50px rgba(12, 26, 51, .18); /* taste-skill-ignore: real overlay menu */ }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 18px; font-size: 1.125rem; }
  .nav-links .menu-cta { display: block; }
}
.nav-links .menu-cta { display: none; }
.nav-links .menu-cta a { background: var(--orange); color: var(--on-accent); text-align: center; margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--step-hero); }
.hero h1 .fixed { display: block; }
.rotator { display: block; position: relative; height: 1.2em; margin-top: -0.06em; padding-top: 0.06em; overflow: hidden; color: var(--blue-text); }
.rotator span { position: absolute; left: 0; top: 0.06em; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.rotator span.on { transform: translateY(0); opacity: 1; }
.rotator span.off { transform: translateY(-105%); opacity: 0; }
.hero .lead { margin-top: 32px; }
.hero .cta-row { margin-top: 36px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Page hero for inner pages */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem); max-width: 15em; }
.page-hero .lead { margin-top: 28px; }
.page-hero .cta-row { margin-top: 32px; }

/* ---------- Report card (UI fragment built in HTML) ---------- */
.ui { background: var(--surface); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 28px); position: relative; }
.ui-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ui-title { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.ui-meta { font-size: .875rem; color: var(--ink-2); }
.score-panel { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--surface-2); border-radius: var(--r-inner); padding: 18px 20px; }
.score-big { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.score-big small { font-size: 1rem; color: var(--ink-2); letter-spacing: 0; font-weight: 600; }
.score-bar { height: 10px; background: var(--surface); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.score-bar i { display: block; height: 100%; background: var(--orange); border-radius: 99px; width: 0; transition: width 1.2s var(--ease); }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.gauge { background: var(--surface-3); border-radius: var(--r-inner); padding: 14px 10px 12px; text-align: center; }
.gauge svg { width: 76px; height: 76px; margin: 0 auto; display: block; }
.gauge .track { stroke: var(--surface-3); }
.gauge .val { stroke: var(--blue-text); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge.low .val { stroke: var(--orange); }
.gauge b { display: block; font-size: 1rem; margin-top: 6px; }
.gauge span { font-size: .875rem; color: var(--ink-2); }
.gauge-num { font: 800 22px var(--font); fill: var(--ink); }
.fix-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 4px 2px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.tag-high { background: var(--orange-soft); color: #9a3412; }
.tag-med { background: #fff1c2; color: #6b4e00; }
.tag-low { background: var(--surface-2); color: var(--blue-ink); }
.fix-row b { display: block; font-size: .9375rem; line-height: 1.35; }
.fix-row span { font-size: .875rem; color: var(--ink-2); }
.float-chip {
  position: absolute; right: clamp(-28px, -2vw, -8px); top: -26px; display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; border-radius: 20px; padding: 14px 18px;
}
.float-chip .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; }
.float-chip .dot svg { width: 22px; height: 22px; }
.float-chip b { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.float-chip span { font-size: .875rem; color: #c9d6f2; }
.hero-visual { position: relative; }
.hero-visual .caption { margin-top: 18px; }
.caption { margin-top: 18px; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 960px) { .float-chip { right: 12px; } .hero-visual { margin-top: 24px; } }

/* ---------- Steps ---------- */
.center-head { text-align: center; max-width: 44rem; margin: 0 auto; }
.center-head .lead { margin: 20px auto 0; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; counter-reset: step; }
.steps li { background: var(--surface); border-radius: var(--r-card); padding: 30px; counter-increment: step; display: flex; flex-direction: column; gap: 12px; transition: transform .25s var(--ease); }
.steps li:hover { transform: translateY(-4px); }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 999px; background: var(--orange); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; font-size: 1.125rem; }
.steps li:first-child { background: var(--blue); color: #fff; }
.steps li:first-child p { color: #dbe6ff; }
.steps li p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { max-width: 12em; }
.split .lead { margin-top: 22px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-weight: 600; align-items: start; }
.checks li::before { content: ""; width: 24px; height: 24px; margin-top: 1px; border-radius: 99px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%230c1a33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.split .cta-row { margin-top: 32px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* points bars */
.bars { display: grid; gap: 16px; }
.bar-row .bar-label { display: flex; justify-content: space-between; font-size: .9375rem; gap: 10px; }
.bar-row .bar-label b { font-weight: 700; }
.bar-row .bar-label span { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { height: 12px; border-radius: 99px; background: var(--surface-3); margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--blue); width: 0; transition: width 1.1s var(--ease); }
.bar-row.weak .bar i { background: var(--orange); }
.legend { display: flex; gap: 18px; margin-top: 18px; font-size: .875rem; color: var(--ink-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 99px; margin-right: 6px; vertical-align: middle; }

/* where people look: three channels */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.channels > div { padding: 32px; }
.channels > div:nth-child(2) { background: var(--surface-2); }
.channels h3 { margin-bottom: 10px; }
.channels p { color: var(--ink-2); }
.channels .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--surface-3); font-size: .875rem; font-weight: 600; }
.channels > div:nth-child(2) .chip { background: var(--surface); }
@media (max-width: 860px) { .channels { grid-template-columns: 1fr; } }

/* ---------- Dark band: self-check ---------- */
.band-dark { background: var(--navy); color: #fff; border-radius: clamp(24px, 3vw, 40px); margin: var(--gap-section) clamp(8px, 1.4vw, 20px) 0; padding: clamp(56px, 8vw, 112px) 0; }
.band-dark h2 { color: #fff; }
.band-dark .lead { color: #c9d6f2; }
.check-tool { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 52px; }
.q-list { background: var(--surface); color: var(--ink); border-radius: var(--r-card); padding: clamp(8px, 1.2vw, 14px); display: grid; gap: 4px; }
.q { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 18px; }
.q:nth-child(odd) { background: var(--ground); }
.q p { font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.q small { display: block; font-weight: 500; color: var(--ink-2); font-size: .875rem; margin-top: 2px; }
.yn { display: inline-flex; background: var(--surface-2); border-radius: 99px; padding: 4px; }
.yn button { min-width: 58px; min-height: 40px; border: 0; border-radius: 99px; background: transparent; font: 700 .9375rem var(--font); color: var(--ink-2); cursor: pointer; transition: background-color .15s, color .15s; }
.yn button[aria-pressed="true"].yes { background: var(--blue); color: #fff; }
.yn button[aria-pressed="true"].no { background: var(--orange); color: var(--on-accent); }
.result { background: var(--orange); color: var(--on-accent); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 100px; }
.result .num { font-size: clamp(4rem, 3rem + 4vw, 6.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.result .num small { font-size: 1.25rem; letter-spacing: 0; }
.result .verdict { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.result .next { font-weight: 500; }
.result .btn { align-self: flex-start; margin-top: 6px; }
.tool-note { margin-top: 22px; font-size: .9375rem; color: #b6c5e8; max-width: 52rem; }
@media (max-width: 900px) { .check-tool { grid-template-columns: 1fr; } .result { position: static; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
.price-free { background: var(--blue); color: #fff; border-radius: var(--r-card); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.price-free .amount { font-size: clamp(4rem, 3rem + 3vw, 6rem); font-weight: 800; letter-spacing: -0.06em; line-height: .9; }
.price-free p { color: #dbe6ff; }
.price-free .checks li { font-weight: 600; color: #fff; }
.price-free .btn { align-self: flex-start; margin-top: auto; }
.price-list { background: var(--surface); border-radius: var(--r-card); padding: clamp(12px, 1.6vw, 18px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.price-free { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); row-gap: 12px; align-items: start; }
.price-free > h3, .price-free > .amount, .price-free > p { grid-column: 1; }
.price-free > ul { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.price-free > .btn { grid-column: 1; grid-row: 4; margin-top: 8px; }
.price-list .tier-top { flex-direction: column; align-items: flex-start; gap: 4px; }
@media (max-width: 760px) { .price-list { grid-template-columns: 1fr; } .price-free { grid-template-columns: 1fr; } .price-free > ul, .price-free > .btn { grid-column: 1; grid-row: auto; } }
.tier { padding: clamp(20px, 2.4vw, 28px); border-radius: 20px; background: var(--ground); }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.tier-top h3 { font-size: 1.5rem; }
.tier .price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.tier .price small { font-size: .9375rem; color: var(--ink-2); font-weight: 600; letter-spacing: 0; }
.tier > p { color: var(--ink-2); margin-top: 6px; }
.tier ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.price-foot { text-align: center; margin-top: 28px; color: var(--ink-2); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border-radius: 20px; padding: 0 24px; transition: background-color .2s; }
.faq-list details[open] { background: var(--surface-2); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 700; font-size: 1.125rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--blue); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.band-orange { background: var(--orange); border-radius: clamp(24px, 3vw, 40px); margin: var(--gap-section) clamp(8px, 1.4vw, 20px) 0; padding: clamp(56px, 8vw, 104px) var(--margin); text-align: center; }
.band-orange, .band-orange h2, .band-orange p, .band-orange .reassure { color: var(--on-accent); }
.band-orange h2 { max-width: 16em; margin: 0 auto; }
.band-orange p { margin: 18px auto 0; font-size: var(--step-lead); max-width: 34em; }
.band-orange .cta-row { justify-content: center; margin-top: 32px; }
.band-orange .reassure { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid p { color: var(--ink-2); margin-top: 14px; max-width: 24em; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0; font-weight: 800; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--blue-text); text-decoration: underline; }
.footer-word { font-size: clamp(5rem, 2rem + 16vw, 15rem); font-weight: 800; letter-spacing: -0.07em; line-height: .8; color: var(--blue-text); margin-top: 64px; user-select: none; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; color: var(--ink-2); margin-top: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Services page ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.service + .service { margin-top: clamp(80px, 10vw, 140px); }
.service .price-tag { display: inline-block; margin-top: 18px; font-size: 1.5rem; font-weight: 800; color: var(--blue-ink); letter-spacing: -0.02em; }
.service .lead { margin-top: 18px; }
.include { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.include h3 { margin-bottom: 8px; }
.include .checks { margin-top: 18px; }
.include.blue { background: var(--blue); color: #fff; }
.include.blue .muted { color: #dbe6ff; }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 48px; background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 20px 22px; vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-size: .9375rem; }
.compare tbody th { font-size: 1.5rem; font-weight: 800; color: var(--blue-ink); }
.compare tbody tr:nth-child(2) { background: var(--surface-2); }
.compare td { color: var(--ink); font-size: .9375rem; }
.table-scroll { overflow-x: auto; }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 10px 0; }
  .compare td { padding: 6px 22px 10px; }
  .compare td::before { content: attr(data-label); display: block; font-weight: 700; font-size: .875rem; color: var(--ink-2); }
}

.check-areas { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin-top: 48px; }
.area { border-radius: var(--r-card); padding: clamp(24px, 3vw, 34px); background: var(--surface); }
.area:nth-child(2) { background: var(--surface-2); }
.area:nth-child(3) { background: var(--navy); color: #fff; }
.area:nth-child(3) .muted { color: #c9d6f2; }
.area h3 { margin-bottom: 6px; }
.area ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 900px) { .check-areas { grid-template-columns: 1fr; } }

/* ---------- How it works page ---------- */
.timeline { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 14px; counter-reset: t; }
.timeline li { display: grid; grid-template-columns: 64px 1fr 1.2fr; gap: 24px; align-items: start; background: var(--surface); border-radius: var(--r-card); padding: 28px; counter-increment: t; }
.timeline li::before { content: counter(t); width: 52px; height: 52px; border-radius: 99px; background: var(--surface-2); color: var(--blue-ink); font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; }
.timeline li:nth-child(3)::before { background: var(--orange); color: var(--on-accent); }
.timeline p { color: var(--ink-2); }
@media (max-width: 860px) { .timeline li { grid-template-columns: 1fr; gap: 12px; } }

.shot { background: var(--surface); border-radius: var(--r-card); padding: clamp(10px, 1.4vw, 16px); }
.shot img { border-radius: 16px; width: 100%; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.shots .wide { grid-column: 1 / -1; }
.shots figcaption { padding: 14px 8px 4px; font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 52px; background: var(--surface); border-radius: var(--r-card); overflow: hidden; }
.values > div { padding: clamp(24px, 3vw, 36px); }
.values > div:nth-child(4n+2), .values > div:nth-child(4n+3) { background: var(--surface-2); }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--ink-2); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values > div:nth-child(n) { background: var(--surface); } .values > div:nth-child(even) { background: var(--surface-2); } }
.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.photo-slot { aspect-ratio: 4 / 5; border-radius: var(--r-card); background: var(--surface-2); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .photo-slot { aspect-ratio: 16 / 10; } }

/* ---------- Contact page / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 48px; align-items: start; }
.form-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9375rem; }
.field .hint { font-size: .9375rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  font: 500 1rem var(--font); color: var(--ink); background: var(--surface); transition: border-color .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 80, 210, .18); /* taste-skill-ignore: focus state */ }
.field input:user-invalid { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; }
.form-card .btn { margin-top: 24px; width: 100%; }
.form-legal { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }
.form-status { margin-top: 14px; font-weight: 600; }
.side-card { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.side-card + .side-card { margin-top: 20px; background: var(--surface-2); color: var(--ink); }
.side-card h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.side-card ol { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.side-card ol li { color: #dbe6ff; }
.side-card ol b { color: #fff; }
.side-card p + p { margin-top: 10px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose p, .prose li { margin-top: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- Motion: entrances (JS adds .reveal-ready; without JS everything shows) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rotator span { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Proof strip on the home page */
.proof-head { align-items: end; }
.proof-shot { margin-top: 40px; }
.proof-shot img { width: 100%; }

.faq-grid .lead { margin-top: 20px; }
.svc-shot { margin-top: 28px; }
.svc-shot figcaption, .shots figcaption { padding: 12px 8px 4px; font-size: .9375rem; color: var(--ink-2); }
.side-card p { max-width: 36em; }
.page-hero .founder { grid-template-columns: 1.5fr 1fr; }
.page-hero .founder .photo-slot { aspect-ratio: 5 / 4; }
@media (max-width: 860px) { .page-hero .founder { grid-template-columns: 1fr; } }

/* Round 2: founder photo, guides, articles */
.portrait { margin: 0; }
.portrait img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); margin-left: auto; }
.portrait figcaption { margin-top: 12px; font-size: .9375rem; color: var(--ink-2); text-align: right; }
.founder-strip { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; background: var(--surface); border-radius: var(--r-card); padding: clamp(20px, 3vw, 40px); }
.founder-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.founder-strip .lead { margin-top: 20px; }
.founder-strip .cta-row { margin-top: 28px; }
.text-link { font-weight: 700; text-decoration: none; color: var(--blue-ink); padding: 12px 4px; }
.text-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .founder-strip { grid-template-columns: 1fr; } .founder-photo { max-width: 320px; } .portrait figcaption { text-align: left; } .portrait img { margin-left: 0; } }

.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.guide { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 2.6vw, 32px); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), background-color .2s; }
.guide:hover { transform: translateY(-4px); background: var(--surface-2); color: var(--ink); }
.guide:first-child { background: var(--navy); color: #fff; }
.guide:first-child p, .guide:first-child .guide-meta { color: #c9d6f2; }
.guide:first-child:hover { background: var(--navy-2); color: #fff; }
.guide h3 { font-size: 1.25rem; }
.guide p { color: var(--ink-2); }
.guide-meta { font-size: .875rem; color: var(--ink-2); font-weight: 600; margin-top: auto; }
@media (max-width: 900px) { .guide-list { grid-template-columns: 1fr; } }

.article-head { max-width: 48rem; }
.crumbs { font-size: .9375rem; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.byline img { width: 52px; height: 52px; border-radius: 99px; object-fit: cover; }
.byline b { display: block; }
.byline span { font-size: .9375rem; color: var(--ink-2); }
.article { max-width: 46rem; font-size: 1.125rem; line-height: 1.7; }
.article h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.15; margin: 56px 0 16px; }
.article h3 { margin: 32px 0 10px; }
.article p, .article ul, .article ol { margin-top: 16px; }
.article ul, .article ol { padding-left: 24px; display: grid; gap: 8px; }
.article .answer { background: var(--surface-2); border-radius: 20px; padding: 22px 26px; font-weight: 500; }
.article code { font-size: .95em; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; }
.article pre { background: var(--navy); color: #e6edff; padding: 20px 22px; border-radius: 18px; overflow-x: auto; font-size: .95rem; line-height: 1.55; margin-top: 18px; }
.article pre code { background: none; padding: 0; color: inherit; }
.article table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 1rem; background: var(--surface); border-radius: 16px; overflow: hidden; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--surface-2); }
.article .faq-list { margin-top: 18px; }
.article-cta { background: var(--blue); color: #fff; border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); margin-top: 56px; }
.article-cta h2 { color: #fff; margin: 0 0 10px; }
.article-cta p { color: #dbe6ff; margin: 0 0 20px; }

/* Round 2: trade photos */
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.trade { margin: 0; background: var(--surface); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.trade img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.trade:hover img { transform: scale(1.04); }
.trade figcaption { padding: 20px 22px 24px; display: grid; gap: 6px; position: relative; background: var(--surface); }
.trade figcaption b { font-size: 1.25rem; letter-spacing: -0.01em; }
.trade figcaption span { color: var(--ink-2); }
.trades { grid-template-columns: repeat(3, 1fr); }
.trade img { aspect-ratio: 1 / 1; object-position: center 30%; }
.trade img[src*="roofer"] { object-position: center 58%; }
.trade img[src*="pest"] { object-position: center 35%; }
@media (max-width: 1000px) { .trades { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trades { grid-template-columns: 1fr; } }
.photo-credit { margin-top: 18px; font-size: .8125rem; color: var(--ink-2); }
.photo-credit a { color: inherit; }
.inline-photo { margin: 32px 0 0; }
.inline-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); }
.hero-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.article-cover { margin: 40px 0 0; max-width: 60rem; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); }
.guide img { width: calc(100% + 2 * clamp(24px, 2.6vw, 32px)); margin: calc(-1 * clamp(24px, 2.6vw, 32px)) calc(-1 * clamp(24px, 2.6vw, 32px)) 8px; max-width: none; aspect-ratio: 16 / 10; object-fit: cover; }
.guide { overflow: hidden; }
@media (max-width: 1000px) { .trades { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .trades { grid-template-columns: 1fr; } .trade img { aspect-ratio: 16 / 10; } }
.article { max-width: 48rem; margin-inline: auto; }
.article-cover { max-width: 48rem; margin: 40px auto 0; }
.trade img[src*="plumber"] { object-position: center 20%; }
.article-head h1 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.5rem); max-width: 18em; }

/* Contact buttons */
.contact-btns { display: grid; gap: 12px; margin-top: 16px; }
.contact-btns .btn { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: .9375rem; }
.footer-grid li .btn { color: inherit; }
.footer-grid li .btn-primary { color: #fff; }
.footer-grid li .btn-ghost { color: var(--blue-ink); }
.footer-grid li .btn-ghost:hover { color: #fff; text-decoration: none; }
button.btn { font-family: inherit; cursor: pointer; }
.search-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 16px; }
.search-list li { display: block; line-height: 1.5; }
.search-list b { display: block; margin-bottom: 2px; }
.record h3 { font-size: clamp(2.2rem, 1.4rem + 2.5vw, 3.4rem); letter-spacing: -0.04em; color: var(--blue-text); line-height: 1; margin-bottom: 12px; }


/* ---------- Dark mode: set on <html data-theme="dark"> by the toggle ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0a1020; --surface: #121b30; --surface-2: #18243f; --surface-3: #1c2a47;
  --ink: #e9eefb; --ink-2: #a9b6d0; --blue-ink: #8db1ff; --blue-text: #6f9bff;
  --navy: #112050; --navy-2: #1b3272; --orange-soft: #3a2415; --line: #27345a;
  --good: #4cc38a; --warn: #fb923c; --bad: #f87171;
}
:root[data-theme="dark"] .need { background: #4a3a0a; color: #ffe9a3; }
:root[data-theme="dark"] .tag-high { background: #3a2415; color: #fdba74; }
:root[data-theme="dark"] .tag-med { background: #3d3410; color: #fde68a; }
:root[data-theme="dark"] .nav-links { box-shadow: none; }
:root[data-theme="dark"] .btn-ghost:hover, :root[data-theme="dark"] .footer-grid li .btn-ghost:hover { color: #fff; }
:root[data-theme="dark"] img.shot, :root[data-theme="dark"] .shot img { border: 1px solid var(--line); }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { color: var(--ink); }

/* Theme toggle */
.theme-toggle { width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; flex: none; transition: background-color .18s, transform .18s var(--ease); }
.theme-toggle:hover { background: var(--surface-3); transform: rotate(12deg); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 1240px) { .theme-toggle { margin-left: auto; } .theme-toggle + .menu-btn { margin-left: 0; } }



.byline .byline-mark { border-radius: 14px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--navy); color: #fff; border-radius: clamp(24px, 3vw, 40px); margin: var(--gap-section) clamp(8px, 1.4vw, 20px) 0; padding: clamp(56px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.reviews::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(249, 115, 22, .38), transparent); pointer-events: none; }
.reviews::after { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -330px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 110, 255, .45), transparent); pointer-events: none; }
.reviews .wrap { position: relative; z-index: 1; }
.reviews-head { max-width: 46rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.reviews h2 { color: #fff; }
.reviews .lead { color: #c9d6f2; margin-top: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 64px); }
.review { margin: 0; border-radius: var(--r-card); padding: clamp(24px, 2.8vw, 38px); display: flex; flex-direction: column; gap: 22px; position: relative; transition: transform .3s var(--ease); }
.review:hover { transform: translateY(-6px); }
.review:nth-child(1) { grid-column: 1 / span 7; }
.review:nth-child(2) { grid-column: 8 / span 5; }
.review:nth-child(3) { grid-column: 1 / span 5; }
.review:nth-child(4) { grid-column: 6 / span 7; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-chip { font-weight: 800; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; }
.qmark { width: 46px; height: 38px; flex: none; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); line-height: 1.6; font-weight: 500; }
.review:nth-child(1) blockquote p { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.5; font-weight: 600; }
.review mark { background: none; color: inherit; font-weight: 800; box-shadow: inset 0 -0.42em 0 var(--mk); }
.review figcaption { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--bd); }
.who { display: grid; gap: 1px; font-size: .9375rem; line-height: 1.35; }
.who b { font-size: 1.0625rem; }
.who .place { display: inline-flex; align-items: center; gap: 5px; opacity: .85; }
.who .place svg { width: 15px; height: 15px; }
.avatar { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; isolation: isolate; }
.avatar::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -2; background: conic-gradient(from var(--a, 0deg), #f97316, #ffd2a8, #1450d2, #f97316); animation: spin 6s linear infinite; }
.avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1; background: var(--av); }
.avatar i { font-style: normal; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; color: var(--avc); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.r-blue { background: var(--blue); color: #fff; --mk: rgba(249, 115, 22, .75); --bd: rgba(255, 255, 255, .28); --av: #0a1f4d; --avc: #fff; }
.r-blue .review-chip { background: rgba(255, 255, 255, .16); } .r-blue .qmark { color: var(--orange); }
.r-white { background: #fff; color: #0c1a33; --mk: rgba(249, 115, 22, .4); --bd: #dde3ee; --av: #e7eefb; --avc: #1450d2; }
.r-white .review-chip { background: #e7eefb; color: #0d3a9e; } .r-white .qmark { color: var(--blue); }
.r-orange { background: var(--orange); color: #0c1a33; --mk: rgba(10, 31, 77, .28); --bd: rgba(10, 31, 77, .25); --av: #0a1f4d; --avc: #fff; }
.r-orange .review-chip { background: rgba(10, 31, 77, .14); } .r-orange .qmark { color: #0a1f4d; }
.r-soft { background: #dbe6ff; color: #0c1a33; --mk: rgba(249, 115, 22, .5); --bd: rgba(12, 26, 51, .18); --av: #1450d2; --avc: #fff; }
.r-soft .review-chip { background: #fff; color: #0d3a9e; } .r-soft .qmark { color: var(--orange); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.reviews-foot p { color: #c9d6f2; font-size: .9375rem; max-width: 34em; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } .review:nth-child(n) { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .avatar::before { animation: none; } .review:hover { transform: none; } }

/* ---------- Hero phone ---------- */
.hero-visual { display: flex; flex-direction: column; align-items: center; position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 6% -6% 14% -6%; background: radial-gradient(closest-side, rgba(20, 80, 210, .22), transparent), radial-gradient(closest-side at 80% 20%, rgba(249, 115, 22, .22), transparent); filter: blur(10px); z-index: 0; }
.hero-visual .caption { position: relative; margin-top: 22px; text-align: center; max-width: 24em; }
.phone { --pw: 22em; position: relative; z-index: 1; font-size: clamp(11.5px, 0.55vw + 8px, 15px); width: var(--pw); max-width: 100%; color: #0c1a33; }
.ph-shell { position: relative; background: #0a1020; border-radius: 3.4em; padding: .75em; height: 44em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 2.5em 5em -1.5em rgba(10, 31, 77, .55), 0 .6em 1.4em rgba(10, 31, 77, .25); /* taste-skill-ignore: device mock */ }
.ph-island { position: absolute; top: 1.4em; left: 50%; width: 6.2em; height: 1.7em; transform: translateX(-50%); background: #05080f; border-radius: 99px; z-index: 6; }
.ph-screen { position: relative; height: 100%; background: #fff; border-radius: 2.7em; overflow: hidden; display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 1.15em 2em .5em; font-weight: 700; font-size: .85em; flex: none; }
.ph-sys svg { width: 4.4em; height: 1em; display: block; }
.ph-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ph-search { display: none; padding: .6em 1em; gap: .8em; background: #fff; }
.ph-anim.is-search .ph-search { display: flex; }
.ph-anim.is-search .ph-results { display: none; }
.ph-sbar, .ph-rbar { display: flex; align-items: center; gap: .7em; background: #eef1f6; border-radius: 99px; padding: .8em 1.1em; font-size: .95em; font-weight: 500; min-width: 0; box-shadow: 0 .1em .5em rgba(12, 26, 51, .1); }
.ph-sbar { background: #fff; box-shadow: 0 0 0 2px #1450d2; }
.ph-sbar svg, .ph-rbar svg { width: 1.2em; height: 1.2em; flex: none; color: #5b6b86; }
.ph-sbar span, .ph-rbar span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.ph-caret { width: 2px; height: 1.15em; background: #1450d2; margin-left: -.5em; flex: none; animation: caret 1s steps(1) infinite; }
.ph-sugg { list-style: none; margin: 0; padding: 0; }
.ph-sugg li { position: relative; display: flex; gap: .9em; align-items: center; padding: .85em .4em; font-size: .95em; color: #0c1a33; border-bottom: 1px solid #eef1f6; overflow: hidden; }
.ph-sugg li svg { width: 1.1em; height: 1.1em; flex: none; color: #8793aa; }
.ph-sugg li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-sugg li b { font-weight: 800; }
.ph-sugg li.tap::after { content: ""; position: absolute; left: 30%; top: 50%; width: 1em; height: 1em; margin: -.5em; border-radius: 50%; background: rgba(20, 80, 210, .28); animation: tap .55s ease-out forwards; }
@keyframes tap { to { transform: scale(14); opacity: 0; } }
.ph-rbar { margin: .4em 1em .2em; }
.ph-tabs { display: flex; gap: 1.5em; padding: .6em 1.4em 0; font-size: .85em; font-weight: 600; color: #5b6b86; border-bottom: 1px solid #e3e8f1; flex: none; }
.ph-tabs span { padding-bottom: .6em; border-bottom: 3px solid transparent; }
.ph-tabs .on { color: #1450d2; border-color: #1450d2; }
.ph-scroll { flex: 1; min-height: 0; overflow: hidden; background: #f3f6fb; }
.ph-inner { padding: .9em .9em 1.4em; display: flex; flex-direction: column; gap: .8em; transition: transform 1.3s cubic-bezier(.45, .05, .25, 1); will-change: transform; }
.ph-ai { background: #fff; border-radius: 1.3em; padding: 1em 1.1em 1.1em; position: relative; box-shadow: 0 0 0 1px #dbe4f5; }
.ph-ai::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, #1450d2, #8db1ff 45%, #f97316); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ph-ai-head { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: .9em; color: #1450d2; }
.ph-ai-head span { width: 1.4em; height: 1.4em; display: grid; place-items: center; }
.ph-ai-head svg { width: 1.3em; height: 1.3em; }
.ph-ai p { margin-top: .6em; font-size: .9em; line-height: 1.5; color: #0c1a33; }
.ph-src { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .8em; }
.ph-src span { display: inline-flex; align-items: center; gap: .4em; background: #eef1f6; color: #3a475e; border-radius: 99px; padding: .3em .75em .3em .5em; font-size: .72em; font-weight: 600; }
.ph-src span i { width: .9em; height: .9em; border-radius: 50%; background: #9db4e6; }
.ph-src span.top { background: #ffe8d6; color: #9a3412; box-shadow: 0 0 0 1.5px #f97316; }
.ph-src span.top i { background: #f97316; }
.ph-map { position: relative; border-radius: 1.2em; overflow: hidden; height: 9em; background: #e9eef5; flex: none; }
.ph-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-pins .pin { transform-box: fill-box; transform-origin: 50% 100%; }
.ph-local { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.ph-li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: .8em; background: #fff; border-radius: 1.2em; padding: .9em 1em; box-shadow: 0 0 0 1px #e3e8f1; }
.ph-li.top { box-shadow: 0 0 0 2px #f97316, 0 .5em 1.2em -.4em rgba(249, 115, 22, .5); margin-top: .7em; }
.ph-badge { position: absolute; top: -.8em; left: 1em; display: inline-flex; align-items: center; gap: .3em; font-style: normal; font-weight: 800; font-size: .68em; letter-spacing: .02em; background: #f97316; color: #0c1a33; padding: .35em .8em .35em .55em; border-radius: 99px; }
.ph-badge svg { width: 1.2em; height: 1.2em; }
.ph-li-main { display: grid; gap: .15em; min-width: 0; }
.ph-li-main b { font-size: .98em; line-height: 1.25; }
.ph-meta { font-size: .76em; color: #4a5872; line-height: 1.4; }
.ph-meta strong { color: #0c1a33; }
.ph-stars { color: #f59e0b; letter-spacing: .03em; font-size: .95em; }
.ph-open { color: #12804a; font-weight: 700; }
.ph-call { flex: none; width: 2.7em; height: 2.7em; border-radius: 50%; background: #1450d2; color: #fff; display: grid; place-items: center; }
.ph-call svg { width: 1.2em; height: 1.2em; }
.ph-li.top .ph-call { background: #f97316; color: #0c1a33; }
/* animated state hooks (only when JS animates) */
.ph-anim .ph-screen { transition: opacity .35s; }
.ph-anim.out .ph-screen { opacity: 0; }
.ph-anim .pre { opacity: 0; transform: translateY(.8em); }
.ph-anim .in { transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.ph-anim .ph-pins .pin.pre { opacity: 0; transform: translateY(-2.2em); }
.ph-anim .ph-pins .pin.in { transition: opacity .25s, transform .55s cubic-bezier(.3, 1.6, .5, 1); }
.ph-anim .ph-li.top.ring .ph-call { animation: ring 1.1s ease-in-out 2; }
@keyframes ring { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(1.1) rotate(8deg); } }
.ph-think { display: inline-flex; gap: .35em; padding: .4em 0; }
.ph-think i { width: .55em; height: .55em; border-radius: 50%; background: #1450d2; animation: dotp 1s infinite ease-in-out; }
.ph-think i:nth-child(2) { animation-delay: .15s; } .ph-think i:nth-child(3) { animation-delay: .3s; }
@keyframes dotp { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
@media (max-width: 960px) { .hero-visual { margin-top: 28px; } }
@media (prefers-reduced-motion: reduce) { .ph-caret, .ph-think i { animation: none; } .ph-inner { transition: none; } }

.ph-kb { margin: auto -1em 0; padding: .6em .45em 1.4em; background: #d5d9e1; display: grid; gap: .55em; }
.ph-krow { display: flex; justify-content: center; gap: .3em; }
.ph-krow i { flex: 1; max-width: 1.9em; height: 2.35em; background: #fff; border-radius: .4em; display: grid; place-items: center; font-style: normal; font-size: .9em; font-weight: 500; box-shadow: 0 .1em 0 rgba(12, 26, 51, .35); color: #0c1a33; }
.ph-krow.r1 { padding: 0 .9em; } .ph-krow.r2 { padding: 0 1.7em; }
.ph-krow i.wide { max-width: 3.4em; flex: 1.5; background: #b9bfcc; font-size: .72em; }
.ph-krow i.space { max-width: none; flex: 5; font-size: .72em; color: #5b6b86; }
.ph-krow i.go { background: #1450d2; color: #fff; }
.hero { overflow-x: clip; }
.review:nth-child(4) blockquote p { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.55; font-weight: 600; }

.work { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.work-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.work-photos img:nth-child(2) { margin-top: 48px; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; gap: 28px; } .work-photos img:nth-child(2) { margin-top: 32px; } }
.work h2 { margin-bottom: 18px; }
.work-photos:has(img:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.work-photos img:only-child { margin-top: 0; }
.page-hero .eyebrow { color: var(--blue-text); }
/* AI page: chat illustration */
.chat-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(20px, 2.4vw, 30px); box-shadow: 0 30px 60px -30px rgba(10, 31, 77, .35); max-width: 520px; margin-left: auto; display: grid; gap: 16px; }
.chat-top { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.chat-dot { width: 26px; height: 26px; border-radius: 99px; background: conic-gradient(from 200deg, var(--blue), var(--orange), var(--blue)); }
.chat-user { justify-self: end; background: var(--blue); color: #fff; padding: 14px 18px; border-radius: 20px 20px 6px 20px; max-width: 88%; font-size: 1rem; line-height: 1.45; }
.chat-bot { background: var(--surface-2); border-radius: 20px 20px 20px 6px; padding: 16px 18px; font-size: .9688rem; line-height: 1.5; display: grid; gap: 12px; }
.chat-bot ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.chat-bot li b { display: block; color: var(--ink); }
.chat-bot li span { color: var(--ink-2); font-size: .9063rem; }
.chat-bot li:first-child b { color: var(--blue-text); }
.chat-src { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-src span { font-size: .8125rem; padding: 4px 10px; border-radius: 99px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
/* links to trade pages */
.trade-links { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trade-links li { background: var(--surface); border-radius: var(--r-card); padding: 26px 28px; display: grid; gap: 14px; }
.trade-links a:first-child { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.trade-links a:first-child b { font-size: 1.375rem; letter-spacing: -0.01em; }
.trade-links a:first-child span { color: var(--ink-2); }
.trade-links a:first-child:hover b { color: var(--blue-text); }
.trade-links .sub { font-weight: 600; color: var(--blue-text); }
@media (max-width: 760px) { .trade-links { grid-template-columns: 1fr; } .chat-card { margin: 0 auto; } }
[data-stagger] > h2 + p.lead, [data-stagger] > h2 + .lead { margin-top: 18px; }
.plain-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.plain-list li { padding-left: 22px; position: relative; color: var(--ink-2); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--ink-2); }
@media (min-width: 1241px) and (max-width: 1340px) { .nav-links a { padding: 10px 13px; } }
.form-grid .field { align-content: start; }
.byline b a { color: inherit; text-decoration: none; } .byline b a:hover { color: var(--blue-text); } .byline-photo { display: block; line-height: 0; }
@media (max-width: 700px) { .article table { display: block; overflow-x: auto; max-width: 100%; } }
.byline-btn { margin-left: auto; min-height: 40px; padding: 0 18px; font-size: .9375rem; } @media (max-width: 560px) { .byline { flex-wrap: wrap; } .byline-btn { margin-left: 66px; } }


/* ---------- Realo the spider (mascot) and logo ---------- */
.sp-legline { fill: none; stroke: var(--sp-leg); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.sp-foot { fill: var(--orange); }
.sp-body { fill: var(--blue); }
.sp-shine { fill: #fff; opacity: .3; }
.sp-cheek { fill: #ff9d5c; opacity: .9; }
.sp-white, .sp-glint { fill: #fff; }
.sp-pupil { fill: #0c1a33; }
.sp-smile { fill: none; stroke: #0c1a33; stroke-width: 2.6; stroke-linecap: round; }
:root { --sp-leg: #0c1a33; }
:root[data-theme="dark"] { --sp-leg: #c9d6f2; }
.spider { display: block; pointer-events: none; }
.spider-svg { display: block; width: 100%; height: auto; overflow: visible; }
.spider-bob { display: block; }
.sp-leg { transform-box: view-box; transform-origin: 50px 52px; }
.sp-eyes { transform-box: fill-box; transform-origin: center; animation: sp-blink 5.2s infinite; }
@keyframes sp-blink { 0%, 92%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } 96% { transform: scaleY(1); } 97.5% { transform: scaleY(.08); } 99% { transform: scaleY(1); } }

/* Logo: the wordmark with Realo crawling along the top of the letters */
.brand { position: relative; padding-top: 27px; gap: 0; }
.brand-word { display: block; line-height: 1; font-size: 1.7rem; }
.brand .spider { position: absolute; top: 2px; left: 0; width: 34px; animation: sp-crawl 18s infinite ease-in-out; }
.brand .spider-bob, .footer-word .spider-bob { animation: sp-bob 18s infinite linear; }
.brand .sp-a, .footer-word .sp-a { animation: sp-step-a 18s infinite linear; }
.brand .sp-b, .footer-word .sp-b { animation: sp-step-b 18s infinite linear; }
@keyframes sp-crawl { 0%, 28% { left: -3px; } 44%, 72% { left: calc(100% - 30px); } 88%, 100% { left: -3px; } }
.site-footer .brand .spider { animation: none; left: -2px; }
.site-footer .brand .spider-bob, .site-footer .brand .sp-leg { animation: none; }
.site-footer .brand .sp-eyes { animation-delay: -2s; }

/* Big footer word: a bigger Realo walks the same route */
.footer-word { position: relative; display: inline-block; padding-top: clamp(26px, 4.2vw, 64px); }
.footer-word .spider { position: absolute; top: 0; left: 0; width: clamp(54px, 7vw, 104px); animation: sp-crawl-big 18s infinite ease-in-out; }
@keyframes sp-crawl-big { 0%, 28% { left: 1%; } 44%, 72% { left: calc(96% - clamp(54px, 7vw, 104px)); } 88%, 100% { left: 1%; } }

/* Orange call-to-action band: Realo hangs in on a thread */
.band-orange { position: relative; overflow: hidden; }
.hang { position: absolute; top: 0; right: clamp(18px, 9vw, 140px); width: clamp(46px, 5vw, 72px); transform-origin: 50% 0; animation: sp-sway 6s infinite ease-in-out; pointer-events: none; }
.hang::before { content: ""; display: block; width: 2px; height: clamp(64px, 9vw, 150px); margin: 0 auto -8px; background: rgba(12, 26, 51, .55); border-radius: 2px; }
.hang .spider { width: 100%; }
@keyframes sp-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@media (max-width: 640px) { .hang { right: 14px; width: 40px; } .hang::before { height: 26px; } }

@keyframes sp-step-a{0%{transform:rotate(0)}27.99%{transform:rotate(0)}28.00%{transform:rotate(6deg)}29.00%{transform:rotate(-6deg)}30.00%{transform:rotate(6deg)}31.00%{transform:rotate(-6deg)}32.00%{transform:rotate(6deg)}33.00%{transform:rotate(-6deg)}34.00%{transform:rotate(6deg)}35.00%{transform:rotate(-6deg)}36.00%{transform:rotate(6deg)}37.00%{transform:rotate(-6deg)}38.00%{transform:rotate(6deg)}39.00%{transform:rotate(-6deg)}40.00%{transform:rotate(6deg)}41.00%{transform:rotate(-6deg)}42.00%{transform:rotate(6deg)}43.00%{transform:rotate(-6deg)}44.00%{transform:rotate(0)}71.99%{transform:rotate(0)}72.00%{transform:rotate(6deg)}73.00%{transform:rotate(-6deg)}74.00%{transform:rotate(6deg)}75.00%{transform:rotate(-6deg)}76.00%{transform:rotate(6deg)}77.00%{transform:rotate(-6deg)}78.00%{transform:rotate(6deg)}79.00%{transform:rotate(-6deg)}80.00%{transform:rotate(6deg)}81.00%{transform:rotate(-6deg)}82.00%{transform:rotate(6deg)}83.00%{transform:rotate(-6deg)}84.00%{transform:rotate(6deg)}85.00%{transform:rotate(-6deg)}86.00%{transform:rotate(6deg)}87.00%{transform:rotate(-6deg)}88.00%{transform:rotate(0)}100%{transform:rotate(0)}}
@keyframes sp-step-b{0%{transform:rotate(0)}27.99%{transform:rotate(0)}28.00%{transform:rotate(-6deg)}29.00%{transform:rotate(6deg)}30.00%{transform:rotate(-6deg)}31.00%{transform:rotate(6deg)}32.00%{transform:rotate(-6deg)}33.00%{transform:rotate(6deg)}34.00%{transform:rotate(-6deg)}35.00%{transform:rotate(6deg)}36.00%{transform:rotate(-6deg)}37.00%{transform:rotate(6deg)}38.00%{transform:rotate(-6deg)}39.00%{transform:rotate(6deg)}40.00%{transform:rotate(-6deg)}41.00%{transform:rotate(6deg)}42.00%{transform:rotate(-6deg)}43.00%{transform:rotate(6deg)}44.00%{transform:rotate(0)}71.99%{transform:rotate(0)}72.00%{transform:rotate(-6deg)}73.00%{transform:rotate(6deg)}74.00%{transform:rotate(-6deg)}75.00%{transform:rotate(6deg)}76.00%{transform:rotate(-6deg)}77.00%{transform:rotate(6deg)}78.00%{transform:rotate(-6deg)}79.00%{transform:rotate(6deg)}80.00%{transform:rotate(-6deg)}81.00%{transform:rotate(6deg)}82.00%{transform:rotate(-6deg)}83.00%{transform:rotate(6deg)}84.00%{transform:rotate(-6deg)}85.00%{transform:rotate(6deg)}86.00%{transform:rotate(-6deg)}87.00%{transform:rotate(6deg)}88.00%{transform:rotate(0)}100%{transform:rotate(0)}}
@keyframes sp-bob{0%{transform:none}27.99%{transform:none}28.00%{transform:translateY(0px)}29.00%{transform:translateY(-1.5px)}30.00%{transform:translateY(0px)}31.00%{transform:translateY(-1.5px)}32.00%{transform:translateY(0px)}33.00%{transform:translateY(-1.5px)}34.00%{transform:translateY(0px)}35.00%{transform:translateY(-1.5px)}36.00%{transform:translateY(0px)}37.00%{transform:translateY(-1.5px)}38.00%{transform:translateY(0px)}39.00%{transform:translateY(-1.5px)}40.00%{transform:translateY(0px)}41.00%{transform:translateY(-1.5px)}42.00%{transform:translateY(0px)}43.00%{transform:translateY(-1.5px)}44.00%{transform:none}71.99%{transform:none}72.00%{transform:translateY(0px)}73.00%{transform:translateY(-1.5px)}74.00%{transform:translateY(0px)}75.00%{transform:translateY(-1.5px)}76.00%{transform:translateY(0px)}77.00%{transform:translateY(-1.5px)}78.00%{transform:translateY(0px)}79.00%{transform:translateY(-1.5px)}80.00%{transform:translateY(0px)}81.00%{transform:translateY(-1.5px)}82.00%{transform:translateY(0px)}83.00%{transform:translateY(-1.5px)}84.00%{transform:translateY(0px)}85.00%{transform:translateY(-1.5px)}86.00%{transform:translateY(0px)}87.00%{transform:translateY(-1.5px)}88.00%{transform:none}100%{transform:none}}

@media (prefers-reduced-motion: reduce) {
  .brand .spider, .footer-word .spider, .spider-bob, .sp-leg, .sp-eyes, .hang { animation: none !important; }
}

/* ---------- Brand touches: soft colour, a faint web, a little sparkle ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero::before, .page-hero::before { content: ""; position: absolute; z-index: -1; inset: -120px -10vw auto auto; width: min(620px, 70vw); height: 560px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(249, 115, 22, .16), transparent 70%) 70% 30% / 70% 70% no-repeat, radial-gradient(closest-side, rgba(20, 80, 210, .14), transparent 70%) 20% 70% / 80% 80% no-repeat; }
.hero::after, .page-hero::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: clamp(160px, 22vw, 300px); aspect-ratio: 1; pointer-events: none; opacity: .75;
  background: url("/img/web-corner.svg") top right / contain no-repeat; }
:root[data-theme="dark"] .hero::after, :root[data-theme="dark"] .page-hero::after { opacity: .5; }
:root[data-theme="dark"] .hero::before, :root[data-theme="dark"] .page-hero::before { opacity: .8; }

.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 6px; margin-right: 10px; vertical-align: .18em; border-radius: 6px; background: linear-gradient(90deg, var(--blue) 0 45%, transparent 45% 60%, var(--orange) 60%); }

.include, .shot { position: relative; }
.include::after { content: ""; position: absolute; z-index: -1; width: 92px; height: 92px; top: -16px; right: -16px; border-radius: 18px; pointer-events: none;
  background: radial-gradient(circle, rgba(20, 80, 210, .32) 1.6px, transparent 2px) 0 0 / 13px 13px; }
.split > .include:nth-child(2n)::after, .include.blue::after { top: auto; right: auto; bottom: -16px; left: -16px; background-image: radial-gradient(circle, rgba(249, 115, 22, .42) 1.6px, transparent 2px); }
.section .wrap { position: relative; z-index: 0; }
.shot::after { content: ""; position: absolute; z-index: -1; width: 120px; height: 120px; left: -18px; bottom: -18px; border-radius: 22px; pointer-events: none;
  background: radial-gradient(circle, rgba(249, 115, 22, .42) 1.6px, transparent 2px) 0 0 / 13px 13px; }
@media (max-width: 640px) { .include::after, .shot::after { display: none; } }

.sparkle { display: inline-block; width: .5em; height: .5em; margin-left: .12em; vertical-align: .55em; background: var(--orange); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sp-twinkle 3.2s infinite ease-in-out; }
@keyframes sp-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.7) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .sparkle { animation: none; } }
@media (max-width: 640px) { .hero::after, .page-hero::after { width: 150px; opacity: .45; } }

/* ---------- Dark mode: orange life (dashes, glows, sparks) ---------- */
:root[data-theme="dark"] {
  --ground: #0a1020;
}
:root[data-theme="dark"] body { background: radial-gradient(900px 520px at 100% 0, rgba(249, 115, 22, .10), transparent 60%), radial-gradient(800px 480px at 0 38%, rgba(249, 115, 22, .06), transparent 60%), var(--ground); background-attachment: scroll; }
/* A short orange dash under every section heading */
:root[data-theme="dark"] .section h2::after,
:root[data-theme="dark"] .article h2::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 16px; border-radius: 5px; background: linear-gradient(90deg, var(--orange) 0 62%, transparent 62% 74%, var(--orange) 74%); }
:root[data-theme="dark"] .band-orange h2::after, :root[data-theme="dark"] .reviews h2::after, :root[data-theme="dark"] .page-hero h2::after { display: none; }
:root[data-theme="dark"] .section h2[style*="center"]::after, :root[data-theme="dark"] .section .center h2::after { margin-left: auto; margin-right: auto; }
/* Cards get an orange edge that lights on hover */
:root[data-theme="dark"] .include, :root[data-theme="dark"] .faq-list details, :root[data-theme="dark"] .steps li, :root[data-theme="dark"] .price-list, :root[data-theme="dark"] .shot, :root[data-theme="dark"] .guide-card, :root[data-theme="dark"] .trade-links li { box-shadow: inset 0 3px 0 rgba(249, 115, 22, .75); }
:root[data-theme="dark"] .include.blue, :root[data-theme="dark"] .steps li:first-child, :root[data-theme="dark"] .price-free { box-shadow: inset 0 3px 0 var(--orange); }
:root[data-theme="dark"] .faq-list details[open] { box-shadow: inset 3px 0 0 var(--orange); }
:root[data-theme="dark"] .faq-list summary::after { color: var(--orange); }
/* Links and small details */
:root[data-theme="dark"] .article a, :root[data-theme="dark"] .lead a, :root[data-theme="dark"] .muted a { text-decoration-color: rgba(249, 115, 22, .8); text-decoration-thickness: 2px; }
:root[data-theme="dark"] .article a:hover, :root[data-theme="dark"] .lead a:hover { color: #ffb37a; }
:root[data-theme="dark"] .nav-links a[aria-current="page"] { box-shadow: 0 0 0 2px rgba(249, 115, 22, .65); }
:root[data-theme="dark"] .site-header { box-shadow: 0 1px 0 rgba(249, 115, 22, .28); }
:root[data-theme="dark"] .footer-grid h2 { color: #fff; }
:root[data-theme="dark"] .footer-grid h2::after { content: ""; display: block; width: 28px; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--orange); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid rgba(249, 115, 22, .25); }
:root[data-theme="dark"] .footer-word { background: linear-gradient(180deg, #6f9bff 40%, #f97316 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .bar i { background: linear-gradient(90deg, var(--blue), #6f9bff); }
:root[data-theme="dark"] .compare thead, :root[data-theme="dark"] table thead { box-shadow: inset 0 -3px 0 var(--orange); }
:root[data-theme="dark"] .article-cta { box-shadow: inset 0 0 0 2px rgba(249, 115, 22, .6); }
:root[data-theme="dark"] .article blockquote, :root[data-theme="dark"] .answer { border-left: 4px solid var(--orange); }
:root[data-theme="dark"] .eyebrow::before { background: linear-gradient(90deg, #6f9bff 0 45%, transparent 45% 60%, var(--orange) 60%); width: 26px; }
:root[data-theme="dark"] .hero::before, :root[data-theme="dark"] .page-hero::before { opacity: 1; background: radial-gradient(closest-side, rgba(249, 115, 22, .30), transparent 70%) 80% 20% / 80% 80% no-repeat, radial-gradient(closest-side, rgba(40, 110, 255, .22), transparent 70%) 25% 75% / 80% 80% no-repeat; }
:root[data-theme="dark"] .hero::after, :root[data-theme="dark"] .page-hero::after { opacity: .85; filter: hue-rotate(0deg) brightness(1.7); }
:root[data-theme="dark"] .include::after { background-image: radial-gradient(circle, rgba(249, 115, 22, .55) 1.6px, transparent 2px); }
:root[data-theme="dark"] .split > .include:nth-child(2n)::after, :root[data-theme="dark"] .include.blue::after { background-image: radial-gradient(circle, rgba(111, 155, 255, .55) 1.6px, transparent 2px); }
:root[data-theme="dark"] ::selection { background: var(--orange); color: #0c1a33; }
:root[data-theme="dark"] :focus-visible { outline-color: var(--orange); }
/* Floating orange glows behind a few sections */
:root[data-theme="dark"] .section { position: relative; overflow-x: clip; }
:root[data-theme="dark"] .section:nth-of-type(3n+2)::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(249, 115, 22, .16), transparent); pointer-events: none; }
:root[data-theme="dark"] .section:nth-of-type(3n)::before { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; left: -220px; top: 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(249, 115, 22, .12), rgba(40, 110, 255, .06) 60%, transparent); pointer-events: none; }
/* Little sparks scattered in the margins */
:root[data-theme="dark"] .section:nth-of-type(odd) .wrap::before { content: ""; position: absolute; right: 2%; top: 0; width: 14px; height: 14px; background: var(--orange); opacity: .8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); pointer-events: none; animation: sp-twinkle 3.6s infinite ease-in-out; }
:root[data-theme="dark"] .section:nth-of-type(even) .wrap::before { content: ""; position: absolute; right: 3%; top: 10px; width: 38px; height: 5px; border-radius: 5px; background: var(--orange); opacity: .75; pointer-events: none; box-shadow: -46px 0 0 0 rgba(249, 115, 22, .45); }
@media (prefers-reduced-motion: reduce) { :root[data-theme="dark"] .section .wrap::before { animation: none; } }
@media (max-width: 640px) { :root[data-theme="dark"] .section .wrap::before { display: none; } }
:root[data-theme="dark"] .center-head h2::after { margin-left: auto; margin-right: auto; }

/* ---------- Dark blue highlight panels (marks the useful sections) ---------- */
.include.navy, .panel-navy, .channels > div { background: var(--navy); color: #fff; }
.include.navy .checks li, .include.navy li, .include.navy h3, .include.navy .plain-list li { color: #fff; }
.include.navy .plain-list { color: #dbe6ff; }
.include.navy .muted, .channels p { color: #c9d6f2; }
.channels h3, .panel-navy h3 { color: #fff; }
.channels .tags span, .channels .tag { background: rgba(255,255,255,.12); color: #fff; }
.channels > div:nth-child(2) { background: var(--navy-2); }
.panel-navy { border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); margin: 28px 0; }
.panel-navy p { color: #dbe6ff; }
.panel-navy a { color: #ffb37a; }
.panel-navy h3 { margin-top: 26px; }
.panel-navy h3:first-child { margin-top: 0; }
.panel-navy h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--orange); margin-bottom: 10px; }
.article table { background: var(--navy); color: #fff; }
.article th { background: var(--navy-2); color: #fff; }
.article th, .article td { border-bottom-color: rgba(255,255,255,.14); }
.article td code, .article table code { background: rgba(255,255,255,.12); color: #ffd9b8; }
.article table a { color: #ffb37a; }
.article tbody tr:nth-child(even) { background: rgba(255,255,255,.05); }
.article table td:first-child { font-weight: 700; }

/* Footer links read as clickable before hover */
.footer-grid nav a { display: inline-block; padding: 4px 11px; margin-left: -11px; border-radius: 9px; color: var(--blue-ink); background: var(--surface-2); text-decoration: none; transition: background-color .15s, color .15s; }
.footer-grid nav a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.footer-grid ul { gap: 8px; }
:root[data-theme="dark"] .footer-grid nav a { color: #b9cdfd; background: rgba(111, 155, 255, .14); }
:root[data-theme="dark"] .footer-grid nav a:hover { background: var(--orange); color: #0c1a33; }
.channels .chip, .channels > div:nth-child(2) .chip { background: rgba(255,255,255,.14); color: #fff; }
.panel-navy code { background: rgba(255,255,255,.14); color: #ffd9b8; }
:root[data-theme="dark"] .footer-word { padding-bottom: .14em; padding-right: .08em; margin-bottom: -.14em; }
.article .compare td, .article .compare th { color: #fff; }
.article .compare { margin-top: 18px; background: var(--navy); }
.article .compare tbody tr:nth-child(2) { background: rgba(255,255,255,.05); }
.article .compare tbody th { font-size: 1rem; color: #fff; }

/* Home hero: three-line headline with the rotating word in the middle */
.hero h1 { font-size: clamp(2.2rem, 1rem + 3.5vw, 3.7rem); line-height: 1.04; }
.hero h1 .fixed { text-wrap: balance; }
.hero h1 .fixed.tail { color: var(--ink); }
.hero .lead strong { color: var(--ink); }
/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.stats > div { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.stats b { display: block; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #fff; }
.stats b small { font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--orange); margin-left: 4px; }
.stats p { margin-top: 14px; color: #c9d6f2; }
.stats > div:nth-child(2) b { color: #ffb37a; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }
.nav-cta { white-space: nowrap; }
.hero { padding-top: clamp(24px, 3.5vw, 56px); }
.hero .lead { margin-top: 22px; max-width: 30em; }
.hero .cta-row { margin-top: 26px; }
.hero h1 { font-size: clamp(2.1rem, 1rem + 3vw, 3.2rem); }
.hero-grid { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 .fixed { text-wrap: wrap; }
.hero h1 { font-size: clamp(2rem, .9rem + 2.8vw, 2.9rem); }
.hero h1 .fixed:not(.tail) { white-space: nowrap; }
.hero h1 .fixed.tail { text-wrap: balance; }
@media (max-width: 440px) { .hero h1 .fixed:not(.tail) { white-space: normal; text-wrap: balance; } }

/* Live report score row: dials fill and numbers count up as they scroll in */
.rep { margin-top: 40px; background: var(--surface); border-radius: var(--r-card); padding: clamp(12px, 1.6vw, 20px); display: grid; gap: 14px; }
.rep-top { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); gap: 14px; }
.rep-card { background: var(--surface-3); border-radius: var(--r-inner); padding: 22px 16px 20px; text-align: center; border-top: 5px solid var(--blue); }
.rep-card h3 { font-size: 1.5rem; letter-spacing: .01em; margin-bottom: 10px; }
.rep-card p { font-size: .9375rem; color: var(--ink-2); }
.rep-card .rep-t { font-weight: 800; color: var(--ink); margin: 10px 0 4px; }
.rep-card.seo { border-color: #2563eb; } .rep-card.seo h3 { color: #2563eb; }
.rep-card.geo { border-color: #7c3aed; } .rep-card.geo h3 { color: #7c3aed; }
.rep-card.aeo { border-color: #0d9488; } .rep-card.aeo h3 { color: #0d9488; }
.rep-main { background: var(--navy); border-top: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rep-main p { color: #c9d6f2; }
.rep-eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem !important; margin-bottom: 10px; }
.rep-grade { color: var(--orange) !important; font-size: 1.4rem !important; font-weight: 800; margin: 10px 0 4px; }
.rep-dial { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.rep-main .rep-dial { width: 170px; height: 170px; }
.ring { width: 100%; height: 100%; display: block; }
.ring circle { fill: none; stroke-width: 9; }
.ring .rt { stroke: rgba(120, 135, 165, .22); }
.ring .rv { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1); }
.rep-n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -.03em; }
.rep-main .rep-n { color: #fff; font-size: 3.2rem; }
.rep-n small { font-size: .8125rem; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.rep-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rep-mini { background: var(--surface-3); border-radius: var(--r-inner); padding: 16px; display: flex; gap: 16px; align-items: center; }
.rep-mini .rep-dial { width: 84px; height: 84px; margin: 0; flex: none; }
.rep-mini .rep-n { font-size: 1.7rem; }
.rep-mini h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.rep-mini.speed h4 { color: #b45309; } .rep-mini.mobile h4 { color: #be185d; } .rep-mini.calls h4 { color: #15803d; }
.rep-mini p { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 960px) { .rep-top { grid-template-columns: 1fr 1fr; } .rep-main { grid-column: 1 / -1; } .rep-row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rep-top { grid-template-columns: 1fr; } }
:root[data-theme="dark"] .rep { background: var(--navy-2); }
:root[data-theme="dark"] .rep-card:not(.rep-main), :root[data-theme="dark"] .rep-mini { background: #0f1f45; }
:root[data-theme="dark"] .rep-card.seo h3 { color: #6f9bff; } :root[data-theme="dark"] .rep-card.geo h3 { color: #b197fc; } :root[data-theme="dark"] .rep-card.aeo h3 { color: #2dd4bf; }
:root[data-theme="dark"] .rep-mini.speed h4 { color: #fbbf24; } :root[data-theme="dark"] .rep-mini.mobile h4 { color: #f472b6; } :root[data-theme="dark"] .rep-mini.calls h4 { color: #4ade80; }
:root[data-theme="dark"] .rep-main { background: #07142f; }
.q-intro { font-size: 1rem; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: rgba(249, 115, 22, .14); color: inherit; }
.q-intro b { color: var(--orange); }

/* Footer word: Realo walks along the tops of the letters, stepping up and down */
@keyframes sp-crawl-big {
  0%, 28% { left: calc(11.5% - var(--sw) / 2); top: 0; }
  31% { left: calc(22% - var(--sw) / 2); top: 0; }
  32% { left: calc(30% - var(--sw) / 2); top: .19em; }
  37% { left: calc(60% - var(--sw) / 2); top: .19em; }
  38% { left: calc(66% - var(--sw) / 2); top: .19em; }
  39% { left: calc(71% - var(--sw) / 2); top: 0; }
  40% { left: calc(73% - var(--sw) / 2); top: 0; }
  41% { left: calc(80% - var(--sw) / 2); top: .19em; }
  44%, 72% { left: calc(89% - var(--sw) / 2); top: .19em; }
  75% { left: calc(80% - var(--sw) / 2); top: .19em; }
  76% { left: calc(73% - var(--sw) / 2); top: 0; }
  77% { left: calc(71% - var(--sw) / 2); top: 0; }
  78% { left: calc(66% - var(--sw) / 2); top: .19em; }
  83% { left: calc(37% - var(--sw) / 2); top: .19em; }
  84% { left: calc(30% - var(--sw) / 2); top: .19em; }
  85% { left: calc(22% - var(--sw) / 2); top: 0; }
  88%, 100% { left: calc(11.5% - var(--sw) / 2); top: 0; }
}
.footer-word { --sw: clamp(54px, 7vw, 104px); }
.footer-word .spider { animation-timing-function: linear; }

/* Article extras: stat tiles in four columns, calculator, timeline */
.stats.four { grid-template-columns: repeat(4, 1fr); margin: 32px 0; gap: 14px; }
.stats.four > div { padding: 22px 20px; }
.stats.four b { font-size: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); }
.stats.four p { font-size: .9375rem; margin-top: 10px; }
@media (max-width: 960px) { .stats.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats.four { grid-template-columns: 1fr; } }

.calc { background: var(--navy); color: #fff; border-radius: var(--r-card); padding: clamp(22px, 3vw, 34px); margin: 28px 0; }
.calc h3 { color: #fff; margin: 0 0 16px; font-size: 1.3rem; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc label { display: block; font-size: .9375rem; font-weight: 600; color: #c9d6f2; }
.calc .in { display: flex; align-items: center; margin-top: 8px; background: #fff; border-radius: 14px; padding: 0 14px; border: 2px solid transparent; }
.calc .in:focus-within { border-color: var(--orange); }
.calc .in i { font-style: normal; font-weight: 800; color: #3a475e; margin-right: 6px; }
.calc input { width: 100%; border: 0; background: transparent; font: 700 1.25rem var(--font); color: #0c1a33; padding: 14px 0; outline: none; }
.calc-out { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.calc-num b { display: block; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -.04em; color: #ffb37a; }
.calc-num span { color: #c9d6f2; font-weight: 600; }
.calc-out p { flex: 1 1 260px; color: #fff; margin: 0; }
@media (max-width: 720px) { .calc-grid { grid-template-columns: 1fr; } }

.plan90 { list-style: none; padding: 0; margin: 24px 0; position: relative; counter-reset: tl; }
.plan90::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--orange), var(--blue)); border-radius: 3px; opacity: .45; }
.plan90 li { display: block; grid-template-columns: none; position: relative; margin: 0 0 14px; padding: 16px 20px 16px 62px; background: var(--surface); border-radius: var(--r-inner); counter-increment: tl; }
.plan90 li::before { content: counter(tl); position: absolute; left: 6px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--ground); }
.plan90 .when { display: block; font-weight: 800; color: var(--blue-text); margin-bottom: 2px; }
:root[data-theme="dark"] .plan90 li { background: #0f1f45; }
:root[data-theme="dark"] .plan90 .when { color: #ffb37a; }
:root[data-theme="dark"] .plan90 li::before { box-shadow: 0 0 0 6px var(--ground); }

/* Article checklist: tick boxes, count and bar fill */
.lchk-list { display: grid; gap: 10px; }
.lchk-list label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .2s; }
.lchk-list label:hover { background: rgba(255, 255, 255, .14); }
.lchk-list input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #8fa6d9; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.lchk-list input:checked { background: var(--orange); border-color: var(--orange); }
.lchk-list input:checked { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230c1a33' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.lchk-list input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lchk-bar { flex: 1 1 200px; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.lchk-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--orange); transition: width .5s var(--ease); }
.article code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
:root[data-theme="dark"] .article code { background: #13306e; }
