:root {
  color-scheme: light;
  --page: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #edf3f2;
  --text: #172a36;
  --muted: #536773;
  --line: #dbe4e6;
  --brand: #087f78;
  --brand-deep: #086b66;
  --brand-soft: #d9efea;
  --icon-navy: #092d52;
  --icon-teal: #12aaa3;
  --warm: #a56b34;
  --shadow: 0 18px 50px rgb(23 42 54 / 8%);
  --focus: #b25111;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #111b22;
  --surface: #192831;
  --surface-soft: #1d3338;
  --text: #eff5f4;
  --muted: #bdccce;
  --line: #344950;
  --brand: #74d3c4;
  --brand-deep: #9be5d8;
  --brand-soft: #244a49;
  --icon-navy: #347ba6;
  --icon-teal: #13827e;
  --warm: #e8b47c;
  --shadow: 0 18px 50px rgb(0 0 0 / 25%);
  --focus: #ffd27a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #111b22;
    --surface: #192831;
    --surface-soft: #1d3338;
    --text: #eff5f4;
    --muted: #bdccce;
    --line: #344950;
    --brand: #74d3c4;
    --brand-deep: #9be5d8;
    --brand-soft: #244a49;
    --icon-navy: #347ba6;
    --icon-teal: #13827e;
    --warm: #e8b47c;
    --shadow: 0 18px 50px rgb(0 0 0 / 25%);
    --focus: #ffd27a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); line-height: 1.6; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--surface); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--page); }
.header-inner { max-width: 1160px; min-height: 82px; margin: auto; padding: 0 32px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand > img { width: 46px; height: 46px; border-radius: 11px; }
.motoring-icon, .finance-icon { background-color: var(--icon-navy); }
.health-icon, .everyday-icon { background-color: var(--icon-teal); }
.brand-lockup, .signature-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand-name, .footer-brand { font: 800 1.36rem/1 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.055em; }
.brand-domain { color: var(--brand); font-weight: 700; }
.brand-category { color: var(--text); font-size: .79rem; font-weight: 500; line-height: 1.15; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .94rem; }
.main-nav a:hover, .text-link:hover { color: var(--brand-deep); }
.theme-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; min-height: 44px; font: 600 .88rem "DM Sans", sans-serif; cursor: pointer; }
.theme-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

main { max-width: 1160px; padding: 0 32px; margin: auto; }
.hero { min-height: 480px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding: 54px 26px 52px; }
.hero-copy { max-width: 590px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--brand-deep); font-size: .77rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", "Segoe UI", sans-serif; letter-spacing: -.045em; }
h1 { max-width: 570px; margin-bottom: 20px; font-size: clamp(2.8rem, 5vw, 4.55rem); line-height: 1.07; font-weight: 700; }
h1 span { color: var(--brand-deep); }
.hero-intro { max-width: 510px; margin-bottom: 25px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--brand-deep); font-weight: 700; text-decoration: none; }
.text-link span { font-size: 1.15rem; }
.hero-art { height: 310px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-23deg); }
.orbit-one { width: 330px; height: 220px; }
.orbit-two { width: 260px; height: 300px; transform: rotate(34deg); }
.hero-card { position: relative; z-index: 1; width: 270px; min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(-4deg); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.mini-mark { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.live-dot, .footer-status span { width: 9px; height: 9px; border-radius: 50%; background: #42a98b; }
.hero-lines { display: grid; gap: 9px; margin-bottom: 21px; }
.hero-lines i { height: 8px; border-radius: 10px; background: var(--surface-soft); }
.hero-lines i:first-child { width: 79%; background: var(--brand-soft); }
.hero-lines i:last-child { width: 56%; }
.hero-result { position: relative; padding: 13px 15px; border-radius: 12px; background: var(--surface-soft); }
.hero-result span:first-child { display: block; color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .1em; }
.hero-result b { display: block; margin-top: 3px; font: 700 1rem "Manrope", sans-serif; }
.result-check { position: absolute; right: 13px; top: 19px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.orbit-tag { position: absolute; z-index: 2; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 6px 20px rgb(23 42 54 / 7%); color: var(--muted); font-size: .76rem; font-weight: 600; }
.tag-one { top: 44px; right: 8px; transform: rotate(6deg); }
.tag-two { left: 8px; bottom: 40px; transform: rotate(-7deg); }

.tools-section { padding: 48px 0 70px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.2; }
.section-note { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: .95rem; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.category-card { min-height: 285px; padding: 25px 27px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .18s ease, box-shadow .18s ease; }
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.category-icon { width: 58px; height: 58px; display: block; border-radius: 14px; object-fit: cover; }
.category-count { padding: 5px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: .71rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.category-kicker { margin: 0 0 4px; color: var(--brand-deep); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.finance-card .category-kicker { color: var(--warm); }
.category-card h3 { margin: 0 0 9px; font-size: 1.42rem; line-height: 1.3; }
.card-copy { max-width: 440px; min-height: 48px; margin-bottom: 13px; color: var(--muted); font-size: .91rem; }
.pilot-link { display: flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); text-decoration: none; font-size: .87rem; font-weight: 700; }
.pilot-link span { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 500; }
.pilot-link b { color: var(--brand-deep); font-size: 1rem; }
.category-signatures { margin-top: 27px; padding: 22px 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.signatures-label { margin: 0 0 18px 4px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.signature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.signature-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 5px 14px; border-right: 1px solid var(--line); }
.signature-item:last-child { border-right: 0; }
.signature-item > img { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 14px; object-fit: cover; }
.signature-lockup { min-width: 0; gap: 5px; }
.signature-lockup .brand-name { font-size: clamp(.86rem, 1.35vw, 1.14rem); white-space: nowrap; }
.signature-lockup .brand-category { font-size: .8rem; }
@media (max-width: 900px) {
  .signature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .signature-item:nth-child(2) { border-right: 0; }
  .signature-item:nth-child(-n+2) { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
}

.promise { display: grid; grid-template-columns: 80px 1.1fr .9fr; align-items: center; gap: 26px; margin: 0 0 48px; padding: 30px 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
.promise-mark { display: grid; place-content: center; gap: 5px; width: 66px; height: 66px; border-radius: 20px; background: var(--surface); transform: rotate(-5deg); }
.promise-mark span { width: 27px; height: 4px; border-radius: 5px; background: var(--brand); }
.promise-mark span:nth-child(2) { width: 19px; margin-left: 8px; opacity: .7; }
.promise-mark span:nth-child(3) { width: 11px; margin-left: 16px; opacity: .45; }
.promise-copy .eyebrow { margin-bottom: 7px; }
.promise-copy h2 { margin-bottom: 8px; font-size: 1.65rem; }
.promise-copy > p:last-child { max-width: 520px; margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.promise-points { display: grid; gap: 10px; padding-left: 25px; border-left: 1px solid var(--line); }
.promise-points p { margin: 0; color: var(--text); font-size: .82rem; font-weight: 600; }
.promise-points span { display: inline-block; width: 31px; color: var(--brand-deep); font-size: .69rem; letter-spacing: .05em; }
.pilot-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 45px; }
.pilot-notes article { display: flex; flex-direction: column; gap: 3px; padding: 15px 18px; border-left: 3px solid var(--brand); background: var(--surface); }
.pilot-notes b { font-size: .82rem; }
.pilot-notes span { color: var(--muted); font-size: .77rem; }
.site-footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px max(32px, calc((100vw - 1096px) / 2)); border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--text); font-size: 1rem; text-decoration: none; }
.site-footer p { margin: 0; font-size: .78rem; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; margin-left: auto !important; }
.footer-status span { width: 7px; height: 7px; }

@media (max-width: 760px) {
  .header-inner { min-height: 72px; padding: 0 20px; gap: 10px; }
  .brand { gap: 8px; }
  .brand > img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.18rem; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: .8rem; }
  .theme-toggle { width: 44px; justify-content: center; padding: 0; }
  .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  main { padding: 0 20px; }
  .hero { min-height: auto; grid-template-columns: 1fr .75fr; gap: 5px; padding: 55px 0 42px; }
  h1 { font-size: clamp(2.45rem, 7vw, 3.6rem); }
  .hero-intro { font-size: .98rem; }
  .hero-art { height: 255px; transform: scale(.84); transform-origin: center right; }
  .orbit-one { width: 270px; height: 185px; }
  .orbit-two { width: 220px; height: 260px; }
  .hero-card { width: 230px; min-height: 205px; }
  .tag-one { right: -9px; }
  .tag-two { left: -14px; }
  .section-heading { align-items: start; flex-direction: column; gap: 11px; }
  .section-note { max-width: 540px; }
  .category-signatures { padding: 19px 13px; }
  .promise { grid-template-columns: 65px 1fr; gap: 17px; padding: 25px; }
  .promise-points { grid-column: 2; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
  .site-footer { padding: 22px 20px; }
}

@media (max-width: 540px) {
  .header-inner { flex-wrap: wrap; min-height: 70px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 23px; margin: -4px 0 7px 43px; }
  .main-nav a { min-height: 35px; }
  .theme-toggle { margin-left: auto; }
  main { padding: 0 17px; }
  .hero { grid-template-columns: 1fr; padding: 43px 0 30px; }
  .hero-copy { position: relative; z-index: 2; }
  h1 { max-width: 470px; font-size: clamp(2.6rem, 12vw, 3.55rem); }
  .hero-intro { max-width: 460px; font-size: .96rem; }
  .hero-art { width: 100%; height: 210px; margin: 2px 0 0; transform: scale(.8); transform-origin: center; }
  .orbit-one { width: 250px; height: 165px; }
  .orbit-two { width: 205px; height: 238px; }
  .tag-one { right: 4px; top: 9px; }
  .tag-two { left: 2px; bottom: 8px; }
  .tools-section { padding: 38px 0 48px; }
  .category-grid { grid-template-columns: 1fr; }
  .signature-item { gap: 8px; padding: 4px 7px; }
  .signature-item > img { flex-basis: 44px; width: 44px; height: 44px; border-radius: 11px; }
  .signature-lockup .brand-name { font-size: clamp(.72rem, 3.5vw, .9rem); }
  .signature-lockup .brand-category { font-size: .72rem; }
  .category-card { min-height: 0; padding: 22px; }
  .card-copy { min-height: 0; }
  .promise { grid-template-columns: 1fr; gap: 15px; padding: 22px; }
  .promise-mark { width: 54px; height: 54px; border-radius: 16px; }
  .promise-points { grid-column: 1; }
  .pilot-notes { grid-template-columns: 1fr; }
  .site-footer { gap: 8px 16px; padding: 21px 17px; }
  .site-footer > p:nth-of-type(1) { order: 3; width: 100%; }
  .footer-status { margin-left: 0 !important; }
}

@media (max-width: 380px) {
  .signature-list { grid-template-columns: 1fr; }
  .signature-item { padding: 8px 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .signature-item:nth-child(-n+2) { padding-bottom: 8px; }
  .signature-item:last-child { border-bottom: 0; }
  .signature-lockup .brand-name { font-size: .95rem; }
  .signature-lockup .brand-category { font-size: .75rem; }
}

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

@media (forced-colors: active) {
  .category-card, .hero-card, .theme-toggle, .orbit-tag, .promise { border: 1px solid CanvasText; }
  .category-icon, .mini-mark { forced-color-adjust: none; }
}
