/* Visionary by Liltec: shared styles. Look: Paper & cobalt, Schibsted Grotesk + Fragment Mono.
   Palette contrast (WCAG 2.x, computed 2026-09-25):
   ink/ground 16.65, mid/ground 11.50, mid/white 12.57, mid/panel 10.49, muted/ground 6.93, muted/white 7.58, muted/panel 6.33,
   cobalt/ground 7.62, cobalt/white 8.33, cobalt/panel 6.95, white/cobalt 8.33, footer text/ink 11.22, footer link/ink 15.19,
   high/tint 5.76, med/tint 6.62, low/tint 5.50, slip note 8.71, ok on slip 6.37, low on slip 6.52.
   Cobalt is the only brand accent. It is never used for confidence: high, medium and low have their own colours. */
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:400 900;font-display:swap;src:url('/assets/fonts/schibsted-grotesk-400-900.woff2') format('woff2');}
@font-face{font-family:'Fragment Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/fragment-mono-400.woff2') format('woff2');}

/* Metric-matched fallbacks: local Arial / Courier New scaled to Schibsted Grotesk / Fragment Mono
   (measured in a browser, 2026-09-25), so text doesn't jump when the web fonts arrive. */
@font-face{font-family:'Schibsted Grotesk Fallback';src:local('Arial'),local('ArialMT');font-weight:400 600;size-adjust:104.41%;ascent-override:93.9%;descent-override:24.9%;line-gap-override:0%;}
@font-face{font-family:'Schibsted Grotesk Fallback';src:local('Arial Bold'),local('Arial-BoldMT');font-weight:700 900;size-adjust:102.53%;ascent-override:95.6%;descent-override:25.4%;line-gap-override:0%;}
@font-face{font-family:'Fragment Mono Fallback';src:local('Courier New'),local('CourierNewPSMT');size-adjust:102.98%;ascent-override:92.3%;descent-override:24.3%;line-gap-override:0%;}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --ground: #F3F5F7;
  --panel: #E7EBEF;
  --white: #FFFFFF;
  --ink: #0E1620;
  --mid: #2B3441;
  --muted: #4A5563;
  --cobalt: #1F3FBF;
  --rule: #C5CCD5;
  --edge: #5F6B7C;
  --high: #1B6B3A;  --high-bg: #E6F4EA;
  --med: #7A4A00;   --med-bg: #FFF0CC;
  --low: #A8321A;   --low-bg: #FBE4DE;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1160px;
  --font: 'Schibsted Grotesk', 'Schibsted Grotesk Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', 'Fragment Mono Fallback', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
body { background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
h3 { font-weight: 700; letter-spacing: -0.02em; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow::after { content: ""; flex: 0 0 56px; border-top: 1px solid currentColor; }

/* nav */
.top { border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo small { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: 0; color: var(--muted); align-self: flex-end; margin-bottom: 4px; }
.logo svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 500; color: var(--mid); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.logo small, .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .logo { font-size: 1.2rem; gap: 9px; }
  .logo svg { width: 26px; height: 26px; }
  .nav-links .btn { padding: 10px 16px; font-size: .9rem; }
}

/* buttons: square, white text on cobalt */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 0; font-family: var(--font); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid var(--cobalt); cursor: pointer; transition: background .15s, color .15s; }
.btn-pri { background: var(--cobalt); color: var(--white); }
.btn-pri:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--edge); }
.btn-line:hover { border-color: var(--ink); background: var(--white); }
.btn-white { background: var(--white); color: var(--cobalt); border-color: var(--white); }
.btn-white:hover { background: var(--ground); }

/* cover */
.cover { background: linear-gradient(90deg, var(--ground) 50%, var(--panel) 50%); border-bottom: 1px solid var(--rule); }
.cover .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cover-a { padding: clamp(44px, 7vw, 88px) clamp(20px, 4vw, 56px) clamp(44px, 7vw, 80px) 0; }
.cover-b { padding: clamp(44px, 7vw, 88px) 0 clamp(44px, 7vw, 80px) clamp(20px, 4vw, 56px); }
@media (max-width: 860px) {
  .cover { background: var(--ground); }
  .cover .wrap { grid-template-columns: 1fr; }
  .cover-a { padding-right: 0; }
  .cover-b { padding: 32px 20px; margin-inline: calc(var(--pad) * -1); background: var(--panel); border-top: 1px solid var(--rule); padding-inline: var(--pad); }
}
.cover h1 { font-size: clamp(3.2rem, 7.6vw, 6.2rem); line-height: .94; letter-spacing: -0.048em; margin: 22px 0 22px; }
.lead { font-size: 1.15rem; color: var(--mid); max-width: 42ch; margin-bottom: 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.toc-h { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc { list-style: none; }
.toc a { display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 17px 0; border-top: 1px solid var(--rule); text-decoration: none; font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.toc li:last-child a { border-bottom: 1px solid var(--rule); }
.toc a span { font-family: var(--mono); font-weight: 400; font-size: .78rem; letter-spacing: 0; color: var(--cobalt); }
.toc a:hover { color: var(--cobalt); }
.toc-note { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 16px; }

/* sections */
.sec { padding-block: clamp(52px, 8vw, 104px); }
.sec-white { background: var(--white); }
.sec-panel { background: var(--panel); }
.sec h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 14px 0 16px; letter-spacing: -0.04em; }
.sec .intro { font-size: 1.08rem; color: var(--mid); max-width: 60ch; margin-bottom: 36px; }
.name { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); }
.name .wrap { padding-block: 26px; display: grid; grid-template-columns: 200px 1fr; gap: 12px 28px; align-items: baseline; }
.name p:first-child { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.name p:last-child { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; max-width: 60ch; }
@media (max-width: 700px) { .name .wrap { grid-template-columns: 1fr; } }

.conf { display: inline-block; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; padding: 1px 8px; }
.conf.high { background: var(--high-bg); color: var(--high); }
.conf.med { background: var(--med-bg); color: var(--med); }
.conf.low { background: var(--low-bg); color: var(--low); }


/* receipts */
.slip { position: relative; background: #FBFCFD; color: #14181F; width: min(100%, 420px); margin-inline: auto; padding: 26px 26px 40px; font-family: var(--mono); font-size: .82rem; line-height: 1.6;
  box-shadow: 0 1px 0 var(--rule);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, transparent 90deg, #000 0) bottom / 18px 10px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, transparent 90deg, #000 0) bottom / 18px 10px repeat-x; }
.slip .c { text-align: center; letter-spacing: .14em; }
.slip hr { border: none; border-top: 1.5px dashed #9AA6B6; margin: 10px 0; }
.slip .ln { display: flex; gap: 6px; align-items: baseline; }
.slip .ln i { flex: 1; border-bottom: 1.5px dotted #9AA6B6; margin-bottom: 4px; min-width: 8px; }
.slip .h { letter-spacing: .08em; }
.slip .ok { color: var(--high); }
.slip .no { color: var(--low); }
.slip .note { font-size: .74rem; color: #3D4A60; }
.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; border-top: 2px solid var(--ink); padding-top: 18px; }
.legend h3 { font-size: 1.1rem; margin-bottom: 4px; }
.legend p { font-size: .95rem; color: var(--mid); }
@media (max-width: 760px) { .legend { grid-template-columns: 1fr; } }


/* trust */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 44px; }
.trust h3 { font-size: 1.25rem; color: var(--cobalt); margin-bottom: 4px; }
.trust p { color: var(--mid); font-size: 1rem; }
.fine { margin-top: 30px; font-family: var(--mono); font-size: .76rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 700px) { .trust { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 760px; display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--ink); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--cobalt); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; color: var(--mid); max-width: 62ch; }

/* cta + footer */
.cta { background: var(--cobalt); color: var(--white); }
.cta :focus-visible { outline-color: var(--white); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: clamp(40px, 6vw, 72px); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 18ch; letter-spacing: -0.04em; }
.cta p { max-width: 46ch; margin-top: 10px; font-size: 1.05rem; }
footer { background: var(--ink); color: #C3CCD8; font-size: .86rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-block: 28px; }
footer a { color: #E6EBF2; }
footer .fine { margin: 0; color: #C3CCD8; }

/* pilot form */
.form { display: grid; gap: 22px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .98rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .86rem; }
input[type=text], input[type=email], select, textarea { font-family: var(--font); font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--edge); border-radius: 0; padding: 12px 14px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: none; display: grid; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--cobalt); flex: none; }
.consent { background: var(--white); border: 1px solid var(--edge); padding: 16px 18px; font-size: .92rem; color: var(--mid); }
.honey { position: absolute; left: -9999px; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } html { scroll-behavior: auto; } }

/* who it's for, ask, decisions (2026-10 update; existing colour pairs only) */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 28px; }
.who a { display: block; text-decoration: none; padding: 22px 24px 20px 0; }
.who h3 { font-size: 1.15rem; margin-bottom: 8px; }
.who p { color: var(--mid); font-size: .97rem; }
.who a:hover h3, .who a:focus-visible h3 { color: var(--cobalt); }
@media (max-width: 900px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } .who a { padding-right: 0; border-bottom: 1px solid var(--rule); } }
.ask { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .ask { grid-template-columns: 1fr; } }
.ask .intro { margin-bottom: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chips li { font-weight: 600; font-size: .98rem; border: 1.5px solid var(--edge); background: var(--ground); padding: 9px 14px; }
.ask-slip .slip p + p { margin-top: 2px; }
