/* WPMaven /examples/: the gallery of real builds and the 16 guides.
   Matches the site: Inter for the interface, Instrument Serif for display
   headings, ink #17181C, secondary #6E7382, one accent #6A4BFF, soft shadows,
   rounded cards. Everything is served from this origin (fonts, images,
   video): nothing here asks a third party for anything. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/instrument-serif.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --n-0: #FFFFFF; --n-25: #FBFBFC; --n-50: #F5F6F8; --n-100: #EDEEF2;
    --n-200: #E2E4EA; --n-300: #CDD0DA; --n-400: #9BA0AF; --n-500: #6E7382;
    --n-600: #4A4E5A; --n-700: #33363F; --n-800: #222429; --n-900: #17181C;
    --accent: #6A4BFF; --accent-deep: #5A3FE0; --accent-soft: #EEEBFF;
    --success: #2E9E63;
    --grad-brand: linear-gradient(135deg, #47C8D8, #5B9BD5, #8E85C2, #D08EC8, #E8919F, #F2AA84);
    --r-card: 16px; --r-panel: 20px;
    --sh-xs: 0 1px 2px rgba(23,24,28,.06);
    --sh-sm: 0 2px 8px -2px rgba(23,24,28,.10);
    --sh-md: 0 6px 20px -6px rgba(23,24,28,.14);
    --sh-lg: 0 16px 40px -12px rgba(23,24,28,.22);
    --border: rgba(0, 0, 0, 0.08);
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff; color: var(--n-900); line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; width: 100%;
}
img, video { max-width: 100%; }
img { height: auto; }
.thumb img, .bf-view img, .shot img, .lightbox img { display: block; }
.vid video { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.hdr-wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
    position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--n-900); color: #fff;
    padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── Header: the same bar as every other page ─────────────────────────── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--border);
}
header nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; position: relative; }
.nav-border {
    position: absolute; top: 6px; bottom: 6px; left: 0; right: 0;
    border: 1.5px solid #000; border-radius: 300px; pointer-events: none;
    background: rgba(255, 255, 255, 0.5); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
header .logo {
    font-size: 20px; font-weight: 800; color: var(--n-900); letter-spacing: -0.02em;
    text-decoration: none; position: relative; z-index: 2; margin-left: 16px; white-space: nowrap;
}
header .logo:hover { opacity: .7; }
.nav-left { display: flex; gap: 8px; align-items: center; }
.nav-center { display: flex; gap: 4px; list-style: none; align-items: center; margin-left: 32px; position: relative; z-index: 2; }
.nav-center a {
    color: var(--n-900); text-decoration: none; font-weight: 500; font-size: 15px;
    display: inline-block; padding: 8px 16px; border-radius: 300px; transition: background .2s ease;
}
.nav-center a:hover { background: var(--n-100); }
.nav-center a[aria-current="page"], .nav-center a.is-section { background: var(--n-900); color: #fff; }
.nav-right { display: flex; gap: 12px; align-items: center; position: relative; z-index: 2; margin-right: 16px; }
.nav-login {
    font-size: 15px; font-weight: 500; color: var(--n-600); text-decoration: none;
    padding: 8px 10px; border-radius: 300px; white-space: nowrap; transition: color .15s ease, background .15s ease;
}
.nav-login:hover { color: var(--n-900); background: var(--n-100); }
.nav-btn {
    padding: 8px 16px; font-size: 15px; font-weight: 650; text-decoration: none; border-radius: 300px;
    white-space: nowrap; background: var(--n-900); color: #fff; box-shadow: 0 1px 2px rgba(23, 24, 28, .18);
    transition: background .15s ease, transform .1s ease;
}
.nav-btn:hover { background: var(--n-700); }
.nav-btn:active { transform: scale(.97); }
.nav-cta-short { display: none; }

/* ── Type ──────────────────────────────────────────────────────────────── */
.eyebrow { font-size: 14px; font-weight: 650; letter-spacing: .02em; color: var(--accent-deep); }
.dot { color: var(--accent); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; color: var(--n-900); }
.lede { font-size: 20px; line-height: 1.55; color: var(--n-600); }
.textlink {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-deep);
    text-decoration: none; font-size: 16px;
}
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.textlink svg { width: 16px; height: 16px; flex: none; }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--n-500); }

/* ── Buttons: ink fill with the brand ring, hairline secondary ─────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    padding: 12px 24px; border-radius: 300px; font-size: 15.5px; font-weight: 650; text-decoration: none;
    cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .1s ease, filter .15s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-ink {
    border: 2px solid transparent; color: #fff;
    background: linear-gradient(var(--n-900), var(--n-900)) padding-box, var(--grad-brand) border-box;
}
.btn-ink:hover { filter: brightness(1.14); }
.btn-ink:active { transform: scale(.97); }
.btn-line { background: #fff; color: var(--n-800); border: 1px solid var(--n-500); }
.btn-line:hover { background: var(--n-25); border-color: var(--n-600); }
.btn-white { background: #fff; color: var(--n-900); border: 2px solid transparent; }
.btn-white:hover { background: var(--n-100); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ── Hero (gallery and guides) ─────────────────────────────────────────── */
main { padding-top: 66px; }
.ex-hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.ex-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 900px 520px at 8% 0%, rgba(106, 75, 255, 0.096) 0%, transparent 65%),
        radial-gradient(ellipse 1000px 560px at 96% 8%, rgba(106, 75, 255, 0.108) 0%, transparent 65%),
        radial-gradient(ellipse 800px 420px at 60% 100%, rgba(255, 106, 61, 0.06) 0%, transparent 65%),
        linear-gradient(to bottom, #ffffff 0%, var(--n-25) 100%);
}
.ex-hero > .container { position: relative; z-index: 1; }
.ex-hero .eyebrow { margin-bottom: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.ex-hero h1 { font-size: clamp(52px, 7.4vw, 104px); line-height: .98; }
.hero-side { display: grid; gap: 18px; padding-bottom: 10px; }
.hero-side .lede { max-width: 520px; }
.hero-note { margin-top: 34px; max-width: 760px; color: var(--n-600); }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.ex-gallery { padding: 8px 0 88px; background: var(--n-25); border-top: 1px solid var(--border); }
.ex-tools { padding: 28px 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
    display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 18px;
    border: 1px solid var(--n-500); border-radius: 999px; background: #fff; color: var(--n-800);
    font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip-btn .n { font-size: 13px; font-weight: 600; color: var(--n-500); font-variant-numeric: tabular-nums; }
.chip-btn:hover { background: var(--n-50); border-color: var(--n-700); }
.chip-btn[aria-pressed="true"] { background: var(--n-900); border-color: var(--n-900); color: #fff; }
.chip-btn[aria-pressed="true"] .n { color: rgba(255, 255, 255, .72); }
.ex-count { font-size: 14px; color: var(--n-500); }

.ex-grid {
    list-style: none; display: grid; gap: 40px 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card[hidden] { display: none; }
.thumb {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-card);
    background: var(--n-100); box-shadow: 0 0 0 1px rgba(23, 24, 28, .08), var(--sh-sm);
    transition: box-shadow .35s ease;
}
/* The thumbnail is the top 2400px of the real homepage, cropped 3:5. On hover
   it scrolls by exactly the part the 4:3 window hides: (5/3 - 3/4) of the
   width, which is 55% of the image's own height. */
.thumb img { width: 100%; height: auto; aspect-ratio: 3 / 5; transform: translateY(0); transition: transform .8s ease; }
.tag {
    align-self: flex-start; font-size: 12px; font-weight: 650; line-height: 1; color: var(--n-600);
    background: var(--n-100); padding: 6px 11px; border-radius: 999px; white-space: nowrap; margin-top: 2px;
}
.card h3 { font-size: 18px; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: var(--r-card); }
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; }
.card h3 { margin-top: -4px; }
.card p { font-size: 14.5px; line-height: 1.5; color: var(--n-500); margin-top: -8px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .card { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
    .card:hover { transform: translateY(-6px); }
    .card:hover .thumb { box-shadow: 0 0 0 1px rgba(23, 24, 28, .1), var(--sh-lg); }
    .card:hover .thumb img { transform: translateY(-55%); transition: transform 6.5s cubic-bezier(.45, .05, .35, 1); will-change: transform; }
    .card:has(h3 a:focus-visible) .thumb img { transform: translateY(-55%); transition: transform 6.5s cubic-bezier(.45, .05, .35, 1); will-change: transform; }
}

.ex-bottom { padding: 24px 0 96px; }
.cta-card {
    position: relative; overflow: hidden; border-radius: 28px; padding: 72px 40px 92px; text-align: center; color: #fff;
    background: var(--n-900);
}
.cta-card::after {
    content: ''; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; pointer-events: none;
    background: radial-gradient(ellipse 55% 70% at 50% 100%, rgba(106, 75, 255, 0.3) 0%, rgba(255, 106, 61, 0.12) 48%, transparent 76%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; }
.cta-card .dot { color: #B7B1E6; }
.cta-card p { margin: 18px auto 0; max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 34px; }
.cta-card .cta-help { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .74); }

/* ── Guide: hero ───────────────────────────────────────────────────────── */
.crumbs { margin-bottom: 26px; font-size: 14px; color: var(--n-600); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--n-400); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--n-900); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--n-800); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: start; }
.cat-chip {
    display: inline-block; font-size: 13px; font-weight: 650; color: var(--accent-deep); background: var(--accent-soft);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.guide-title h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: .98; overflow-wrap: anywhere; }
.guide-title h1.long { font-size: clamp(42px, 5.2vw, 72px); }
.guide-title .lede { margin-top: 24px; max-width: 540px; }
.createbox {
    position: relative; background: #fff; border: 1.5px solid var(--n-900); border-radius: var(--r-panel);
    box-shadow: var(--sh-lg), 0 0 0 6px rgba(255, 255, 255, .55); padding: 18px 22px 18px;
}
.cb-label { font-size: 12.5px; font-weight: 650; letter-spacing: .02em; color: var(--n-600); margin-bottom: 8px; }
.cb-text { font-size: 18px; line-height: 1.55; color: var(--n-900); }
.cb-text mark { background: var(--accent-soft); color: inherit; border-radius: 4px; padding: 0 2px; box-shadow: 0 0 0 2px var(--accent-soft); }
.cb-en { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--n-200); font-size: 15px; line-height: 1.55; color: var(--n-600); }
.cb-en b { font-weight: 650; color: var(--n-700); }
.cb-legend { margin-top: 10px; font-size: 13px; color: var(--n-600); }
.cb-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.cb-count { font-size: 12.5px; color: var(--n-500); font-variant-numeric: tabular-nums; }
.about-note { margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: var(--n-50); border: 1px solid var(--n-200); font-size: 14px; line-height: 1.55; color: var(--n-600); }
.about-note p + p { margin-top: 4px; }

/* ── Guide: sections ───────────────────────────────────────────────────── */
.ex-section { padding: 88px 0 0; }
.ex-section:last-of-type { padding-bottom: 0; }
.ex-section h2 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; }
.sec-lead { margin-top: 14px; max-width: 640px; font-size: 18px; color: var(--n-500); }
.sec-body { margin-top: 36px; }

/* The browser frame that scrolls */
.bframe { border-radius: 16px; background: #fff; border: 1px solid rgba(23, 24, 28, .14); box-shadow: var(--sh-lg); overflow: hidden; }
.bframe + .bframe-wrap, .bframe-wrap + .bframe-wrap { margin-top: 44px; }
.bframe-wrap h3 { font-size: 15px; font-weight: 650; color: var(--n-600); margin-bottom: 12px; }
.bf-bar { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 10px 14px; background: linear-gradient(var(--n-50), var(--n-100)); border-bottom: 1px solid rgba(23, 24, 28, .08); }
.bf-dots { display: inline-flex; gap: 6px; flex: none; }
.bf-dots i { display: block; width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.bf-dots i:nth-child(2) { background: #FEBC2E; }
.bf-dots i:nth-child(3) { background: #28C840; }
.bf-pill {
    flex: 1; min-width: 0; max-width: 460px; margin: 0 auto; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--n-600);
    background: #fff; border-radius: 999px; padding: 6px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bf-play {
    flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 14px; border-radius: 999px;
    border: 1px solid var(--n-500); background: #fff; color: var(--n-800); font-size: 13px; font-weight: 650; cursor: pointer;
}
.bf-play:hover { background: var(--n-50); border-color: var(--n-700); }
.bf-play svg { width: 11px; height: 11px; fill: currentColor; }
.bf-play .i-pause { display: none; }
.bf-play[data-playing="true"] .i-pause { display: block; }
.bf-play[data-playing="true"] .i-play { display: none; }
.bf-view { height: clamp(440px, 68vh, 680px); overflow-y: auto; overflow-x: hidden; background: #fff; scrollbar-width: thin; overscroll-behavior: auto; }
.bf-view img { width: 100%; height: auto; }
.bf-view:focus-visible { outline-offset: -3px; }
.frame-note { margin-top: 12px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 76px; }
.step { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 56px; align-items: start; }
.step-text { position: sticky; top: 100px; }
.step-num {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--n-300);
    background: #fff; font-size: 15px; font-weight: 700; box-shadow: var(--sh-xs);
}
.step h3 { margin: 16px 0 10px; font-size: 24px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.step p { font-size: 16.5px; line-height: 1.65; color: var(--n-600); }
.step p + p { margin-top: 10px; }
.step-media { display: grid; gap: 16px; min-width: 0; }
.shot {
    display: block; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(23, 24, 28, .12);
    box-shadow: var(--sh-md); background: var(--n-50); cursor: zoom-in; transition: box-shadow .25s ease, transform .25s ease;
}
.shot:hover { box-shadow: var(--sh-lg); }
.shot img { width: 100%; height: auto; }
.shot-cap { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(23, 24, 28, .8); padding: 5px 10px; border-radius: 999px; pointer-events: none; }

/* Video */
.vid { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(23, 24, 28, .14); box-shadow: var(--sh-lg); background: var(--n-900); }
.vid video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--n-900); }

/* The play button over the poster, until the clip starts */
.vid-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .95); box-shadow: var(--sh-lg); display: grid; place-items: center; cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.vid-play:hover { background: #fff; transform: translate(-50%, -50%) scale(1.05); }
.vid-play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--n-900); }
.vid-play[hidden] { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(23, 24, 28, .86); }
.lightbox img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: var(--sh-lg); }
.lightbox form { position: absolute; right: 12px; top: 12px; }
.lightbox button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(23, 24, 28, .86); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.lightbox button:hover { background: var(--n-900); }

/* Guide footer CTA */
.ex-end { padding: 96px 0 96px; }

/* ── Site footer (same as the other pages) ─────────────────────────────── */
footer { background: var(--n-900); color: rgba(255, 255, 255, 0.8); padding: 80px 0 40px; }
.footer-content { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-column h3 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.footer-column ul li a:hover { color: #fff; }
.footer-brand { padding-right: 24px; }
.footer-brand .logo { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 16px; display: block; letter-spacing: normal; text-decoration: none; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 18px; transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255, 255, 255, 0.5); font-size: 14px; margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.footer-bottom-links a:hover { color: #fff; }
footer :focus-visible, .cta-card :focus-visible { outline-color: #fff; }

/* ── Tablet ────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .guide-grid { grid-template-columns: 1fr; gap: 40px; }
    .guide-title .lede { max-width: 640px; }
    .step { grid-template-columns: 1fr; gap: 24px; }
    .step-text { position: static; }
    .footer-content { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .nav-cta-long { display: none; }
    .nav-cta-short { display: inline; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .container, .hdr-wrap { padding: 0 24px; }
    header nav { gap: 8px; }
    .nav-left { gap: 10px; flex: 0 0 auto; }
    .nav-center { gap: 6px; margin-left: 10px; }
    .nav-center a { font-size: 12.5px; white-space: nowrap; padding: 8px 10px; }
    .nav-right { gap: 6px; margin-left: auto; margin-right: 12px; }
    .nav-login { font-size: 12.5px; padding: 8px 8px; }
    .nav-btn { font-size: 12.5px; padding: 8px 12px; }
    header .logo { font-size: 17px; margin-left: 12px; }
}

/* ── Phone ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .container, .hdr-wrap { padding: 0 20px; }
    main { padding-top: 118px; }
    header nav { flex-wrap: wrap; gap: 8px; align-items: flex-start; padding: 10px 0 10px; }
    .nav-border { display: none; }
    .nav-left { display: contents; }
    header nav > .nav-left .logo { order: 1; font-size: 16px; flex: 0 0 auto; margin: 0 auto 0 0; }
    .nav-right { order: 2; flex: 0 0 auto; gap: 6px; margin: 0 0 0 auto; }
    header nav .nav-center {
        order: 3; width: 100%; margin: 0; gap: 6px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
        border: 1.5px solid #000; border-radius: 300px; padding: 6px 4px; background: rgba(255, 255, 255, .5);
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .nav-center::-webkit-scrollbar { display: none; }
    .nav-center li { flex-shrink: 0; }
    .nav-center a { font-size: 12px; white-space: nowrap; padding: 6px 10px; }
    .nav-login { font-size: 12px; padding: 8px 6px; }
    .nav-btn { font-size: 12px; padding: 8px 12px; }
    .ex-hero { padding: 40px 0 32px; }
    .ex-hero .eyebrow { margin-bottom: 14px; }
    .lede { font-size: 17.5px; }
    .ex-tools { padding: 20px 0 24px; }
    .chip-btn { min-height: 44px; padding: 8px 14px; font-size: 14px; }
    .ex-section { padding-top: 64px; }
    .ex-section h2 { font-size: clamp(34px, 9vw, 44px); }
    .sec-body { margin-top: 26px; }
    .bf-bar { gap: 10px; padding: 9px 10px; }
    .bf-dots { display: none; }
    .bf-pill { margin: 0; text-align: left; }
    .bf-view { height: clamp(380px, 62vh, 540px); }
    .steps { gap: 56px; }
    .step h3 { font-size: 22px; }
    .createbox { padding: 16px 16px 16px; }
    .cb-text { font-size: 17px; }
    .cb-row .btn { width: 100%; }
    .cta-card { padding: 52px 22px 68px; border-radius: 22px; }
    .cta-actions .btn { width: 100%; max-width: 360px; }
    .ex-end { padding: 64px 0 64px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { padding-right: 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { flex-direction: column; gap: 12px; }
}
@media (max-width: 639px) {
    .ex-grid { grid-template-columns: 1fr; gap: 40px; }
    .card p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .bf-play { display: none; }
}
