/* ============================================================
   Caliq - "Messy notes in. Clean plans out."
   Award-grade light periwinkle design system
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../Assets/fonts/space-grotesk-var.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Instrument Serif';
    src: url('../Assets/fonts/instrument-serif.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Instrument Serif';
    src: url('../Assets/fonts/instrument-serif-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../Assets/fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #f7f6fc;
    --bg-lav: #f1effb;
    --ink: #15132b;
    --ink-2: #0d0c1d;
    --text: #15132b;
    --muted: #5e5b7d;
    --faint: #9b98b5;
    --line: rgba(70, 60, 160, 0.14);
    --line-strong: rgba(70, 60, 160, 0.30);

    --peri: #6d5fe8;
    --peri-deep: #5848d6;
    --peri-soft: rgba(109, 95, 232, 0.12);
    --peri-bright: #a89dff;

    --ev-orange: #e98a00;
    --ev-pink: #ef2d59;
    --ev-blue: #2f80ed;
    --ev-green: #23b653;

    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    --container: 1280px;
    --container-wide: 1380px;
    --gutter: clamp(20px, 4vw, 48px);
    --radius: 20px;
    --radius-lg: 32px;

    --shadow-soft: 0 24px 70px -28px rgba(38, 30, 90, 0.25);
    --shadow-panel: 0 40px 110px -35px rgba(28, 20, 80, 0.38);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--peri); color: #fff; }

:focus-visible {
    outline: 2px solid var(--peri-deep);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10001;
    padding: 10px 18px;
    background: var(--peri);
    color: #fff;
    border-radius: 99px;
    font: 600 0.85rem var(--font-display);
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.label {
    font: 600 0.78rem/1 var(--font-display);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--peri-deep);
    margin-bottom: 22px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.04;
    color: var(--ink);
}
.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--peri-deep);
}

.subhead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--muted);
    max-width: 600px;
    margin-top: 24px;
}

/* ---------- Grain ---------- */
.grain {
    display: none;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
html:not(.js) .loader { display: none; }
/* failsafe: if JS dies, the loader removes itself */
.js .loader {
    animation: loader-failsafe 0.4s ease 3.6s forwards;
}
@keyframes loader-failsafe {
    to { opacity: 0; visibility: hidden; }
}
.loader-mark { text-align: center; }
.loader-squiggle {
    width: clamp(90px, 12vw, 140px);
    color: var(--peri);
    margin-inline: auto;
}
.loader-squiggle path {
    stroke-dasharray: 330;
    stroke-dashoffset: 330;
}
.loader-word {
    margin-top: 18px;
    font: 600 1.6rem var(--font-display);
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    color: var(--ink);
    text-transform: lowercase;
}
.loader-count {
    position: absolute;
    bottom: 22px;
    right: 36px;
    font: italic 400 clamp(3rem, 7vw, 5.5rem) var(--font-serif);
    color: #d9d6f1;
    line-height: 1;
}

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
    .js .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
    .cursor-dot {
        position: fixed;
        width: 7px; height: 7px;
        border-radius: 50%;
        background: var(--peri-deep);
        transform: translate(-50%, -50%);
    }
    .cursor-ring {
        position: fixed;
        width: 38px; height: 38px;
        border-radius: 50%;
        border: 1.5px solid rgba(88, 72, 214, 0.45);
        transform: translate(-50%, -50%);
        transition: width 0.28s var(--ease-out), height 0.28s var(--ease-out),
                    border-color 0.28s, background-color 0.28s;
    }
    .cursor.is-hover .cursor-ring {
        width: 58px; height: 58px;
        background: rgba(109, 95, 232, 0.10);
        border-color: rgba(88, 72, 214, 0.8);
    }
    .cursor.is-down .cursor-ring { width: 28px; height: 28px; }
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9600;
    transition: transform 0.45s var(--ease-out), background-color 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container-wide);
    margin-inline: auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 600 1.1rem var(--font-display);
    letter-spacing: -0.02em;
    color: var(--ink);
}
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links {
    display: flex;
    gap: 34px;
    font: 500 0.92rem var(--font-display);
    color: var(--muted);
}
.nav-links a { transition: color 0.25s; position: relative; }
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 1.5px;
    background: var(--peri-deep);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 99px;
    background: var(--peri);
    color: #fff;
    font: 600 0.9rem var(--font-display);
    letter-spacing: 0.01em;
    transition: transform 0.3s var(--ease-out), background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 0 0 rgba(109, 95, 232, 0);
}
.btn-pill:hover {
    background: #7b6cf2;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -10px rgba(88, 72, 214, 0.6);
}

.nav-burger {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 9700;
}
.nav-burger span {
    position: absolute;
    left: 11px; right: 11px;
    height: 1.8px;
    background: var(--ink);
    transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 24px; }
.nav-burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
    position: fixed;
    inset: 0;
    z-index: 9500;
    visibility: hidden;
    pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(252, 252, 255, 0.94);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
}
.menu-links {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(6px, 1.6vh, 16px);
    padding-inline: var(--gutter);
    max-width: 720px;
    margin-inline: auto;
}
.menu-link {
    display: flex;
    align-items: baseline;
    gap: 18px;
    font: 600 clamp(1.9rem, 7.5vh, 3.4rem) var(--font-display);
    letter-spacing: -0.03em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(40px);
    transition: color 0.25s;
}
.menu-link:hover { color: var(--peri-deep); }
.menu-index {
    font: italic 400 0.95rem var(--font-serif);
    color: var(--faint);
}
.menu-foot {
    position: absolute;
    bottom: max(28px, env(safe-area-inset-bottom));
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    opacity: 0;
}

/* ---------- Store badges ---------- */
.store-badge-link { display: inline-block; transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.store-badge-link:hover { transform: translateY(-2px); opacity: 0.85; }
.store-badge-link img { height: 44px; width: auto; }
.menu-foot .store-badge-link img { height: 38px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(110px, 16vh, 170px);
    padding-bottom: 110px;
    overflow: clip;
    background: var(--bg);
}
.hero-canvas,
.hero-aurora {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero-canvas {
    display: none;
    z-index: 0;
}
.hero-aurora {
    z-index: 0;
    background:
        linear-gradient(to bottom, transparent 62%, var(--bg) 94%),
        radial-gradient(42% 38% at 16% 16%, rgba(109, 95, 232, 0.10), transparent 70%),
        radial-gradient(36% 34% at 86% 10%, rgba(239, 45, 89, 0.05), transparent 70%),
        radial-gradient(46% 40% at 50% 84%, rgba(109, 95, 232, 0.09), transparent 72%);
}
.js .hero-canvas + .hero-aurora.is-webgl { opacity: 0.6; }

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-title {
    margin-top: 34px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 9.2vw, 8.2rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.0;
    color: var(--ink);
}
.hero-line { display: block; }
.hero-line-rest { display: inline-block; }
.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--peri-deep);
    padding-right: 0.04em;
}
.hero-line-clean { color: var(--ink); }

.hero-squiggle {
    width: clamp(150px, 18vw, 250px);
    color: var(--peri);
    margin-top: 14px;
}
.hero-squiggle path {
    stroke-dasharray: 460;
    stroke-dashoffset: 0;
}

.hero-sub {
    margin-top: 28px;
    max-width: 580px;
    font-size: clamp(1rem, 1.4vw, 1.13rem);
    line-height: 1.7;
    color: var(--muted);
}

.hero-badges {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.hero-stage {
    position: relative;
    z-index: 1;
    width: min(1150px, 94vw);
    margin-top: clamp(54px, 8vh, 90px);
    perspective: 1400px;
}
/* the art ships with transparent margins and its own shadows -
   no box, no background, it floats straight on the page */
.hero-visual {
    transform-style: preserve-3d;
}
.hero-visual img { width: 100%; aspect-ratio: 2880 / 2048; }

.hero-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 99px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font: 500 0.85rem var(--font-display);
    letter-spacing: 0.01em;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip-orange .chip-dot { background: var(--ev-orange); }
.chip-green .chip-dot { background: var(--ev-green); }
.chip-pink .chip-dot { background: var(--ev-pink); }
.chip-blue .chip-dot { background: var(--ev-blue); }
.hero-chip[data-chip="1"] { top: 7%; left: -2%; }
.hero-chip[data-chip="2"] { top: 20%; right: -3%; }
.hero-chip[data-chip="3"] { bottom: 26%; left: -4%; }
.hero-chip[data-chip="4"] { bottom: 9%; right: -2%; }

/* ---------- Magic (pinned demo) ---------- */
.magic { position: relative; background: var(--bg); }
.magic-pin {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(70px, 9vh, 110px) 0;
}
.magic-head { text-align: center; margin-bottom: clamp(36px, 6vh, 64px); }

.magic-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 110px);
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
}

.note-card {
    position: relative;
    background: #fffefb;
    color: #1c1a33;
    border: 1px solid rgba(70, 60, 160, 0.16);
    border-radius: 22px;
    padding: 24px 28px 30px;
    transform: rotate(-1.4deg);
    box-shadow: var(--shadow-soft);
}
.note-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(28, 26, 51, 0.18);
}
.note-bar-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 600 0.78rem var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--peri-deep);
}
.note-status { position: relative; display: inline-grid; }
.note-status-item {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-end;
    font: 600 0.72rem var(--font-display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    opacity: 0;
    transition: opacity 0.3s;
}
.note-status-item.is-on { opacity: 1; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.note-status-item[data-status="listening"] { color: #77739a; }
.note-status-item[data-status="parsing"] { color: var(--ev-orange); }
.note-status-item[data-status="parsing"] .status-dot { animation: blink 0.7s infinite alternate; }
.note-status-item[data-status="done"] { color: #189a45; }
@keyframes blink { from { opacity: 1; } to { opacity: 0.25; } }

.note-text {
    font: italic 400 clamp(1.25rem, 1.9vw, 1.6rem) / 1.75 var(--font-serif);
    letter-spacing: 0.005em;
}
.note-text .hl {
    --hl: rgba(0, 0, 0, 0.08);
    background-color: transparent; /* kill the UA's yellow <mark> fill */
    background-image: linear-gradient(var(--hl), var(--hl));
    background-repeat: no-repeat;
    background-position: 0 62%;
    background-size: 100% 72%;
    border-radius: 5px;
    padding: 1px 3px;
    margin: -1px -3px;
    color: inherit;
}
.note-text .hl-orange { --hl: rgba(255, 159, 10, 0.32); }
.note-text .hl-blue { --hl: rgba(47, 128, 237, 0.22); }
.note-text .hl-green { --hl: rgba(35, 182, 83, 0.25); }
.note-text .hl-pink { --hl: rgba(239, 45, 89, 0.18); }
.note-cursor { display: none; }
.note-card[data-typing] .note-text::after {
    content: '';
    display: inline-block;
    width: 2.5px;
    height: 1.05em;
    margin-left: 3px;
    vertical-align: text-bottom;
    background: var(--peri);
    animation: blink 0.8s steps(2) infinite;
}

.magic-threads {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.magic-events {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 2;
}
.event-card {
    --ev: var(--peri);
    position: relative;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 22px 18px 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.event-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--ev);
}
.event-card.ev-orange { --ev: var(--ev-orange); }
.event-card.ev-blue { --ev: var(--ev-blue); }
.event-card.ev-pink { --ev: var(--ev-pink); }
.event-kind {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 600 0.72rem var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ev);
}
.event-title {
    margin-top: 7px;
    font: 600 1.18rem var(--font-display);
    letter-spacing: -0.015em;
    color: var(--ink);
}
.event-time {
    margin-top: 4px;
    font-size: 0.88rem;
    color: var(--muted);
}

.magic-tally {
    margin-top: clamp(36px, 6vh, 60px);
    text-align: center;
    font: 500 clamp(1.05rem, 1.8vw, 1.35rem) var(--font-display);
    letter-spacing: 0.02em;
    color: var(--muted);
}
.magic-tally .serif { font-size: 1.25em; color: var(--peri-deep); }
.magic-tally .tally-num { color: var(--peri-deep); font-weight: 700; }
.magic-tally .tally-zero { color: var(--ev-green); font-weight: 700; }

/* ---------- Features ---------- */
.features { position: relative; background: var(--bg); }
.frow {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    padding-block: clamp(70px, 11vh, 140px);
}
.frow-copy .subhead { max-width: 480px; }
.frow-flip .frow-copy { order: 2; }
.frow-flip .frow-media { order: 1; }

.frow-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.frow-list li {
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.7);
    font: 500 0.83rem var(--font-display);
    letter-spacing: 0.02em;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.frow-list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--peri);
}

/* feature art is transparent-background - it floats, no frames */
.frow-media {
    position: relative;
}
.frow-media img {
    width: 100%;
    aspect-ratio: 2880 / 2048;
    will-change: transform;
}

/* ---------- Intelligence ---------- */
.intel {
    padding-block: clamp(90px, 13vh, 170px);
    text-align: center;
    background: var(--bg);
}
.intel .subhead { margin-inline: auto; }
.intel-grid {
    margin-top: clamp(44px, 7vh, 72px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: left;
}
.intel-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px 30px 38px;
    box-shadow: 0 14px 44px -22px rgba(38, 30, 90, 0.22);
    transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}
.intel-card:hover {
    transform: translateY(-7px);
    border-color: var(--line-strong);
    box-shadow: 0 30px 70px -30px rgba(88, 72, 214, 0.35);
}
.intel-icon {
    width: 60px; height: 60px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: var(--peri-deep);
    background: var(--peri-soft);
    border: 1px solid rgba(88, 72, 214, 0.22);
    margin-bottom: 26px;
}
.intel-icon svg { width: 32px; height: 32px; }
.intel-tier {
    font: 600 0.72rem var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
}
.intel-card h3 {
    font: 600 1.45rem var(--font-display);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 12px;
}
.intel-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ---------- Craft (flat: art floats straight on the page) ---------- */
.craft {
    background: var(--bg);
    color: var(--ink);
    padding-block: clamp(90px, 13vh, 170px) 0;
    text-align: center;
    overflow: clip;
}
.craft .subhead { margin-inline: auto; }
.craft-media {
    margin-top: clamp(36px, 6vh, 64px);
    max-width: min(1000px, 100%);
    margin-inline: auto;
}
.craft-media img {
    width: 100%;
    aspect-ratio: 2880 / 2048;
}

/* ---------- Pricing ---------- */
.pricing {
    padding-block: clamp(90px, 13vh, 170px);
    text-align: center;
    background: var(--bg);
}
.pricing .subhead { margin-inline: auto; }
.pricing-stage { margin-top: clamp(40px, 6vh, 60px); }
.pricing-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pricing-switch {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--bg-soft);
    padding: 5px;
    margin-bottom: clamp(34px, 5vh, 48px);
    min-width: 320px;
}
.pricing-switch-pill {
    position: relative;
    z-index: 2;
    padding: 12px 30px;
    border-radius: 99px;
    font: 600 0.95rem var(--font-display);
    color: var(--muted);
    cursor: pointer;
    transition: color 0.3s;
    text-align: center;
}
.pricing-switch-thumb {
    position: absolute;
    z-index: 1;
    top: 5px; bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: 99px;
    background: var(--peri);
    box-shadow: 0 6px 20px -6px rgba(88, 72, 214, 0.7);
    transition: transform 0.4s var(--ease-out);
}
#pricing-personal:checked ~ .pricing-switch label[for="pricing-personal"],
#pricing-professional:checked ~ .pricing-switch label[for="pricing-professional"] { color: #fff; }
#pricing-professional:checked ~ .pricing-switch .pricing-switch-thumb { transform: translateX(100%); }

.pricing-dialogs {
    position: relative;
    display: grid;
    max-width: 880px;
    margin-inline: auto;
}
.pricing-dialog {
    grid-area: 1 / 1;
    text-align: left;
    background:
        radial-gradient(80% 60% at 50% -10%, rgba(109, 95, 232, 0.06), transparent 70%),
        #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 44px);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
#pricing-personal:checked ~ .pricing-dialogs .pricing-dialog-personal,
#pricing-professional:checked ~ .pricing-dialogs .pricing-dialog-professional {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.pricing-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}
.pricing-dialog-title {
    font: 600 clamp(1.6rem, 3vw, 2.1rem) var(--font-display);
    letter-spacing: -0.025em;
    color: var(--ink);
}
.pricing-dialog-price {
    margin-top: 6px;
    font: italic 400 1.15rem var(--font-serif);
    color: var(--peri-deep);
}
.pricing-flag {
    flex: none;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid var(--line-strong);
    font: 600 0.75rem var(--font-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.pricing-flag-pro {
    color: #fff;
    background: var(--peri);
    border-color: transparent;
    box-shadow: 0 8px 24px -8px rgba(88, 72, 214, 0.6);
}
.pricing-dialog-content {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: clamp(24px, 4vw, 44px);
    align-items: center;
}
/* chibi art is transparent - no tile, just a soft brand glow behind it */
.pricing-dialog-visual {
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(109, 95, 232, 0.22), rgba(109, 95, 232, 0) 72%);
}
.pricing-dialog-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.15);
    transform-origin: 55% 42%;
}
.pricing-specs { display: flex; flex-direction: column; gap: 18px; }
.pricing-spec-row { display: flex; gap: 14px; align-items: flex-start; }
.pricing-spec-icon {
    flex: none;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--bg-lav);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
}
.pricing-spec-icon img { width: 22px; height: 22px; }
.pricing-spec-copy { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.pricing-dialog-footnote {
    margin-top: 26px;
    font-size: 0.8rem;
    color: var(--faint);
}
.pricing-dialog-footnote-spacer { visibility: hidden; }
.pricing-dialog-footnote-empty { min-height: 1em; }

/* ---------- Privacy (dark interlude - no raster assets here) ---------- */
.privacy-state {
    padding-block: clamp(110px, 16vh, 200px);
    text-align: center;
    background:
        radial-gradient(60% 60% at 50% 110%, rgba(109, 95, 232, 0.18), transparent 70%),
        var(--ink-2);
}
.privacy-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.5vw, 5.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.04;
    color: #f4f3fc;
}
.privacy-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--peri-bright);
}
.privacy-strikes {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.privacy-strikes li {
    padding: 10px 20px;
    border: 1px solid rgba(168, 157, 255, 0.25);
    border-radius: 99px;
    font: 500 0.9rem var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b9b6d8;
}
.privacy-strikes s {
    text-decoration-color: #ff5f82;
    text-decoration-thickness: 2px;
}
.privacy-state .subhead {
    margin-inline: auto;
    margin-top: 34px;
    color: #d9d7ee;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding-block: clamp(110px, 16vh, 200px);
    text-align: center;
    overflow: clip;
    background: var(--bg);
}
.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(46% 46% at 50% 58%, rgba(109, 95, 232, 0.10), transparent 70%);
    pointer-events: none;
}
.cta .container { position: relative; }
.cta-icon {
    width: clamp(84px, 10vw, 110px);
    margin: 0 auto 36px;
    animation: bob 5.5s ease-in-out infinite;
}
.cta-icon img {
    border-radius: 24%;
    box-shadow: 0 30px 70px -22px rgba(60, 48, 160, 0.5);
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.cta .subhead { margin-inline: auto; }
.cta .hero-badges { margin-top: 38px; }

/* ---------- Footer (dark close: one link row, one fine-print line) ---------- */
.footer {
    background: var(--ink-2);
    text-align: center;
    overflow: clip;
}
.footer-inner {
    padding-block: clamp(48px, 7vh, 68px) clamp(36px, 5vh, 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.footer-squiggle {
    width: 36px;
    color: var(--peri-bright);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 34px;
    font: 500 0.92rem var(--font-display);
}
.footer-nav a {
    color: #a39fc7;
    padding: 2px;
    transition: color 0.25s;
}
.footer-nav a:hover { color: #ffffff; }
.footer-copy {
    font: 400 0.8rem var(--font-display);
    letter-spacing: 0.01em;
    color: #6f6b94;
}

/* ---------- Subpage scaffolding (contact / support / legal) ---------- */
.page-main {
    padding-top: clamp(130px, 18vh, 190px);
    padding-bottom: clamp(80px, 12vh, 140px);
    min-height: 70svh;
    background: var(--bg);
}
.page-title {
    font: 600 clamp(2.6rem, 6.5vw, 4.8rem) var(--font-display);
    letter-spacing: -0.04em;
    line-height: 1.03;
    color: var(--ink);
}
.page-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--peri-deep);
}
.page-main > .container > .subhead { margin-bottom: 48px; }
.page-main h2 {
    font: 600 1.5rem var(--font-display);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 44px 0 16px;
}
.page-main h3 {
    font: 600 1.1rem var(--font-display);
    color: var(--ink);
    margin: 28px 0 10px;
}
.page-main p, .page-main li { color: var(--muted); }
.page-main ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.page-main a:not(.btn-pill):not(.store-badge-link) { color: var(--peri-deep); }
.page-main a:not(.btn-pill):not(.store-badge-link):hover { text-decoration: underline; }
.legal-meta { font-size: 0.85rem; color: var(--faint); margin-bottom: 36px; }
.container-legal { max-width: 880px; }

.support-contact {
    margin-top: 64px;
    padding: 44px 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 80% at 50% -20%, rgba(109, 95, 232, 0.08), transparent 70%),
        var(--bg-soft);
    text-align: center;
}
.support-contact h2 { margin-top: 0; }
.support-contact .btn-pill { margin-top: 20px; }

/* FAQ (calm hairline list, no cards) */
.faq-group { margin-bottom: clamp(40px, 6vh, 56px); max-width: 880px; }
.faq-group h2 { margin: 0 0 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    cursor: pointer;
    padding: 18px 0;
    font: 500 1.02rem var(--font-display);
    letter-spacing: -0.01em;
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    transition: color 0.25s;
}
.faq-item summary:hover { color: var(--peri-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font: 400 1.5rem/1 var(--font-serif);
    color: var(--peri-deep);
    transition: transform 0.3s var(--ease-out);
    flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
    padding: 0 0 22px;
    max-width: 70ch;
    color: var(--muted);
    font-size: 0.95rem;
}
.faq-answer p + p { margin-top: 10px; }
@keyframes faq-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}
.faq-item[open] .faq-answer { animation: faq-in 0.3s var(--ease-out); }

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font: 600 0.78rem var(--font-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    font: 400 1rem var(--font-body);
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 14px 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
}
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--peri);
    box-shadow: 0 0 0 3px rgba(109, 95, 232, 0.18);
}
.contact-form-hidden { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.contact-form-note { font-size: 0.8rem; color: var(--faint); }
.contact-form-status { font-size: 0.9rem; min-height: 1.4em; }
.contact-form-status[data-state="error"] { color: var(--ev-pink); }
.contact-form-status[data-state="success"] { color: var(--ev-green); }
.contact-form-status[data-state="loading"] { color: var(--muted); }
.contact-submit {
    align-self: flex-start;
    padding: 14px 34px;
    font-size: 0.95rem;
}
.contact-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.contact-info {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--bg-soft);
    padding: 28px;
}
.contact-info-summary { color: var(--muted); line-height: 1.7; }
.contact-email-inline-icon { width: 20px; height: auto; display: inline-block; vertical-align: -3px; margin-right: 5px; }
.contact-email-inline, .contact-social-inline { white-space: nowrap; }
/* social glyphs are alpha-masked so they tint with the link color, like the email svg */
.contact-social-inline-icon {
    width: 17px;
    height: 17px;
    display: inline-block;
    vertical-align: -2.5px;
    margin-right: 5px;
    background-color: currentColor;
    -webkit-mask: var(--icon) no-repeat center / contain;
    mask: var(--icon) no-repeat center / contain;
}
.icon-twitter { --icon: url('../Assets/others/twitter.png'); }
.icon-threads { --icon: url('../Assets/others/threads.png'); }
.icon-instagram { --icon: url('../Assets/others/instagram.png'); }
.icon-bluesky { --icon: url('../Assets/others/bluesky.png'); }
.contact-turnstile { min-height: 65px; }

/* ---------- Newscorner: listing ---------- */
.news-hero {
    position: relative;
    padding: clamp(150px, 20vh, 210px) 0 clamp(30px, 5vh, 56px);
    background: var(--bg);
    overflow: clip;
}
.news-hero-inner { position: relative; z-index: 2; }
.news-list {
    display: grid;
    gap: clamp(40px, 7vh, 80px);
    padding-block: clamp(24px, 4vh, 48px) clamp(90px, 13vh, 150px);
}
.news-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(26px, 4vw, 60px);
    align-items: center;
}
.news-card-flip .news-card-media { order: 2; }
.news-card-media {
    border-radius: var(--radius-lg);
    overflow: clip;
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.news-card-media img { width: 100%; }
.news-card:hover .news-card-media { transform: translateY(-5px); box-shadow: var(--shadow-panel); }
.news-card-kicker {
    font: 600 0.74rem var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--peri-deep);
    margin-bottom: 14px;
}
.news-card-title {
    font: 600 clamp(1.6rem, 3vw, 2.4rem) var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--ink);
    transition: color 0.25s;
}
.news-card:hover .news-card-title { color: var(--peri-deep); }
.news-card-summary { margin-top: 14px; color: var(--muted); line-height: 1.65; max-width: 46ch; }
.news-card-cta {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 3px;
    font: 600 0.78rem var(--font-display);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--peri-deep);
    border-bottom: 1px solid var(--line-strong);
}

/* ---------- Newscorner: article ---------- */
.container-article { max-width: 880px; }
.article-hero {
    margin-top: clamp(36px, 6vh, 56px);
    border-radius: var(--radius-lg);
    overflow: clip;
    box-shadow: var(--shadow-soft);
}
.article-hero img { width: 100%; }
.article-body { max-width: 760px; margin-top: clamp(40px, 7vh, 72px); }
.article-body section + section { margin-top: clamp(34px, 5vh, 52px); }
.article-body h2 { margin: 0 0 16px; }
.article-body p { line-height: 1.75; }
.article-body p + p { margin-top: 16px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body sup a { font: 600 0.72em var(--font-display); color: var(--peri-deep); padding: 0 1px; }
.article-body ul { list-style: none; padding-left: 0; margin: 18px 0; display: grid; gap: 14px; }
.article-body ul li { position: relative; padding-left: 26px; line-height: 1.7; }
.article-body ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--peri);
}
.article-timeline { margin-top: 30px; }
.timeline-item { position: relative; padding: 24px 0 24px 36px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 34px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--peri);
    box-shadow: 0 0 0 5px var(--peri-soft);
}
.timeline-date { font: italic 400 1.1rem var(--font-serif); color: var(--peri-deep); }
.timeline-release {
    display: inline-block;
    margin-left: 10px;
    font: 600 0.68rem var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
}
.timeline-item h3 { margin: 10px 0 8px; }
.timeline-item p { font-size: 0.98rem; }
.article-sources {
    margin-top: clamp(40px, 6vh, 64px);
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.article-sources ol { display: grid; gap: 8px; }
.article-sources li { font-size: 0.9rem; }
.article-end { margin-top: clamp(48px, 8vh, 80px); text-align: center; }

/* ============================================================
   Caliq Studio  (studio.html)  +  service subpages
   ============================================================ */

/* ---- Studio hero ---- */
.studio-hero {
    position: relative;
    padding-top: clamp(128px, 17vh, 188px);
    padding-bottom: clamp(56px, 9vh, 104px);
    text-align: center;
    /* horizontal safety net is body { overflow-x: clip }; keep this axis open
       so an active orrery satellite near the bottom edge can push its label
       and glow below the section without being cropped by the next section */
    overflow-y: visible;
    background: var(--bg);
    padding-bottom: clamp(20px, 3.5vh, 52px);
}
.studio-hero .container { position: relative; z-index: 2; }
.studio-hero .subhead { margin-inline: auto; max-width: 560px; }
.studio-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, transparent 62%, var(--bg) 94%),
        radial-gradient(38% 40% at 16% 16%, rgba(109, 95, 232, 0.14), transparent 70%),
        radial-gradient(30% 30% at 84% 12%, rgba(47, 123, 232, 0.09), transparent 70%),
        radial-gradient(28% 30% at 82% 80%, rgba(63, 125, 79, 0.08), transparent 70%),
        radial-gradient(46% 44% at 50% 84%, rgba(109, 95, 232, 0.09), transparent 72%);
}

/* breadcrumb eyebrow (studio / service pages) */
.brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font: 600 0.76rem/1 var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--peri-deep);
}
.brand-eyebrow a { color: var(--faint); transition: color 0.25s; }
.brand-eyebrow a:hover { color: var(--peri-deep); }
.brand-eyebrow .sep { color: var(--line-strong); font-style: normal; }

/* Caliq emblem assembled from the native logo layers. The percentages follow
   the visible bounds of the final 1024px icon export. */
.caliq-emblem {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    isolation: isolate;
}
.caliq-emblem::before {
    content: '';
    position: absolute;
    inset: -18%;
    z-index: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(191, 185, 255, 0.76) 0 24%, rgba(121, 105, 246, 0.38) 48%, rgba(121, 105, 246, 0.12) 68%, transparent 82%);
    filter: blur(11px);
}
.caliq-emblem::after {
    content: '';
    position: absolute;
    left: 16.5%;
    top: 17.5%;
    width: 67%;
    height: 65.5%;
    z-index: 0;
    border-radius: 24% 24% 19% 19% / 20% 20% 18% 18%;
    background:
        radial-gradient(circle at 34% 25%, rgba(224, 222, 255, 0.096) 0 8%, rgba(208, 204, 255, 0.072) 30%, transparent 58%),
        linear-gradient(155deg, #c9c5ff 0%, #aaa2f3 46%, #8b80e8 100%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.82),
        inset 0 -12px 24px rgba(83, 70, 204, 0.16),
        0 10px 18px rgba(82, 69, 197, 0.12);
}
.caliq-emblem-layer {
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.caliq-emblem-calendar {
    left: 10.94%;
    top: 8.98%;
    width: 78.13%;
    height: 77.54%;
    z-index: 1;
    background: linear-gradient(180deg, #26205f 0%, #6658ef 62%, #8276ff 100%);
    -webkit-mask-image: url('../Assets/studio/caliq/layers/calendar.png');
    mask-image: url('../Assets/studio/caliq/layers/calendar.png');
    filter: drop-shadow(0 8px 9px rgba(79, 66, 201, 0.3));
}
.caliq-emblem-glasses {
    left: 21.88%;
    top: 27.34%;
    width: 58.50%;
    height: 58.69%;
    z-index: 2;
    background: linear-gradient(180deg, #35333b 0%, #09090b 72%);
    -webkit-mask-image: url('../Assets/studio/caliq/layers/glasses.png');
    mask-image: url('../Assets/studio/caliq/layers/glasses.png');
    filter: drop-shadow(0 5px 5px rgba(17, 16, 25, 0.34));
}
.caliq-emblem-signature {
    left: 39.94%;
    top: 53.92%;
    width: 22.27%;
    height: 22.27%;
    z-index: 3;
    opacity: 0.78;
    background: linear-gradient(180deg, #ffffff 0%, #e8e5ff 100%);
    -webkit-mask-image: url('../Assets/studio/caliq/layers/signature.svg');
    mask-image: url('../Assets/studio/caliq/layers/signature.svg');
    filter: drop-shadow(0 3px 3px rgba(80, 68, 190, 0.34));
}

/* ---- Studio orrery: a scalable 3D orbital system ---- */
.orrery-wrap { margin: clamp(12px, 3vh, 40px) auto 0; }
.orrery {
    position: relative;
    width: min(680px, 92vw);
    margin-inline: auto;
    contain: layout style;
    transform: translateZ(0);
    --core-size: clamp(120px, 21vw, 172px);
    --sat-size: clamp(76px, 13.5vw, 108px);
}
.orrery-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s var(--ease-out);
    transform: translateZ(0);
    will-change: opacity;
}
.orrery.is-live .orrery-canvas { opacity: 1; }

/* fallback / pre-JS: a calm centered cluster of logos with labels */
.orrery-field {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vh, 52px) 0;
}
.orrery.is-live { aspect-ratio: 1 / 0.66; touch-action: pan-y; }
.orrery.is-live .orrery-field {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    z-index: 1;
    pointer-events: none;
}

/* core: the Caliq Studio mark */
.orrery-core {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--core-size);
    height: var(--core-size);
    pointer-events: none;
    backface-visibility: hidden;
}
.orrery.is-live .orrery-core {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    z-index: 100;
}
.orrery-core-tile { position: relative; z-index: 1; width: 100%; height: 100%; }
.orrery-core-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25%;
    box-shadow: 0 34px 70px -24px rgba(60, 48, 160, 0.55);
}
.orrery-core-glow {
    position: absolute;
    inset: -34%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(125, 109, 242, 0.42), rgba(125, 109, 242, 0.12) 58%, transparent 78%);
    filter: blur(7px);
    animation: orrery-pulse 6s ease-in-out infinite;
    will-change: opacity, transform;
}

/* satellites: one glass tile per product */
.orrery-sat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    pointer-events: auto;
    backface-visibility: hidden;
    will-change: transform, opacity;
}
.orrery.is-live .orrery-sat { position: absolute; left: 0; top: 0; gap: 0; }
.orrery-sat-tile {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--sat-size);
    height: var(--sat-size);
    border-radius: 50%;
    background:
        radial-gradient(36% 30% at 30% 22%, rgba(255, 255, 255, 0.62), transparent 70%),
        radial-gradient(120% 120% at 50% 120%, rgba(var(--rgb), 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.85),
        inset 0 -12px 22px rgba(73, 61, 165, 0.14),
        0 20px 32px -18px rgba(40, 32, 96, 0.5);
    -webkit-backdrop-filter: blur(3px) saturate(1.15);
    backdrop-filter: blur(3px) saturate(1.15);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}
.orrery-sat-tile::before {
    content: '';
    position: absolute;
    inset: -22%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(var(--rgb), 0.45), transparent 72%);
    filter: blur(7px);
    opacity: 0.7;
    transition: opacity 0.4s var(--ease-out);
}
.orrery-sat-art { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.orrery-sat-art img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 6px 8px rgba(40, 32, 96, 0.22));
}
.orrery-sat-rsch .orrery-sat-tile {
    background:
        radial-gradient(36% 30% at 30% 22%, rgba(255, 255, 255, 0.74), transparent 70%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(239, 239, 241, 0.58) 48%, rgba(220, 220, 224, 0.28));
    border-color: rgba(10, 10, 12, 0.12);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.88),
        inset 0 -12px 22px rgba(10, 10, 12, 0.08),
        0 20px 32px -18px rgba(10, 10, 12, 0.38),
        0 0 38px rgba(10, 10, 12, 0.1);
}
.orrery-sat-rsch .orrery-sat-tile::before {
    background: radial-gradient(closest-side, rgba(10, 10, 12, 0.45), transparent 72%);
}
.orrery-sat-rsch .orrery-sat-art img {
    width: 68%;
    height: 68%;
    filter: drop-shadow(0 10px 18px rgba(10, 10, 12, 0.18));
}
.orrery-art-ltg img { width: 62%; height: 62%; }
.caliq-emblem-mini { width: 86%; }
.caliq-emblem-mini::before { display: none; }

/* label: title + subtitle, ride below their orb and reveal when active */
.orrery-sat-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    /* the satellite box is narrow, so size to content (not the orb) and only
       wrap the longest subtitles */
    width: max-content;
    max-width: min(15rem, 82vw);
    text-align: center;
}
.orrery-sat-name {
    font: 600 0.98rem var(--font-display);
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
}
.orrery-sat-sub {
    font: 500 0.66rem var(--font-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}
.orrery.is-live .orrery-sat-label {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}
.orrery.is-live .orrery-sat.is-active .orrery-sat-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.orrery-sat.is-active .orrery-sat-tile {
    transform: scale(1.07);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -12px 22px rgba(73, 61, 165, 0.18),
        0 26px 42px -18px rgba(40, 32, 96, 0.55);
}
.orrery-sat.is-active .orrery-sat-tile::before { opacity: 1; }
.orrery-sat-soon { cursor: default; }

@keyframes orrery-pulse { 0%, 100% { opacity: 0.78; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes studio-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Studio collection (service panels) ---- */
.studio-collection { padding-block: clamp(40px, 6vh, 76px) clamp(64px, 10vh, 128px); background: var(--bg); }
.studio-collection-head { text-align: center; margin-bottom: clamp(38px, 6vh, 66px); }
.studio-collection-head .subhead { margin-inline: auto; }

.svc-list { display: grid; gap: clamp(26px, 4.5vh, 52px); }
.svc {
    --accent: var(--peri);
    --accent-deep: var(--peri-deep);
    --accent-soft: rgba(109, 95, 232, 0.1);
    --accent-glow: rgba(109, 95, 232, 0.26);
    --accent-rgb: 109, 95, 232;
    --accent-x: 14%;
    position: relative;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(26px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(64% 80% at var(--accent-x) -6%, var(--accent-soft), transparent 60%),
        #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-panel); border-color: var(--line-strong); }
.svc-flip { --accent-x: 86%; }
.svc-flip .svc-visual { order: 2; }
.svc-researchly {
    --accent: #0a0a0c;
    --accent-deep: #0a0a0c;
    --accent-soft: rgba(10, 10, 12, 0.06);
    --accent-glow: rgba(10, 10, 12, 0.22);
    --accent-rgb: 10, 10, 12;
    --researchly-accent: #ff0000;
    background:
        radial-gradient(64% 80% at var(--accent-x) -6%, rgba(10, 10, 12, 0.06), transparent 60%),
        radial-gradient(36% 42% at 18% 108%, rgba(10, 10, 12, 0.055), transparent 70%),
        #ffffff;
    border-color: rgba(10, 10, 12, 0.1);
}
.svc-researchly:hover { border-color: rgba(10, 10, 12, 0.22); }
.svc-researchly .svc-visual {
    background: radial-gradient(closest-side,
        rgba(10, 10, 12, 0.16) 0%,
        rgba(10, 10, 12, 0.1) 34%,
        rgba(10, 10, 12, 0.06) 58%,
        rgba(10, 10, 12, 0.025) 78%,
        transparent 100%);
}
.svc-researchly .svc-deco-spark,
.svc-researchly .svc-deco-ast {
    color: var(--researchly-accent);
    opacity: 0.64;
    filter: drop-shadow(0 10px 18px rgba(10, 10, 12, 0.18));
}
.svc-researchly .svc-cta {
    background: var(--accent);
    box-shadow: 0 12px 30px -12px rgba(10, 10, 12, 0.3);
}
.svc-researchly .svc-cta:hover {
    box-shadow:
        0 18px 38px -12px rgba(10, 10, 12, 0.24),
        0 16px 36px -18px rgba(10, 10, 12, 0.28);
}
.svc-accent-green { --accent: #3f7d4f; --accent-deep: #2f5d3a; --accent-soft: rgba(63, 125, 79, 0.1); --accent-glow: rgba(63, 125, 79, 0.26); --accent-rgb: 63, 125, 79; }

.svc-visual {
    position: relative;
    width: 100%;
    max-width: 320px;
    justify-self: center;
    aspect-ratio: 1;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    /* gentle multi-stop falloff: fades early and tapers to nothing well inside
       the box, so the glow melts into the card with no visible edge or seam */
    background: radial-gradient(closest-side,
        rgba(var(--accent-rgb), 0.26) 0%,
        rgba(var(--accent-rgb), 0.205) 24%,
        rgba(var(--accent-rgb), 0.13) 46%,
        rgba(var(--accent-rgb), 0.06) 66%,
        rgba(var(--accent-rgb), 0.02) 84%,
        transparent 100%);
    backface-visibility: hidden;
    contain: layout style;
    transform: translateZ(0);
    will-change: opacity, clip-path;
}
.svc-visual img {
    width: 62%;
    height: 62%;
    object-fit: contain;
    filter: drop-shadow(0 22px 46px rgba(20, 18, 40, 0.16));
    backface-visibility: hidden;
    will-change: transform;
}
/* Researchly is shown as its bare mark (document + citation + magnifier), with no tile
   at all - it floats on the same soft glow as the monogram, no box around the logo */
.svc-visual-app img {
    width: 58%;
    height: 58%;
    border-radius: 24%;
    filter: drop-shadow(0 18px 32px rgba(10, 10, 12, 0.18));
}
.svc-visual-mono img { width: 56%; height: 56%; }
/* The assembled emblem keeps crisp foreground layers while its independent
   background diffusion can extend well beyond them. */
.svc-visual-mark {
    clip-path: none !important;
    will-change: opacity;
}
.caliq-emblem-feature {
    width: 64%;
    height: 64%;
    backface-visibility: hidden;
    will-change: opacity, transform;
}
/* Caliq's icon has an opaque periwinkle plate, so the card's flat glow hides
   behind it. Re-enable the emblem's own halo - sized and toned to match the
   diffused glow on the Researchly and LTG marks (not larger, not stronger). */
.caliq-emblem-feature::before {
    display: block;
    inset: -16%;
    background: radial-gradient(closest-side,
        rgba(125, 109, 242, 0.26) 0%,
        rgba(125, 109, 242, 0.20) 24%,
        rgba(125, 109, 242, 0.12) 46%,
        rgba(125, 109, 242, 0.055) 66%,
        rgba(125, 109, 242, 0.018) 84%,
        transparent 100%);
    filter: blur(7px);
}
.svc-leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.5;
    background-color: var(--accent);
    -webkit-mask: url('../Assets/studio/lifethatgrows/leaf.png') no-repeat center / contain;
    mask: url('../Assets/studio/lifethatgrows/leaf.png') no-repeat center / contain;
    backface-visibility: hidden;
    will-change: transform, opacity;
}
/* opposite corners on a steep oblique axis (off vertical, off the 45deg diagonals
   the other cards use). The leaf art points up-right at rest, so these rotations
   leave each leaf slanted, drifting in the wind - never standing on end */
.svc-leaf-1 { bottom: 10%; left: 65%; transform: translateX(-50%) rotate(34deg); }
.svc-leaf-2 { top: 13%; left: 37%; width: 20px; height: 20px; opacity: 0.35; transform: translateX(-50%) rotate(-146deg); }

/* Researchly contextual decor (sparkle + footnote mark), echoing the onyx/coral mark */
.svc-deco { position: absolute; pointer-events: none; backface-visibility: hidden; will-change: transform, opacity; }
.svc-deco svg { display: block; width: 100%; height: 100%; }
.svc-deco-spark { top: 13%; right: 14%; width: 26px; color: var(--accent); opacity: 0.6; }
.svc-deco-ast { bottom: 15%; left: 13%; width: 17px; color: #ee5b54; opacity: 0.6; }
.svc-deco-squiggle { bottom: 14%; right: 13%; width: 44px; color: var(--accent); opacity: 0.5; }
/* Each card's two decors stay diametrically opposite, but each uses a different,
   non-orthogonal axis: Caliq = TL/BR diagonal, Researchly = TR/BL diagonal,
   Life That Grows = a steep oblique (tilted off vertical) */
.svc-caliq .svc-deco-spark { top: 14%; left: 13%; right: auto; }

/* Safari is more prone to repaint jitter when filtered/masked card art also has
   scroll-linked transforms. Keep the same static look, but avoid persistent
   promoted layers once JS switches the Studio cards to the stable Safari path. */
html.safari-engine .svc-visual { will-change: opacity; }
html.safari-engine .svc-visual img,
html.safari-engine .svc-deco,
html.safari-engine .svc-leaf,
html.safari-engine .caliq-emblem-feature { will-change: auto; }

.svc-eyebrow { font: 600 0.74rem var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.svc-name { font: 600 clamp(1.7rem, 3vw, 2.5rem) var(--font-display); letter-spacing: -0.03em; line-height: 1.04; color: var(--ink); }
.svc-name em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-deep); }
.svc-desc { margin-top: 16px; color: var(--muted); line-height: 1.7; max-width: 48ch; }
.svc-lead { margin-top: 18px; font: italic 400 clamp(1.25rem, 1.9vw, 1.6rem) var(--font-serif); line-height: 1.3; letter-spacing: -0.01em; color: var(--accent-deep); }
.svc-lead + .svc-desc { margin-top: 12px; }
.svc-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-tags li {
    padding: 8px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.7);
    font: 500 0.8rem var(--font-display);
    letter-spacing: 0.01em;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.svc-tags li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 13px 26px;
    border-radius: 99px;
    background: var(--accent);
    color: #fff;
    font: 600 0.9rem var(--font-display);
    box-shadow: 0 12px 30px -12px var(--accent-glow);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background-color 0.3s;
}
.svc-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px var(--accent-glow); }
.svc-cta svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.svc-cta:hover svg { transform: translateX(3px); }
.svc .svc-cta.svc-cta-disabled {
    min-width: 220px;
    justify-content: center;
    background: rgba(47, 123, 232, 0.14);
    color: var(--accent-deep);
    box-shadow: inset 0 0 0 1px rgba(47, 123, 232, 0.18);
    cursor: not-allowed;
}
.svc .svc-cta.svc-cta-disabled span {
    color: var(--accent-deep);
}
.svc .svc-cta.svc-cta-disabled:hover {
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(47, 123, 232, 0.18);
}
/* match the Caliq button width to the other two cards */
.svc-caliq .svc-cta { min-width: 220px; justify-content: center; }

/* ---- Studio closing band (dark) ---- */
.studio-close {
    text-align: center;
    padding-block: clamp(80px, 12vh, 152px);
    background:
        radial-gradient(58% 60% at 50% 112%, rgba(109, 95, 232, 0.18), transparent 70%),
        var(--ink-2);
}
.studio-close .section-title { color: #f4f3fc; }
.studio-close .section-title em { color: var(--peri-bright); }
.studio-close .subhead { color: #d9d7ee; margin-inline: auto; }
.studio-close .btn-pill { margin-top: 32px; }

/* ============================================================
   Researchly subpage  (researchly.html) - scoped blue/coral theme
   ============================================================ */
.rsch {
    --peri: #2f7be8;
    --peri-deep: #1f5fc0;
    --peri-soft: rgba(47, 123, 232, 0.12);
    --peri-bright: #7fb0ff;
    --coral: #ff6b5e;
    --coral-deep: #e8554a;
}
.rsch .studio-aurora {
    background:
        radial-gradient(40% 40% at 18% 14%, rgba(47, 123, 232, 0.16), transparent 70%),
        radial-gradient(32% 32% at 84% 12%, rgba(255, 107, 94, 0.10), transparent 70%),
        radial-gradient(52% 50% at 50% 104%, rgba(47, 123, 232, 0.12), transparent 72%);
}
.rsch-hero-icon {
    position: relative;
    width: clamp(106px, 15vw, 148px);
    aspect-ratio: 1;
    margin: 0 auto clamp(24px, 4vh, 36px);
    display: grid;
    place-items: center;
    animation: studio-bob 6s ease-in-out infinite;
}
.rsch-hero-icon::before {
    content: '';
    position: absolute;
    inset: -16%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(47, 123, 232, 0.32), transparent 72%);
    z-index: -1;
}
.rsch-hero-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 24%; box-shadow: 0 28px 60px -22px rgba(31, 95, 192, 0.5); }

.rsch-devices { justify-content: center; margin-top: 24px; }
.rsch-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.rsch-ghost {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    border-radius: 99px;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font: 600 0.9rem var(--font-display);
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.rsch-ghost:hover { border-color: var(--peri); color: var(--peri-deep); background: var(--peri-soft); }

/* tiers */
.rsch-tiers { padding-block: clamp(78px, 12vh, 150px); text-align: center; background: var(--bg); }
.rsch-tiers .subhead { margin-inline: auto; }
.tier-grid { margin-top: clamp(40px, 6vh, 68px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 32px 28px 34px;
    background: #ffffff;
    box-shadow: 0 14px 44px -22px rgba(38, 30, 90, 0.18);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(31, 95, 192, 0.32); border-color: var(--line-strong); }
.tier-flag {
    display: inline-block;
    width: max-content;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 99px;
    font: 600 0.7rem var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--line-strong);
    color: var(--muted);
}
.tier-card-free .tier-flag { color: var(--peri-deep); border-color: rgba(47, 123, 232, 0.35); background: var(--peri-soft); }
.tier-card-pro .tier-flag { color: #fff; background: var(--peri); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(31, 95, 192, 0.55); }
.tier-card-max {
    border-color: rgba(255, 107, 94, 0.45);
    background: radial-gradient(80% 56% at 50% -10%, rgba(255, 107, 94, 0.08), transparent 70%), #ffffff;
}
.tier-card-max .tier-flag { color: #fff; background: var(--coral); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(232, 85, 74, 0.5); }
.tier-name { font: 600 1.4rem var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.tier-tagline { margin: 8px 0 22px; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.tier-feats { display: grid; gap: 14px; margin-top: auto; }
.tier-feat { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.tier-feat svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--peri); }
.tier-card-max .tier-feat svg { color: var(--coral); }
.tier-feat strong { color: var(--ink); font-weight: 600; }

/* researchly closing */
.rsch-close { position: relative; text-align: center; padding-block: clamp(90px, 13vh, 168px); overflow: clip; background: var(--bg); }
.rsch-close-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 46% at 50% 56%, rgba(47, 123, 232, 0.12), transparent 70%); }
.rsch-close .container { position: relative; z-index: 2; }
.rsch-close .subhead { margin-inline: auto; }

/* ---- Studio / service responsive ---- */
@media (max-width: 900px) {
    .svc { grid-template-columns: 1fr; gap: clamp(22px, 4vh, 36px); }
    .svc-flip .svc-visual { order: 0; }
    .svc-visual { max-width: 240px; }
    .svc-body { text-align: left; }
    .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 600px) {
    /* the orrery scales by recomputing its layout; here we just shrink the tiles
       and flatten the orbit a touch so logos never crowd the core */
    .orrery { width: 94vw; --core-size: clamp(98px, 30vw, 150px); --sat-size: clamp(62px, 22vw, 92px); }
    .orrery-sat-label { max-width: min(12rem, 60vw); }
    .orrery-sat-name { font-size: 0.9rem; }
    .orrery-sat-sub { font-size: 0.6rem; letter-spacing: 0.08em; }
    .svc-visual { max-width: 200px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .magic-stage { grid-template-columns: 1fr; gap: 34px; max-width: 620px; }
    .magic-threads { display: none; }
    .note-card { transform: rotate(-0.8deg); }
    .frow { grid-template-columns: 1fr; gap: 38px; padding-block: clamp(60px, 9vh, 100px); }
    .frow-flip .frow-copy { order: 0; }
    .frow-flip .frow-media { order: 1; }
    .frow-copy .subhead { max-width: 600px; }
    .intel-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .news-card { grid-template-columns: 1fr; gap: 24px; }
    .news-card-media, .news-card-flip .news-card-media { order: -1; }
    .news-card-summary { max-width: 60ch; }
}

@media (max-width: 820px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .nav-cta { display: none; }
    .menu .nav-cta { display: inline-flex; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .hero { padding-top: 104px; padding-bottom: 90px; }
    .hero-chip { font-size: 0.74rem; padding: 9px 13px; }
    .hero-chip[data-chip="2"],
    .hero-chip[data-chip="3"] { display: none; }
    .hero-chip[data-chip="1"] { top: -4%; left: 2%; }
    .hero-chip[data-chip="4"] { bottom: -4%; right: 2%; }
    .hero-badges { gap: 10px; }
    .store-badge-link img { height: 40px; }
    .magic-pin { padding-block: 60px; }
    .note-card { padding: 18px 20px 24px; }
    .pricing-switch { min-width: 0; width: 100%; max-width: 360px; }
    .pricing-dialog-content { grid-template-columns: 1fr; }
    .pricing-dialog-visual { max-width: 250px; margin-inline: auto; }
    .pricing-dialog-header { flex-direction: column; }
    .privacy-strikes li { font-size: 0.8rem; padding: 8px 14px; }
    .footer-nav { gap: 8px 24px; }
    .news-hero { padding-top: 130px; }
    .timeline-item { padding-left: 28px; }
    .timeline-release { display: block; margin: 4px 0 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    .loader { display: none !important; }
    .cta-icon { animation: none !important; }
}

/* ---------- Hidden scrollbars, scrolling stays functional ---------- */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
