/* Page-specific styles. */

.page-head { padding: clamp(44px, 7vw, 88px) 0 24px; }
.page-head .lead { margin-bottom: 0; }
/* Information pages: the title on a full-width photo, like the homepage hero (GK.page.photoHead).
 * Same blur and dark layer as the hero (>= 60%), only lower. The photos alternate per page. */
.hero-photo.page-hero { min-height: calc(var(--hdr-h) + clamp(14rem, 24vw, 20rem)); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero .page-hero-title { color: #FFFFFF; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.05; margin: 0 0 .35em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.page-hero .page-hero-lead { margin: 0; max-width: 40em; }
.page-hero + * { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Shared ---------- */
.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap-min); font-weight: 700; }
.arrow-link svg { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.section-tight-top { padding-top: 0; }

/* ---------- Home ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.hero-title { max-width: 12em; margin-bottom: 18px; }
.hero-lead { margin-bottom: clamp(28px, 4vw, 44px); }

/* Hero on a full-width photo (feedback 02-10, after the "gifts & more" example):
 * blurred and darkened Christmas photo, the headline in capitals, a question and a short lead,
 * and the two choices as glass cards. The hero starts behind the frosted header and covers the
 * light tree, so the tree only begins below it. */
.hero-photo {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; color: #FFFFFF;
  margin-top: calc(-1 * var(--hdr-h));
  padding: calc(var(--hdr-h) + clamp(40px, 7vw, 96px)) 0 clamp(40px, 6vw, 72px);
  min-height: min(100vh, 58rem); display: flex; align-items: flex-end;
  background: #141A16;
}
.hero-photo > .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: blur(6px) saturate(1.1); transform: scale(1.06); }
/* Readability: a dark layer over the photo, darker at the bottom where the cards are (white text >= 4.5:1) */
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 12, .60) 0%, rgba(10, 14, 12, .62) 40%, rgba(10, 14, 12, .76) 100%); }
/* Checked on the brightest pixel of the photo (even without blur): at 60% white text is >= 4.7:1 */
.hero-photo .hero-title {
  max-width: none; margin: 0 0 .35em; color: #FFFFFF; text-transform: uppercase;
  font-family: var(--font-heading); font-weight: 800; letter-spacing: .01em; line-height: .98;
  font-size: clamp(2.75rem, 1.1rem + 7.4vw, 6.4rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
/* Headline stacked on three lines (feedback 02-10, after the mock-up): KERST big / vier je smaller,
 * bold italic / SAMEN. big. Each span is its own line. */
.hero-photo .hero-title .ht-big, .hero-photo .hero-title .ht-mid { display: block; }
.hero-photo .hero-title { margin-bottom: 0; line-height: .95; }
.hero-photo .hero-title .ht-big { font-size: 1em; }
.hero-photo .hero-title .ht-mid { font-size: .42em; font-style: normal; font-weight: 800; letter-spacing: .01em; line-height: 1.1; margin: .12em 0 .1em; }
/* Question in a condensed bold face (Bahnschrift Condensed is standard on Windows), lead in italic, tight under it */
.hero-question {
  font-family: var(--font-heading); font-weight: 700;   /* same heading font as the rest of the site */ font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem);
  line-height: 1.15; margin: clamp(28px, 4vw, 48px) 0 .25em; color: #FFFFFF; max-width: 30em;
}
.hero-photo .hero-lead { font-style: italic; line-height: 1.45; max-width: none; }
/* Each sentence starts on its own line ("Geenzame Kerst helpt…" begins the second line) */
.hero-lead-line { display: block; }
.hero-photo .hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: #FFFFFF; max-width: 38em; margin: 0 0 clamp(44px, 6vw, 80px); }   /* more air above the cards */
/* The choices as dark glass cards on the photo */
.hero-photo .cta-card {
  background: rgba(14, 20, 17, .55); color: #FFFFFF; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-photo .cta-card:hover { background: rgba(14, 20, 17, .70); color: #FFFFFF; border-color: rgba(255, 255, 255, .35); }
.hero-photo .cta-card h2, .hero-photo .cta-card h3 { color: #FFFFFF; font-size: 1.3rem; margin: 0; }
.hero-photo .cta-card p { color: rgba(255, 255, 255, .85); }
.hero-photo .cta-card .cta-icon { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.hero-photo .cta-card .cta-go { color: #FFFFFF; }
.hero-photo .cta-meta { color: rgba(255, 255, 255, .8); }
.hero-photo .third-entry { background: rgba(255, 255, 255, .10); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .16); }
.hero-photo .third-entry:hover { background: rgba(255, 255, 255, .18); color: #FFFFFF; }
.hero-photo .third-entry > svg, .hero-photo .third-entry strong { color: #FFFFFF; }
.hero-photo :focus-visible { outline-color: #FFFFFF; }
@media (max-width: 479px) {
  .hero-photo { min-height: 0; }
}

.steps { list-style: none; margin: 32px 0 20px; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step h3 { margin: 16px 0 6px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 639px) {
  .steps { gap: 22px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; }
  .step .step-icon { grid-row: span 2; }
  .step h3 { margin: 2px 0 4px; }
}
.step-icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 80px;
  border-radius: var(--arch); background: var(--accent-soft); color: var(--accent);
}
.step-icon svg { width: 28px; height: 28px; }
.step-num {
  position: absolute; right: -10px; bottom: -6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 3px var(--bg);
}

/* Mission: a dark, half-transparent band in both themes, where the light tree glows brightest
 * (PROMPT-lichtboom.md 5). Fixed text colours: >= AA on the band, also with the tree behind it. */
.mission {
  --m-text: #F1F4F1; --m-muted: #C9D2CC; --m-accent: #B5D9C0; --m-line: rgba(255, 255, 255, .18);
  /* Dark band with a red-orange ember glow rising from below (as at the foot of the example tree) */
  --mission-bg: radial-gradient(70% 90% at 50% 125%, rgba(226, 96, 40, .30), transparent 70%),
                radial-gradient(40% 60% at 0% 110%, rgba(180, 50, 30, .18), transparent 70%), #111915;
  background: var(--mission-bg); color: var(--m-text);
  padding: clamp(64px, 9vw, 120px) 0;
}
[data-theme="dark"] .mission {
  --mission-bg: radial-gradient(70% 90% at 50% 125%, rgba(255, 110, 40, .30), transparent 70%),
                radial-gradient(40% 60% at 0% 110%, rgba(200, 60, 30, .18), transparent 70%), #0A0F0C;
}
.mission h2 { color: var(--m-text); }
/* Photo of an embrace on the left, text next to it; on wide screens the light tree glows on the right */
.mission-inner { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
/* photo + text stay left of ~65% of the width, so the tree (at ~80%) glows freely on the right */
@media (min-width: 900px) { .mission-inner { grid-template-columns: minmax(260px, 34%) minmax(0, 26rem); } }
.mission-copy { max-width: 40em; }
/* A sharp rectangle, exactly as tall as the text next to it (feedback 02-10): the photo is cropped to fit */
.mission-photo { margin: 0; }
.mission-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%;
  border-radius: 0; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
@media (min-width: 900px) {
  .mission-inner { align-items: stretch; }
  .mission-photo { position: relative; }
  .mission-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
@media (max-width: 899px) { .mission-photo { max-width: 520px; } }
.mission-eyebrow { font-weight: 700; color: var(--m-accent); margin-bottom: 8px; }
.mission-title { font-size: var(--fs-h1); }
.mission-text { font-size: 1rem; max-width: 42em; }
.mission-quote { font-family: var(--font-heading); font-weight: 650; font-size: 1.1rem; color: var(--m-accent); margin: 24px 0; }
.mission-stat { max-width: 40em; padding-top: 18px; border-top: 1px solid var(--m-line); color: var(--m-muted); margin: 0; }
.mission-source { display: block; margin-top: 4px; font-size: var(--fs-legal); }
.mission-source a { color: var(--m-muted); }
.mission a:focus-visible { outline-color: var(--m-text); }

/* ---------- Light tree (js/ui/lichtboom.js) ---------- */
/* Layers: page background → dark mission band (z -1) → canvas (z 0) → content (z 1).
 * <main> and the sections deliberately create no stacking context, so the mission band can sit
 * *under* the canvas: the tree then glows fully in the band, while the text stays on top. */
.lichtboom-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: block; }
body.has-lichtboom main > section > .container,
body.has-lichtboom .site-footer { position: relative; z-index: 1; }
body.has-lichtboom .mission { position: relative; background: none; }
body.has-lichtboom .mission::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mission-bg); }
/* Final CTA: same full width as the rest of the site (feedback 02-10; was a 620px left column) */
/* No canvas: in the dark theme the example picture as a faint, still background; in light nothing */
[data-theme="dark"] body.lb-fallback { background: var(--bg) url("../img/sfeer/lichtboom.jpg") no-repeat 85% 40% / auto 80vh fixed; }
/* Badge version next to "Jullie zijn verbonden!" */
.lichtboom-badge { float: right; width: 96px; height: 124px; margin: -6px -4px 8px 16px; border-radius: 16px; background: #141B17; }
[data-theme="dark"] .lichtboom-badge { background: #0C110E; }

.trust { list-style: none; margin: 28px 0 20px; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust li { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow); }
.trust h3 { margin: 0 0 6px; font-size: 1.1rem; }
.trust p { margin: 0; color: var(--muted); }
.trust-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.trust-icon svg { width: 24px; height: 24px; }

.final-cta { padding-top: 0; }
.final-cta .container { padding-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }

/* ---------- Information pages ---------- */
/* Left-aligned with the cards, but with a comfortable reading width */
.readable > * { max-width: 780px; }
.readable > .faq-cat .accordion, .readable > .faq-cat { max-width: 780px; }
.prose { padding-bottom: 24px; }
.prose-block { margin: 40px 0 0; }
.prose-block h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.prose-block p { font-size: 1rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }

.route-steps { display: grid; gap: 20px; margin: 8px 0 24px; }
/* Feedback 02-10: side by side, equally wide (1fr 1fr), each step on one line. The pair is wider than
 * the normal content column (up to 76rem, centred) and the step texts are short. */
@media (min-width: 900px) {
  .route-steps { grid-template-columns: 1fr 1fr; width: min(calc(100vw - 2 * var(--gutter)), 76rem); margin-left: 50%; transform: translateX(-50%); }
}
.route-steps-card { display: flex; flex-direction: column; align-items: flex-start; }
.route-steps-card .cta-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.route-steps-card .cta-icon svg { width: 28px; height: 28px; }
.route-steps-card .btn { margin-top: auto; }
.numbered { list-style: none; counter-reset: n; padding: 0; margin: 8px 0 28px; display: grid; gap: 14px; }
.numbered li { counter-increment: n; position: relative; padding-left: 46px; min-height: 32px; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .95rem;
}
.statusbar-example { margin: 8px 0 12px; }

.measures { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 16px; }
@media (min-width: 640px) { .measures { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .measures { grid-template-columns: repeat(3, 1fr); } }
.measures li { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow); }
.measures h3 { font-size: 1.1rem; margin: 0 0 6px; }
.measures p { margin: 0; color: var(--muted); }
.tips-grid { margin-bottom: 8px; }
.tips h2 { font-size: 1.15rem; }
.help-card { margin-top: 40px; }
.help-card h2 { font-size: 1.25rem; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.contact-lines li { display: flex; gap: 12px; align-items: center; }
.contact-lines svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

.stats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; }
.stat-figure { font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; line-height: 1.05; color: var(--accent); margin-bottom: 12px; }
.stat-text { flex: 1; }
.stat-source { font-size: var(--fs-legal); color: var(--muted); margin: 0; }
.stat-source a { color: var(--muted); }

.faq-search { margin: 8px 0 12px; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search-wrap .input { padding-left: 50px; }
.faq-cat { margin-top: 32px; }
.faq-cat h2 { font-size: 1.2rem; margin-bottom: 12px; }
.faq-empty { margin-top: 28px; }

.contact-card { margin-bottom: 24px; }
.contact-form h2 { font-size: 1.25rem; margin-bottom: 18px; }
.page-closing { padding-top: 48px; }
.page-closing .container { padding-top: 48px; border-top: 1px solid var(--line); }
.legal-page .notice { margin-bottom: 8px; }

/* ---------- Registration forms (wizard) ---------- */
.wz { padding-top: clamp(24px, 5vw, 56px); padding-bottom: 56px; }
/* Same width as the two registration blocks together (the full content width) */
.wz-card { max-width: none; }
@media (min-width: 1024px) {
  .wz-card .tiles-2 { grid-template-columns: repeat(4, 1fr); }   /* days, activities, travel: four in a row */
  .wz-card .wz-body > .field .input:not(.input-short),
  .wz-card .editor-section > .field .input:not(.input-short) { max-width: 640px; }   /* text fields stay readable */
  .wz-codes { max-width: 640px; }
}
.wz-card h1 { font-size: var(--fs-h2); margin-bottom: 18px; }
.wz-card h1:focus { outline: none; }
.wz-sub { font-size: 1.1rem; margin: 32px 0 12px; }
.wz-nav { margin-top: 28px; justify-content: space-between; }
.wz-nav .btn-ghost:first-child { margin-left: -14px; }
.wz-help { margin: 20px 0 0; }
.wz-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.wz-points li { display: flex; gap: 14px; align-items: center; }
.wz-points .trust-icon { width: 44px; height: 44px; }
.wz-points .trust-icon svg { width: 22px; height: 22px; }
.day-slot { margin: -8px 0 26px; padding: 18px 18px 2px; border-radius: 16px; background: var(--surface-soft); }
.day-slot .field:last-child { margin-bottom: 16px; }
.under18 { margin: -12px 0 26px; }
.under18 summary, .optional-block summary { cursor: pointer; color: var(--accent); font-weight: 700; min-height: var(--tap-min); display: flex; align-items: center; gap: 6px; }
.under18 p { margin: 6px 0 0; color: var(--muted); }
.optional-block { margin: 8px 0 20px; padding: 4px 18px; border-radius: 16px; background: var(--surface-soft); }
.optional-block[open] { padding-bottom: 8px; }
.optional-block > .field:first-of-type { margin-top: 12px; }
.wz-codes { display: grid; gap: 0 24px; }
@media (min-width: 640px) { .wz-codes { grid-template-columns: 1fr 1fr; } }
.error-summary { margin: 0 0 24px; padding: 18px 20px; border-radius: var(--radius-control); background: var(--danger-bg); border-left: 4px solid var(--danger); }
.error-summary:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.error-summary h2 { font-size: 1.1rem; margin: 0 0 8px; color: var(--danger); }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary .btn-link { min-height: 36px; padding: 0; color: var(--text); text-align: left; font-weight: 700; }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: var(--tap-min); }
.done-card { text-align: left; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); margin-bottom: 18px; }
.done-icon svg { width: 32px; height: 32px; }

/* ---------- Personal page ---------- */
.personal > * + * { margin-top: 20px; }
.personal { padding-bottom: 24px; }
.personal-status h2 { margin-bottom: 20px; }
.status-now { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.action-card { border-left: 4px solid var(--accent); }
.action-card.is-ok { border-left-color: var(--ok); }
.action-card.is-warn { border-left-color: var(--warn); }
.action-card h2 { margin-bottom: 10px; }
.other-party { display: grid; gap: 18px; margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--surface-soft); }
@media (min-width: 640px) { .other-party { grid-template-columns: 110px 1fr; } }
.other-party .avatar-arch { width: 110px; height: 110px; }
.other-party h3 { margin: 0 0 2px; }
.facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.event-box { margin: 16px 0; padding: 18px; border-radius: 16px; background: var(--surface-soft); }
.event-box h3 { margin-bottom: 6px; }
.event-box p { margin: 12px 0 0; }
.answer-row { margin-top: 20px; }
.data-head { display: grid; gap: 16px; margin: 8px 0 20px; }
@media (min-width: 640px) { .data-head { grid-template-columns: 96px 1fr; } }
.data-head h3 { margin: 0 0 6px; }
.data-list { margin: 0 0 22px; display: grid; }
.data-row { display: grid; gap: 2px 20px; padding: 10px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .data-row { grid-template-columns: 170px 1fr; } }
.data-row dt { font-weight: 700; }
.data-row dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.stop-block { margin-top: 44px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.stop-block h2 { font-size: 1.15rem; }
.editor-section + .editor-section { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.editor-section > h2 { font-size: 1.2rem; margin-bottom: 16px; }

/* ---------- Demo inbox ---------- */
.inbox-count { margin: 20px 0 10px; color: var(--muted); }
.inbox { display: grid; gap: 10px; }
.inbox-item { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.inbox-item summary { display: flex; gap: 14px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; min-height: 64px; }
.inbox-item summary::-webkit-details-marker { display: none; }
.inbox-item summary > svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.inbox-item[open] summary > svg { transform: rotate(180deg); }
.inbox-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.inbox-icon svg { width: 20px; height: 20px; }
.inbox-main { flex: 1; min-width: 0; display: grid; }
.inbox-subject { font-weight: 400; }
.inbox-item.unread .inbox-subject { font-weight: 700; }
.inbox-item.unread .inbox-icon { background: var(--accent); color: var(--on-accent); }
.inbox-meta { color: var(--muted); font-size: var(--fs-small); overflow-wrap: anywhere; }
.inbox-body { padding: 0 18px 18px 72px; overflow-wrap: anywhere; }
@media (max-width: 479px) { .inbox-body { padding-left: 18px; } }
.demo-reset { margin: 48px 0 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.demo-reset h2 { font-size: 1.15rem; }

/* ---------- Style guide (#/stijlgids) ---------- */
.sg-section { padding: 44px 0; }
.sg-section + .sg-section { border-top: 1px solid var(--line); }
.sg-sub { margin: 40px 0 16px; }
.sg-h1 { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h1); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5em; }
.sg-tree-canvas { display: block; width: 100%; height: 420px; }
.sg-scrub { margin-top: 18px; max-width: 640px; }
.sg-tune { margin-top: 24px; }
.sg-tune h3 { margin-bottom: 4px; }
.sg-tune-grid { display: grid; gap: 6px 28px; margin-top: 14px; }
@media (min-width: 900px) { .sg-tune-grid { grid-template-columns: 1fr 1fr; } }
.sg-tune-row label { font-size: var(--fs-small); }
.sg-tune-row input[type="range"] { width: 100%; margin: 6px 0 10px; accent-color: var(--accent); }
.sg-tune-row .select { margin: 6px 0 10px; }
.sg-tune-json { max-height: 240px; overflow: auto; font-size: var(--fs-legal); background: var(--surface-soft); padding: 12px; border-radius: 12px; }
.sg-scrub input[type="range"] { width: 100%; margin: 10px 0 6px; accent-color: var(--accent); }
.sg-panels { display: grid; gap: 20px; }
@media (min-width: 1100px) { .sg-panels { grid-template-columns: 1fr 1fr; } }
.sg-panel { background: var(--bg); color: var(--text); border-radius: 24px; padding: clamp(18px, 3vw, 32px); min-width: 0; box-shadow: inset 0 0 0 1px var(--line); }
.sg-panel .cta-pair { grid-template-columns: 1fr; }
.sg-panel .tiles-3 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 479px) { .sg-panel .tiles-3 { grid-template-columns: 1fr; } }
.sg-panel-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--surface); }
.sg-panel-title svg { width: 18px; height: 18px; }
.sg-swatches { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.sg-swatch { border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.sg-swatch-color { height: 52px; box-shadow: inset 0 -1px 0 var(--line); }
.sg-swatch-info { padding: 8px 12px; font-size: var(--fs-small); line-height: 1.4; }
.sg-swatch-info code { color: var(--muted); }
.sg-contrast td { font-size: var(--fs-small); }
.sg-sample { display: inline-grid; place-items: center; width: 44px; height: 36px; border-radius: 10px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35); }
.sg-type > * { margin-bottom: 16px; }
.sg-icons { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.sg-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-size: .8rem; color: var(--muted); text-align: center; word-break: break-word; }
.sg-icon svg { width: 26px; height: 26px; color: var(--text); }
.sg-logos { display: grid; gap: 20px; }
@media (min-width: 900px) { .sg-logos { grid-template-columns: repeat(3, 1fr); } }
.sg-logo-big { display: grid; place-items: center; height: 170px; border-radius: 16px; background: var(--surface-soft); }
.sg-logo-big svg { width: 96px; height: 116px; }
.sg-logo-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sg-logo-lockup { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--bg); font-family: var(--font-heading); font-weight: 700; color: var(--text); }
.sg-logo-lockup svg { width: 22px; height: 27px; }
.sg-favicon { width: 32px; height: 32px; border-radius: 6px; }
