/* Qmetra v5 – "Noir & Champagne"
   A dark showroom: near-black room, ivory type, champagne gold as the only accent.
   The sapphire crystal (the logo in 3D) is the one bright object; the test itself is printed on ivory paper. */
:root {
  --bg: #0a0c10;
  --bg2: #0e1116;
  --card: #12151b;
  --card2: #171b22;
  --ivory: #f2f4f7;
  --ivory2: #c9ced8;
  --stone: #98a0ad;
  --mute: #6b7280;
  --line: rgba(226, 232, 244, .11);
  --line2: rgba(226, 232, 244, .07);
  --gold: #7fb0ff;
  --gold-hi: #e6efff;
  --gold-lo: #1f5fd6;
  --gold-t: rgba(96, 150, 255, .12);
  --sapphire: #3f7dff;
  --paper: #f4f6f9;
  --paper2: #e9edf2;
  --pink: #0b1220;
  --pline: #d3d9e2;
  --ok: #7fc8a0;
  --ok-p: #1f7a4c;
  --err: #f08a7e;
  --err-p: #b42318;
  --serif: 'Instrument Serif', 'Bodoni Moda', Georgia, serif;
  --f: 'Instrument Sans', 'Noto Sans Arabic', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --didone: 'Bodoni Moda', Georgia, serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --accent: var(--pink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ivory); font: 400 16px/1.6 var(--f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* film grain over everything */
body::after { content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .03; 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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: var(--gold); }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(96, 150, 255, .35); color: #fff; }
.wrap { width: min(var(--wrap), 100% - 56px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 36px); } }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 8.2vw, 132px); line-height: .9; letter-spacing: -.012em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 84px); line-height: .95; letter-spacing: -.01em; }
.h3 { font-weight: 600; font-size: 20px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--stone); max-width: 56ch; }
.small { font-size: 13.5px; color: var(--mute); }

/* ---------- buttons ---------- */
.btn { --bh: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s, transform .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold, .btn-ink { color: #0a0c10; background: #f4f6f9; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 30px -16px rgba(255, 255, 255, .35); }
.btn-gold:hover, .btn-ink:hover { background: #ffffff; }
.btn-line { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(226, 232, 244, .22); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ivory); }
.btn-lg { --bh: 60px; padding: 0 34px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.icon-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; min-width: 40px; justify-content: center; padding: 0 12px; border-radius: 999px; color: var(--ivory2); font-size: 14px; font-weight: 600; transition: background .2s; }
.icon-btn:hover { background: rgba(226, 232, 244, .07); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; height: 74px; display: flex; align-items: center; transition: background .3s, box-shadow .3s; }
.hdr .wrap { display: flex; align-items: center; gap: 30px; }
.hdr.scrolled, .hdr.solid { background: rgba(10, 12, 16, .78); -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px); box-shadow: 0 1px 0 var(--line2); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; letter-spacing: -.02em; color: var(--ivory); }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 600; }
.brand b i { font-style: normal; color: #6aa2ff; }
.nav { display: flex; gap: 2px; margin-inline-start: 10px; }
.nav button { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--stone); transition: color .2s; }
.nav button:hover { color: var(--ivory); }
.hdr-r { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.hdr-cta { --bh: 42px; padding: 0 20px; font-size: 14.5px; margin-inline-start: 10px; }
.timer { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ivory); }
.timer svg { width: 17px; height: 17px; color: var(--gold); }
.timer.low { color: var(--err); box-shadow: inset 0 0 0 1px rgba(240, 138, 126, .5); }
@media (max-width: 1000px) { .nav { display: none; } }
@media (max-width: 640px) { .hdr { height: 62px; } .hdr-cta { display: none; } .brand { font-size: 19px; } .brand img { width: 27px; height: 27px; } .icon-btn { padding: 0 9px; } }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -74px; padding-top: 74px; min-height: min(100svh, 940px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero .stage { position: absolute; inset: 0; z-index: -1; }
.hero .stage .gl { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero .stage.gl-on .gl { opacity: 1; }
.hero .stage .poster { position: absolute; inset: 0; background: var(--bg) url(../assets/hero-poster.jpg) 72% 50% / cover no-repeat; transition: opacity 1.2s; }
.hero .stage.gl-on .poster { opacity: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 12, 16, .82) 0%, rgba(10, 12, 16, .45) 34%, rgba(10, 12, 16, 0) 58%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 16, 0) 22%); }
.hero-in { width: min(var(--wrap), 100% - 56px); margin-inline: auto; padding: 60px 0 96px; pointer-events: none; }
.hero-copy { max-width: 780px; pointer-events: auto; }
.hero-copy .display span { white-space: nowrap; }
.hero-copy .hero-sub, .hero-copy .hero-act, .hero-copy .insp { max-width: 600px; }
.hero-copy .display span { display: block; }
.hero-copy .display .l2 { color: var(--ivory2); }
.hero-sub { margin-top: 30px; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: var(--stone); max-width: 44ch; }
.hero-act { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ivory2); font-size: 14.5px; font-weight: 500; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; color: var(--gold); }
.insp { margin-top: 56px; display: grid; gap: 6px; max-width: 480px; padding-inline-start: 18px; border-inline-start: 1px solid rgba(96, 150, 255, .45); }
.insp p { font-size: 14px; color: var(--stone); }
.insp p b { color: var(--ivory); font-weight: 600; }
.resume { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); font-size: 15px; }
.resume svg { width: 17px; height: 17px; }
@media (max-width: 900px) {
  .hero { min-height: 0; display: block; margin-top: -62px; padding-top: 62px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 16, 0) 18%); }
  .hero-in { padding: 18px 0 30px; width: calc(100% - 36px); }
  .hero .stage { position: relative; inset: auto; z-index: 0; height: min(360px, 44svh); margin: 0 -18px; }
  .hero .stage .poster { background-position: 100% 50%; }
  .display { font-size: clamp(52px, 15vw, 76px); }
  .hero-copy .display span { white-space: normal; }
  .hero-sub { margin-top: 0; font-size: 16.5px; }
  .hero-act { margin-top: 20px; }
  .hero-act .btn { width: 100%; }
  .facts { justify-content: center; width: 100%; font-size: 14px; }
  .insp { margin-top: 28px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 10vw, 150px) 0; position: relative; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 820px; }
.sec-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 72px; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; } }
.sheet { background: var(--card); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line2), 0 40px 80px -50px rgba(0, 0, 0, .8); }

/* domains, set as a ledger */
.form-sheet { background: none; box-shadow: none; border-top: 1px solid var(--line); border-radius: 0; }
.frow { display: grid; grid-template-columns: 96px minmax(180px, 1.05fr) minmax(220px, 1.5fr) 120px 150px; align-items: center; gap: 28px; padding: 30px 4px; border-bottom: 1px solid var(--line); transition: background .3s; }
.frow:hover { background: linear-gradient(90deg, rgba(96, 150, 255, .05), transparent 70%); }
.frow .fi { font-family: var(--serif); font-size: 52px; color: var(--gold); line-height: .9; }
.frow h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; letter-spacing: -.005em; }
.frow .fsb { display: block; margin-top: 8px; font-size: 13.5px; color: var(--mute); font-weight: 500; }
.frow p { color: var(--stone); font-size: 15.5px; line-height: 1.55; }
.frow .fn { font-size: 14.5px; font-weight: 600; color: var(--ivory2); font-variant-numeric: tabular-nums; }
.frow .fv { justify-self: end; width: 132px; height: 66px; display: grid; place-items: center; color: var(--ivory); }
.fv .mini-mx { display: grid; grid-template-columns: repeat(3, 34px); gap: 4px; }
.fv .mini-mx span { height: 34px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; color: var(--ivory); font-weight: 600; font-size: 15px; }
.fv .mini-mx span.q { border-style: dashed; border-color: var(--gold); color: var(--gold); }
.fv .mini-mx svg { width: 24px; height: 24px; }
.fv .mini-ser { font-family: var(--serif); font-size: 30px; white-space: nowrap; }
.fv .mini-ser b { color: var(--gold); font-weight: 400; }
.fv .mini-mem { display: grid; grid-template-columns: repeat(3, 18px); gap: 5px; }
.fv .mini-mem i { height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.fv .mini-mem i.on { background: var(--gold); box-shadow: none; }
.fv svg.cubes { width: 92px; height: 64px; }
@media (max-width: 980px) {
  .frow { grid-template-columns: 56px 1fr auto; grid-template-areas: 'i h v' 'i p v' 'i n v'; gap: 6px 18px; padding: 24px 0; align-items: start; }
  .frow .fi { grid-area: i; font-size: 40px; }
  .frow > div:nth-child(2) { grid-area: h; }
  .frow h3 { font-size: 28px; }
  .frow p { grid-area: p; font-size: 15px; }
  .frow .fn { grid-area: n; font-size: 13.5px; color: var(--mute); margin-top: 4px; }
  .frow .fv { grid-area: v; width: 96px; height: 56px; align-self: center; }
  .fv .mini-mx { grid-template-columns: repeat(3, 26px); gap: 3px; } .fv .mini-mx span { height: 26px; } .fv .mini-mx svg { width: 18px; height: 18px; }
  .fv .mini-ser { font-size: 22px; }
}
@media (max-width: 520px) { .frow { grid-template-columns: 44px 1fr; grid-template-areas: 'i h' 'i p' 'i n'; } .frow .fv { display: none; } }

/* sample item: an ivory test page on the dark desk */
.try-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.try-copy { display: grid; gap: 22px; }
.try-copy .note { font-size: 14px; color: var(--gold); font-weight: 600; }
.paper { background: var(--paper); color: var(--pink); border-radius: 6px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 60px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); }
.try-sheet { padding: clamp(24px, 3.4vw, 44px); transform: rotate(-1.2deg); }
.try-sheet .qline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; border-bottom: 1px solid var(--pline); padding-bottom: 14px; }
.try-sheet .qline b { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.try-sheet .qline span { font-size: 12.5px; color: #5b6577; font-weight: 600; white-space: nowrap; }
.mx { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--pink); max-width: 360px; margin-inline: auto; color: var(--pink); }
.mx > div { aspect-ratio: 1; display: grid; place-items: center; border-inline-end: 1px solid var(--pink); border-bottom: 1px solid var(--pink); }
.mx > div:nth-child(3n) { border-inline-end: 0; }
.mx > div:nth-child(n+7) { border-bottom: 0; }
.mx > div svg { width: 62%; height: 62%; }
.mx > div.q { color: var(--gold-lo); font-family: var(--serif); font-size: 44px; background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(31, 95, 214, .09) 8px 9px); }
.try-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.aopt { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pline); color: var(--pink); transition: box-shadow .15s, background .15s; }
.aopt:hover { box-shadow: inset 0 0 0 1.5px var(--pink); }
.aopt svg.cell { width: 60%; height: 60%; }
.aopt .k { position: absolute; top: 7px; inset-inline-start: 9px; font-size: 11.5px; font-weight: 700; color: #7b8494; }
.aopt.right { box-shadow: inset 0 0 0 2px var(--ok-p); background: #eef6ef; }
.aopt.wrong { box-shadow: inset 0 0 0 2px var(--err-p); background: #fbefed; }
.try-fb { min-height: 48px; margin-top: 18px; font-size: 15px; color: #4b5565; }
.try-fb.ok { color: var(--ok-p); }
@media (max-width: 900px) { .try-grid { grid-template-columns: 1fr; } .try-sheet { transform: none; } }

/* methodology */
.meth { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.meth article { padding: 34px 36px 6px 0; display: grid; gap: 14px; align-content: start; }
.meth article + article { padding-inline-start: 36px; border-inline-start: 1px solid var(--line); }
.meth h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }
.meth p { color: var(--stone); font-size: 15.5px; line-height: 1.65; }
.tm { margin-top: 44px; font-size: 13px; color: var(--mute); max-width: 90ch; }
@media (max-width: 900px) { .meth { grid-template-columns: 1fr; } .meth article, .meth article + article { padding: 28px 0; border-inline-start: 0; border-top: 1px solid var(--line); } .meth article:first-child { border-top: 0; } }

/* certificate showcase */
.night { background: radial-gradient(60% 70% at 70% 50%, rgba(96, 150, 255, .12), transparent 70%), var(--bg2); border-block: 1px solid var(--line2); }
.night .lead { color: var(--stone); }
.cert-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.cert-copy { display: grid; gap: 24px; }
.cert-copy ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cert-copy li { display: flex; gap: 14px; align-items: center; color: var(--ivory2); font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cert-copy li svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.cert-copy .btn { justify-self: start; }
.cert-stage { perspective: 1800px; }
.cert-stage .cert { transform: rotateX(10deg) rotateY(-16deg) rotateZ(1.5deg); transition: transform .8s var(--ease); box-shadow: 0 70px 110px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 120px -30px rgba(96, 150, 255, .25); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; } .cert-stage .cert { transform: none; } }

/* report preview */
.rep-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.rep-sheet { padding: clamp(24px, 3vw, 40px); }
.rep-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.rep-top .iqv { font-family: var(--serif); font-size: 120px; line-height: .78; color: var(--ivory); font-variant-numeric: lining-nums; }
.rep-top .iqv small { display: block; margin-top: 16px; font-family: var(--f); font-size: 13.5px; font-weight: 600; color: var(--stone); }
.rep-top .cls { text-align: end; }
.rep-top .cls b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--gold-hi); line-height: 1.05; }
.rep-top .cls span { color: var(--stone); font-size: 14.5px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(96, 150, 255, .5); color: var(--gold); font-size: 12px; font-weight: 600; }
.rep-list { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; border-top: 1px solid var(--line); }
.rep-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ivory2); }
.rep-list li svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 2px; }
@media (max-width: 960px) { .rep-grid { grid-template-columns: 1fr; } .rep-top .iqv { font-size: 96px; } }

/* curve + band table */
.fig { position: relative; width: 100%; }
.fig svg { width: 100%; height: 100%; overflow: visible; }
.bands { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 20px; }
.bands th { text-align: start; font-weight: 600; font-size: 12.5px; color: var(--mute); padding: 0 0 10px; }
.bands td { padding: 10px 0; border-top: 1px solid var(--line2); color: var(--stone); font-variant-numeric: tabular-nums; }
.bands td:last-child, .bands th:last-child { text-align: end; }
.bands tr.me td { color: var(--gold-hi); font-weight: 600; }
.bands tr.me td:first-child { position: relative; }
.bands tr.me td:first-child::before { content: ''; position: absolute; inset-inline-start: -16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 0 36px 0 0; display: grid; gap: 14px; align-content: start; }
.step + .step { padding-inline-start: 36px; border-inline-start: 1px solid var(--line); }
.step .sn { font-family: var(--serif); font-size: 64px; line-height: .8; color: var(--gold); }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { color: var(--stone); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 30px; } .step, .step + .step { padding: 0; border: 0; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-size: 18px; font-weight: 500; color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; inset-inline-end: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-inline-end: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 44px 26px 0; color: var(--stone); font-size: 16px; max-width: 64ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* final */
.final { text-align: center; overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(63, 125, 255, .22), transparent); pointer-events: none; }
.final .wrap { position: relative; display: grid; justify-items: center; gap: 24px; }
.final img { width: 104px; height: 104px; filter: drop-shadow(0 20px 40px rgba(63, 125, 255, .45)); }

/* footer */
footer { padding: 60px 0 120px; border-top: 1px solid var(--line2); font-size: 14px; color: var(--stone); }
footer .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
footer nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
footer nav button { color: var(--ivory2); font-weight: 500; }
footer nav button:hover { color: var(--gold); }
footer p { max-width: 92ch; margin-top: 8px; }
footer p.small { font-size: 12.5px; }

.sticky-cta { position: fixed; z-index: 45; inset: auto 0 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 12, 16, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: none; }
@media (min-width: 901px) { .sticky-cta { display: none; } }

/* ---------- certificate (HTML) ---------- */
.cert { position: relative; aspect-ratio: 1.414; container-type: inline-size; background: #ffffff; color: #0c1a33; border-radius: 3px; overflow: hidden; }
.cert .frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.cert .ci { position: absolute; inset: 9% 10% 8%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert .clogo { width: 7cqw; height: 7cqw; }
.cert .cwm { margin-top: .6cqw; font-size: 2.9cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.cert .cwm i { font-style: normal; color: #0058cc; }
.cert .cwm2 { margin-top: .5cqw; font-size: 1.05cqw; letter-spacing: .32em; color: #8a93a6; text-transform: uppercase; font-weight: 600; }
.cert .t2 { margin-top: 2.6cqw; font-family: var(--didone); font-size: 3.7cqw; line-height: 1.1; }
.cert .t3 { margin-top: 1.6cqw; font-size: 1.35cqw; color: #56627a; }
.cert .nm { margin-top: .6cqw; font-family: var(--didone); font-style: italic; font-size: 6.2cqw; line-height: 1.12; padding: 0 3cqw .4cqw; border-bottom: 1px solid #d9dde6; min-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cert .t4 { margin-top: 1.4cqw; font-size: 1.3cqw; color: #56627a; }
.cert .vals { display: flex; gap: 6cqw; margin-top: 1.6cqw; }
.cert .vals div { display: grid; }
.cert .vals b { font-family: var(--didone); font-weight: 400; font-size: 7.4cqw; line-height: 1; }
.cert .vals span { font-size: 1cqw; letter-spacing: .26em; color: #0058cc; font-weight: 650; text-transform: uppercase; margin-top: .6cqw; }
.cert .vals.blur b { filter: blur(1.4cqw); opacity: .8; }
.cert .foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 3cqw; }
.cert .foot > div { display: grid; justify-items: center; }
.cert .foot b { font-size: 1.45cqw; font-weight: 600; }
.cert .foot i { width: 80%; height: 1px; background: #d9dde6; margin: .7cqw 0; }
.cert .foot span { font-size: 1.05cqw; color: #56627a; }
.cert .seal { width: 11cqw; height: 11cqw; }
.cert .samp { position: absolute; z-index: 2; top: 4.6cqw; inset-inline-end: 5cqw; font-size: 1.15cqw; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: #0058cc; border: 1px solid currentColor; padding: .35cqw .9cqw; border-radius: .4cqw; }

/* ---------- onboarding ---------- */
.ob { min-height: calc(100svh - 74px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.ob-main { display: flex; align-items: center; justify-content: center; padding: 48px 28px 80px; }
.ob-form { width: min(540px, 100%); display: grid; gap: 24px; }
.ob-form h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 58px); line-height: .98; letter-spacing: -.005em; }
.ob-step { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; color: var(--stone); }
.ob-step div { display: flex; gap: 6px; }
.ob-step i { width: 30px; height: 2px; border-radius: 2px; background: var(--line); }
.ob-step i.on { background: var(--gold); }
.field { display: grid; gap: 9px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ivory2); }
.input { height: 58px; width: 100%; border-radius: 14px; border: 0; background: rgba(226, 232, 244, .04); box-shadow: inset 0 0 0 1px var(--line); padding: 0 18px; font-size: 17px; color: var(--ivory); outline: 0; transition: box-shadow .2s, background .2s; }
.input::placeholder { color: var(--mute); }
.input:focus { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(96, 150, 255, .05); }
.input.big { height: 84px; font-family: var(--serif); font-size: 52px; max-width: 220px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.chips { display: grid; gap: 10px; }
.chip { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; text-align: start; color: var(--ivory); transition: box-shadow .2s, background .2s; }
.chip::before { content: ''; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--mute); flex: none; transition: box-shadow .2s; }
.chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--gold); background: var(--gold-t); }
.chip[aria-pressed="true"]::before { box-shadow: inset 0 0 0 5.5px var(--gold); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--stone); line-height: 1.55; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 0; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--mute); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold); box-shadow: none; }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #0a0c10; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.inl { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.err { min-height: 20px; color: var(--err); font-size: 14px; font-weight: 500; }
.ob-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.ob-side { position: relative; background: radial-gradient(70% 60% at 50% 50%, rgba(96, 150, 255, .1), transparent 70%), var(--bg2); border-inline-start: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; padding: 48px; overflow: hidden; }
.ob-side-in { position: relative; width: min(580px, 100%); display: grid; gap: 22px; perspective: 1600px; }
.ob-side .cert { box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .6s var(--ease); }
.ob-side .cap { font-size: 14px; color: var(--stone); text-align: center; }
.intro-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.intro-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ivory2); font-size: 16px; }
.intro-list li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
@media (max-width: 960px) { .ob { grid-template-columns: 1fr; min-height: 0; } .ob-side { order: -1; padding: 16px 18px; border: 0; border-bottom: 1px solid var(--line2); } .ob-side-in { width: min(230px, 100%); } .ob-side .cap { display: none; } .ob-main { padding: 20px 18px 120px; align-items: flex-start; } .ob-form { gap: 16px; } .ob-form h1 { font-size: 36px; } .ob-nav .btn-lg { flex: 1; } }

/* ---------- test: ivory exam paper on the dark desk ---------- */
.tbar { position: sticky; top: 74px; z-index: 30; background: rgba(10, 12, 16, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tbar .wrap { display: flex; align-items: center; gap: 20px; height: 56px; }
.tbar .cnt { font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbar .dom { font-size: 14px; color: var(--stone); white-space: nowrap; }
.prog { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width .5s var(--ease); }
.qwrap { width: min(980px, 100% - 32px); margin: 26px auto 0; padding-bottom: 130px; }
.qcard.sheet { background: var(--paper); color: var(--pink); border-radius: 8px; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 70px 110px -60px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 0, 0, .5); padding: clamp(24px, 4vw, 54px); }
.qtext { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.08; max-width: 30ch; color: var(--pink); }
.qbody { display: grid; gap: 30px; margin-top: 30px; }
.qbody.g4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 44px; }
.stim { display: grid; justify-items: center; color: var(--pink); }
.stim .matrix { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 350px; border: 1.5px solid var(--pink); background: #ffffff; }
.stim .mx-cell { aspect-ratio: 1; display: grid; place-items: center; border-inline-end: 1px solid var(--pink); border-bottom: 1px solid var(--pink); }
.stim .mx-cell:nth-child(3n) { border-inline-end: 0; }
.stim .mx-cell:nth-child(n+7) { border-bottom: 0; }
.stim .mx-cell svg { width: 66%; height: 66%; }
.stim .mx-cell.q { color: var(--gold-lo); font-family: var(--serif); font-size: 40px; background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(31, 95, 214, .1) 8px 9px); }
.stim .series { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-variant-numeric: lining-nums; }
.stim .series span { min-width: 68px; height: 78px; padding: 0 14px; display: grid; place-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--pline); background: #ffffff; }
.stim .series span.q { color: var(--gold-lo); box-shadow: inset 0 0 0 1.5px var(--gold-lo); background: rgba(96, 150, 255, .14); }
.stim .series i { font-style: normal; color: #8b94a3; align-self: end; padding-bottom: 14px; margin-inline: -4px; }
.stim svg { max-width: 100%; height: auto; }
.stim .balance { display: grid; gap: 12px; }
.stim .eq { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 20px; border-radius: 10px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pline); }
.stim .eq b { font-size: 22px; font-weight: 500; color: #5b6577; }
.stim .eq .q { font-family: var(--serif); font-size: 32px; color: var(--gold-lo); min-width: 28px; text-align: center; }
.stim .bsym { width: 40px; height: 40px; color: var(--pink); }
.stim .model { width: 176px; height: 176px; padding: 10px; border-radius: 12px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pline); }
.stim .model svg { width: 100%; height: 100%; }
.stim .foldwrap svg { width: 100%; max-width: 390px; }
.stim .cubewrap svg { width: 270px; max-width: 100%; }
.stim .vq { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.18; max-width: 30ch; }
.qbody.g1 .stim { justify-items: start; }
.opts { display: grid; gap: 10px; }
.opts.g4 { grid-template-columns: repeat(4, 1fr); }
.opts.g3 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.opts.g1 { grid-template-columns: 1fr; }
.opt { position: relative; min-height: 66px; display: grid; place-items: center; border-radius: 10px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pline); color: var(--pink); font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; transition: box-shadow .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.opts.g4 .opt { aspect-ratio: 1; }
.opt svg.cell { width: 64%; height: 64%; }
.opt .num { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.opt .txt { font-size: 17px; font-weight: 500; }
.opts.g1 .opt { justify-items: start; text-align: start; padding: 16px 18px 16px 56px; min-height: 60px; }
.opt .k { position: absolute; top: 7px; inset-inline-start: 9px; font-size: 11.5px; font-weight: 700; color: #7b8494; }
.opts.g1 .opt .k { top: 50%; transform: translateY(-50%); inset-inline-start: 18px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--pline); display: grid; place-items: center; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--pink); }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--pink); background: #fff; }
.opt[aria-pressed="true"] .k { color: var(--pink); }
.opts.g1 .opt[aria-pressed="true"] .k { background: var(--pink); color: var(--paper); box-shadow: none; }
.qnav { position: fixed; z-index: 30; inset: auto 0 0 0; background: rgba(10, 12, 16, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line2); padding-bottom: env(safe-area-inset-bottom); }
.qnav .wrap { display: flex; align-items: center; gap: 12px; height: 78px; }
.qnav .sp { flex: 1; }
@media (max-width: 760px) {
  .hdr ~ main .tbar { top: 62px; } .tbar { top: 62px; } .tbar .dom { display: none; }
  .qwrap { width: calc(100% - 20px); margin-top: 10px; }
  .qbody.g4 { grid-template-columns: 1fr; gap: 22px; }
  .opts.g4 { gap: 7px; } .opts.g4 .opt .k { top: 4px; inset-inline-start: 6px; font-size: 10.5px; }
  .stim .matrix { max-width: 300px; }
  .qnav .wrap { height: 70px; }
}
/* memory */
.wm { display: grid; justify-items: center; gap: 22px; margin-top: 30px; }
.wm-stage { width: 184px; height: 184px; display: grid; place-items: center; border-radius: 16px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pline); color: var(--pink); }
.wm-stage svg { width: 60%; height: 60%; }
.corsi { display: grid; grid-template-columns: repeat(3, 76px); gap: 10px; }
.corsi button { width: 76px; height: 76px; border-radius: 12px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--pline); transition: background .12s; }
.corsi button.lit { background: var(--pink); box-shadow: none; }
.corsi.wait button { cursor: default; }
.slots { display: flex; gap: 8px; }
.slots span { width: 46px; height: 46px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--pline); display: grid; place-items: center; font-weight: 600; color: var(--pink); background: #ffffff; }
.slots span.f { box-shadow: inset 0 0 0 1.5px var(--pink); }
.slots span svg { width: 30px; height: 30px; }
.palette { display: grid; grid-template-columns: repeat(4, 72px); gap: 10px; }
.palette .opt { min-height: 72px; }
.palette .opt svg { width: 46px; height: 46px; }
.palette .opt .k { display: none; }
.wm-note { font-size: 14px; color: #5b6577; }
.qcard .btn-gold, .qcard .btn-ink { background: var(--pink); color: var(--paper); box-shadow: none; }
.qcard .link { color: var(--gold-lo); }
@media (max-width: 760px) { .corsi { grid-template-columns: repeat(3, 70px); } .corsi button { width: 70px; height: 70px; } .palette { grid-template-columns: repeat(4, 64px); } .palette .opt { min-height: 64px; } }
/* mid-test status */
.toast { position: fixed; z-index: 60; top: 142px; left: 50%; width: min(560px, calc(100% - 24px)); transform: translate(-50%, -14px); opacity: 0; transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-in { display: flex; gap: 14px; align-items: flex-start; padding: 16px 16px 16px 18px; border-radius: 18px; background: rgba(17, 17, 21, .96); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(96, 150, 255, .35), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.toast-in img { width: 34px; height: 34px; flex: none; }
.toast-in .tl { display: block; font-size: 12.5px; color: var(--gold); font-weight: 600; margin-bottom: 3px; }
.toast-in p { font-size: 15px; line-height: 1.45; }
.toast-in .icon-btn { color: var(--stone); margin-inline-start: auto; height: 32px; min-width: 32px; padding: 0; }
@media (max-width: 760px) { .toast { top: 126px; } }
.ov-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ov-grid button { height: 48px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }
.ov-grid button.a { background: var(--gold); color: #0a0c10; box-shadow: none; }
.ov-grid button.c { box-shadow: inset 0 0 0 2px var(--ivory); }

/* ---------- analysis ---------- */
.an { min-height: calc(100svh - 74px); display: grid; grid-template-columns: 1.05fr .95fr; }
.an-stage { position: relative; min-height: 440px; }
.an-stage .gl { position: absolute; inset: 0; }
.an-stage .poster { position: absolute; inset: 0; display: grid; place-items: center; }
.an-stage .poster img { width: 120px; filter: drop-shadow(0 20px 40px rgba(63, 125, 255, .45)); }
.an-stage.gl-on .poster { display: none; }
.an-panel { padding: 56px clamp(24px, 5vw, 76px) 64px; display: flex; flex-direction: column; gap: 22px; justify-content: center; background: var(--bg2); border-inline-start: 1px solid var(--line2); }
.an-panel h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 3.8vw, 56px); line-height: .98; }
.an-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.an-top .pct { font-family: var(--serif); font-size: 96px; line-height: .8; color: var(--gold-hi); font-variant-numeric: tabular-nums lining-nums; }
.an-top span { text-align: end; color: var(--stone); font-size: 14px; }
.an-bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.an-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.an-phases { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line2); }
.an-phases li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); color: var(--mute); font-size: 15px; font-weight: 500; }
.an-phases li i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; position: relative; }
.an-phases li small { margin-inline-start: auto; font-size: 13px; font-variant-numeric: tabular-nums; }
.an-phases li.run { color: var(--ivory); }
.an-phases li.run i { box-shadow: inset 0 0 0 1.5px var(--gold); }
.an-phases li.run i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); animation: pulse 1s infinite alternate; }
.an-phases li.done { color: var(--ivory2); }
.an-phases li.done i { background: var(--gold); box-shadow: none; }
.an-phases li.done i::after { content: ''; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 8px; border: solid #0a0c10; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
@keyframes pulse { from { opacity: .35; } to { opacity: 1; } }
.an-tiles { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.an-tiles i { aspect-ratio: 1; border-radius: 3px; background: rgba(226, 232, 244, .07); transition: background .25s, box-shadow .25s; }
.an-tiles i.on { background: var(--gold); box-shadow: 0 0 10px rgba(96, 150, 255, .35); }
.an-tiles i.m { background: var(--sapphire); box-shadow: 0 0 10px rgba(63, 125, 255, .45); }
.an-post { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line2); }
.an-post svg { width: 100%; height: 62px; }
.an-post b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 400; font-variant-numeric: tabular-nums; text-align: end; color: var(--ivory); line-height: 1; }
.an-post span { font-size: 12.5px; color: var(--stone); }
.an-log { display: grid; gap: 3px; min-height: 176px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.an-log p { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; color: var(--stone); animation: logIn .35s var(--ease); }
.an-log p b { color: var(--ivory2); font-weight: 600; }
.an-log p em { font-style: normal; color: var(--gold); font-weight: 700; }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } }
@media (max-width: 900px) { .an { grid-template-columns: 1fr; } .an-stage { min-height: 280px; height: 36svh; } .an-panel { padding: 26px 18px 48px; border: 0; } .an-top .pct { font-size: 76px; } .an-log { min-height: 0; } }

/* ---------- paywall ---------- */
.pw { padding: 30px 0 120px; position: relative; overflow-x: clip; }
.pw::before { content: ''; position: absolute; left: 50%; top: 0; width: 1000px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(63, 125, 255, .16), transparent); pointer-events: none; }
.pw .wrap { position: relative; }
.pw-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin: 0 auto 40px; max-width: 900px; }
.pw-head img { width: 56px; height: 56px; filter: drop-shadow(0 14px 30px rgba(63, 125, 255, .5)); }
.pw-head .ready { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--gold); }
.pw-head .ready svg { width: 18px; height: 18px; }
.pw-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.4vw, 78px); line-height: .95; }
.pw-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 28px; align-items: start; }
.pw-prev { display: grid; gap: 20px; }
.pw-card { padding: clamp(22px, 3vw, 34px); }
.pw-card h3 { font-size: 14.5px; font-weight: 600; color: var(--stone); margin-bottom: 18px; }
.pv-iq { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pv-iq .big { font-family: var(--serif); font-size: 128px; line-height: .78; color: var(--gold-hi); filter: blur(10px); opacity: .75; user-select: none; }
.pv-iq .lockline { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.pv-iq .lockline svg { width: 18px; height: 18px; color: var(--gold); }
.pv-iq p { color: var(--stone); font-size: 15px; margin-top: 4px; }
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 20px; }
.teasers div { padding-inline-end: 14px; }
.teasers div + div { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.teasers b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--ivory); }
.teasers b small { font-family: var(--f); font-size: 14px; color: var(--stone); font-weight: 600; margin-inline-start: 4px; }
.teasers span { display: block; margin-top: 6px; font-size: 13px; color: var(--stone); }
.pw-bars { display: grid; gap: 15px; }
.pw-bars div { display: grid; grid-template-columns: 180px 1fr 44px; gap: 14px; align-items: center; font-size: 15px; color: var(--ivory2); }
.pw-bars i { height: 4px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.pw-bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--gold); filter: blur(3px); }
.pw-bars em { font-style: normal; font-weight: 600; filter: blur(5px); text-align: end; }
.buy { position: sticky; top: 92px; padding: 30px; display: grid; gap: 15px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(96, 150, 255, .32), 0 50px 100px -50px rgba(0, 0, 0, .9); }
.buy .bh { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16.5px; }
.buy .bh img { width: 30px; height: 30px; }
.buy .price { display: flex; align-items: baseline; gap: 12px; }
.buy .price b { font-family: var(--serif); font-weight: 400; font-size: 84px; line-height: .9; color: var(--ivory); font-variant-numeric: lining-nums; }
.buy .price s { color: var(--mute); font-size: 17px; }
.buy .once { font-size: 14px; color: var(--gold); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.buy .once svg { width: 17px; height: 17px; }
.buy ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.buy li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ivory2); }
.buy li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.paybadges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.paybadges span { height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 700; color: var(--ivory2); letter-spacing: .02em; }
.secure { display: flex; justify-content: center; gap: 8px; align-items: center; font-size: 13px; color: var(--stone); text-align: center; }
.secure svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
@media (max-width: 960px) { .pw-grid { grid-template-columns: minmax(0, 1fr); } .buy { position: static; } .pw { padding-top: 22px; } }
@media (max-width: 560px) { .pv-iq { grid-template-columns: 1fr; gap: 8px; } .pv-iq .big { font-size: 96px; } .teasers b { font-size: 30px; } .teasers div + div { padding-inline-start: 12px; } .pw-bars div { grid-template-columns: 1fr 1fr 36px; font-size: 14px; } .buy { padding: 24px; } .buy .price b { font-size: 72px; } }

/* ---------- results ---------- */
.res-head { padding: 40px 0 12px; position: relative; overflow-x: clip; }
.res-head::before { content: ''; position: absolute; right: 0; top: -80px; width: 900px; height: 600px; background: radial-gradient(closest-side, rgba(96, 150, 255, .14), transparent); pointer-events: none; }
.res-head .rh { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.res-head .who { font-size: 14.5px; color: var(--stone); font-weight: 500; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.res-head .who img { width: 22px; height: 22px; }
.res-head h1 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.8vw, 86px); line-height: .95; }
.res-head .cls { margin-top: 18px; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); color: var(--gold-hi); line-height: 1.05; }
.res-head .pp { margin-top: 10px; color: var(--stone); font-size: 16px; }
.iqbig { text-align: end; }
.iqbig b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(170px, 22vw, 320px); line-height: .74; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; background: linear-gradient(180deg, #ffffff 0%, #dfe9ff 55%, #9fc0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iqbig span { display: block; margin-top: 22px; font-size: 14.5px; color: var(--stone); font-weight: 600; }
@media (max-width: 760px) { .res-head .rh { grid-template-columns: 1fr; } .iqbig { text-align: start; order: -1; } }
.res-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 30px 0 40px; }
.res-grid .card { padding: clamp(22px, 2.6vw, 34px); }
.res-grid .w6 { grid-column: span 6; }
.res-grid .w3 { grid-column: span 3; }
.card h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; margin-bottom: 20px; }
.card .note { font-size: 13.5px; color: var(--mute); margin-top: 14px; }
.curve-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .res-grid { grid-template-columns: 1fr; } .res-grid .w6, .res-grid .w3 { grid-column: auto; } .curve-grid { grid-template-columns: 1fr; } }
.radar { width: 100%; max-width: 420px; margin-inline: auto; }
.bars { display: grid; gap: 15px; }
.bar-row .top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; color: var(--ivory2); }
.bar-row .top b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ivory); }
.bar-row .tr { height: 4px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.bar-row .tr i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: 2px; transition: width 1.2s var(--ease); }
.bar-row small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mute); }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; margin: 18px 0 8px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(226, 232, 244, .08); }
.dots i.b { background: var(--ivory2); }
.dots i.me { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.stat-list { display: grid; }
.stat-list div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); font-size: 15px; }
.stat-list div:last-child { border-bottom: 0; }
.stat-list span { color: var(--stone); }
.stat-list b { font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; color: var(--ivory); }
.ci-bar { position: relative; height: 64px; margin: 12px 10px 0; }
.ci-bar .ax { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.ci-bar .rg { position: absolute; top: 15px; height: 15px; border-radius: 8px; background: var(--gold-t); box-shadow: inset 0 0 0 1px var(--gold); }
.ci-bar .pt { position: absolute; top: 12px; width: 21px; height: 21px; margin-left: -10.5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 3px var(--bg), 0 0 18px var(--gold); }
.ci-bar .lb { position: absolute; top: 42px; transform: translateX(-50%); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ivory2); }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); }
.tips div { padding-inline-end: 26px; }
.tips div + div { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.tips b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 8px; color: var(--gold-hi); }
.tips p { color: var(--stone); font-size: 15px; }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; gap: 22px; } .tips div, .tips div + div { padding: 0; border: 0; } }
.cert-cv { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .2s; }
.sheet-m { width: min(620px, 100%); max-height: min(86svh, 820px); overflow: auto; background: #131317; color: var(--ivory); border-radius: 22px; padding: 26px 28px 30px; box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -30px rgba(0, 0, 0, .9); animation: rise .3s var(--ease); }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sheet-h h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 640px) { .scrim { align-items: flex-end; padding: 0; } .sheet-m { border-radius: 22px 22px 0 0; max-height: 88svh; padding: 22px 20px calc(26px + env(safe-area-inset-bottom)); } }
.lang-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lang-list button { height: 52px; padding: 0 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); text-align: start; font-weight: 500; }
.lang-list button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-hi); }
.set-sec + .set-sec { margin-top: 26px; }
.set-sec h3 { font-size: 13.5px; font-weight: 600; color: var(--stone); margin-bottom: 10px; }
.set-links { display: grid; border-top: 1px solid var(--line); }
.set-links button { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font-weight: 500; }
.set-links svg { width: 17px; height: 17px; color: var(--gold); }
.legal { font-size: 15px; line-height: 1.7; color: var(--ivory2); }
.legal h3 { font-size: 16.5px; margin: 22px 0 6px; color: var(--ivory); }
.legal p { margin: 0 0 10px; }
.legal .todo { color: var(--err); font-weight: 600; }

.blur { filter: blur(6px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
[dir="rtl"] .hero::before { background: linear-gradient(-90deg, rgba(10, 12, 16, .82) 0%, rgba(10, 12, 16, .45) 34%, rgba(10, 12, 16, 0) 58%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 12, 16, 0) 22%); }

/* ---------- v6 additions ---------- */
.made { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ivory2); }
.flag-de { width: 18px; height: 12px; border-radius: 2px; flex: none; background: linear-gradient(#111 0 33.3%, #d00 33.3% 66.6%, #ffce00 66.6%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.spec { border-block: 1px solid var(--line2); background: var(--bg2); }
.spec dl { margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.spec dl div { padding: 26px 18px; text-align: center; border-inline-start: 1px solid var(--line2); }
.spec dl div:first-child { border-inline-start: 0; }
.spec dt { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ivory); white-space: nowrap; }
.spec dd { margin: 8px 0 0; font-size: 13px; color: var(--stone); font-weight: 500; }
@media (max-width: 900px) { .spec dl { grid-template-columns: repeat(3, 1fr); } .spec dl div { padding: 20px 8px; } .spec dl div:nth-child(4) { border-inline-start: 0; } .spec dl div:nth-child(n+4) { border-top: 1px solid var(--line2); } .spec dt { font-size: 26px; } .spec dd { font-size: 12px; } }
.plans { display: grid; gap: 10px; }
.plan { display: grid; gap: 12px; padding: 16px 16px 14px; border-radius: 16px; text-align: start; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.plan.on { box-shadow: inset 0 0 0 1.5px var(--ivory); background: rgba(226, 232, 244, .045); }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--mute); flex: none; }
.plan.on .plan-radio { box-shadow: inset 0 0 0 5.5px var(--ivory); }
.plan-name { font-weight: 600; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.plan-name em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--gold-t); color: var(--gold); }
.plan-price { margin-inline-start: auto; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; white-space: nowrap; }
.plan ul { list-style: none; margin: 0; padding: 0 0 0 30px; display: grid; gap: 6px; border: 0; }
[dir="rtl"] .plan ul { padding: 0 30px 0 0; }
.plan li { display: flex; gap: 9px; padding: 0; border: 0; font-size: 14px; color: var(--stone); }
.plan.on li { color: var(--ivory2); }
.plan li svg { width: 15px; height: 15px; margin-top: 3px; color: var(--gold); flex: none; }
.upsell { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px 48px; align-items: center; box-shadow: inset 0 0 0 1px rgba(96, 150, 255, .35), 0 40px 80px -50px rgba(0, 0, 0, .8); }
.up-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.up-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ivory2); font-size: 15.5px; }
.up-list li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.up-buy { display: grid; gap: 14px; }
.up-price { font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: .9; }
.up-buy .once { font-size: 14px; color: var(--gold); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.up-buy .once svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 860px) { .upsell { grid-template-columns: 1fr; } .up-price { font-size: 60px; } }
.int-lead { font-family: var(--serif); font-size: 30px; line-height: 1.05; color: var(--ivory); margin-bottom: 6px; }
.bands.int td:nth-child(2), .bands.int th:nth-child(2) { text-align: end; padding-inline-end: 18px; white-space: nowrap; }
.bands.int td:last-child { white-space: nowrap; }
.it-head, .it-row { display: grid; grid-template-columns: 44px 1.4fr .8fr 1fr; gap: 10px; align-items: center; font-size: 14px; }
.it-head { font-size: 12.5px; font-weight: 600; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.it-log { columns: 2; column-gap: 48px; }
.it-head { max-width: calc(50% - 24px); }
.it-row { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line2); color: var(--stone); font-variant-numeric: tabular-nums; }
.it-row span:first-child { color: var(--mute); }
.it-row span:last-child { font-weight: 600; text-align: end; }
.it-head span:last-child { text-align: end; }
.it-row.ok span:last-child { color: var(--ok); }
.it-row.no span:last-child { color: var(--err); }
@media (max-width: 860px) { .it-log { columns: 1; } .it-head { max-width: none; } .it-head, .it-row { grid-template-columns: 30px 1.5fr .7fr 1fr; font-size: 13px; gap: 8px; } }
.buy .bh { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; }
.card .ci-bar { margin-top: 22px; }

.pw-prev, .pw-card, .buy, .plan, .teasers div, .res-grid > *, .curve-grid > * { min-width: 0; }
.plan-name { overflow-wrap: anywhere; }
.pw-head h1, .res-head h1, .ob-form h1, .qtext, .h2 { overflow-wrap: break-word; }
@media (max-width: 960px) { .res-grid { grid-template-columns: minmax(0, 1fr); } .curve-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .teasers b { font-size: 25px; } .teasers b small { font-size: 12px; margin-inline-start: 2px; } .teasers div + div { padding-inline-start: 10px; } .teasers div { padding-inline-end: 8px; } .teasers span { font-size: 12px; } .plan-price { font-size: 26px; } .int-lead { font-size: 26px; } }
.radar { max-width: 520px; }
.buy, .plans, .up-buy { grid-template-columns: minmax(0, 1fr); }
.plan-top { min-width: 0; } .plan-name { flex: 1 1 0; }
.plan li span { min-width: 0; overflow-wrap: anywhere; }
/* test legibility + RTL + small screens */
.qtext, .stim .vq { font-family: var(--f); font-weight: 560; letter-spacing: -.015em; }
.qtext { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.25; max-width: 34ch; }
.stim .vq { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; max-width: 40ch; }
.opts.g1 .opt { padding: 16px 18px; padding-inline-start: 56px; }
.opt .num { font-family: var(--f); font-size: 22px; font-weight: 600; }
.btn-block { white-space: normal; height: auto; min-height: var(--bh); padding-block: 12px; line-height: 1.2; text-align: center; }
@media (max-width: 760px) { .opts.g3 { grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); gap: 8px; } .opts.g3 .opt { min-height: 60px; } .qcard.sheet { padding: 20px 16px 22px; } .qbody { margin-top: 20px; gap: 20px; } }
@media (max-width: 760px) { .opts.g3 { grid-template-columns: repeat(auto-fit, minmax(46px, 1fr)); } .opt .num { font-size: 20px; } }
@media (max-width: 960px) { .pw-grid { display: flex; flex-direction: column; gap: 18px; } .pw-prev { display: contents; } .pw-prev > :first-child { order: 1; } .buy { order: 2; } .pw-prev > :nth-child(n+2) { order: 3; } }

/* ================= v7: quieter, more institutional =================
   Journal serif (Newsreader), squared controls, no glows, no gradient text, no grain, no decorative side bars. */
:root { --serif: 'Newsreader', Georgia, 'Times New Roman', serif; --r: 10px; }
body::after { display: none; }
html { scrollbar-color: #3a4150 var(--bg); }
::selection { background: #2b5fd0; color: #fff; }
input, textarea { caret-color: var(--gold); }
:focus-visible { outline: 2px solid #8fb8ff; outline-offset: 3px; border-radius: 4px; }
.display, .h2, .ob-form h1, .pw-head h1, .res-head h1, .an-panel h1, .sheet-h h2, .card h2, .meth h3, .frow h3 { font-optical-sizing: auto; font-weight: 400; text-wrap: balance; }
.display { font-size: clamp(44px, 5.5vw, 88px); line-height: 1.0; letter-spacing: -.03em; }
.h2 { font-size: clamp(32px, 3.5vw, 54px); line-height: 1.06; letter-spacing: -.025em; }
.hero-copy .display .l2 { color: var(--stone); }
.ob-form h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.pw-head h1 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -.025em; }
.res-head h1 { font-size: clamp(34px, 4vw, 60px); line-height: 1.04; letter-spacing: -.025em; }
.res-head .cls { font-size: clamp(22px, 2.2vw, 30px); color: var(--ivory); }
.an-panel h1 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.card h2 { font-size: 26px; letter-spacing: -.015em; }
.frow h3 { font-size: 26px; letter-spacing: -.015em; } .meth h3 { font-size: 25px; letter-spacing: -.015em; }
.sheet-h h2 { font-size: 26px; }
.rep-top .iqv { font-size: 96px; letter-spacing: -.03em; } .rep-top .cls b { font-size: 26px; color: var(--ivory); }
.an-top .pct { font-size: 76px; color: var(--ivory); letter-spacing: -.03em; }
.teasers b { font-size: 32px; } .pv-iq .big { font-size: 104px; color: var(--ivory); }
.buy .bh { font-size: 24px; } .plan-price { font-size: 26px; } .up-price { font-size: 60px; letter-spacing: -.03em; }
.int-lead { font-size: 26px; letter-spacing: -.015em; } .tips b { font-size: 21px; color: var(--ivory); }
.step .sn { font-size: 40px; color: var(--stone); } .spec dt { font-size: 28px; }
.iqbig b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ivory); font-size: clamp(120px, 15vw, 232px); line-height: .82; letter-spacing: -.04em; }
/* squared, calmer controls and surfaces */
.btn { border-radius: 10px; } .btn-lg { border-radius: 12px; } .hdr-cta { border-radius: 9px; }
.btn-gold, .btn-ink { box-shadow: none; } 
.icon-btn, .nav button { border-radius: 8px; } .timer { border-radius: 9px; }
.tag, .plan-name em, .paybadges span { border-radius: 5px; }
.sheet { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line2); } .sheet-m { border-radius: 16px; }
.input, .chip, .lang-list button { border-radius: 10px; } .plan { border-radius: 12px; }
.buy { box-shadow: inset 0 0 0 1px var(--line); } .upsell { box-shadow: inset 0 0 0 1px var(--line); }
.toast-in { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -20px rgba(0, 0, 0, .8); } .toast-in .tl { color: var(--stone); }
.qcard.sheet, .paper { border-radius: 6px; }
/* no glows, no tilt, no side bars */
.pw::before, .final::before, .res-head::before { display: none; }
.night { background: var(--bg2); }
.final img, .pw-head img, .an-stage .poster img { filter: none; }
.try-sheet { transform: none; }
.cert-stage .cert { transform: none; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.ob-side { background: var(--bg2); }
.insp { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 48px; }
.an-tiles i.on { background: var(--ivory2); box-shadow: none; } .an-tiles i.m { background: var(--gold); box-shadow: none; }
.dots i.me { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); } .bands tr.me td:first-child::before { box-shadow: none; }
.ci-bar .pt { background: var(--ivory); box-shadow: 0 0 0 3px var(--card); }
.frow:hover { background: none; } .frow .fi { display: none; }
.frow { grid-template-columns: minmax(180px, 1.05fr) minmax(220px, 1.5fr) 120px 150px; }
@media (max-width: 980px) { .frow { grid-template-columns: 1fr auto; grid-template-areas: 'h v' 'p v' 'n v'; } }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; grid-template-areas: 'h' 'p' 'n'; } }
/* spec sheet instead of big-number tiles */
.spec { background: none; }
.spec dl div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; text-align: start; padding: 22px 20px; }
.spec dt { font-family: var(--f); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.spec dd { margin: 0; font-size: 12.5px; }
@media (max-width: 900px) { .spec dl div { padding: 16px 12px; } .spec dt { font-size: 15px; } }
/* trust statements */
.trust-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.trust-list div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust-list dt { font-weight: 600; font-size: 17px; color: var(--ivory); }
.trust-list dd { margin: 6px 0 0; color: var(--stone); font-size: 15.5px; max-width: 38ch; }
@media (max-width: 640px) { .trust-list { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .display { font-size: clamp(40px, 11.5vw, 60px); } .insp { margin-top: 26px; } }
@media (max-width: 560px) { .teasers b { font-size: 23px; } .pv-iq .big { font-size: 84px; } .card h2 { font-size: 24px; } }
/* hero facts: a plain ruled line of text, no icons */
.hero-act { display: grid; justify-items: start; gap: 22px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 0; font-size: 14.5px; font-weight: 500; color: var(--ivory2); letter-spacing: 0; }
.facts li { padding: 2px 18px; border-inline-start: 1px solid rgba(226, 232, 244, .22); white-space: nowrap; }
.facts li:first-child { padding-inline-start: 0; border-inline-start: 0; }
@media (max-width: 900px) { .hero-act { justify-items: stretch; gap: 16px; } .facts { justify-content: center; width: 100%; font-size: 13.5px; } .facts li { padding: 2px 12px; } }
@media (max-width: 370px) { .facts { font-size: 12.5px; } .facts li { padding: 2px 8px; } }
@media (max-width: 900px) { .hero-act { grid-template-columns: minmax(0, 1fr); } .facts { flex-wrap: wrap; row-gap: 6px; font-size: 13px; } .facts li { padding: 2px 10px; } }

/* ================= v8: two-tier paywall ================= */
.pw .wrap { max-width: 1040px; }
.pw-sum { margin: 0 auto 8px; }
.pw-choose { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.02em; text-align: center; margin: 56px 0 26px; scroll-margin-top: 96px; }
.tiers { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 28px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.tier header h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.tier header p { margin-top: 6px; color: var(--stone); font-size: 15px; }
.tier-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier-price b { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.tier-price span { font-size: 13px; color: var(--stone); font-weight: 500; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.tier li { display: flex; gap: 11px; font-size: 15px; color: var(--ivory2); line-height: 1.45; }
.tier li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--ivory); }
.tier li.no { color: var(--mute); }
.tier li.no i { width: 17px; height: 17px; flex: none; margin-top: 2px; position: relative; }
.tier li.no i::before { content: ''; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; background: currentColor; border-radius: 1px; }
.tier .btn { margin-top: 4px; }
/* the full analysis: same structure, more presence */
.tier-full { background: linear-gradient(180deg, #1a1f29 0%, #131720 100%); box-shadow: inset 0 0 0 1.5px rgba(242, 244, 247, .55), 0 40px 80px -40px rgba(0, 0, 0, .9); padding-top: 34px; }
.tier-full li { color: var(--ivory); }
.tier-full li svg { color: #8fb8ff; }
.tier-badge { position: absolute; top: -13px; inset-inline-start: 28px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--ivory); color: #0a0c10; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }
.tier-diff { margin-top: -8px; font-size: 14px; font-weight: 600; color: #8fb8ff; }
.tier-prev { border-radius: 6px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.tier-prev .cert { pointer-events: none; }
.pw-legal { max-width: 620px; margin: 24px auto 44px; display: grid; gap: 12px; }
.pw-legal .check { font-size: 14px; }
.pw-legal .check.need input { box-shadow: inset 0 0 0 2px var(--err); }
.pw-legal .err:empty { display: none; }
@media (max-width: 820px) {
  .tiers { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tier { padding: 24px 20px 22px; } .tier-full { padding-top: 30px; }
  .tier-price b { font-size: 46px; } .tier header h3 { font-size: 27px; }
  .pw-choose { margin-top: 40px; }
}
/* verifying payment */
.verify { min-height: calc(100svh - 160px); display: grid; place-items: center; text-align: center; }
.verify .wrap { display: grid; justify-items: center; gap: 22px; }
.verify h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ivory); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .6; }

/* ================= v9: assurance band, hero layout ================= */
.hero { min-height: min(92svh, 820px); }
.hero-in { padding-bottom: 72px; }
.assure { position: relative; z-index: 3; margin-top: -1px; border-block: 1px solid var(--line); background: var(--bg2); }
.assure ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; }
.assure li { padding: 26px 28px 28px; border-inline-start: 1px solid var(--line); display: grid; gap: 6px; align-content: start; min-width: 0; }
.assure li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.assure b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.015em; color: var(--ivory); display: flex; align-items: center; gap: 10px; }
.assure span { font-size: 13.5px; line-height: 1.45; color: var(--stone); }
.assure .flag-de { width: 22px; height: 15px; }
.spec { border: 0; border-top: 1px solid var(--line2); margin-top: clamp(56px, 7vw, 96px); }
.spec dl div:first-child { padding-inline-start: 0; }
.meth { border-top: 1px solid var(--line2); }
@media (max-width: 900px) {
  .assure ul { grid-template-columns: 1fr 1fr; }
  .assure li { padding: 18px 14px 20px; border-top: 1px solid var(--line); }
  .assure li:nth-child(-n+2) { border-top: 0; }
  .assure li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .assure b { font-size: 19px; } .assure span { font-size: 12.5px; }
  .hero-in { padding-bottom: 26px; }
}
/* phone / in-app browser: start button on the first screen */
@media (max-width: 900px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .display { order: 1; } .hero .stage { order: 2; height: min(250px, 31svh); } .hero-act { order: 3; margin-top: 14px; } .hero-sub { order: 4; margin-top: 20px; } .resume { order: 5; }
  .assure b { font-size: 18px; }
}
html { -webkit-tap-highlight-color: transparent; } body { overscroll-behavior-y: none; }
