:root {
    --font-sans: "Manrope", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-hand: "Caveat", "Segoe Print", cursive;
    --paper: #f6f3ed;
    --white: #fffdfa;
    --ink: #171c27;
    --muted: #666b76;
    --line: rgba(23, 28, 39, 0.11);
    --coral: #f56f57;
    --coral-dark: #d9523c;
    --coral-soft: #ffe4dc;
    --blue: #3957d5;
    --sky: #dcecff;
    --lilac: #e9e2ff;
    --yellow: #f9db72;
    --mint: #d7eddf;
    --night: #181b24;
    --radius: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: 0.24;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

a { color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.055em; }

.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 112px; }
.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-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 12px 18px; border-radius: 999px; color: white; background: var(--ink); text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding-block: 18px;
    border-bottom: 1px solid transparent;
    transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
    padding-block: 8px;
    border-color: var(--line);
    background: rgba(246, 243, 237, 0.88);
    box-shadow: 0 12px 36px rgba(24, 29, 42, 0.07);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 1.28rem; font-weight: 800; letter-spacing: -0.05em; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 8px 20px rgba(36, 45, 73, 0.12); }
.brand > span > span { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.78rem; font-weight: 700; }
.nav-links > a:not(.nav-cta) { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-links > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; border-radius: 2px; content: ""; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform 0.25s ease; }
.nav-links > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: 18px; padding: 12px 17px; border-radius: 999px; color: white; background: var(--ink); box-shadow: 0 10px 24px rgba(24, 28, 39, 0.16); text-decoration: none; transition: transform 0.25s ease, background 0.25s ease; }
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-2px); }
.nav-toggle { display: none; }

/* Hero */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(570px, 1.22fr);
    align-items: center;
    min-height: 825px;
    padding-top: 118px;
    padding-bottom: 58px;
}
.hero-copy { position: relative; z-index: 3; padding-right: 20px; }
.eyebrow, .section-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 250, 0.7); }
.eyebrow span { color: var(--coral); }
h1 { max-width: 720px; margin-bottom: 27px; font-size: clamp(4.15rem, 6vw, 6.35rem); font-weight: 800; line-height: 0.91; }
h1 > span { position: relative; display: inline-block; color: var(--coral); }
h1 > span::after { position: absolute; right: 1%; bottom: -10px; left: 1%; height: 8px; border: solid var(--coral); border-width: 2px 0 0; border-radius: 50%; content: ""; opacity: 0.42; transform: rotate(-1deg); }
.hero-intro { max-width: 520px; margin-bottom: 31px; color: var(--muted); font-size: 0.98rem; line-height: 1.76; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 56px; padding: 0 23px; border: 0; border-radius: 16px; font-size: 0.8rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: var(--coral); box-shadow: 0 16px 34px rgba(213, 79, 55, 0.22); }
.button-primary:hover { background: var(--coral-dark); box-shadow: 0 20px 40px rgba(213, 79, 55, 0.28); }
.button > span:last-child { font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 9px; font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.text-link > span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease; }
.text-link:hover > span { color: white; background: var(--ink); transform: translateY(3px); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 39px; color: var(--muted); font-size: 0.57rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-note i { width: 18px; height: 1px; background: rgba(23, 28, 39, 0.24); }

.hero-stage {
    position: relative;
    z-index: 1;
    height: 640px;
    overflow: clip;
    border-radius: 46px;
    isolation: isolate;
    perspective: 1400px;
    transform: rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg));
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    contain: layout paint;
}
.stage-backdrop { position: absolute; inset: 18px 0 12px 28px; overflow: hidden; border: 1px solid rgba(23, 28, 39, 0.07); border-radius: 42px; background: radial-gradient(circle at 84% 17%, rgba(255,255,255,0.9) 0 4%, transparent 23%), radial-gradient(circle at 9% 87%, rgba(249,219,114,0.4), transparent 30%), linear-gradient(138deg, #f9ddd5 0%, #e8e0ff 48%, #dbeaff 100%); box-shadow: 0 30px 70px rgba(54, 49, 75, 0.16); }
.stage-backdrop::before { position: absolute; inset: 0; content: ""; opacity: 0.3; background-image: radial-gradient(rgba(23,28,39,0.22) 0.7px, transparent 0.7px); background-size: 20px 20px; mask-image: linear-gradient(135deg, black, transparent 55%); }
.stage-script { position: absolute; top: 27px; left: 31px; z-index: 8; color: var(--coral-dark); font-family: var(--font-hand); font-size: 1.75rem; font-weight: 600; transform: rotate(-4deg); }
.stage-script::after { position: absolute; right: -34px; bottom: -6px; width: 43px; height: 15px; border-top: 2px solid currentColor; border-radius: 50%; content: ""; transform: rotate(9deg); }
.stage-orbit { position: absolute; top: 48%; left: 51%; border: 1px solid rgba(23,28,39,0.11); border-radius: 50%; transform: translate(-50%, -50%) rotate(-10deg); }
.orbit-one { width: 520px; height: 430px; }
.orbit-two { width: 430px; height: 520px; border-style: dashed; opacity: 0.75; animation: orbit-spin 64s linear infinite; }
.stage-sphere { position: absolute; border-radius: 50%; box-shadow: inset -12px -15px 24px rgba(23,28,39,0.12), inset 10px 10px 19px rgba(255,255,255,0.5), 0 18px 35px rgba(37,39,68,0.13); }
.sphere-one { top: 75px; right: 32px; width: 86px; height: 86px; background: radial-gradient(circle at 32% 27%, #fff8bd 0 7%, #f7d566 42%, #e4aa36 100%); }
.sphere-two { bottom: 76px; left: 34px; width: 61px; height: 61px; background: radial-gradient(circle at 30% 28%, #ffece6 0 8%, #f88872 48%, #ca4b42 100%); }
.parallax-layer { --base-transform: translate3d(0,0,0); transform: var(--base-transform) translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0); transition: transform 0.16s ease-out; }
.hero-phone { position: absolute; z-index: 4; width: 230px; }
.phone-left { --base-transform: rotate(-11deg); top: 178px; left: 22px; z-index: 2; width: 182px; }
.phone-main { --base-transform: translateX(-50%); top: 70px; left: 50%; width: 238px; }
.phone-right { --base-transform: rotate(11deg); top: 169px; right: 24px; z-index: 2; width: 182px; }
.hero-phone-shell { position: relative; padding: 6px; border: 2px solid #40485c; border-radius: 38px; background: linear-gradient(145deg, #8e97ac, #202636 35%, #101521 72%, #667087); box-shadow: 18px 27px 46px rgba(27,31,49,0.28), inset 0 0 0 1px rgba(255,255,255,0.26); }
.hero-phone-shell::after { position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,0.12); border-radius: 31px; content: ""; pointer-events: none; }
.hero-phone-shell > span { position: absolute; top: 12px; left: 50%; z-index: 2; width: 67px; height: 17px; border-radius: 999px; background: #101622; transform: translateX(-50%); }
.hero-phone-shell img { width: 100%; height: auto; border-radius: 31px; background: #eef0f4; }
.stage-card { position: absolute; z-index: 7; display: flex; align-items: center; min-width: 200px; gap: 11px; padding: 11px 13px; border: 1px solid rgba(255,255,255,0.82); border-radius: 17px; background: rgba(255,253,250,0.87); box-shadow: 0 18px 38px rgba(39,38,61,0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.stage-card > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; color: white; background: var(--coral); font-size: 0.72rem; font-weight: 800; }
.stage-card p { margin: 0; }
.stage-card small, .stage-card strong { display: block; }
.stage-card small { margin-bottom: 3px; color: var(--muted); font-size: 0.5rem; font-weight: 700; }
.stage-card strong { font-size: 0.64rem; }
.stage-match { top: 110px; right: 12px; }
.stage-match > span { color: var(--ink); background: var(--yellow); }
.stage-plan { bottom: 82px; left: 17px; }
.stage-caption { position: absolute; right: 25px; bottom: 22px; z-index: 8; display: flex; align-items: center; gap: 7px; margin: 0; color: rgba(23,28,39,0.57); font-size: 0.52rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.stage-caption i { width: 6px; height: 6px; border-radius: 50%; background: #3fb47e; box-shadow: 0 0 0 4px rgba(63,180,126,0.14); }

/* Inspiration */
.idea-rail { padding: 77px 0 84px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f0ece6; }
.rail-heading { display: grid; grid-template-columns: 1fr 0.55fr; align-items: end; gap: 70px; margin-bottom: 31px; }
.section-label { margin-bottom: 11px; color: var(--coral-dark); }
.rail-heading h2 { max-width: 680px; margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 800; line-height: 0.98; }
.rail-heading > p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }
.idea-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.idea-card { position: relative; display: grid; min-height: 185px; padding: 21px; overflow: hidden; border: 1px solid rgba(23,28,39,0.08); border-radius: 24px; background: var(--white); box-shadow: 0 15px 32px rgba(33,43,70,0.055); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.idea-card:hover { transform: translateY(-5px); box-shadow: 0 23px 44px rgba(33,43,70,0.1); }
.idea-card::after { position: absolute; right: -31px; bottom: -53px; width: 126px; height: 126px; border: 1px solid rgba(23,28,39,0.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 19px rgba(255,255,255,0.13); }
.idea-card > span { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 15px; background: rgba(255,255,255,0.62); font-size: 1.3rem; }
.idea-card p { align-self: end; margin: 23px 0 0; }
.idea-card small, .idea-card strong { display: block; }
.idea-card small { margin-bottom: 6px; font-size: 0.53rem; font-weight: 700; }
.idea-card strong { max-width: 180px; font-size: 0.86rem; line-height: 1.3; }
.idea-card > i { position: absolute; right: 18px; bottom: 19px; z-index: 2; font-size: 0.57rem; font-style: normal; font-weight: 800; }
.idea-lisbon { background: #fee3da; }
.idea-kyoto { background: #e8e1fa; }
.idea-alps { background: #dcece2; }
.idea-marrakech { background: #f6dfae; }

/* Product lifecycle */
.section-heading { display: grid; grid-template-columns: 1.25fr 0.62fr; align-items: end; gap: 75px; margin-bottom: 50px; }
.section-heading h2, .journey-heading h2, .early-copy h2 { margin-bottom: 0; font-size: clamp(3.15rem, 5.15vw, 5.25rem); font-weight: 800; line-height: 0.95; }
.section-heading > p, .journey-heading > p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.75; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; perspective: 1300px; }
.story-card { position: relative; min-height: 430px; overflow: hidden; padding: 27px 24px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,253,250,0.84); box-shadow: 0 18px 45px rgba(34,44,72,0.06); transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transition: transform 0.18s ease-out, box-shadow 0.3s ease, border-color 0.3s ease; }
.story-card:hover { border-color: rgba(23,28,39,0.17); box-shadow: 0 27px 56px rgba(34,44,72,0.11); }
.story-card > * { position: relative; z-index: 2; }
.story-number { position: absolute; top: 27px; right: 25px; color: rgba(23,28,39,0.38); font-family: var(--font-hand); font-size: 1.03rem; }
.story-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 32px; border-radius: 14px; color: white; background: var(--ink); box-shadow: 0 10px 20px rgba(24,29,43,0.14); font-size: 1.05rem; }
.story-connect .story-icon { background: var(--coral); }
.story-plan .story-icon { color: var(--ink); background: var(--yellow); }
.story-remember .story-icon { background: #337b65; }
.story-card .section-label { margin-bottom: 8px; font-size: 0.56rem; }
.story-card h3 { margin-bottom: 11px; font-size: 1.58rem; font-weight: 800; line-height: 1.04; }
.story-card > p:last-of-type { color: var(--muted); font-size: 0.7rem; line-height: 1.62; }
.map-ui, .people-ui, .plan-ui, .memory-ui { position: absolute; right: 16px; bottom: 16px; left: 16px; height: 125px; border-radius: 18px; }
.map-ui { overflow: hidden; border: 1px solid rgba(57,87,213,0.1); background: radial-gradient(circle at 30% 45%, transparent 0 4px, rgba(57,87,213,0.13) 5px 6px, transparent 7px), linear-gradient(31deg, transparent 47%, rgba(57,87,213,0.12) 48% 50%, transparent 51%), #eef5ff; }
.map-ui::before, .map-ui::after { position: absolute; content: ""; background: rgba(57,87,213,0.12); }
.map-ui::before { top: 47px; left: -20px; width: 120%; height: 2px; transform: rotate(-13deg); }
.map-ui::after { top: -25px; left: 52%; width: 2px; height: 140%; transform: rotate(24deg); }
.map-ui i { position: absolute; z-index: 2; width: 14px; height: 14px; border: 3px solid var(--coral); border-radius: 50%; background: white; box-shadow: 0 4px 9px rgba(39,61,121,0.16); }
.map-ui i:nth-child(1) { top: 24px; left: 25%; }
.map-ui i:nth-child(2) { top: 69px; left: 57%; }
.map-ui i:nth-child(3) { top: 36px; right: 15%; }
.map-ui span { position: absolute; bottom: 15px; left: 15px; font-family: var(--font-hand); font-size: 1.42rem; font-weight: 600; }
.map-ui b { position: absolute; right: 10px; bottom: 11px; padding: 6px 8px; border-radius: 999px; color: white; background: var(--blue); font-size: 0.43rem; }
.people-ui { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; background: #fff1ed; }
.people-ui > span { display: grid; width: 57px; height: 72px; place-items: center; margin: 0 -5px; border: 4px solid rgba(255,255,255,0.82); border-radius: 29px 29px 13px 13px; background: var(--lilac); box-shadow: 0 10px 20px rgba(92,47,47,0.08); font-size: 0.54rem; font-weight: 800; transform: rotate(-6deg); }
.people-ui > span:nth-child(2) { z-index: 3; height: 87px; background: var(--yellow); transform: translateY(-4px); }
.people-ui > span:nth-child(3) { background: var(--sky); transform: rotate(6deg); }
.people-ui strong { position: absolute; top: 10px; left: 10px; padding: 6px 7px; border-radius: 9px; color: white; background: var(--coral); font-size: 0.41rem; transform: rotate(-4deg); }
.plan-ui { display: grid; gap: 5px; height: auto; padding: 9px; background: #fff9df; }
.plan-ui > span { display: grid; grid-template-columns: 39px minmax(0, 1fr); align-items: center; gap: 1px 5px; min-height: 30px; padding: 5px 6px; border-radius: 9px; background: rgba(255,255,255,0.82); }
.plan-ui i, .plan-ui em { font-size: 0.39rem; font-style: normal; }
.plan-ui i { grid-row: 1 / 3; color: var(--muted); }
.plan-ui b { overflow: hidden; font-size: 0.47rem; text-overflow: ellipsis; white-space: nowrap; }
.plan-ui em { color: var(--coral-dark); font-weight: 800; }
.memory-ui { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 15px; color: white; background: linear-gradient(180deg, rgba(25,77,65,0.02), rgba(16,50,43,0.63)), linear-gradient(#ffb6a0 0 40%, #7cb1b0 41% 58%, #387462 59%); }
.memory-ui::before, .memory-ui::after { position: absolute; bottom: -14px; content: ""; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.memory-ui::before { left: -28px; width: 170px; height: 92px; background: #28604f; }
.memory-ui::after { right: -35px; width: 160px; height: 108px; background: #417b66; }
.memory-ui span, .memory-ui small { position: relative; z-index: 2; }
.memory-ui span { font-family: var(--font-hand); font-size: 1.35rem; }
.memory-ui small { font-size: 0.42rem; font-weight: 700; }

/* Real app carousel */
.journey-section { --screen-card-width: 300px; overflow: hidden; color: white; background: var(--night); }
.journey-heading { display: grid; grid-template-columns: 1.2fr 0.55fr; align-items: end; gap: 75px; margin-bottom: 45px; }
.journey-heading h2 { color: white; }
.section-label.light { color: #c8c3ff; }
.journey-heading > p { color: rgba(255,255,255,0.59); }
.journey-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 40px; padding: 6px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; background: rgba(255,255,255,0.045); }
.journey-tab { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 1px 8px; min-height: 76px; padding: 13px 14px; border: 0; border-radius: 15px; color: rgba(255,255,255,0.52); background: transparent; text-align: left; cursor: pointer; transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease; }
.journey-tab:hover { color: white; background: rgba(255,255,255,0.06); }
.journey-tab.active { color: var(--ink); background: var(--white); box-shadow: 0 15px 34px rgba(0,0,0,0.2); transform: translateY(-2px); }
.journey-tab span { grid-row: 1 / 3; align-self: center; color: #a39cec; font-family: var(--font-hand); font-size: 1.05rem; }
.journey-tab.active span { color: var(--coral); }
.journey-tab b { align-self: end; font-size: 0.72rem; }
.journey-tab small { align-self: start; overflow: hidden; font-size: 0.54rem; text-overflow: ellipsis; white-space: nowrap; }
.screenshot-carousel { position: relative; }
.carousel-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; padding-inline: 5px; color: rgba(255,255,255,0.68); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.carousel-topline small { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.4); font-size: 0.5rem; }
.carousel-topline i { width: 5px; height: 5px; border-radius: 50%; background: #72e5af; box-shadow: 0 0 10px rgba(114,229,175,0.7); }
.screenshot-track { display: flex; gap: 28px; overflow-x: auto; padding: 25px max(24px, calc((100% - var(--screen-card-width)) / 2)) 35px; scroll-padding-inline: max(24px, calc((100% - var(--screen-card-width)) / 2)); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; overscroll-behavior-inline: contain; touch-action: pan-x pan-y; }
.screenshot-track::-webkit-scrollbar { display: none; }
.screenshot-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.screenshot-card { flex: 0 0 var(--screen-card-width); margin: 0; opacity: 0.42; scroll-snap-align: center; transition: opacity 0.28s ease; }
.screenshot-card.is-active { opacity: 1; }
.screenshot-track.is-moving .screenshot-card { transition: none; }
.screenshot-device { position: relative; padding: 8px; border: 2px solid #5e6679; border-radius: 48px; background: linear-gradient(145deg, #858da2, #171b27 35%, #090d15 72%, #5c6477); box-shadow: 21px 31px 52px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.21); }
.screenshot-device::before { position: absolute; top: 15px; left: 50%; z-index: 2; width: 82px; height: 21px; border-radius: 999px; content: ""; background: #0d1320; transform: translateX(-50%); }
.screenshot-device::after { position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,0.12); border-radius: 39px; content: ""; pointer-events: none; }
.screenshot-device img { width: 100%; height: auto; border-radius: 39px; background: #eef0f4; }
.screenshot-card figcaption { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 18px 6px 0; }
.screenshot-card figcaption > span { color: #a39cec; font-family: var(--font-hand); font-size: 1.05rem; }
.screenshot-card figcaption strong, .screenshot-card figcaption small { display: block; }
.screenshot-card figcaption strong { margin-bottom: 3px; font-size: 0.71rem; }
.screenshot-card figcaption small { color: rgba(255,255,255,0.48); font-size: 0.54rem; line-height: 1.45; }
.screenshot-navigation { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; margin-top: 11px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.11); }
.screenshot-controls { display: flex; gap: 8px; }
.screenshot-controls button { display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; color: white; background: rgba(255,255,255,0.05); cursor: pointer; transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease; }
.screenshot-controls button:hover:not(:disabled) { color: var(--ink); background: var(--yellow); }
.screenshot-controls button:disabled { cursor: not-allowed; opacity: 0.25; }
.screenshot-dots { display: flex; justify-content: center; gap: 8px; }
.screenshot-dots button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.screenshot-dots button::before { display: block; width: 6px; height: 6px; margin: auto; border-radius: 50%; content: ""; background: rgba(255,255,255,0.26); transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease; }
.screenshot-dots button[aria-current="true"]::before { width: 19px; border-radius: 99px; background: var(--coral); }
.screenshot-counter { display: flex; align-items: center; margin: 0; color: rgba(255,255,255,0.36); font-size: 0.61rem; font-weight: 700; }
.screenshot-counter > span { margin-right: 4px; color: white; font-size: 0.84rem; }
.screenshot-counter small { min-width: 70px; margin-left: 10px; color: #c8c3ff; }

/* Early access */
.early-section { padding-bottom: 66px; }
.early-card { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; overflow: hidden; padding: 55px; border-radius: 38px; color: white; background: var(--coral); box-shadow: 0 35px 80px rgba(184,63,43,0.22); }
.early-card::before { position: absolute; top: -240px; left: -170px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; content: ""; box-shadow: 0 0 0 42px rgba(255,255,255,0.035), 0 0 0 84px rgba(255,255,255,0.025); }
.early-copy { position: relative; z-index: 2; padding: 31px 10px 25px 8px; }
.early-copy .section-label { color: rgba(255,255,255,0.72); }
.early-copy h2 { margin-bottom: 24px; color: white; }
.early-copy > p:not(.section-label) { max-width: 430px; color: rgba(255,255,255,0.78); font-size: 0.86rem; line-height: 1.75; }
.early-stamp { display: flex; align-items: center; width: max-content; gap: 9px; margin-top: 54px; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.42); border-radius: 50%; transform: rotate(-7deg); }
.early-stamp span { font-size: 1.1rem; }
.early-stamp b { font-size: 0.45rem; letter-spacing: 0.14em; line-height: 1.4; }
.early-form { position: relative; z-index: 3; padding: 32px; border-radius: 28px; color: var(--ink); background: var(--white); box-shadow: 0 25px 60px rgba(120,40,29,0.17); }
.form-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 27px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.form-heading > span { color: var(--coral); font-family: var(--font-hand); font-size: 1.25rem; }
.form-heading strong, .form-heading small { display: block; }
.form-heading strong { margin-bottom: 3px; font-size: 0.84rem; }
.form-heading small { color: var(--muted); font-size: 0.56rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 17px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label > span { font-size: 0.6rem; font-weight: 800; }
.form-grid label > span small { color: #9a9fac; font-size: 0.49rem; font-weight: 600; }
.form-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--ink); background: #f8f5f0; font-size: 0.74rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.form-grid input::placeholder { color: #a5a8af; }
.form-grid input:focus, .form-grid select:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(57,87,213,0.1); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-button { width: 100%; margin-top: 22px; color: white; background: var(--ink); }
.form-button:hover { background: var(--coral-dark); }
.form-button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.form-status { min-height: 19px; margin: 13px 0 0; color: var(--muted); font-size: 0.64rem; font-weight: 700; text-align: center; }
.early-form[data-state="success"] .form-status { color: #187052; }
.early-form[data-state="error"] .form-status { color: #b63827; }
.privacy-note { margin: 4px 0 0; color: #9397a2; font-size: 0.49rem; line-height: 1.55; text-align: center; }
.privacy-note a { text-underline-offset: 2px; }

/* Footer and reveal */
.footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; padding-block: 36px; border-top: 1px solid var(--line); }
.footer > p { margin: 0; color: var(--muted); font-size: 0.71rem; text-align: center; }
.footer-links { display: flex; gap: 16px; font-size: 0.65rem; font-weight: 700; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover { color: var(--coral-dark); }
.footer small { grid-column: 1 / -1; color: #999da7; font-size: 0.56rem; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.72s ease, transform 0.72s cubic-bezier(.2,.72,.2,1); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }
.js .story-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .story-grid .reveal:nth-child(3) { transition-delay: 0.11s; }
.js .story-grid .reveal:nth-child(4) { transition-delay: 0.16s; }

@keyframes orbit-spin { to { rotate: 360deg; } }

@media (max-width: 1080px) {
    .hero { grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr); }
    .phone-left { left: 12px; }
    .phone-right { right: 12px; }
    .stage-card { min-width: 185px; }
    .early-card { gap: 30px; padding: 42px; }
}

@media (max-width: 900px) {
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-card { min-height: 420px; }
}

@media (max-width: 820px) {
    .shell { width: min(100% - 32px, 680px); }
    .section { padding-block: 84px; }
    .site-header { padding-block: 12px; }
    .site-header.is-scrolled { padding-block: 7px; }
    .nav-toggle { position: relative; z-index: 52; display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,253,250,0.84); }
    .nav-toggle > span:not(.sr-only) { width: 18px; height: 1px; background: var(--ink); transition: transform 0.25s ease; }
    .nav-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
    .nav-links { position: fixed; inset: 0 0 auto; z-index: 51; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 88px 22px 26px; border-radius: 0 0 24px 24px; background: rgba(246,243,237,0.98); box-shadow: 0 25px 55px rgba(31,40,65,0.16); backdrop-filter: blur(20px); transform: translateY(-110%); transition: transform 0.32s cubic-bezier(.2,.75,.25,1); }
    .nav-links.open { transform: none; }
    .nav-links a { min-height: 48px; padding: 11px 12px; }
    .nav-cta { justify-content: center; margin-top: 8px; }
    .hero { display: flex; flex-direction: column; min-height: auto; padding-top: 134px; padding-bottom: 54px; }
    .hero-copy { max-width: 650px; padding-right: 0; text-align: center; }
    .hero-intro { margin-inline: auto; }
    .hero-actions, .hero-note { justify-content: center; }
    .hero-stage { width: 100%; height: 600px; margin-top: 32px; }
    .stage-backdrop { inset: 12px 0 8px; }
    .rail-heading, .section-heading, .journey-heading { grid-template-columns: 1fr; gap: 23px; }
    .rail-heading > p, .section-heading > p, .journey-heading > p { max-width: 560px; }
    .idea-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-tabs { grid-template-columns: 1fr 1fr; }
    .journey-tab { min-height: 70px; }
    .early-card { grid-template-columns: 1fr; padding: 42px; }
    .early-copy { padding: 10px 7px; text-align: center; }
    .early-copy > p:not(.section-label) { margin-inline: auto; }
    .early-stamp { margin: 35px auto 5px; }
    .footer { grid-template-columns: 1fr auto; }
    .footer > p { display: none; }
    .footer-links { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 560px) {
    .shell { width: min(100% - 24px, 470px); }
    .section { padding-block: 67px; }
    .brand { font-size: 1.15rem; }
    .brand img { width: 38px; height: 38px; }
    .hero { padding-top: 121px; padding-bottom: 42px; }
    .eyebrow { margin-bottom: 20px; font-size: 0.55rem; }
    h1 { font-size: clamp(3.25rem, 15.8vw, 4.25rem); line-height: 0.93; }
    .hero-intro { font-size: 0.86rem; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .button { width: 100%; max-width: 330px; }
    .hero-note { gap: 6px; margin-top: 28px; font-size: 0.47rem; letter-spacing: 0.04em; }
    .hero-note i { width: 8px; }
    .hero-stage { height: 500px; margin-top: 25px; border-radius: 31px; }
    .stage-backdrop { inset: 7px 0 5px; border-radius: 29px; }
    .stage-script { top: 22px; left: 20px; font-size: 1.4rem; }
    .orbit-one { width: 390px; height: 335px; }
    .orbit-two { width: 325px; height: 410px; }
    .phone-main { top: 58px; width: 190px; }
    .phone-left { top: 155px; left: -25px; width: 143px; }
    .phone-right { top: 151px; right: -23px; width: 143px; }
    .hero-phone-shell { padding: 4px; border-radius: 31px; }
    .hero-phone-shell img, .hero-phone-shell::after { border-radius: 25px; }
    .hero-phone-shell::after { inset: 4px; }
    .hero-phone-shell > span { top: 9px; width: 54px; height: 14px; }
    .stage-card { min-width: 0; padding: 8px 9px; border-radius: 13px; }
    .stage-card > span { width: 33px; height: 33px; flex-basis: 33px; border-radius: 10px; font-size: 0.56rem; }
    .stage-card small { font-size: 0.4rem; }
    .stage-card strong { font-size: 0.5rem; }
    .stage-match { top: 103px; right: 4px; }
    .stage-plan { bottom: 51px; left: 4px; }
    .sphere-one { top: 62px; right: 21px; width: 62px; height: 62px; }
    .sphere-two { bottom: 49px; left: 23px; width: 45px; height: 45px; }
    .stage-caption { right: 14px; bottom: 14px; font-size: 0.4rem; }
    .idea-rail { padding: 58px 0 64px; overflow: hidden; }
    .rail-heading { margin-bottom: 25px; }
    .rail-heading h2 { font-size: 2.45rem; }
    .idea-track { display: flex; width: min(100% - 24px, 470px); margin-inline: auto; overflow-x: auto; padding-bottom: 11px; scroll-padding-inline: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .idea-track::-webkit-scrollbar { display: none; }
    .idea-card { flex: 0 0 min(78vw, 300px); min-height: 166px; scroll-snap-align: start; }
    .section-heading { margin-bottom: 36px; }
    .section-heading h2, .journey-heading h2, .early-copy h2 { font-size: clamp(2.85rem, 13vw, 4rem); }
    .story-grid { grid-template-columns: 1fr; gap: 12px; }
    .story-card { min-height: 410px; padding: 27px 24px; border-radius: 24px; }
    .story-card h3 { font-size: 1.72rem; }
    .journey-section { --screen-card-width: min(292px, calc(100vw - 52px)); }
    .journey-heading { margin-bottom: 33px; }
    .journey-tabs { gap: 5px; margin-bottom: 27px; border-radius: 18px; }
    .journey-tab { grid-template-columns: 27px minmax(0, 1fr); min-height: 66px; padding: 10px; }
    .journey-tab small { font-size: 0.48rem; }
    .carousel-topline { gap: 10px; }
    .carousel-topline > span { white-space: nowrap; }
    .screenshot-track { gap: 17px; padding-top: 18px; }
    .screenshot-device { padding: 7px; border-radius: 45px; }
    .screenshot-device img, .screenshot-device::after { border-radius: 37px; }
    .screenshot-navigation { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
    .screenshot-dots { grid-column: 1 / -1; grid-row: 1; }
    .screenshot-controls { grid-column: 1; grid-row: 2; }
    .screenshot-counter { grid-column: 2; grid-row: 2; justify-content: flex-end; }
    .early-section { padding-bottom: 40px; }
    .early-card { gap: 25px; padding: 29px 18px 18px; border-radius: 29px; }
    .early-copy h2 { margin-bottom: 18px; }
    .early-stamp { margin-top: 27px; }
    .early-form { padding: 25px 18px; border-radius: 23px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-wide { grid-column: auto; }
    .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer-links { grid-row: 2; justify-content: center; }
    .footer small { grid-column: auto; }
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
    .site-header.is-scrolled, .nav-links, .stage-card { background-color: rgba(246,243,237,0.98); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
    .hero-stage, .parallax-layer, .story-card { transform: none !important; }
    .screenshot-card { opacity: 1; }
}
