/* Archivo, self-hosted (variable: weight 400-800, width 62-125%) */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url('../fonts/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url('../fonts/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0F1E3D;
  --navy-2: #172A52;
  --navy-deep: #0A1530;
  --mist: #F3F5FA;
  --white: #FFFFFF;
  --ink: #0F1E3D;
  --muted: #56627A;
  --line: #DDE2EC;
  --coral: #FF6B5B;
  --coral-hover: #FF8273;
  --coral-text: #C93C29;
  --coral-tint: #FFF0EE;
  --green: #157A4B;
  --font: 'Archivo', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }

body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
h1, h2, h3, .logo, .big { font-stretch: 112%; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; }
section { padding-block: 104px; }
.intro { max-width: 40em; color: var(--muted); font-size: 1.12rem; margin: 0; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 56px; }

/* Placeholders: anything inside .todo still needs your real content */
.todo { background: #FFF1C9; color: #5A3E00; padding: 0 4px; border-radius: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-coral { background: var(--coral); color: var(--navy); }
.btn-coral:hover { background: var(--coral-hover); }
.btn-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-light:hover { border-color: var(--white); }
.btn-dark { border-color: var(--navy); color: var(--navy); }
.btn-dark:hover { background: var(--navy); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 20px; height: 26px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 0.98rem; }
.site-nav a { text-decoration: none; opacity: 0.82; }
.site-nav a:hover { opacity: 1; }
.site-nav .btn { opacity: 1; padding: 10px 18px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.cta-short { display: none; }
@media (max-width: 420px) {
  .site-nav .cta-long { display: none; }
  .site-nav .cta-short { display: inline; }
}

/* Menu button: phones and tablets only (see the 980px breakpoint) */
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; padding: 0; background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 10px; cursor: pointer; }
.menu-btn:hover { border-color: var(--white); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding-block: 72px 112px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); margin: 0 0 22px; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-weight: 800; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 26px; }
.hero .lead { font-size: 1.2rem; line-height: 1.55; max-width: 33em; margin: 0 0 36px; color: rgba(255, 255, 255, 0.82); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ''; width: 12px; height: 7px; border-left: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(-45deg) translateY(-2px); }

/* The search illustration: a phone, with your venue rising to the top */
.phone { background: #050B1A; border-radius: 52px; padding: 11px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 40px 80px -30px rgba(0, 0, 0, 0.75); }
.screen { position: relative; background: var(--white); color: var(--ink); border-radius: 42px; overflow: hidden; }
.status { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 28px 0; font-size: 0.82rem; font-weight: 700; background: #EAEEF4; }
.island { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 16px; background: #050B1A; }
.status-icons { display: inline-flex; gap: 5px; align-items: center; }
.status-icons svg { height: 10px; width: auto; fill: currentColor; }
.map { position: relative; height: 176px; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.search-bar { position: absolute; left: 12px; right: 12px; top: 8px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 4px 14px -4px rgba(15, 30, 61, 0.3); font-size: 0.95rem; }
.search-bar svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.search-bar .query { min-width: 0; white-space: nowrap; overflow: hidden; }
.sheet { position: relative; margin-top: -18px; padding: 10px 12px 12px; background: var(--white); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 18px -10px rgba(15, 30, 61, 0.3); }
.grab { display: block; width: 38px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 10px; }
.sheet-title { margin: 0 4px 10px; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.result { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 70px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.result .thumb { width: 44px; height: 44px; border-radius: 10px; background: #E9EDF4; }
.result .info { display: grid; min-width: 0; }
.result .name, .result .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .name { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.result .meta { font-size: 0.78rem; color: var(--muted); }
.result .meta .open { color: var(--green); font-weight: 600; }
.result .ad-label { font-size: 0.66rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; line-height: 1; margin-bottom: 3px; }
.result .action { font-size: 0.74rem; font-weight: 700; padding: 6px 9px; border-radius: 8px; background: #EEF1F6; color: var(--muted); white-space: nowrap; }
.result.yours { border: 2px solid var(--coral); background: var(--coral-tint); position: relative; z-index: 1; }
.result.yours .thumb { background: var(--coral); display: grid; place-items: center; }
.result.yours .thumb svg { width: 17px; height: 22px; }
.result.yours .action { background: var(--navy); color: var(--white); }
.result.other .name { color: var(--muted); }
.home-bar { display: block; width: 110px; height: 5px; border-radius: 3px; background: var(--ink); margin: 14px auto 0; opacity: 0.85; }
.search-note { margin: 14px 0 0; text-align: center; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
@keyframes rise { from { transform: translateY(156px); } to { transform: translateY(0); } }
@keyframes shuffle-down { from { transform: translateY(-78px); } to { transform: translateY(0); } }
.result.yours { animation: rise 1.1s cubic-bezier(.22, .8, .25, 1) 0.7s both; }
.result.other { animation: shuffle-down 1.1s cubic-bezier(.22, .8, .25, 1) 0.7s both; }
/* Typing caret: only shown while the search is being typed (added by JavaScript) */
.caret { display: none; width: 2px; height: 1.15em; margin-left: -10px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.search.is-typing .caret { display: inline-block; }
.search.js-anim .result { animation: none; }
@keyframes blink { 50% { opacity: 0; } }

/* Client strip */
.clients { padding-block: 40px; border-bottom: 1px solid var(--line); }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.clients p { margin: 0; font-weight: 600; color: var(--muted); }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 52px; align-items: center; }
.logos img { width: auto; max-width: 100%; }
/* Client logos are drawn at different sizes so they look equally weighted */
.logos .logo-roti-and-spice { height: 38px; }
.logos .logo-mug-shot { height: 44px; border-radius: 6px; }
.logos .logo-brush-and-lever { height: 72px; }

/* Why it matters */
.why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.stat { background: var(--navy); color: var(--white); border-radius: 20px; padding: 44px 40px; }
.stat .big { font-weight: 800; font-size: clamp(4rem, 9vw, 6.5rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--coral); margin: 0 0 16px; }
.stat p { margin: 0; font-size: 1.2rem; max-width: 22em; }
.stat .source { margin-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.points li { padding-left: 22px; border-left: 3px solid var(--coral); }
.points strong { display: block; font-size: 1.1rem; }
.points span { color: var(--muted); }

/* Profile fixes: a Google profile on a phone, put right one fix at a time.
   Everything shows in its fixed state unless home.js adds .js to the section. */
.fix { background: var(--navy); color: var(--white); padding-block: 44px; overflow: hidden; }
.fix .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.fix .intro { color: rgba(255, 255, 255, 0.8); }
.fix .more-link { color: var(--coral); }
.fix-note { margin: -6px 0 24px; color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; line-height: 1.55; }
.fix-steps { list-style: none; padding: 0; margin: 28px 0 26px; display: grid; gap: 16px; }
.fix-steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
.fix-steps strong, .fix-steps span { transition: color .35s ease; }
.fix-steps li::before { content: ''; grid-row: span 2; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--coral); background: var(--coral) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 12.5l3.5 3.5 7.5-8" fill="none" stroke="%230F1E3D" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 16px no-repeat; transition: background-color .3s ease, border-color .3s ease; }
.fix-steps strong { font-size: 1.12rem; line-height: 1.35; }
.fix-steps span { color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; }
.fix.js .fix-steps li:not(.done) strong { color: rgba(255, 255, 255, 0.6); }
.fix.js .fix-steps li:not(.done) span { color: rgba(255, 255, 255, 0.55); }
.fix.js .fix-steps li:not(.done)::before { background-color: transparent; background-image: none; border-color: rgba(255, 255, 255, 0.35); }

.fix-stage { justify-self: center; width: 100%; max-width: 330px; perspective: 1200px; }
.fix-tally { margin: 18px 0 0; text-align: center; font-weight: 700; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.fix-count { color: var(--coral); font-variant-numeric: tabular-nums; }
.p-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 124px; }
.p-photos span { background: linear-gradient(135deg, #F6C9A8, #E0875E); }
.p-photos span:first-child { grid-row: span 2; background: linear-gradient(140deg, #F3D9B1, #D9A066 60%, #B8673E); }
.p-photos span:last-child { background: linear-gradient(135deg, #DDE6F2, #9FB2CF); }
.p-head { padding: 12px 16px 10px; }
.p-name { margin: 0; font-weight: 800; font-size: 1.12rem; line-height: 1.25; }
.p-meta { margin: 2px 0 0; font-size: 0.78rem; color: var(--muted); }
.p-stars { color: #E9A23B; letter-spacing: 1px; }
.p-actions { display: flex; gap: 6px; padding: 0 16px 12px; }
.p-actions span { font-size: 0.72rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: #EEF1F6; color: var(--ink); }
.p-actions span:first-child { background: var(--navy); color: var(--white); }
.p-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 0.78rem; }
.p-row:last-child { border-bottom: 1px solid var(--line); }
.p-row > svg { width: 18px; height: 18px; color: var(--muted); }
.p-row strong { display: block; font-size: 0.85rem; line-height: 1.3; }
.warn { color: var(--coral-text); font-weight: 600; }
.warn::before { content: '! '; font-weight: 800; }
.ok { color: var(--green); font-weight: 600; }
.p-review { margin: 10px 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.76rem; line-height: 1.45; }
.p-review p { margin: 0 0 6px; }
.p-who { display: flex; justify-content: space-between; font-weight: 700; }
.p-reply { display: block; padding: 6px 8px; border-radius: 8px; border-left: 3px solid var(--coral); background: var(--mist); color: var(--muted); }
.p-reply strong { display: block; color: var(--ink); }
.profile .home-bar { margin-top: 12px; margin-bottom: 8px; }

/* Before and after sit on top of each other; the fixed version shows unless the step isn't done yet */
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; align-self: start; transition: opacity .35s ease, transform .35s ease; }
.swap > .was { opacity: 0; }
.fix.js [data-fix]:not(.done) .swap > .was { opacity: 1; }
.fix.js [data-fix]:not(.done) .swap > .now { opacity: 0; transform: translateY(6px); }
.fix.js .done:is(.p-head, .p-row, .p-review) { animation: fix-flash 1.2s ease; }
@keyframes fix-flash { from { background-color: var(--coral-tint); } to { background-color: transparent; } }

/* Search demand by city */
.demand { min-height: calc(100vh - var(--header-h, 86px)); min-height: calc(100svh - var(--header-h, 86px)); display: flex; align-items: stretch; padding-block: 24px; background: var(--mist); }
.demand .wrap { width: min(1280px, 100% - 48px); display: flex; }
.demand-card { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--navy); color: var(--white); border-radius: 28px; padding: clamp(32px, 5vw, 72px); text-align: center; }
.demand-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--coral); }
.demand-line { margin: 0 auto; font-size: clamp(1.25rem, 2.8vw, 2.1rem); font-weight: 600; max-width: 30em; }
.demand-city { color: var(--coral); }
.demand-num { margin: 14px 0; line-height: 1; }
.demand-count { font-weight: 800; font-size: clamp(3.2rem, min(12vw, 20vh), 11rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.demand-unit { font-weight: 700; font-size: clamp(1.25rem, 2.8vw, 2.1rem); color: rgba(255, 255, 255, 0.75); }
.demand-sub { margin: 0 auto 40px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.8); max-width: 34em; }
.demand-sub strong { color: var(--white); }
.demand-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.demand-cities button { font: inherit; font-weight: 700; font-size: 1rem; padding: 12px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.25); background: transparent; color: var(--white); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.demand-cities button:hover { border-color: var(--coral); }
.demand-cities button[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--navy); }
.demand-cities button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.demand-source { margin: 36px auto 0; max-width: 46em; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* Stylised street map behind the figures, with search pings on desktop (home.js) */
.demand-card { position: relative; overflow: hidden; isolation: isolate; }
.demand-card > :not(.demand-map) { position: relative; z-index: 1; }
.demand-map { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.demand-map svg { width: 100%; height: 100%; display: block; }
.demand-map .river { fill: none; stroke: rgba(120, 160, 230, 0.12); stroke-width: 34; stroke-linecap: round; }
.demand-map .roads path { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 5; }
.demand-map .streets path { fill: none; stroke: rgba(255, 255, 255, 0.035); stroke-width: 1.5; }
.demand-map .pins circle { fill: var(--coral); opacity: 0.35; }
/* Fade the map out behind the text so the figures stay easy to read */
.demand-map::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 60% at 50% 50%, var(--navy) 35%, rgba(15, 30, 61, 0.6) 70%, rgba(15, 30, 61, 0) 100%); }
.demand-pings { position: absolute; inset: 0; z-index: 1; }
.ping { position: absolute; width: 0; height: 0; }
.ping::before, .ping::after { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.ping::before { animation: ping-dot 2.6s ease-out forwards; }
.ping::after { background: transparent; border: 2px solid var(--coral); animation: ping-ring 1.4s ease-out forwards; }
.ping-label { position: absolute; top: -14px; left: 14px; white-space: nowrap; font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); animation: ping-label 2.6s ease-out forwards; }
.ping.right .ping-label { left: auto; right: 14px; }
@keyframes ping-dot { 0% { transform: scale(0); opacity: 1; } 12% { transform: scale(1); } 70% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes ping-ring { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(4.5); opacity: 0; } }
@keyframes ping-label { 0% { opacity: 0; transform: translateY(4px); } 12%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Services */
.services-section { background: var(--mist); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--white); border-radius: 18px; padding: 36px 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.service.feature { background: var(--navy); color: var(--white); border-color: var(--navy); }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--coral-tint); display: grid; place-items: center; margin-bottom: 26px; }
.service.feature .icon { background: var(--coral); }
.icon svg { width: 26px; height: 26px; }
.service h3 { font-weight: 800; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.service p { margin: 0 0 22px; color: var(--muted); }
.service.feature p { color: rgba(255, 255, 255, 0.8); }
.service .price { margin: -2px 0 16px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.service .price strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--coral-text); }
.service.feature .price { color: var(--white); }
.service.feature .price strong { color: var(--coral); }
.service ul { list-style: none; padding: 22px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.97rem; }
.service.feature ul { border-top-color: rgba(255, 255, 255, 0.16); }
.service li { padding-left: 20px; position: relative; }
.service li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* SEO over time */
.seo-time { border-top: 1px solid var(--line); }
.tracking { border-top: 1px solid var(--line); }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.seo-chart { position: relative; margin: 36px 0 0; padding-top: 26px; }
.seo-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.seo-grid-line { stroke: var(--line); stroke-width: 2; fill: none; }
.seo-area { fill: var(--coral-tint); }
.seo-line { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; }
.seo-label { position: absolute; left: 0; top: 0; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.seo-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.seo-note { margin: 24px 0 0; font-size: 0.85rem; color: var(--muted); max-width: 34em; }
.roadmap { position: relative; padding-left: 44px; }
.roadmap-line { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--coral); transform-origin: top; }
.roadmap ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.roadmap li { position: relative; display: grid; gap: 2px; }
.roadmap .dot { position: absolute; left: -41px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--coral); }
.roadmap li.last .dot { background: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.roadmap .when { font-size: 0.82rem; font-weight: 700; color: var(--coral-text); text-transform: uppercase; letter-spacing: 0.04em; }
.roadmap strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.015em; }
.roadmap .what { color: var(--muted); font-size: 0.98rem; }

/* Tracking */
.tracking .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.checks.dark li::before { border-color: var(--coral-text); }
.tracking .checks { margin-bottom: 32px; }
.report-row { grid-column: 1 / -1; display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 24px; align-items: stretch; margin-top: 16px; }
.r-label { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.old-report { background: var(--mist); border-radius: 18px; padding: 28px; color: var(--muted); }
.old-report ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.old-report li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.old-report s { font-weight: 800; font-size: 1.3rem; text-decoration-color: var(--coral-text); text-decoration-thickness: 2px; }
.old-report p { margin: 0; font-size: 0.95rem; }
.report { background: var(--navy); color: var(--white); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(15, 30, 61, 0.55); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.report .r-label { color: var(--coral); }
.report-tag { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.75); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 24px; }
.kpis > div { background: var(--navy-2); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.kpis .rev { background: var(--coral); color: var(--navy); }
.report .k { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.kpis .rev .k { color: rgba(15, 30, 61, 0.85); }
.kpis .v { font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.channels-title { margin: 0 0 10px; }
.channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.channels li { display: grid; grid-template-columns: 130px 1fr 64px; gap: 12px; align-items: center; font-size: 0.92rem; }
.channels .track { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.channels .fill { display: block; height: 100%; border-radius: 5px; background: var(--coral); transform-origin: left; }
.channels .amt { text-align: right; font-weight: 700; }
.report-note { margin: 18px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
section[id] { scroll-margin-top: 96px; }
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.journey li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.journey li:not(:last-child)::after { content: ''; position: absolute; left: 41px; bottom: -29px; width: 2px; height: 28px; background: var(--coral); transform-origin: top; transform: scaleY(var(--draw, 1)); }
.journey .n { width: 44px; height: 44px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-weight: 800; }
.journey strong { display: block; font-size: 1.1rem; }
.journey li > span:last-child span { color: var(--muted); font-size: 0.95rem; }
.journey li.money { background: var(--navy); color: var(--white); border-color: var(--navy); }
.journey li.money .n { background: var(--coral); color: var(--navy); }
.journey li.money > span:last-child span { color: rgba(255, 255, 255, 0.75); }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.case-top { background: var(--navy); color: var(--white); padding: 28px 30px 30px; }
.case .tag { display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; font-weight: 700; padding: 9px 16px 9px 13px; border-radius: 999px; background: rgba(255, 107, 91, 0.16); color: var(--coral); margin-bottom: 26px; }
.case .tag svg { width: 18px; height: 18px; flex: none; }
.case .big { font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.035em; color: var(--coral); margin: 0 0 10px; }
.case .metric { font-weight: 600; font-size: 1.05rem; margin: 0; color: rgba(255, 255, 255, 0.88); }
.case-body { padding: 26px 30px 28px; display: flex; flex-direction: column; flex: 1; }
.case-body p { margin: 0 0 18px; color: var(--muted); }
.case .case-note { font-size: 0.82rem; margin: -6px 0 18px; }
.case .venue { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; display: flex; align-items: center; gap: 12px; }
.case .venue { justify-content: space-between; }
.case .venue img { width: auto; }
.case .venue .logo-mug-shot { height: 34px; border-radius: 5px; }
.case .venue .logo-roti-and-spice { height: 30px; }
.case .venue .loc { font-size: 0.88rem; font-weight: 600; color: var(--muted); text-align: right; }

/* Free review + docket */
.review { background: var(--navy); color: var(--white); }
.review .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.review .intro { color: rgba(255, 255, 255, 0.8); }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }
.docket { background: var(--white); color: var(--ink); border-radius: 6px; padding: 28px 28px 32px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55); transform: rotate(-1.5deg); max-width: 440px; justify-self: center; position: relative; }
.docket::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--white) 8.5px) repeat-x; background-size: 16px 10px; }
.docket h3 { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 4px; }
.docket .sub { font-size: 0.9rem; color: var(--muted); margin: 0 0 18px; padding-bottom: 16px; border-bottom: 2px dashed var(--line); }
.docket ol { margin: 0; padding: 0; list-style: none; counter-reset: item; display: grid; gap: 14px; }
.docket li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 0.98rem; line-height: 1.45; }
.receipt-sum { margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--line); display: grid; gap: 6px; }
.receipt-sum .line { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; color: var(--muted); }
.receipt-sum .line.total { margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--navy); color: var(--ink); font-weight: 800; font-stretch: 112%; font-size: 1.45rem; letter-spacing: -0.01em; }
.receipt-sum .line.total span:last-child { color: var(--coral-text); text-transform: uppercase; }
.receipt-sum .thanks { margin: 14px 0 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.docket li::before { counter-increment: item; content: counter(item); font-weight: 800; color: var(--coral-text); }

/* Process: a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 3px solid var(--navy); padding-top: 22px; }
.steps li::before { counter-increment: step; content: counter(step); display: block; font-weight: 800; font-stretch: 112%; font-size: 2.8rem; line-height: 1; margin-bottom: 14px; color: var(--coral-text); }
.steps h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Founder */
.founder { background: var(--mist); }
.founder .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border-bottom: 6px solid var(--coral); }
.founder p { max-width: 38em; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.credentials span { font-size: 0.92rem; font-weight: 600; padding: 8px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 700; font-size: 1.12rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--coral-text); border-bottom: 2.5px solid var(--coral-text); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details p { margin: 0 0 24px; color: var(--muted); max-width: 40em; }

/* Closing call to action */
.cta { background: var(--navy); color: var(--white); }
.cta .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.cta h2 { max-width: 14em; }
.cta .intro { color: rgba(255, 255, 255, 0.8); margin-bottom: 36px; }
.card { background: var(--navy-2); border-radius: 18px; padding: 32px; }
.card .who { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.card .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--coral); }
.card .name { font-weight: 800; font-size: 1.15rem; }
.card .role { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.card a { display: block; text-decoration: none; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.9); }
.card a:hover { color: var(--coral); }
.cta .wrap:has(.enquiry) { grid-template-columns: 0.85fr 1.15fr; align-items: start; }

/* Free review enquiry form */
.enquiry { background: var(--white); color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55); display: grid; gap: 16px; scroll-margin-top: 96px; }
.enquiry h3 { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; margin: 0 0 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 1px; border-color: var(--navy); background: var(--white); }
.field input:user-invalid { border-color: var(--coral-text); }
.enquiry .btn { width: 100%; cursor: pointer; font-family: inherit; margin-top: 4px; }
.form-note { margin: 0; font-size: 0.88rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--coral-text); }

/* Footer */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
footer .footer-h { font-weight: 700; font-stretch: 100%; line-height: 1.6; letter-spacing: 0; margin: 0 0 14px; font-size: 1rem; color: var(--white); }
footer p { margin: 0 0 8px; }
footer a { text-decoration: none; }
footer a:hover, footer .footer-btn:hover { color: var(--white); }
footer .footer-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
footer .logo { color: var(--white); margin-bottom: 14px; }
footer .footer-contact:first-of-type { margin-top: 20px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; font-size: 0.88rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .result.yours, .result.other { animation: none; }
  .swap > *, .fix-steps strong, .fix-steps span, .fix-steps li::before { transition: none; }
  summary::after { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .why .wrap, .fix .wrap, .tracking .wrap, .review .wrap, .founder .wrap, .faq .wrap, .cta .wrap { grid-template-columns: 1fr; gap: 48px; }
  .services, .cases, .cases.two, .steps { grid-template-columns: 1fr; }
  .cta .wrap:has(.enquiry) { grid-template-columns: 1fr; }
  .report-row { grid-template-columns: 1fr; }
  .seo-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .founder .photo { max-width: 300px; }
  .site-nav { gap: 12px; }
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; }
  .site-header.nav-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 100%); overflow-y: auto; padding: 4px max(24px, (100% - 1160px) / 2) 20px; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
  .site-header.nav-open .nav-links a { padding: 14px 0; font-size: 1.1rem; opacity: 1; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .site-header.nav-open .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .wrap { width: min(1160px, 100% - 32px); }
  .site-header .wrap { gap: 12px; }
  .site-header .logo { font-size: 1.3rem; }
  .site-nav .btn { padding: 10px 14px; font-size: 0.92rem; }
  .site-header.nav-open .nav-links { padding-inline: 16px; }
  section { padding-block: 72px; }
  .demand { padding-block: 24px; }
  .demand .wrap { width: min(1160px, 100% - 32px); }
  .demand-unit { display: block; margin-top: 8px; }
  .seo-line { stroke-width: 9; }
  .hero { padding-block: 44px 72px; }
  .docket { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .enquiry { padding: 24px 20px; }
  .stat { padding: 32px 26px; }
  .report-row { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .rev { grid-column: 1 / -1; }
  .channels li { grid-template-columns: 96px 1fr 58px; font-size: 0.85rem; }
}

/* Mobile simplification: shorter copy, less detail by default, tap to see more */
.m-only, .more-btn, .mobile-cta { display: none; }
@media (max-width: 700px) {
  .m-only { display: inline; }
  .m-hide { display: none; }
  section { padding-block: 56px; }
  .head { margin-bottom: 28px; }
  h2 { font-size: 2rem; margin-bottom: 12px; }
  .intro { font-size: 1.02rem; }

  /* Hero: smaller phone illustration */
  .hero { padding-block: 36px 48px; }
  .hero .wrap { gap: 36px; }
  .hero h1 { margin-bottom: 18px; }
  .hero .lead { font-size: 1.08rem; margin-bottom: 26px; }

  /* Logos: one tidy row of smaller logos */
  .clients { padding-block: 24px; }
  .clients .wrap { gap: 14px; }
  .clients p { font-size: 0.9rem; }
  .logos { gap: 18px 26px; }
  .logos li { zoom: 0.72; }

  /* Why: headline points only */
  .why .wrap { gap: 32px; }
  .stat { padding: 26px 24px; }
  .stat .big { font-size: 3.6rem; margin-bottom: 10px; }
  .stat p { font-size: 1.05rem; }
  .points { gap: 14px; margin-top: 20px; }
  .points span { display: none; }

  /* Profile fixes: headline per fix, smaller phone */
  .fix { padding-block: 56px; }
  .fix .wrap { gap: 36px; }
  .fix-steps { gap: 12px; margin: 24px 0 22px; }
  .fix-steps span { display: none; }
  .fix-stage { max-width: 290px; }

  /* Services: lists open on tap */
  .services-section .head .btn, .services-section .intro { display: none; }
  .services { gap: 14px; }
  .service { padding: 24px 22px; }
  .service .icon { margin-bottom: 14px; }
  .service h3 { font-size: 1.3rem; margin-bottom: 8px; }
  .service p { margin-bottom: 14px; }
  .service ul { display: none; padding-top: 16px; margin-top: 14px; }
  .service.open ul { display: grid; }
  .more-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--coral-text); cursor: pointer; }
  .service.feature .more-btn { color: var(--coral); }
  .more-btn::after { content: '+'; font-size: 1.2rem; line-height: 1; }
  .service.open .more-btn::after { content: '\2212'; }

  /* SEO roadmap: month and headline only */
  .seo-grid { gap: 32px; }
  .roadmap ol { gap: 18px; }
  .roadmap .what { display: none; }
  .seo-chart { display: none; }
  .seo-note { margin-top: 12px; }
  .roadmap strong { font-size: 1.08rem; }

  /* Tracking: the journey and the example report, nothing else */
  .tracking .wrap { gap: 28px; }
  .tracking .checks, .old-report { display: none; }
  .journey { gap: 18px; }
  .journey li { padding: 12px 14px; grid-template-columns: 36px 1fr; gap: 12px; }
  .journey .n { width: 36px; height: 36px; }
  .journey li:not(:last-child)::after { left: 31px; bottom: -19px; height: 18px; }
  .journey strong { font-size: 1rem; }
  .report-row { margin-top: 0; }
  .report { padding: 22px 20px; }

  /* Results: swipe sideways instead of scrolling past three long cards */
  #results .wrap { overflow: visible; }
  .cases { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .cases::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 86%; scroll-snap-align: start; }
  .case-top { padding: 22px 22px 24px; }
  .case .tag { margin-bottom: 18px; font-size: 0.88rem; }
  .case .big { font-size: 2.8rem; }
  .case-body { padding: 20px 22px 22px; font-size: 0.97rem; }
  .swipe-hint { font-weight: 600; color: var(--coral-text); white-space: nowrap; }

  /* Free review: the receipt says it all */
  .review .wrap { gap: 36px; }
  .review .checks { display: none; }
  .review .intro { margin-bottom: 26px; }
  .docket { padding: 22px 20px 26px; }

  /* How it works: compact numbered list */
  .steps { gap: 18px; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding-top: 16px; }
  .steps li::before { grid-row: span 2; font-size: 2rem; margin: 0; }
  .steps h3 { margin-bottom: 4px; }

  /* Founder: small photo beside the name */
  .founder .wrap { gap: 22px; }
  .founder .photo { width: 120px; height: 120px; object-fit: cover; object-position: top; border-radius: 50%; }
  .credentials { margin-top: 18px; }

  /* FAQ */
  .faq .wrap { gap: 20px; }
  summary { padding: 18px 0; font-size: 1.02rem; }

  /* Footer: Services and Company side by side, with room to tap */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  footer p a, footer .footer-btn { display: inline-block; padding-block: 6px; }
  .legal { flex-direction: column; gap: 8px; }

  /* Sticky booking bar, shown after the hero and hidden near the contact section */
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 30, 61, 0.96); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.4); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .mobile-cta.show { transform: none; visibility: visible; transition: transform .25s ease; }
  .mobile-cta .btn { width: 100%; }
}

/* ===== Inner pages (services, results, about) ===== */
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--coral-text); text-decoration: none; }
.more-link::after { content: '\2192'; transition: transform .15s ease; }
.more-link:hover::after { transform: translateX(3px); }
.service .more-link { margin-top: 22px; }
.service.feature .more-link { color: var(--coral); }
.site-nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Page header */
.page-hero { background: var(--navy); color: var(--white); padding-block: 56px 88px; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -0.035em; margin: 0 0 22px; max-width: 15em; }
.page-hero .lead { font-size: 1.2rem; line-height: 1.55; max-width: 36em; margin: 0 0 34px; color: rgba(255, 255, 255, 0.82); }
.hero-price { margin: -10px 0 30px; max-width: 36em; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-price strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--coral); }
.crumbs { margin: 0 0 30px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255, 255, 255, 0.35); }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, 0.8); }
.crumbs a:hover { color: var(--white); }

/* "What's included" in detail */
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.included li { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 26px; }
.included h3 { font-weight: 800; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 10px; display: flex; gap: 12px; align-items: baseline; }
.included h3::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); transform: translateY(-2px); }
.included p { margin: 0; color: var(--muted); }
.tinted { background: var(--mist); }

/* Two columns: text and a side card */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: start; }
.prose p { margin: 0 0 18px; max-width: 38em; }
.prose p:last-child { margin-bottom: 0; }
.side-card { background: var(--navy); color: var(--white); border-radius: 18px; padding: 32px; }
.side-card h3 { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.015em; margin: 0 0 6px; }
.side-card .checks { margin: 18px 0 0; }
.side-card p { margin: 0; color: rgba(255, 255, 255, 0.8); }

/* Single case study card on a service page */
.cases.one { grid-template-columns: minmax(0, 560px); }
.cases.two { grid-template-columns: repeat(2, 1fr); }

/* Other services */
.page-links { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.page-link { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; background: var(--white); transition: border-color .15s ease; }
.page-link:hover { border-color: var(--coral); }
.page-link strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; font-stretch: 112%; }
.page-link span { color: var(--muted); }
.page-link .more-link { margin-top: 6px; color: var(--coral-text); }

/* Full case studies */
.case-full { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); }
.case-full + .case-full { margin-top: 40px; }
.case-full .case-top { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; padding: 36px 40px; }
.case-full .case-top h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 6px; }
.case-full .where { margin: 0; color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.case-full .result-num { text-align: right; }
.case-full .result-num .big { margin: 0; }
.case-full .result-num .metric { max-width: 18em; margin-left: auto; }
.case-full .tag { margin-bottom: 18px; }
.case-logo { display: inline-block; background: var(--white); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; }
.case-logo img { width: auto; }
.case-logo .logo-mug-shot { height: 40px; border-radius: 4px; }
.case-logo .logo-roti-and-spice { height: 34px; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 36px 40px; }
.case-cols h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral-text); margin: 0 0 10px; font-stretch: 100%; }
.case-cols p { margin: 0 0 12px; color: var(--muted); }
.case-cols ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.case-quote { margin: 0 40px 36px; padding: 24px 28px; border-left: 4px solid var(--coral); background: var(--mist); border-radius: 0 14px 14px 0; }
.case-quote p { margin: 0 0 8px; font-size: 1.12rem; font-weight: 600; }
.case-quote cite { font-style: normal; font-size: 0.92rem; color: var(--muted); background: none; padding: 0; }
.case-full .case-note { margin: -12px 40px 30px; font-size: 0.85rem; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.facts li { border-top: 3px solid var(--navy); padding-top: 16px; }
.facts strong { display: block; font-size: 1.1rem; font-weight: 800; font-stretch: 112%; }
.facts span { color: var(--muted); }

@media (max-width: 980px) {
  .included, .page-links, .split, .case-cols, .about-grid { grid-template-columns: 1fr; }
  .split, .about-grid { gap: 40px; }
  .case-full .case-top { grid-template-columns: 1fr; }
  .case-full .result-num { text-align: left; }
  .case-full .result-num .metric { margin-left: 0; }
  .about-grid .photo { max-width: 300px; }
}
@media (max-width: 700px) {
  .page-hero { padding-block: 32px 56px; }
  .page-hero .lead { font-size: 1.08rem; }
  .crumbs { margin-bottom: 20px; }
  .included li { padding: 22px; }
  .case-full .case-top, .case-cols { padding: 26px 22px; }
  .case-cols { gap: 22px; }
  .case-quote { margin: 0 22px 26px; padding: 18px 20px; }
  .case-full .case-note { margin: -8px 22px 24px; }
  .facts { grid-template-columns: 1fr; }
  .cases.one .case { flex-basis: 100%; }
}

/* Homepage FAQ: heading on top, questions in two themed blocks */
.faq.faq-split .wrap { display: block; }
.faq-head { margin-bottom: 48px; }
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.faq-group { background: var(--mist); border-radius: 18px; padding: 28px 32px 8px; }
.faq-group h3 { margin: 0 0 6px; font-size: 0.85rem; font-weight: 700; font-stretch: 100%; text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral-text); }
.faq-group .faq-list { border-top: 0; }
.faq-group details:last-child { border-bottom: 0; }
@media (max-width: 980px) {
  .faq-groups { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .faq-head { margin-bottom: 24px; }
  .faq-group { padding: 20px 20px 4px; }
}

/* Homepage teasers: services and tracking in brief, with the detail on services.html and tracking.html */
.services-lite { background: var(--mist); }
.services-lite .head { margin-bottom: 36px; }
.page-links.three { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
.page-link .price { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.page-link .price b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--coral-text); }
.page-links.three .page-link .more-link { margin-top: auto; padding-top: 6px; }
.tracking-lite .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.tracking-lite .intro { margin-bottom: 10px; }
.tracking-lite .integrations { font-size: 0.95rem; color: var(--muted); margin: 0 0 24px; }
.tracking-lite .kpis { margin-bottom: 0; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tracking-lite .kpis > div { padding: 12px 14px; }
.tracking-lite .kpis .k { font-size: 0.78rem; }
.tracking-lite .kpis .v { font-size: clamp(1.2rem, 2vw, 1.7rem); }
@media (max-width: 980px) {
  .page-links.three { grid-template-columns: 1fr; }
  .tracking-lite .wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
  .services-lite .head { margin-bottom: 24px; }
  .page-links.three { gap: 14px; }
  .page-links.three .page-link { padding: 22px; }
}
@media (max-width: 560px) {
  .tracking-lite .kpis { grid-template-columns: 1fr 1fr; }
  .tracking-lite .kpis .rev { grid-column: auto; }
}

/* Guides: index cards and article pages */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.guide-list { margin-top: 0; }
.guide-tag { align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text) !important; }
.page-hero .byline { margin: -14px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); }
.article { padding-block: 72px 104px; }
.article .wrap { max-width: 780px; }
.article p { margin: 0 0 18px; }
.article a:not(.btn) { color: var(--coral-text); }
.callout { background: var(--mist); border-radius: 18px; padding: 30px 32px; margin-bottom: 64px; }
.callout h2 { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.015em; margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }
.callout-src { font-size: 0.85rem; color: var(--muted); }
.sign { margin-bottom: 56px; }
.sign h2 { display: flex; gap: 16px; align-items: baseline; font-weight: 800; font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 18px; }
.sign-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1.05rem; transform: translateY(-4px); }
.sign-check { border-left: 3px solid var(--coral); background: var(--coral-tint); border-radius: 0 12px 12px 0; padding: 16px 20px; margin-bottom: 18px; }
.sign-check p { margin: 0; }
.sign-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 4px !important; }
.sign-fix { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.scorecard { background: var(--navy); color: var(--white); border-radius: 20px; padding: 36px; margin: 72px 0 48px; }
.scorecard h2 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; margin: 0 0 6px; }
.scorecard > p { color: rgba(255, 255, 255, 0.75); }
.score-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.score-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--navy-2); cursor: pointer; }
.score-list input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--coral); }
.score-list label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--coral); }
.score-result { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; margin-bottom: 24px; }
.score-count { font-weight: 800; font-size: 2.2rem; line-height: 1; margin: 0 0 8px !important; color: var(--white); }
.scorecard.high .score-count { color: var(--coral); }
#score-msg { margin: 0; color: rgba(255, 255, 255, 0.85); }
.author { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.author img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.author p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.author strong { color: var(--ink); }
@media (max-width: 700px) {
  .article { padding-block: 48px 72px; }
  .callout, .scorecard { padding: 24px 20px; }
  .sign h2 { gap: 12px; }
  .sign-n { width: 34px; height: 34px; font-size: 0.95rem; }
}
.article section { padding-block: 0; }
.article .author { padding-top: 28px; }

/* Hero background: slow-drifting blue and coral light under a soft film grain (after chow-stack's grain gradient hero).
   Sits behind the hero content, never takes clicks, and holds still for reduced motion. */
.hero { position: relative; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px); mask-image: linear-gradient(180deg, transparent 0, #000 140px); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.7; animation: hero-drift 22s ease-in-out infinite alternate; }
.hero-bg .b1 { width: 600px; height: 600px; right: 4%; top: 6%; background: #2A4C9A; }
.hero-bg .b2 { width: 460px; height: 460px; right: 20%; bottom: -30%; background: rgba(255, 107, 91, 0.6); animation-duration: 26s; animation-delay: -8s; }
.hero-bg .b3 { width: 520px; height: 520px; left: -12%; bottom: -40%; background: #1E3A78; animation-duration: 30s; animation-delay: -4s; }
.hero-bg .grain { position: absolute; inset: 0; opacity: 0.12; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes hero-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@media (max-width: 700px) {
  .hero-bg .b1 { width: 380px; height: 380px; right: -30%; top: 40%; }
  .hero-bg .b2 { width: 320px; height: 320px; right: -10%; bottom: -10%; }
  .hero-bg .b3 { width: 340px; height: 340px; left: -40%; bottom: 20%; }
}
/* Desktop: the coral light breathes slowly, like a pin pulsing on the map. */
@media (min-width: 981px) {
  .hero-bg .b2 { animation: hero-drift 26s ease-in-out -8s infinite alternate, hero-pulse 4.5s ease-in-out infinite; }
}
@keyframes hero-pulse { 0%, 100% { opacity: 0.55; scale: 1; } 50% { opacity: 1; scale: 1.18; } }
@media (prefers-reduced-motion: reduce) { .hero-bg .blob { animation: none; } }

/* Street-to-Maps hero scene. Sits where .phone-wrap sits on the live homepage. */
/* No card: the sky panel is dropped and the street's edges fade out, so the buildings sit straight on the hero glow. */
.scene-wrap { justify-self: center; width: 100%; max-width: 560px; }
/* The street runs a quarter wider than the stage on each side, and the fade sits on this unscaled wrapper
   so it holds while the street zooms in to the phone. */
.scene { position: relative; aspect-ratio: 520 / 600; isolation: isolate; }
.street-mask { position: absolute; inset: 0 -25%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%, #000 72%, transparent 100%), linear-gradient(180deg, transparent 0, #000 30%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 32%, #000 72%, transparent 100%), linear-gradient(180deg, transparent 0, #000 30%, #000 78%, transparent 100%);
  mask-composite: intersect; }
.street .sky-fill { display: none; }
.street { position: absolute; inset: 0 16.667%; will-change: transform; }
/* One SVG per layer: moving layers slide on the GPU instead of repainting the picture */
.street .layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.street .far, .street .row, .street .road-lines, .street .l-person, .street .lamps { will-change: transform; }
.street .sign { font-family: var(--font); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; font-stretch: 112%; }
.street .venue .fascia { transition: filter .4s ease; }
.scene.is-found .venue .fascia { filter: drop-shadow(0 0 10px rgba(255, 107, 91, 0.9)); }

.scene-dim { position: absolute; inset: 0; background: #0F1E3D; opacity: 0; pointer-events: none; }

/* The live homepage phone, scaled to fit the stage */
.scene-phone { position: absolute; left: 50%; top: 50%; width: 300px; opacity: 0; transform: translate(-50%, -50%); pointer-events: none; will-change: transform, opacity; }
.scene-phone .phone { border-radius: 46px; }
.scene-phone .screen { border-radius: 37px; }

.scene-caption { position: absolute; left: 50%; top: 6px; z-index: 3; transform: translateX(-50%); color: var(--white); min-width: 240px; text-align: center;
  text-shadow: 0 1px 12px rgba(10, 21, 48, 0.8); }
.scene-caption p { justify-content: center; }
.scene-caption p { display: flex; gap: 10px; align-items: baseline; margin: 0 0 9px; font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.cap-step { font-weight: 800; font-stretch: 112%; color: var(--coral); font-variant-numeric: tabular-nums; }
.scene-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.scene-progress i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; position: relative; }
.scene-progress b { display: block; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* Hero phone stage: replaces the street scene with a calmer composition built
   around the phone itself. Pure CSS motion; the pin pulse keeps the eye moving. */
.phone-stage { position: relative; justify-self: center; width: 100%; max-width: 320px; display: grid; place-items: center; padding: 20px 0 0; }
.phone-stage .phone { position: relative; z-index: 2; width: 100%; }
.stage-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 91, 0.42) 0%, rgba(255, 107, 91, 0.14) 40%, rgba(255, 107, 91, 0) 70%);
  filter: blur(6px); pointer-events: none; z-index: 1; animation: stage-pulse 4.8s ease-in-out infinite; }
.stage-pill { position: absolute; z-index: 3; top: 4px; right: -22px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy); font-weight: 700; font-size: 0.82rem; letter-spacing: -0.005em;
  padding: 10px 14px; border-radius: 999px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.5), 0 2px 6px -2px rgba(0, 0, 0, 0.3);
  animation: pill-float 6s ease-in-out infinite; white-space: nowrap; }
.stage-pill svg { flex: none; }
@keyframes stage-pulse { 0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes pill-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .stage-glow, .stage-pill { animation: none; }
}
@media (max-width: 980px) {
  .stage-pill { right: -4px; top: 0; }
}
@media (max-width: 700px) {
  .phone-stage { max-width: 260px; padding-top: 8px; }
  .stage-glow { width: 380px; height: 380px; }
  .stage-pill { font-size: 0.74rem; padding: 8px 12px; top: -6px; right: -10px; }
}

/* Cookie banner: anchor bottom-right on tablet and up so it doesn't sit on top of the hero CTAs. */
@media (min-width: 701px) {
  .cookie-bar { left: auto !important; right: 16px !important; bottom: 16px !important; margin-inline: 0 !important; }
}
@media (min-width: 981px) {
  .cookie-bar { right: 24px !important; bottom: 24px !important; }
}
