/* festiguide.app / turnfest.app – design system of swiss-dev.ch with a colour theme per product (body.brand-*) */

:root {
    --ink: #1A1D1F;
    --muted: #5B6770;
    --ground: #F2F3F4;
    --white: #FFFFFF;
    --line: #D5D9DC;
    --line-soft: #E6E9EB;
    --accent: #D41F2B;
    --accent-soft: #FCE9EA;
    --accent-ink: #A3121C;
    --on-dark-muted: #C9CED2;
    --gold: #F2B33D;
    --steel: #8E9BA3;

    --r-sm: 22px;
    --r: 28px;
    --r-lg: 32px;
    --r-xl: 40px;
    --pill: 999px;
    --gap: clamp(12px, 2vw, 20px);
    --pad-x: clamp(16px, 4vw, 48px);
    --shadow: 0 8px 24px rgba(26, 29, 31, .06);

    --font: 'Ubuntu', 'Helvetica Neue', sans-serif;
}

/* ---------- product themes ---------- */
.brand-festiguide {
    --accent: #C8285A;
    --accent-soft: #FBE8EF;
    --accent-ink: #9C1641;
    --hero: linear-gradient(160deg, #D8366A 0%, #C8285A 45%, #8E1A45 100%);
}
.brand-turnfest {
    --accent: #1D5C86;
    --accent-soft: #E3EEF5;
    --accent-ink: #123F5E;
    --hero: linear-gradient(160deg, #24506D 0%, #1B3647 55%, #12242F 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.container { max-width: 1320px; margin-inline: auto; }
.section { padding: clamp(40px, 6vw, 80px) var(--pad-x) 0; }
.section--hero { padding-top: clamp(20px, 3vw, 32px); }
.section--page-hero { padding-top: clamp(28px, 5vw, 64px); }
.stack { display: flex; flex-direction: column; gap: var(--stack, 24px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row-gap, 10px); }
.row--between { justify-content: space-between; align-items: flex-end; gap: 16px; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(var(--min-mobile, 100%), var(--min, 270px)), 1fr)); }
.grid--projects { --min: 270px; --min-mobile: 46%; gap: clamp(12px, 2vw, 24px); }

/* ---------- type ---------- */
.h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.035em; max-width: 18ch; }
.h1--hero { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -.025em; max-width: none; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.h2--xl { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.lead--wide { max-width: 56ch; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }

/* ---------- surfaces ---------- */
.card { background: var(--white); border-radius: var(--r); }
.card--xl { border-radius: var(--r-xl); }
.card--pad { padding: 28px; }
.card--pad-lg { padding: clamp(28px, 4.5vw, 64px); }
.dark { background: var(--ink); color: var(--white); }
.dark .lead, .dark .muted { color: var(--on-dark-muted); }
/* white cards inside dark sections use the normal (dark) muted colour again */
.dark .card .lead, .dark .card .muted { color: var(--muted); }
.red { background: var(--accent); color: var(--white); }
.soft { background: var(--accent-soft); }

/* ---------- pills / buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent;
    font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { transition: transform .2s ease; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--accent:hover, .btn--dark:hover, .btn--ghost:hover { color: var(--white); }
.btn--outline:hover, .btn--white:hover { color: var(--ink); }
@media (hover: hover) {
    .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 29, 31, .14); }
    .btn:hover svg { transform: translateX(3px); }
}
.btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; background: var(--ground); color: var(--muted); padding: 5px 12px; border-radius: var(--pill); }
.chip--lg { font-size: 17px; padding: 12px 22px; color: var(--ink); }
.chip--white { background: var(--white); }
.chip.dark { background: var(--ink); color: var(--white); }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-ink); padding: 8px 16px; border-radius: var(--pill); font-size: 14px; font-weight: 500; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: var(--pill); background: var(--accent); }
.badge { display: inline-flex; font-size: 14px; font-weight: 700; color: var(--white); background: var(--accent); padding: 4px 12px; border-radius: var(--pill); }
.icon-circle { width: 52px; height: 52px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: var(--pill); background: var(--ground); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- header ---------- */
.site-header { padding: 16px var(--pad-x) 0; position: sticky; top: 0; z-index: 20; transition: transform .4s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
/* smart sticky: hides while scrolling down, comes back when scrolling up (site.js) */
.site-header.is-hidden { transform: translateY(calc(-100% - 12px)); }
.site-header .nav { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled .nav { box-shadow: 0 10px 30px rgba(26, 29, 31, .12); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.nav { max-width: 1320px; margin: 0 auto; background: var(--white); border-radius: var(--pill); padding: 8px 8px 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: var(--shadow); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 4px; font-size: 16px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--ink); padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--pill); }
.nav__links a[aria-current="page"], .nav__links a:hover { background: var(--ground); }
.nav__toggle { display: none; border: 0; background: var(--ground); color: var(--ink); width: 44px; height: 44px; border-radius: var(--pill); align-items: center; justify-content: center; cursor: pointer; }

.menu { display: none; }
@media (max-width: 1080px) {
    .site-header { padding: 12px 12px 0; }
    .nav { padding: 6px 6px 6px 18px; }
    .nav__logo img { height: 32px; }
    .nav__links, .nav__cta-label { display: none; }
    .nav__toggle { display: inline-flex; }
    .nav .btn--accent { min-height: 44px; padding: 0 18px; font-size: 15px; }
    /* bubble menu: grows as a circle out of the menu button (--mx/--my set by site.js), items pop in with a spring */
    .menu { --mx: calc(100% - 34px); --my: 34px; --spring: cubic-bezier(.34, 1.56, .64, 1);
        display: flex; position: fixed; inset: 0; z-index: 50; padding: 12px; flex-direction: column; gap: 12px; overflow-y: auto;
        background: rgba(242, 243, 244, .9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
        clip-path: circle(0 at var(--mx) var(--my)); visibility: hidden; opacity: 0;
        /* close: everything fades together while the bubble shrinks back into the button – no empty white phase */
        transition: opacity .22s ease, clip-path .34s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .34s; }
    .menu[data-open="true"] { clip-path: circle(150% at var(--mx) var(--my)); visibility: visible; opacity: 1;
        transition: opacity .15s ease, clip-path .7s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
    /* items reset only after the menu is hidden, so they stay visible while it closes */
    .menu > *, .menu__links a { opacity: 0; transform: translateY(22px) scale(.86); transition: opacity 0s linear .34s, transform 0s linear .34s; }
    .menu[data-open="true"] > *, .menu[data-open="true"] .menu__links a { opacity: 1; transform: none; transition: opacity .4s ease, transform .65s var(--spring); }
    .menu[data-open="true"] > :nth-child(1) { transition-delay: .05s; }
    .menu[data-open="true"] > :nth-child(2) { transition-delay: .1s; }
    .menu[data-open="true"] .menu__links a:nth-child(1) { transition-delay: .16s; }
    .menu[data-open="true"] .menu__links a:nth-child(2) { transition-delay: .22s; }
    .menu[data-open="true"] .menu__links a:nth-child(3) { transition-delay: .28s; }
    .menu[data-open="true"] .menu__links a:nth-child(4) { transition-delay: .34s; }
    .menu[data-open="true"] .menu__links a:nth-child(5) { transition-delay: .4s; }
    .menu[data-open="true"] > :nth-child(3) { transition-delay: .46s; }
    .menu__links a .icon-btn { transition: transform .45s var(--spring), background-color .2s ease; }
    .menu[data-open="true"] .menu__links a .icon-btn { animation: menu-bubble .7s var(--spring) both; }
    .menu[data-open="true"] .menu__links a:nth-child(1) .icon-btn { animation-delay: .26s; }
    .menu[data-open="true"] .menu__links a:nth-child(2) .icon-btn { animation-delay: .32s; }
    .menu[data-open="true"] .menu__links a:nth-child(3) .icon-btn { animation-delay: .38s; }
    .menu[data-open="true"] .menu__links a:nth-child(4) .icon-btn { animation-delay: .44s; }
    .menu[data-open="true"] .menu__links a:nth-child(5) .icon-btn { animation-delay: .5s; }
    .menu__links a:active .icon-btn, .menu__links a:hover .icon-btn { transform: translateX(4px) scale(1.08); background: var(--accent-soft); }
    .menu__links a:active { transform: scale(.97); transition: transform .12s ease; }
    .menu > .nav { width: 100%; max-width: none; margin: 0; flex-shrink: 0; }
    .menu .nav__toggle { transition: transform .5s var(--spring); }
    .menu[data-open="true"] .nav__toggle { transform: rotate(90deg); transition-delay: .2s; }
    .nav__toggle[aria-expanded="true"] { transform: scale(.6); opacity: 0; transition: transform .25s ease, opacity .15s ease; }
    .nav__toggle { transition: transform .45s var(--spring, cubic-bezier(.34, 1.56, .64, 1)), opacity .3s ease; }
}
.menu__links { background: var(--white); border-radius: var(--r-lg); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.menu__links a { text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 0 8px 0 16px; border-radius: 24px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.menu__links a[aria-current="page"] { background: var(--ground); }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.hero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero__visual { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; justify-content: center; padding-top: 96px; border-radius: var(--r-xl); background: var(--hero, var(--accent)); }
.float-tags { position: absolute; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.float-tags span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: var(--pill); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.float-tags svg { color: var(--accent); }

/* ---------- cards ---------- */
@media (hover: hover) {
            }



.step-num { align-self: flex-start; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.checklist li::before { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--pill); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center no-repeat; }
.checklist span { padding-top: 3px; }

/* ---------- lightbox ---------- */
.zoom { position: relative; display: block; border-radius: inherit; cursor: zoom-in; }
.zoom__icon { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: var(--pill); background: rgba(26, 29, 31, .7); color: var(--white); display: inline-flex; align-items: center; justify-content: center; opacity: .85; transition: opacity .2s ease, transform .2s ease; }
.zoom:hover .zoom__icon, .zoom:focus-visible .zoom__icon { opacity: 1; transform: scale(1.06); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 4vw, 48px); border: 0; background: transparent; color: var(--white); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox::backdrop { background: rgba(10, 12, 13, .92); }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox__caption { font-size: 15px; color: var(--on-dark-muted); text-align: center; min-height: 1.5em; }
.lightbox__btn { position: fixed; width: 52px; height: 52px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .28); background: rgba(26, 29, 31, .6); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__btn[hidden] { display: none; }
body.lightbox-open { overflow: hidden; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field textarea { font: 16px/1.5 var(--font); color: var(--ink); background: var(--ground); border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; min-height: 52px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field--error input, .field--error textarea { border-color: var(--accent); }
.field__error, .form-error { color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.form-error { background: var(--accent-soft); padding: 12px 16px; border-radius: 16px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topic span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; }
.topic input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.topic input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- rich text ---------- */
.prose { font-size: 18px; line-height: 1.65; max-width: 70ch; }
.prose p + p { margin-top: 20px; }
.prose h2 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent-ink); }

/* ---------- footer ---------- */
.site-footer { padding: clamp(40px, 6vw, 80px) var(--pad-x) 24px; }
.footer { display: flex; flex-direction: column; gap: 40px; padding: clamp(28px, 4vw, 48px); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer__col { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.footer__col h2 { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 6px; }
.footer__col a { color: var(--ink); text-decoration: none; font-size: 15px; min-height: 36px; display: inline-flex; align-items: center; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 24px; font-size: 14px; color: var(--muted); }
.footer__legal a { color: var(--muted); }

/* ---------- motion ---------- */
.anim-in { animation: sd-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .38s; } .d5 { animation-delay: .48s; } .d6 { animation-delay: .7s; }
.anim-rise { animation: sd-rise 1.1s cubic-bezier(.2, .7, .2, 1) .35s both; }
.anim-float { animation: sd-up .8s cubic-bezier(.2, .7, .2, 1) .8s both, sd-float 5s ease-in-out 1.8s infinite; }
@keyframes menu-bubble { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes sd-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sd-rise { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
@keyframes sd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@supports (animation-timeline: view()) {
    .reveal { animation: sd-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- product site components ---------- */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--pill); text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo svg { height: var(--logo-h, 32px); width: auto; display: block; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.h2--sm { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.chip--accent { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.dark .chip--accent { background: var(--accent); color: var(--white); }
.chip--on-dark { align-self: flex-start; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 14px; padding: 8px 14px; }
.icon-circle--sm { width: 48px; height: 48px; }

/* hero device: transparent phone renders sit on the brand gradient */
.hero__visual { align-items: center; padding: 48px 24px; }
.hero__device { width: auto; max-width: min(100%, 520px); max-height: 640px; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.brand-festiguide .hero__device { max-height: 600px; }

/* intro statement */
.intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; align-items: end; padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); }

/* feature rows (image + text, alternating) */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); overflow: hidden; padding: 8px; gap: 8px; }
.feature__visual { display: flex; align-items: center; justify-content: center; min-height: 380px; padding: clamp(20px, 3vw, 40px); border-radius: calc(var(--r-xl) - 8px); background: var(--accent-soft); }
.feature__visual img { max-height: 460px; width: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(26, 29, 31, .18)); }
.feature__visual .zoom { border-radius: 16px; }
.feature__text { justify-content: center; padding: clamp(20px, 4vw, 56px); }
@media (min-width: 900px) { .feature--flip .feature__visual { order: 2; } }

/* modules */
.module { transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: hover) { .module:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26, 29, 31, .08); } }

/* pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); }
.plan.card { border: 1px solid var(--line-soft); }
.plan--featured { box-shadow: 0 24px 60px rgba(26, 29, 31, .25); }
.plan__price { font-size: clamp(34px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.plan .btn { align-self: stretch; }
.checklist--sm { gap: 10px; }
.checklist--sm li { font-size: 15px; }
.checklist--sm li::before { width: 22px; height: 22px; background-size: 13px; }
.checklist--sm span { padding-top: 1px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.steps li { padding: 24px; border-radius: var(--r); background: var(--ground); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 56px; align-items: start; }
.faq-wrap > .h2 { position: sticky; top: 110px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--white); border-radius: var(--r); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 20px 20px 24px; min-height: 64px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.faq__item p { padding: 0 24px 24px; font-size: 16px; line-height: 1.6; max-width: 70ch; }
.faq__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--pill); background: var(--ground); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease, background-color .2s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent-ink); }
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: var(--r); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 56px; align-items: start; padding: clamp(24px, 5vw, 72px); border-radius: var(--r-xl); }
.contact__link { color: var(--white); text-decoration: none; min-height: 44px; font-size: 17px; }
.contact__link:hover { color: var(--on-dark-muted); }
.contact__form { color: var(--ink); padding: clamp(20px, 3vw, 36px); }
.contact__form .muted { color: var(--muted); }

/* neutral root page */
.root-card { text-decoration: none; color: var(--ink); transition: transform .3s ease; }
.root-card:hover { color: var(--ink); transform: translateY(-4px); }

@media (max-width: 600px) {
    .hero__visual { min-height: 420px; padding: 32px 16px 72px; }
    .hero__device { max-height: 440px; }
    .float-tags { flex-direction: row; flex-wrap: wrap; justify-content: center; left: 12px; right: 12px; bottom: 16px; }
    .feature__visual { min-height: 260px; }
    .feature__visual img { max-height: 320px; }
}
