/* Imola Mészár – personal site
   Colors are tokens on :root; dark theme via [data-theme="dark"] on <html>. */

:root {
  --bg: #F8FAFD; --surface: #FFFFFF; --surface2: #EAF0FA; --ink: #131B3A; --muted: #454E70; --line: #C3CCE2;
  --coral: #FF6B6B; --coral-t: #BF2038; --teal: #19B5A5; --teal-t: #0A6B66; --yellow: #FFD23F;
  --focus: #131B3A; --on-accent: #131B3A; --strip: #131B3A; --strip-ink: #FFFFFF; --strip-num: #FFD23F;
  --shadow: 0 18px 40px -18px rgba(19, 27, 58, .35);
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0C1130; --surface: #161D47; --surface2: #1D2659; --ink: #F4F6FF; --muted: #BAC2E6; --line: #3F4A86;
  --coral: #FF7F87; --coral-t: #FF9AA1; --teal: #33CDBE; --teal-t: #5FE0D3; --yellow: #FFD23F;
  --focus: #FFD23F; --on-accent: #0C1130; --strip: #1D2659; --strip-ink: #F4F6FF; --strip-num: #FFD23F;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 96px 0; scroll-margin-top: 16px; }
.sec-alt { background: var(--surface2); }
.h2 { font-size: clamp(34px, 5vw, 56px); }
.lead { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--yellow); color: #131B3A; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 3px solid #131B3A; }
.skip:focus { top: 16px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
main:focus { outline: none; }

/* Buttons & controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font: 700 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; border: 3px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-primary { background: var(--coral); color: var(--on-accent); border-color: var(--on-accent); }
.btn-primary:hover { background: var(--yellow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface2); }
.navlink { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; border-radius: 10px; display: inline-block; min-height: 44px; }
.navlink:hover { background: var(--surface2); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--coral); }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; padding: 3px; gap: 2px; background: var(--surface); }
.seg button, .seg a { display: inline-flex; align-items: center; text-decoration: none; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; }
.seg button[aria-pressed="true"], .seg a[aria-current] { background: var(--ink); color: var(--bg); }
.seg-sm { background: var(--bg); }
.seg-sm button, .seg-sm a { min-height: 36px; padding: 4px 12px; font-size: 14px; }
.toggle { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; }
.toggle[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--surface2); color: var(--ink); border: 2px solid var(--line); }
.sec-alt .chip { background: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kicker { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-t); }
.textlink { color: var(--ink); font-weight: 700; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--coral); }

/* Header */
.site-header { padding: 20px 0 0; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 48px; }
.brand-mark { width: 48px; height: 48px; border-radius: 16px 16px 16px 6px; background: var(--coral); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; border: 3px solid var(--on-accent); }
.brand-mark .spine { stroke: var(--coral); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.main-nav { flex: 1 1 100%; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }

/* Hero */
.hero { padding: 56px 0 96px; position: relative; }
.blob { position: absolute; pointer-events: none; }
.blob-1 { right: -120px; top: -40px; width: 460px; height: 460px; background: var(--yellow); opacity: .35; border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; }
.blob-2 { left: -140px; bottom: 20px; width: 320px; height: 320px; background: var(--teal); opacity: .22; border-radius: 40% 60% 38% 62% / 55% 40% 60% 45%; }
.hero-grid { position: relative; display: flex; flex-wrap: wrap; gap: 56px 48px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px 6px 10px; font-size: 14px; }
.pill .bugwiggle { display: inline-flex; color: var(--coral-t); }
.hero h1 { font-size: clamp(40px, 8.4vw, 100px); line-height: .98; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 .tag { display: block; }
.hero h1 .pill { display: inline-flex; width: fit-content; margin-bottom: 28px; font-family: var(--font-mono); font-weight: 500; font-size: 14px; line-height: 1.6; letter-spacing: .02em; }
.hero h1 .accent { color: var(--coral-t); }
.hero-lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 34em; color: var(--muted); }
.hero-media { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.hero-photo { margin: 0 0 0 auto; width: min(100%, 460px); }
.hero-photo .photo { aspect-ratio: 1 / 1; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }

/* Business card (overlaps the hero photo) */
.bcard { margin-top: -72px; width: min(100%, 380px); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 18px; background: var(--surface); border: 3px solid var(--ink); border-radius: 18px; transform: rotate(-3deg); box-shadow: 10px 10px 0 var(--coral); }
.bcard::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 6px; border-radius: 0 6px 6px 0; background: var(--teal); }
.bcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bcard-logo { width: 40px; height: 40px; border-radius: 12px 12px 12px 4px; background: var(--coral); color: var(--on-accent); border: 2px solid var(--on-accent); display: inline-flex; align-items: center; justify-content: center; }
.bcard-domain { font-size: 12px; color: var(--muted); }
.bcard-name { font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1.05; }
.bcard-title { font-size: 15px; font-weight: 600; color: var(--coral-t); line-height: 1.35; }
.bcard-contact { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--line); font-size: 15px; }
.bcard-contact li { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.bcard-contact .mono { flex: none; width: 54px; white-space: nowrap; font-size: 11px; font-weight: 700; color: var(--teal-t); letter-spacing: .08em; }
.bcard-contact a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.bcard-contact a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.bcard-place { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--muted); text-align: right; }

/* Photos (placeholder until real images arrive) */
.photo { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, var(--surface2) 0 14px, var(--surface) 14px 28px); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .mono { font-size: 14px; }

/* Real photos: blob mask + an offset color blob behind, like the form's yellow shadow.
   A light grade evens out the two source photos. */
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 3px solid var(--ink); border-radius: var(--blob); background: var(--frame-bg); transform: translate(var(--frame-x), var(--frame-y)) rotate(var(--frame-r)); }
.photo-frame .photo { border-radius: var(--blob); }
.photo-frame img { filter: saturate(1.06) contrast(1.04); transition: transform .4s ease; }
.photo-frame:hover img { transform: scale(1.03); }
.hero-photo { --blob: 58% 42% 52% 48% / 46% 56% 44% 54%; --frame-bg: var(--teal); --frame-x: -18px; --frame-y: 14px; --frame-r: -4deg; }
.about-photo { --blob: 44% 56% 40% 60% / 38% 44% 56% 62%; --frame-bg: var(--coral); --frame-x: 18px; --frame-y: 16px; --frame-r: 3deg; }
.about-photo img { object-position: 50% 30%; }
@media (max-width: 640px) {
  .hero-photo, .about-photo { --frame-x: -10px; --frame-y: 10px; }
}

/* Numbers strip */
.numbers { background: var(--strip); color: var(--strip-ink); padding: 56px 0; }
.numbers ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 24px; }
.numbers li { display: flex; flex-direction: column; gap: 6px; }
.num-v { font-family: var(--font-head); font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--strip-num); }
.num-l { font-size: 17px; line-height: 1.4; max-width: 15em; }

/* About */
.about-photo { flex: 1 1 340px; min-width: 0; max-width: 480px; }
.about-photo .photo { aspect-ratio: 4 / 5; border-radius: 44% 56% 40% 60% / 38% 44% 56% 62%; }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* Cards */
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.a-coral { --acc: var(--coral); }
.a-teal { --acc: var(--teal); }
.a-yellow { --acc: var(--yellow); }
.a-ink { --acc: var(--coral-t); }

.talks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 28px; }
.talk { display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; transition: transform .2s ease; }
.talk:hover { transform: translateY(-6px) rotate(-.4deg); }
.talk::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: var(--acc); border-radius: 50% 50% 50% 18%; }
.talk-id { font-size: 13px; background: var(--acc); color: var(--on-accent); align-self: flex-start; padding: 4px 12px; border-radius: 8px; font-weight: 700; position: relative; }
.talk h3 { font-size: clamp(24px, 3vw, 32px); position: relative; max-width: 80%; }
.talk-desc { color: var(--muted); }
.talk-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; padding-top: 12px; border-top: 2px dashed var(--line); }
.talk-meta .mono { font-size: 13px; color: var(--teal-t); font-weight: 700; }
.talk-meta span:last-child { font-weight: 600; }

.conf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.conf { display: flex; flex-direction: column; gap: 12px; border-top: 10px solid var(--acc); border-radius: 12px 12px 28px 28px; }
.conf .mono { font-size: 14px; font-weight: 700; color: var(--teal-t); }
.conf h3 { font-size: 22px; letter-spacing: -0.015em; }
.conf p { color: var(--muted); }
.conf-open { border: 3px dashed var(--ink); background: transparent; box-shadow: none; border-radius: 28px; }
.conf-open .mono { color: var(--coral-t); }
.conf-open p { color: var(--ink); }

/* Podcast */
.pod-copy { flex: 1 1 440px; min-width: 0; }
.pod-art { flex: 1 1 340px; min-width: 0; max-width: 460px; margin: 0 auto; }
.pod-card { background: var(--ink); color: var(--bg); border-color: var(--ink); border-radius: 44% 56% 36% 64% / 30% 34% 66% 70%; padding: 56px 40px; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; transform: rotate(2deg); }
.pod-card .mono { font-size: 13px; letter-spacing: .12em; }
.pod-card .pod-title { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.1; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bar { width: 12px; border-radius: 6px; animation: bars 1.6s ease-in-out infinite; transform-origin: 50% 100%; }
.bar:nth-child(3n+1) { background: var(--coral); }
.bar:nth-child(3n+2) { background: var(--yellow); }
.bar:nth-child(3n) { background: var(--teal); }
@keyframes bars { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.bugwiggle { animation: wig 4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes wig { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-8deg); } 94% { transform: rotate(8deg); } 98% { transform: rotate(-4deg); } }

/* Pearly Quality band (always light-on-yellow) */
.pq { --ink: #131B3A; --muted: #2B3358; --focus: #131B3A; background: #FFD23F; color: #131B3A; position: relative; overflow: hidden; }
.pq .blob-a { right: -90px; top: -90px; width: 340px; height: 340px; background: #FF6B6B; border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%; }
.pq .blob-b { left: -110px; bottom: -120px; width: 320px; height: 320px; background: #19B5A5; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; }
.pq .wrap { position: relative; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.pq .kicker { color: #131B3A; }
.pq h2 { font-size: clamp(34px, 5.4vw, 64px); max-width: 16em; }
.pq-p { max-width: 38em; font-size: 20px; }
.pq ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; width: 100%; max-width: 900px; }
.pq li { background: #FFFFFF; color: #131B3A; border: 3px solid #131B3A; border-radius: 22px; padding: 18px 22px; font-weight: 700; font-size: 19px; }
.btn-big { background: #131B3A; color: #FFFFFF; border-color: #131B3A; font-size: 20px; min-height: 64px; padding: 16px 40px; }
.btn-big:hover { background: #FF6B6B; color: #131B3A; }
.pq .btn-big-ghost { min-height: 64px; padding: 16px 32px; font-size: 20px; border-color: #131B3A; color: #131B3A; background: #FFFFFF; }
.pq .btn-big-ghost:hover { background: #131B3A; color: #FFFFFF; }

/* Booking form */
.book-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.book-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.book-copy .mail { font-size: 17px; }
.form { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding: clamp(22px, 4vw, 40px); border: 3px solid var(--ink); border-radius: 40px 40px 40px 10px; box-shadow: 12px 12px 0 var(--yellow); background: var(--surface); }
.form-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 26px; }
.fgroup { display: flex; flex-direction: column; gap: 8px; }
.field { width: 100%; min-height: 56px; padding: 12px 18px; border-radius: 18px; border: 3px solid var(--ink); background: var(--surface2); color: var(--ink); font: 500 17px/1.4 var(--font-body); transition: background-color .15s ease; }
.field:focus { background: var(--surface); outline: 3px solid var(--focus); outline-offset: 3px; }
.field[aria-invalid="true"] { border-color: var(--coral-t); background: var(--surface); }
textarea.field { min-height: 130px; resize: vertical; }
.lbl { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.step { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--coral); color: var(--on-accent); border: 2px solid var(--on-accent); font: 700 12px/1 var(--font-mono); }
.err { color: var(--coral-t); font-weight: 700; font-size: 15px; }
.err-box { border: 3px solid var(--coral-t); border-radius: 14px; padding: 12px 16px; }
.hint { color: var(--muted); font-size: 15px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
legend { padding: 0; margin-bottom: 12px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; display: inline-flex; align-items: center; min-height: 52px; padding: 8px 22px; border: 3px solid var(--ink); border-radius: 999px; background: var(--surface2); cursor: pointer; font-weight: 700; font-size: 17px; transition: transform .15s ease, background-color .15s ease; }
.radio:hover { transform: translateY(-2px) rotate(-1deg); }
.radio input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.radio span::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%; border: 3px solid currentColor; vertical-align: -2px; }
.radio:has(input:checked) { background: var(--yellow); color: #131B3A; }
.radio:has(input:checked) span::before { background: #131B3A; }
.radio:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { min-height: 60px; font-size: 19px; }
.form-actions .mono { font-size: 13px; color: var(--muted); }
.sent { background: var(--yellow); color: #131B3A; border: 3px solid #131B3A; border-radius: 18px; padding: 14px 18px; font-weight: 700; }

/* Footer */
.site-footer { background: var(--strip); color: var(--strip-ink); padding: 56px 0 40px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.foot-name { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.1; }
.foot-tag { font-size: 16px; opacity: .9; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: var(--strip-ink); font-weight: 600; display: inline-block; padding: 10px 0; min-height: 44px; }
.site-footer .seg { border-color: var(--strip-ink); }
.copy { flex: 1 1 100%; font-size: 13px; opacity: .85; }

[hidden] { display: none !important; }

@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .card { padding: 22px; }
  body { font-size: 17px; }
  .bcard { margin-top: -40px; transform: rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .btn:hover, .talk:hover, .radio:hover { transform: none; }
}

/* Conference cards: whole card is clickable via the heading link (stretched link) */
.conf { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.conf-link { color: inherit; text-decoration: none; }
.conf-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.conf-link:focus-visible { outline: none; }
.conf:has(.conf-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.conf:has(.conf-link) .conf-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 700; font-size: 16px; color: var(--ink); padding-top: 12px; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--acc); }
.conf:has(.conf-link):hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 10px 10px 0 var(--acc); }
.conf:has(.conf-link):hover .conf-cta svg { transform: translate(2px, -2px); }
.conf-cta svg { transition: transform .2s ease; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 64px; align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 2px solid var(--line); border-radius: 22px; transition: border-color .15s ease; }
.faq-item[open] { border-color: var(--ink); box-shadow: 8px 8px 0 var(--teal); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; border-radius: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--ink); font: 700 20px/1 var(--font-mono); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: #131B3A; border-color: #131B3A; }
.faq-item summary:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.faq-item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.faq-item h3 { font-size: 20px; line-height: 1.25; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); }

/* Cookie consent banner: not modal, fixed at the bottom, equal-weight choices */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 920px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 20px 24px; background: var(--surface); color: var(--ink); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 10px 10px 0 var(--yellow); }
.consent-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
.consent-h { font-size: 20px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-actions .btn { min-height: 48px; padding: 10px 24px; font-size: 16px; }
.consent-actions .btn:hover { transform: none; background: var(--ink); color: var(--bg); }

/* Footer legal links */
.legal-links { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.legal-links a, .linkbtn { color: var(--strip-ink); display: inline-block; padding: 10px 0; min-height: 44px; }
.linkbtn { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn:focus-visible { outline: 3px solid var(--strip-num); outline-offset: 3px; border-radius: 6px; }
.site-footer a:focus-visible { outline-color: var(--strip-num); }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
.legal h1 { font-size: clamp(36px, 6vw, 60px); margin-bottom: 12px; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 12px; scroll-margin-top: 16px; }
.legal h3 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal ul, .legal dl { margin: 0 0 14px; }
.legal ul { list-style: disc; padding-left: 24px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--coral); }
.legal .updated { color: var(--muted); font-size: 15px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 8px 24px; padding: 20px 24px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
@media (max-width: 640px) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .legal dd { margin-bottom: 10px; } }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 2px solid var(--line); border-radius: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--surface2); }
.legal tr:last-child td { border-bottom: 0; }
.legal .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
