/* VibeNotch — site styles. Monochrome and quiet; the screen edge carries the story. */

:root {
    --white: #ffffff;
    --mist: #f5f5f7;
    --mist-2: #ececef;
    --ink: #1d1d1f;
    --ink-2: #424245;
    --muted: #86868b;
    --line: rgb(0 0 0 / .09);
    --black: #000000;
    --coal: #0b0b0d;
    --on-dark: #f5f5f7;
    --on-dark-2: #a1a1a6;
    --line-dark: rgb(255 255 255 / .1);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --gutter: clamp(16px, 4vw, 40px);
    --max: 1200px;
    --navh: 56px;
    --bz: clamp(14px, 1.3vw, 20px);
    --corner: clamp(16px, 1.8vw, 26px);
    --s: 1;
    --zone: calc(214px * var(--s) + 24px);
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--navh);
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 17px/1.5 var(--font);
    letter-spacing: -.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--ink);
    color: var(--white);
}

:focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 3px;
    border-radius: 6px;
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    transition: top .2s ease;
}

.skip:focus {
    top: 12px;
}

.wrap {
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
}

.center {
    text-align: center;
}

.center .sub {
    margin-inline: auto;
}

/* ── Type ─────────────────────────────────────────────────────────── */
.display,
.h2,
.h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.05em;
    line-height: 1;
    text-wrap: balance;
}

.display {
    font-size: clamp(44px, 7vw, 104px);
    letter-spacing: -.055em;
}

.h2 {
    font-size: clamp(38px, 5.6vw, 76px);
}

.h3 {
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -.04em;
}

.tone {
    color: var(--muted);
}

.dark .tone {
    color: #6e6e73;
}

.lede {
    margin: 0;
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.45;
    color: var(--muted);
    max-width: 38ch;
    text-wrap: pretty;
}

.sub {
    margin: 20px 0 0;
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--muted);
    max-width: 48ch;
    text-wrap: pretty;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font: 500 12px/1 var(--mono);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-head {
    margin-bottom: clamp(44px, 6vw, 80px);
}

.stars {
    color: #ffb800;
    letter-spacing: 1.5px;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .35s var(--ease), background-color .25s ease, box-shadow .35s var(--ease), color .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(.97);
}

.btn-sm {
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
}

.btn-lg {
    height: 52px;
    padding: 0 26px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

.btn-ink {
    background: var(--ink);
    color: var(--white);
}

.btn-ink:hover {
    background: #000;
    box-shadow: 0 12px 30px -12px rgb(0 0 0 / .45);
}

.btn-paper {
    background: var(--white);
    color: var(--ink);
}

.btn-paper:hover {
    background: var(--mist);
}

.btn-glass {
    height: 48px;
    padding: 0 22px;
    background: rgb(255 255 255 / .1);
    color: var(--on-dark);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
}

.btn-glass:hover {
    background: rgb(255 255 255 / .16);
}

/* ── Brand + bar ──────────────────────────────────────────────────── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -.02em;
    text-decoration: none;
}

.brand img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 0 0 .5px rgb(0 0 0 / .12);
}

.bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    padding-top: env(safe-area-inset-top);
    background: rgb(255 255 255 / .82);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line);
    transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.bar.is-dark {
    background: rgb(12 12 14 / .72);
    color: var(--on-dark);
    box-shadow: 0 1px 0 var(--line-dark);
}

.bar.is-dark .btn-ink {
    background: var(--white);
    color: var(--ink);
}

.bar.is-dark .lang select {
    background: rgb(255 255 255 / .1);
}

.bar-inner {
    width: min(100% - 2 * var(--gutter), var(--max));
    height: 56px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.bar-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

/* Mac App Store banner (Safari on Mac has no Smart App Banner) */
.promo {
    border-bottom: 1px solid var(--line);
    background: var(--mist);
    color: var(--ink);
}

.promo[hidden] {
    display: none;
}

.promo-inner {
    width: min(100% - 2 * var(--gutter), var(--max));
    height: 52px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgb(0 0 0 / .15);
}

.promo p {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
}

.promo strong {
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
}

.promo .stars {
    font-size: 11px;
}

.promo .btn {
    margin-left: auto;
}

.promo-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.promo-close:hover {
    background: rgb(0 0 0 / .06);
    color: var(--ink);
}

/* App switcher: VibeNotch and its sibling apps */
.apps {
    position: relative;
    margin-left: -12px;
}

.apps-btn {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.apps-btn:hover,
.apps-btn[aria-expanded="true"] {
    background: rgb(0 0 0 / .06);
    color: var(--ink);
}

.bar.is-dark .apps-btn:hover,
.bar.is-dark .apps-btn[aria-expanded="true"] {
    background: rgb(255 255 255 / .12);
    color: var(--on-dark);
}

.apps-pop {
    position: absolute;
    top: calc(100% + 12px);
    left: -8px;
    width: 300px;
    padding: 10px;
    border-radius: 20px;
    background: rgb(255 255 255 / .94);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgb(0 0 0 / .3);
    color: var(--ink);
    animation: pop .35s var(--ease);
}

.apps-pop[hidden] {
    display: none;
}

@keyframes pop {
    from { opacity: 0; transform: translateY(-6px) scale(.98); }
}

.apps-k {
    margin: 4px 8px 8px;
    font: 500 11px/1 var(--mono);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 14px;
    text-decoration: none;
    transition: background-color .2s ease;
}

.app-item:hover {
    background: var(--mist);
}

.app-item img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgb(0 0 0 / .15);
}

.app-item span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-item strong {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.app-item small {
    font-size: 12.5px;
    color: var(--muted);
}

.app-item i {
    margin-left: auto;
    font-style: normal;
    color: var(--muted);
    transition: transform .3s var(--ease);
}

.app-item:hover i {
    transform: translateX(3px);
}

.menu .menu-app {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.menu-app img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.menu-app small {
    margin-left: auto;
    font: 500 11px/1 var(--mono);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.bar-links a {
    font-size: 13px;
    text-decoration: none;
    opacity: .8;
    transition: opacity .2s ease;
}

.bar-links a:hover {
    opacity: 1;
}

.lang select {
    appearance: none;
    -webkit-appearance: none;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: rgb(0 0 0 / .05);
    font: 500 12px/1 var(--mono);
    letter-spacing: .04em;
    cursor: pointer;
}

.menu-btn {
    display: none;
    position: relative;
    width: 36px;
    height: 36px;
    margin-right: -8px;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.menu-btn i {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .35s var(--ease), top .35s var(--ease);
}

.menu-btn i:first-child { top: 14px; }
.menu-btn i:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 17.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 17.5px; transform: rotate(-45deg); }

.menu {
    display: grid;
    padding: 4px var(--gutter) 22px;
}

.menu[hidden] {
    display: none;
}

.menu a:not(.btn) {
    padding: 14px 0;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.menu .btn {
    margin-top: 18px;
}

/* ── Story: the title, then the screen edge settles under each feature ── */
.story {
    position: relative;
    height: calc(var(--units, 9) * 100svh);
}

.story-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.story-anchor {
    position: absolute;
    left: 0;
    top: calc(var(--hero-units, .8) * 100svh);
}

.story-hero {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--navh) + clamp(32px, 8svh, 96px));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--gutter);
    text-align: center;
    will-change: transform, opacity;
}

.story-hero .lede {
    margin-top: 22px;
}

.cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.cta-meta {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.cta-meta strong {
    color: var(--ink);
    font-weight: 600;
}

.story-texts {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--text-top, 100px);
    height: var(--text-h, 300px);
    overflow: hidden;
    opacity: 0;
    will-change: opacity;
}

/* Soft edges drawn on top (a mask would repaint the text every frame on phones). */
.story-texts::before,
.story-texts::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 16%;
    pointer-events: none;
}

.story-texts::before {
    top: 0;
    background: linear-gradient(#fff, rgb(255 255 255 / 0));
}

.story-texts::after {
    bottom: 0;
    background: linear-gradient(rgb(255 255 255 / 0), #fff);
}

.story-track {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.story-item {
    height: var(--text-h, 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--gutter);
    text-align: center;
}

.story-item .h2 {
    font-size: clamp(34px, 4.6vw, 64px);
}

.story-item .sub {
    margin: 16px auto 0;
}

.story-item .label {
    margin-bottom: 14px;
}

/* The bezel: full width, moves between its two places with an animation. */
.edge {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    height: var(--bz);
    transform: translateY(var(--edge-y, 60vh));
    transition: transform 1.1s cubic-bezier(.65, 0, .25, 1), opacity .7s ease;
}

.edge.is-gone {
    opacity: 0;
    transform: translateY(calc(var(--edge-y, 60vh) - 40px));
}

.bezel {
    position: absolute;
    inset: 0;
    background: #000;
}

.bezel::before,
.bezel::after {
    content: "";
    position: absolute;
    top: 100%;
    width: var(--corner);
    height: var(--corner);
}

.bezel::before {
    left: 0;
    background: radial-gradient(circle at 100% 100%, transparent calc(var(--corner) - .6px), #000 var(--corner));
}

.bezel::after {
    right: 0;
    background: radial-gradient(circle at 0 100%, transparent calc(var(--corner) - .6px), #000 var(--corner));
}

.island-host {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    height: 340px;
    overflow: hidden;
    pointer-events: none;
}

.aura {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.aura i {
    position: absolute;
    border-radius: 50%;
    opacity: .5;
}

.aura i:nth-child(1) {
    width: 64vw;
    height: 52vw;
    left: 0;
    top: 36%;
    background: radial-gradient(closest-side, rgb(221 216 255 / .9), rgb(221 216 255 / .35) 45%, transparent);
    animation: drift-a 22s ease-in-out infinite alternate;
}

.aura i:nth-child(2) {
    width: 60vw;
    height: 48vw;
    right: -4%;
    top: 30%;
    background: radial-gradient(closest-side, rgb(255 219 231 / .9), rgb(255 219 231 / .35) 45%, transparent);
    animation: drift-b 26s ease-in-out infinite alternate;
}

.aura i:nth-child(3) {
    width: 66vw;
    height: 44vw;
    left: 18%;
    top: 56%;
    background: radial-gradient(closest-side, rgb(211 240 253 / .9), rgb(211 240 253 / .35) 45%, transparent);
    animation: drift-c 30s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate(6vw, 2vw) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-6vw, 4vw) scale(.92); } }
@keyframes drift-c { to { transform: translate(-5vw, -3vw) scale(1.12); } }

/* ── Story on phones and tablets: native scroll, CSS-sticky bezel ── */
.story.is-native {
    height: auto;
}

.story.is-native .story-pin {
    position: relative;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.story.is-native .aura {
    display: none;
}

.story.is-native .story-hero {
    position: relative;
    top: auto;
    order: 0;
    padding-top: calc(var(--navh) + clamp(36px, 7svh, 64px));
    padding-bottom: 36px;
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* The bezel and a white panel below it: texts slide out from behind it. */
.story.is-native .edge {
    order: 1;
    position: sticky;
    top: var(--edge-top, 70svh);
    z-index: 3;
    height: calc(100svh - var(--edge-top, 70svh));
    background: var(--white);
    transform: none;
    transition: none;
}

.story.is-native .bezel {
    inset: 0 0 auto;
    height: var(--bz);
}

/* Safari's toolbar shrinks while scrolling and the visible screen grows past
   100svh: extend the white panel so texts never show below the simulation. */
.story.is-native .edge::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 40vh;
    background: var(--white);
    pointer-events: none;
}

.story.is-native .island-host {
    top: calc(var(--bz) - 1px);
}

.story.is-native .story-texts {
    order: 2;
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    opacity: 1;
    margin-top: calc(var(--edge-top, 70svh) - 100svh);
    padding-bottom: calc(100svh - var(--edge-top, 70svh) + var(--region, 60svh) * .6);
}

.story.is-native .story-texts::before,
.story.is-native .story-texts::after {
    display: none;
}

.story.is-native .story-track {
    transform: none;
    will-change: auto;
}

.story.is-native .story-item {
    height: var(--region, 60svh);
}

.story.is-native ~ .film {
    margin-top: calc(var(--edge-top, 70svh) - 100svh);
}

/* ── Film: full-screen, muted, always playing ─────────────────────── */
.film {
    position: relative;
    z-index: 3;
    margin-top: calc(var(--exit-units, 0) * -100svh);
    height: 100svh;
    min-height: 480px;
    background: #fff;
    overflow: hidden;
}

.film video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Showcase (display + photos) ──────────────────────────────────── */
.showcase {
    padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
}

.display-show {
    position: relative;
    width: min(100% - 2 * var(--gutter), 900px);
    margin: 0 auto;
}

.display-bg {
    width: 100%;
    height: auto;
}

.display-notch {
    position: absolute;
    top: 2.86%;
    left: 50%;
    width: 48%;
    transform: translateX(-50%);
    pointer-events: none;
}

.display-notch img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(.97) translateY(-4px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.display-notch img.is-on {
    position: relative;
    opacity: 1;
    transform: none;
}

.photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 64px) clamp(16px, 2vw, 28px);
}

.photo {
    margin: 0;
}

.photo-wide {
    grid-column: 1 / -1;
}

.photo img {
    width: 100%;
    height: auto;
    border-radius: clamp(16px, 2vw, 28px);
    background: var(--mist);
}

.photo figcaption {
    margin-top: 18px;
    max-width: 52ch;
    font-size: 17px;
    color: var(--muted);
}

.photo figcaption strong {
    color: var(--ink);
    font-weight: 600;
}

/* ── Native: one slowly rotating carousel ───────────────────────── */
.native {
    padding: clamp(80px, 10vw, 140px) 0;
    border-top: 1px solid var(--line);
}

.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slides {
    position: relative;
    display: grid;
    width: 100%;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.slides.is-dragging {
    cursor: grabbing;
}

.carousel-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.arrow {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--mist);
    font-size: 16px;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .2s ease, transform .3s var(--ease);
}

.arrow:hover {
    background: var(--mist-2);
}

.arrow:active {
    transform: scale(.94);
}

.slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .9s var(--ease), transform 1.1s var(--ease), visibility 0s linear .9s;
}

.slide.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s, visibility 0s;
}

.slide .sub {
    margin-inline: auto;
}

.slide-icon {
    margin-bottom: 26px;
}

.heart {
    animation: beat 1.6s ease-in-out infinite;
}

@keyframes beat {
    0%, 60%, 100% { transform: scale(1); }
    10% { transform: scale(1.12); }
    20% { transform: scale(1); }
    30% { transform: scale(1.08); }
}

.pill-host {
    position: relative;
    width: 100%;
    height: 64px;
    margin-bottom: 26px;
    overflow: hidden;
}

.dots {
    display: flex;
    gap: 8px;
}

.dots button {
    width: 34px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.dots i {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--mist-2);
    overflow: hidden;
}

.dots i::after {
    content: "";
    display: block;
    height: 100%;
    width: 0;
    background: var(--ink);
}

.dots .is-on i::after {
    animation: dot var(--slide-ms, 5000ms) linear forwards;
}

.carousel.is-paused .dots .is-on i::after {
    animation-play-state: paused;
}

@keyframes dot {
    to { width: 100%; }
}

.lineup {
    padding: clamp(90px, 11vw, 140px) var(--gutter) 0;
    text-align: center;
}

.vibe {
    margin: 0 0 clamp(32px, 4vw, 56px);
    font: 700 clamp(40px, 6vw, 84px)/1 var(--font-display);
    letter-spacing: -.05em;
}

.vibe span {
    background: linear-gradient(90deg, #5e5ce6, #bf5af2 55%, #ff375f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lineup img {
    mix-blend-mode: multiply;
    width: min(100%, 1180px);
    height: auto;
    margin-inline: auto;
    vertical-align: bottom;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.metrics {
    padding: clamp(80px, 10vw, 130px) 0;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-block: 0;
    text-align: center;
}

.metrics-row dt {
    font: 500 12px/1 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.metrics-row dd span {
    font-variant-numeric: tabular-nums;
}

.metrics-row dd {
    margin: 20px 0 0;
    font: 700 clamp(56px, 8vw, 112px)/.9 var(--font-display);
    letter-spacing: -.06em;
    color: var(--white);
}

.metrics-row dd small {
    font-size: .38em;
    letter-spacing: -.02em;
    margin: 0 .06em;
    color: var(--on-dark-2);
}

.metrics-row p {
    margin: 16px 0 0;
    font-size: 15px;
    color: var(--on-dark-2);
}

/* ── Dark sections ────────────────────────────────────────────────── */
.dark {
    position: relative;
    background: var(--black);
    color: var(--on-dark);
}

.dark .sub,
.dark .lede {
    color: var(--on-dark-2);
}

/* ── Reviews ──────────────────────────────────────────────────────── */
.reviews {
    padding: clamp(90px, 11vw, 150px) 0;
    background: var(--mist);
    overflow: hidden;
}

.reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-n {
    margin: 0;
    font: 600 72px/1 var(--font-display);
    letter-spacing: -.05em;
}

.rating .stars {
    margin: 0;
    font-size: 18px;
}

.rating-s {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 80s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    to { transform: translateX(calc(-50% - 8px)); }
}

.review {
    flex: none;
    width: clamp(280px, 28vw, 360px);
    margin: 0;
    padding: 28px;
    border-radius: 24px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.review blockquote {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -.02em;
}

.review figcaption {
    font: 500 12px/1.4 var(--mono);
    letter-spacing: .02em;
    color: var(--muted);
}

/* ── Price ────────────────────────────────────────────────────────── */
.price {
    padding: clamp(90px, 12vw, 170px) 0;
}

.price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 40px 0 0;
    max-width: 520px;
}

.specs div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.specs dt {
    font: 500 11px/1.4 var(--mono);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.specs dd {
    margin: 6px 0 0;
    font-weight: 500;
}

.price-card {
    padding: clamp(26px, 3vw, 36px);
    border-radius: 32px;
    background: var(--coal);
    color: var(--on-dark);
    box-shadow: 0 50px 100px -40px rgb(0 0 0 / .45);
}

.pc-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pc-top img {
    width: 56px;
    height: 56px;
    border-radius: 13px;
}

.pc-name {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.pc-by {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--on-dark-2);
}

.pc-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 30px 0 0;
    padding-top: 26px;
    border-top: 1px solid var(--line-dark);
}

.pc-price span {
    font: 600 60px/1 var(--font-display);
    letter-spacing: -.055em;
}

.pc-price small {
    color: var(--on-dark-2);
    font-size: 15px;
}

.pc-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.pc-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #d2d2d7;
}

.pc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgb(255 255 255 / .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.7 2.7 5.3-5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.pc-note {
    margin: 16px 0 0;
    font-size: 12px;
    color: var(--on-dark-2);
    text-align: center;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq {
    padding: 0 0 clamp(90px, 12vw, 170px);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 96px);
    padding-top: clamp(60px, 8vw, 110px);
    border-top: 1px solid var(--line);
}

.faq .sub a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.qa details {
    border-bottom: 1px solid var(--line);
}

.qa summary {
    position: relative;
    padding: 24px 48px 24px 0;
    list-style: none;
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 500;
    letter-spacing: -.02em;
    cursor: pointer;
}

.qa summary::-webkit-details-marker {
    display: none;
}

.qa summary::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background:
        linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
        linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat,
        var(--mist);
    transition: transform .4s var(--ease);
}

.qa details[open] summary::after {
    transform: rotate(45deg);
}

.qa details p {
    margin: -6px 0 24px;
    color: var(--muted);
    max-width: 58ch;
}

/* ── Final + footer: plain black ─────────────────────────────────── */
.final {
    padding: clamp(110px, 14vw, 200px) 0;
    text-align: center;
}

.final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    margin-bottom: 36px;
}

.final .lede {
    margin: 24px auto 40px;
}

.news {
    width: min(100%, 460px);
    margin-top: 64px;
}

.news label {
    display: block;
    margin-bottom: 12px;
    font: 500 12px/1 var(--mono);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.news-row {
    display: flex;
    gap: 8px;
}

.news input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / .07);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
    color: var(--on-dark);
    font-size: 16px;
    outline: none;
    transition: box-shadow .25s ease, background-color .25s ease;
}

.news input::placeholder {
    color: rgb(255 255 255 / .38);
}

.news input:focus {
    background: rgb(255 255 255 / .1);
    box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5);
}

.news-ok {
    margin: 14px 0 0;
    color: #30d158;
    font-size: 15px;
}

.footer {
    padding: 48px 0 calc(40px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-dark);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px 40px;
    align-items: start;
}

.foot-brand p {
    margin: 10px 0 0;
    color: var(--on-dark-2);
    font-size: 14px;
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.foot-links a {
    font-size: 14px;
    text-decoration: none;
    color: var(--on-dark-2);
    transition: color .2s ease;
}

.foot-links a:hover {
    color: var(--on-dark);
}

.foot-legal {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    font-size: 12px;
    color: rgb(255 255 255 / .38);
}

/* ── Language suggestion ──────────────────────────────────────────── */
.lang-hint {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: rgb(29 29 31 / .94);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 20px 40px -16px rgb(0 0 0 / .4);
    transform: translate(-50%, 140%);
    transition: transform .6s var(--ease);
}

.lang-hint.is-on {
    transform: translate(-50%, 0);
}

.lang-hint a {
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.lang-hint button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / .12);
    color: #fff;
    cursor: pointer;
}

/* ── Reveal ───────────────────────────────────────────────────────── */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .bar-links {
        display: none;
    }

    .lang {
        margin-left: auto;
    }

    .menu-btn {
        display: block;
    }

    .price-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    /* Phones: keep the GPU free for the notch. */
    .bar {
        background: rgb(255 255 255 / .97);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .bar.is-dark {
        background: rgb(12 12 14 / .96);
    }

    .aura i {
        animation: none;
    }

    /* A phone shows the bezel as a straight line: no screen corners. */
    .bezel::before,
    .bezel::after {
        display: none;
    }

    .bar-inner {
        gap: 12px;
    }

    .bar-cta {
        display: none;
    }

    .display br,
    .h2 br {
        display: none;
    }

    .display .tone,
    .h2 .tone {
        display: block;
    }

    .story-hero .btn-lg {
        width: 100%;
        max-width: 380px;
    }

    .cta-row {
        width: 100%;
    }

    .photos {
        grid-template-columns: minmax(0, 1fr);
    }

    .metrics-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .rating-n {
        font-size: 56px;
    }

    .specs {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-row {
        flex-direction: column;
    }

    .news .btn {
        width: 100%;
    }

    .foot-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .marquee-track {
        animation: none;
    }

    .marquee {
        overflow-x: auto;
    }

    .js .reveal,
    }

/* ── Document pages (Support, Privacy) ────────────────────────────── */
.page .bar {
    transform: none;
}

.bar .lang select {
    height: 30px;
}

.bar.is-dark .lang select {
    background: rgb(255 255 255 / .1);
}

.doc-hero {
    position: relative;
    padding: calc(var(--navh) + clamp(72px, 10vw, 140px)) 0 clamp(56px, 7vw, 96px);
    overflow: hidden;
    isolation: isolate;
}

.doc-hero .aura i:nth-child(1) { top: 10%; }
.doc-hero .aura i:nth-child(2) { top: 0; }
.doc-hero .aura i:nth-child(3) { top: 40%; }

.doc-hero .display {
    font-size: clamp(44px, 6.4vw, 88px);
}

.doc-hero .lede {
    margin-top: 22px;
}

.doc {
    padding: 0 0 clamp(90px, 12vw, 160px);
}

.doc-grid {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.toc {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 10px;
    font-size: 14px;
}

.toc a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}

.toc a:hover {
    color: var(--ink);
}

.prose {
    max-width: 720px;
}

.prose section + section {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(48px, 6vw, 72px);
    border-top: 1px solid var(--line);
}

.prose h2 {
    margin: 0 0 16px;
    font: 600 clamp(26px, 3vw, 36px)/1.1 var(--font-display);
    letter-spacing: -.035em;
}

.prose h3 {
    margin: 28px 0 8px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.prose p,
.prose li {
    color: var(--ink-2);
}

.prose p {
    margin: 0 0 14px;
}

.prose ul {
    margin: 0;
    padding-left: 20px;
}

.prose li + li {
    margin-top: 8px;
}

.prose a {
    color: var(--ink);
    text-underline-offset: 3px;
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
}

.fact {
    padding: 20px;
    border-radius: 20px;
    background: var(--mist);
}

.fact h3 {
    margin: 0 0 10px;
}

.fact dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    margin: 0;
    font-size: 14px;
}

.fact dt {
    font: 500 11px/1.6 var(--mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.fact dd {
    margin: 0;
    color: var(--ink-2);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 18px;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px var(--line);
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 460px;
}

.table-wrap th,
.table-wrap td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.table-wrap tr:last-child td {
    border-bottom: 0;
}

.table-wrap th {
    font: 500 11px/1.4 var(--mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--mist);
}

.callout {
    margin-top: 20px;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--coal);
    color: var(--on-dark);
}

.callout p {
    margin: 0;
    color: var(--on-dark-2);
}

.callout strong {
    display: block;
    margin-bottom: 6px;
    color: var(--on-dark);
    font-size: 17px;
}

.contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.contact a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px;
    border-radius: 20px;
    background: var(--mist);
    text-decoration: none;
    transition: background-color .2s ease, transform .35s var(--ease);
}

.contact a:hover {
    background: var(--mist-2);
    transform: translateY(-2px);
}

.contact span {
    font: 500 11px/1.4 var(--mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact strong {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
    word-break: break-word;
}

.page .qa {
    margin-top: 8px;
}

@media (max-width: 860px) {
    .doc-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .toc a {
        padding: 7px 12px;
        border-radius: 999px;
        background: var(--mist);
        color: var(--ink-2);
    }

    .facts,
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }
}
