:root {
  --ink: #073847;
  --ink-deep: #032d3a;
  --ink-soft: #53666b;
  --cream: #f6f3ea;
  --paper: #fffefa;
  --lime: #d8ef62;
  --lime-dark: #afc941;
  --gold: #e1b754;
  --line: #d9dedc;
  --white: #fff;
  --shadow: 0 24px 70px rgba(20, 49, 40, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, a { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(7, 56, 71, .13);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: Manrope, sans-serif; font-weight: 700; letter-spacing: -.03em; }
.brand strong { color: #a77a12; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50% 50% 50% 18%; background: var(--ink); color: var(--gold); font-size: 11px; letter-spacing: -.05em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.method-link, .text-button { border: 0; border-bottom: 1px solid currentColor; padding: 2px 0; background: none; cursor: pointer; font-size: 14px; font-weight: 600; }
.method-link:hover, .text-button:hover { opacity: .65; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.site-nav a:hover { opacity: .6; }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 10px 16px; background: var(--ink); color: white !important; cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: none; }

.hero { position: relative; min-height: 650px; width: 100%; margin: 0; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 50px; align-items: center; padding: 76px max(20px, calc((100% - 1180px) / 2)) 90px; overflow: hidden; background-color: var(--ink-deep); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), radial-gradient(circle at 78% 45%, rgba(216,239,98,.12), transparent 31%); background-size: 52px 52px, 52px 52px, auto; color: white; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--lime), transparent 80%); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 700; }
.eyebrow span { width: 24px; height: 2px; background: var(--gold); }
h1, h2, h3 { font-family: Manrope, sans-serif; }
h1 { margin: 0; font-size: clamp(48px, 6vw, 80px); line-height: .99; letter-spacing: -.035em; }
/* Homepage headline: sized so "Human judgement." stays on one line. */
.hero:not(.match-hero) h1 { font-size: clamp(34px, 5vw, 66px); }
.match-hero h1 { font-size: clamp(38px, 5vw, 66px); }
h1 em, .result-heading h2 em { color: var(--gold); font-style: normal; }
.hero-lede { max-width: 610px; margin: 28px 0 0; color: #c6d4d7; font-size: 19px; line-height: 1.65; }
.brand-line { margin: 18px 0 0; color: #d6e1e3; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.brand-line strong { color: var(--lime); }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.primary-button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; border-radius: 999px; padding: 16px 22px; border: 1px solid var(--ink); text-decoration: none; cursor: pointer; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button { background: var(--gold); color: var(--ink-deep); border-color: var(--gold); box-shadow: 0 8px 0 rgba(0, 0, 0, .16); }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 0 rgba(16, 35, 31, .12); }
.primary-button:disabled { cursor: not-allowed; opacity: .35; box-shadow: none; }
.secondary-button { background: transparent; color: var(--ink); box-shadow: none; }
.secondary-button:hover { background: rgba(255,255,255,.5); }
.time-note { color: #c5d0d2; font-size: 13px; }
.trust-row { display: flex; gap: 24px; margin-top: 30px; color: #d5dede; font-size: 12px; }

.hero-visual { position: relative; min-height: 500px; }
.decision-visual { display: flex; align-items: center; justify-content: center; }
.decision-visual img { position: relative; z-index: 2; width: 108%; max-width: 700px; height: auto; margin: 0 -4%; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; box-shadow: 0 28px 60px rgba(0,0,0,.38); }
.future-ring { position: absolute; z-index: 1; width: 420px; height: 420px; left: 50%; top: 48%; transform: translate(-50%,-50%); border: 1px solid rgba(216,239,98,.35); border-radius: 50%; box-shadow: 0 0 70px rgba(216,239,98,.14), inset 0 0 60px rgba(216,239,98,.06); }
.future-ring::before, .future-ring::after { content: ""; position: absolute; inset: 34px; border: 1px dashed rgba(225,183,84,.3); border-radius: 50%; transform: rotate(23deg); }
.future-ring::after { inset: 82px; border-style: solid; border-color: rgba(255,255,255,.11); }
.decision-caption { position: absolute; z-index: 3; right: 0; bottom: 24px; margin: 0; padding: 12px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(3,45,58,.88); color: #d9e1e2; backdrop-filter: blur(8px); font-size: 12px; line-height: 1.5; }
.decision-caption strong { color: var(--lime); }
.orbit { position: absolute; inset: 50%; border: 1px solid rgba(16,35,31,.16); border-radius: 50%; transform: translate(-50%, -50%) rotate(-12deg); }
.orbit-one { width: 420px; height: 300px; }
.orbit-two { width: 300px; height: 420px; transform: translate(-50%, -50%) rotate(45deg); }
.centre-badge { position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; transform: translate(-50%, -50%) rotate(-7deg); background: var(--lime); border-radius: 38% 62% 60% 40% / 43% 39% 61% 57%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 60px rgba(93, 115, 32, .25); }
.centre-badge span { font-size: 11px; letter-spacing: .18em; }
.centre-badge strong { font-family: Manrope; font-size: 31px; letter-spacing: -.08em; }
.centre-badge span { font-size: 9px; }
.centre-badge strong { font-size: 22px; }
.hero:not(.match-hero) .centre-badge strong { font-size: 16px; letter-spacing: -.06em; }
.orbital-card { position: absolute; display: flex; align-items: center; gap: 9px; padding: 12px 17px; border: 1px solid rgba(16,35,31,.16); background: rgba(255,253,248,.9); backdrop-filter: blur(7px); border-radius: 999px; box-shadow: 0 12px 30px rgba(16,35,31,.08); font-weight: 600; font-size: 14px; animation: float 5s ease-in-out infinite; }
.product-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-chatgpt { background: #10a37f; }.dot-claude { background: #d87955; }.dot-gemini { background: #527ceb; }.dot-copilot { background: linear-gradient(135deg,#44c3ff,#7e57c2,#e75c8d); }.dot-grok { background: #202020; }
.card-chatgpt { left: 3%; top: 13%; }.card-claude { right: 1%; top: 20%; animation-delay: -1s; }.card-gemini { right: 3%; bottom: 17%; animation-delay: -2s; }.card-copilot { left: -1%; bottom: 20%; animation-delay: -3s; }.card-grok { left: 43%; bottom: 1%; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
.tool-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 11px; }

.portal-tools { padding: 100px max(20px, calc((100% - 1180px) / 2)); background: var(--paper); border-top: 1px solid var(--line); }
.portal-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.portal-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.055em; }
.portal-heading > p { max-width: 470px; margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 50px; }
.tool-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.tool-card.featured-tool { background-color: var(--ink-deep); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 32px 32px; color: white; border-color: var(--ink-deep); }
.tool-card.training-tool { background: #f2dfab; border-color: #dfbf68; }
.card-meta { display: flex; justify-content: space-between; color: #77817e; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 700; }
.featured-tool .card-meta { color: #c7cfcc; }
.training-tool .card-meta { color: #66713e; }
.status-live, .status-soon { display: inline-flex; align-items: center; gap: 7px; }
.status-live::before, .status-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.status-soon::before { background: #afb5b2; }
.large-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; background: white; color: var(--ink); font-size: 22px; }
.featured-tool .large-icon { background: var(--lime); }
.training-tool .large-icon { background: var(--ink); color: var(--lime); }
.tool-card h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.tool-card p { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.6; }
.featured-tool p { color: #bdc8c4; }
.card-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.2); background: none; color: white; cursor: pointer; font-weight: 700; text-align: left; }
.tool-card:not(.featured-tool) .card-link { border-color: var(--line); color: var(--ink); }
.card-link.muted { color: #7d8783 !important; cursor: default; font-size: 13px; }

.survey-shell { width: min(1180px, calc(100% - 40px)); min-height: 720px; margin: 0 auto; padding: 48px 0 100px; }
.results { width: min(880px, calc(100% - 40px)); min-height: 720px; margin: 0 auto; padding: 48px 0 100px; }
.survey-topline { display: flex; align-items: center; justify-content: space-between; }
.survey-topline p { margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.progress-track { height: 4px; margin: 18px 0 45px; overflow: hidden; background: #d9d8cf; border-radius: 99px; }
.progress-track span { display: block; width: 10%; height: 100%; background: #6f8135; border-radius: inherit; transition: width .3s ease; }
.survey-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); gap: 24px; align-items: start; }
.question-card { padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.question-kicker { margin: 0 0 12px; color: #6a7a35; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.question-card h2 { margin: 0; font-size: clamp(28px, 4vw, 43px); line-height: 1.12; letter-spacing: -.045em; }
.question-text { min-height: 100px; margin: 0 0 16px; color: var(--ink); font-size: clamp(29px, 3.2vw, 43px); line-height: 1.13; letter-spacing: -.045em; }
.question-help { min-height: 42px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.rating-fieldset { margin: 35px 0 0; padding: 0; border: 0; }
.rating-fieldset legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rating-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.rating-button { aspect-ratio: 1; border: 1px solid #c8cbc3; background: white; border-radius: 12px; cursor: pointer; font-weight: 700; transition: .15s ease; }
.rating-button:hover { border-color: var(--ink); transform: translateY(-2px); }
.rating-button.selected { border-color: var(--ink); background: var(--lime); box-shadow: inset 0 0 0 1px var(--ink); }
.rating-button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #7da0ff; outline-offset: 3px; }
.scale-labels { display: flex; justify-content: space-between; margin-top: 9px; color: #7a827f; font-size: 11px; }
.question-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 45px; }
.keyboard-hint { color: #7a827f; font-size: 11px; }
.next-button { min-width: 135px; }

.live-match-chart { padding: 30px 28px 26px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background-color: var(--ink-deep); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 26px 26px; color: white; box-shadow: var(--shadow); }
.live-match-chart h2 { margin: 0; font-size: 26px; letter-spacing: -.04em; }
.live-chart-intro { margin: 9px 0 25px; color: #b9c8cb; font-size: 13px; line-height: 1.5; }
.live-chart-list { display: grid; gap: 19px; margin: 0; padding: 0; list-style: none; }
.live-product-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.live-product-label output { color: var(--lime); font-variant-numeric: tabular-nums; }
.live-product-track { position: relative; height: 3px; margin: 0 17px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(216,239,98,.42)); }
.live-product-marker { position: absolute; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 2px solid var(--product-colour); border-radius: 11px; background: white; box-shadow: 0 7px 18px rgba(0,0,0,.32); transition: left .42s cubic-bezier(.2,.8,.2,1); }
.live-product-marker svg { width: 20px; height: 20px; color: #092f3b; }
.live-chart-scale { display: flex; justify-content: space-between; margin: 24px 15px 0; color: #879da2; font-size: 10px; }

.result-heading { padding: 28px 0 36px; text-align: center; }
.result-heading .eyebrow { justify-content: center; }
.result-heading h2 { margin: 0; font-size: clamp(38px, 6vw, 62px); letter-spacing: -.06em; }
.result-heading > p:last-child { max-width: 650px; margin: 18px auto 0; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.winner-panel, .rankings-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.winner-panel { display: grid; grid-template-columns: .8fr 1.3fr; gap: 35px; padding: 38px; }
.winner-score-block { display: flex; align-items: center; gap: 22px; border-right: 1px solid var(--line); }
.winner-logo { width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid var(--ink); border-radius: 20px; background: white; color: var(--ink); }
.winner-logo svg { width: 38px; height: 38px; }
.match-label { display: block; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.match-score { display: block; margin-top: 4px; font-family: Manrope; font-size: 47px; letter-spacing: -.07em; line-height: 1; }
.match-score small { font-size: 19px; }
.why-match h3 { margin: 0 0 12px; font-size: 17px; }
.why-match ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
.why-match li { position: relative; margin: 8px 0; padding-left: 19px; line-height: 1.4; }
.why-match li::before { content: "↗"; position: absolute; left: 0; color: #748737; font-weight: 700; }
.result-cta { grid-column: 1 / -1; }
.rankings-panel { margin-top: 22px; padding: 32px 38px; box-shadow: none; }
.section-title-row { display: flex; justify-content: space-between; align-items: center; }
.section-title-row h3 { margin: 0; font-size: 21px; }
.ranking-list { margin: 22px 0 0; padding: 0; list-style: none; }
.ranking-item { display: grid; grid-template-columns: 28px 130px 1fr 45px; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.rank-number { color: #85908d; font-size: 12px; }.rank-name { font-weight: 700; }.rank-track { height: 7px; background: #e8e9e3; border-radius: 99px; overflow: hidden; }.rank-track span { display: block; height: 100%; background: #91a64a; border-radius: inherit; }.rank-score { text-align: right; font-weight: 700; }
.result-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.result-disclaimer { margin: 24px auto 0; max-width: 700px; color: #737e7a; font-size: 11px; line-height: 1.5; text-align: center; }

.principles { padding: 100px max(20px, calc((100% - 1180px) / 2)); background-color: var(--ink-deep); background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 48px 48px; color: var(--white); }
.eyebrow.light { color: var(--lime); }.eyebrow.light span { background: var(--lime); }
.principles > h2 { max-width: 650px; margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.055em; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 62px; }
.principle-grid article { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.principle-grid article > span { color: var(--lime); font-size: 11px; }.principle-grid h3 { margin: 30px 0 9px; font-size: 20px; }.principle-grid p { margin: 0; color: #b9c2be; line-height: 1.6; }
footer { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 36px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: 12px; }.footer-brand { color: var(--ink); }
.footer-tagline { font-family: Manrope, sans-serif; font-weight: 700; color: var(--ink); }

dialog { width: min(610px, calc(100% - 30px)); border: 0; border-radius: 24px; padding: 42px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(7,23,19,.72); backdrop-filter: blur(4px); }
dialog h2 { margin: 0; font-size: 35px; letter-spacing: -.04em; } dialog h3 { margin-top: 27px; } dialog p, dialog li { color: var(--ink-soft); line-height: 1.6; } dialog .primary-button { margin-top: 16px; width: 100%; }
.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: none; cursor: pointer; font-size: 30px; font-weight: 300; }

@media (max-width: 800px) {
  .site-nav a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero:not(.match-hero) h1 { font-size: clamp(34px, 7.2vw, 58px); }
  .hero-visual { min-height: 400px; }
  .decision-visual img { width: min(100%, 620px); margin: 0 auto; }
  .future-ring { width: min(72vw, 390px); height: min(72vw, 390px); }
  .decision-caption { right: 8%; }
  .orbit-one { width: 340px; height: 245px; }.orbit-two { width: 245px; height: 340px; }
  .winner-panel { grid-template-columns: 1fr; }.winner-score-block { padding-bottom: 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid { grid-template-columns: 1fr; }.principle-grid article { padding-bottom: 25px; }
  .portal-heading { grid-template-columns: 1fr; gap: 24px; }.tool-grid { grid-template-columns: 1fr; }.tool-card { min-height: 330px; }
  .survey-layout { grid-template-columns: 1fr; }
  .live-match-chart { order: 2; }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .site-header { height: 72px; }.hero { width: 100%; padding: 50px 14px 65px; }.hero-actions { align-items: flex-start; flex-direction: column; }.trust-row { flex-direction: column; gap: 9px; }
  .hero-visual { min-height: 340px; }.orbit-one { width: 290px; height: 210px; }.orbit-two { width: 210px; height: 290px; }.centre-badge { width: 100px; height: 100px; }.orbital-card { padding: 9px 12px; font-size: 11px; }.card-grok { left: 40%; }
  .decision-visual img { width: 108%; margin: 0 -4%; border-radius: 20px; }
  .future-ring { width: 280px; height: 280px; }
  .decision-caption { right: 0; bottom: 0; padding: 9px 12px; font-size: 10px; }
  .survey-shell, .results { width: min(100% - 24px, 1180px); }.question-card { padding: 25px 18px; }.question-text { min-height: auto; }.question-help { min-height: auto; }
  .rating-grid { grid-template-columns: repeat(5, 1fr); }.rating-button { aspect-ratio: 1.1; }.scale-labels { display: none; }.question-footer { align-items: stretch; flex-direction: column; gap: 18px; }.keyboard-hint { display: none; }
  .winner-panel, .rankings-panel { padding: 25px 20px; }.ranking-item { grid-template-columns: 22px 80px 1fr 36px; gap: 8px; font-size: 12px; }.result-actions { flex-direction: column; }.section-title-row { gap: 20px; }
  dialog { padding: 35px 24px 25px; }
  .nav-cta { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Privacy / legal page */
.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 90px; }
.legal h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -.05em; }
.legal .updated { margin: 0 0 40px; color: var(--ink-soft); font-size: 14px; }
.legal h2 { margin: 38px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; }
.legal a { color: var(--ink); }
.footer-link { color: var(--ink); }
.inline-link { color: var(--lime); }
