/*
 * Sakuradate - shared design system
 * iOS-app aesthetic: rounded cards, soft shadows, sakura pink / coral on near-white, deep plum text.
 */

:root {
    --bg: #fbf5f8;
    --bg-alt: #f5eaf0;
    --surface: #ffffff;
    --surface-2: #fdf1f6;
    --pink-50: #fdf0f5;
    --pink-100: #fbe0eb;
    --pink-200: #f6c3d7;
    --pink-300: #f09bbb;
    --pink-500: #e5578d;
    --coral: #f26b7a;
    --brand: #d6336f;
    --brand-strong: #b8235c;
    --link: #b02358;
    --plum-900: #3e1233;
    --plum-800: #4f1840;
    --plum: #5e1d4c;
    --plum-band-a: #7a2a5c;
    --plum-band-b: #8e3468;
    --heading: #4f1840;
    --text: #3a2234;
    --muted: #6a5263;
    --line: #eedde6;
    --gray-chip: #ecе6e9;
    --no-bg: #eeeaec;
    --no-fg: #5f5560;
    --wash: 251, 245, 248;
    --card-border: #ffffff;

    --shadow-sm: 0 2px 8px rgba(94, 29, 76, 0.06);
    --shadow: 0 10px 30px -12px rgba(94, 29, 76, 0.18);
    --shadow-lg: 0 26px 60px -22px rgba(94, 29, 76, 0.35);
    --shadow-pink: 0 16px 36px -14px rgba(214, 51, 111, 0.5);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --pill: 999px;

    --font-head: 'Nunito', ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 64px;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.dark {
    --bg: #170d15;
    --bg-alt: #1e1220;
    --surface: #24151f;
    --surface-2: #2d1a28;
    --pink-50: #2f1a29;
    --pink-100: #3d2034;
    --pink-200: #5a2a4a;
    --pink-300: #a8577f;
    --link: #ff9cc2;
    --heading: #ffd3e4;
    --text: #f4e6ee;
    --muted: #cfb7c6;
    --line: #3a2535;
    --no-bg: #3a2a35;
    --no-fg: #dccbd5;
    --wash: 23, 13, 21;
    --card-border: #2d1a28;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 26px 60px -22px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE & TYPOGRAPHY
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--heading);
    line-height: 1.18;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5.4vw + 0.6rem, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw + 0.8rem, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.125rem, 0.6vw + 1rem, 1.35rem); font-weight: 800; }

p { margin: 0 0 1em; }

a { color: var(--link); }
a:hover { color: var(--brand); }

ul, ol { padding-left: 1.25rem; }

img { display: block; }

:focus-visible {
    outline: 3px solid var(--pink-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--plum);
    color: #fff;
    border-radius: var(--pill);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus { top: 12px; color: #fff; }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(56px, 8vw, 100px);
}

.section--alt { background: var(--bg-alt); }

.section-head {
    max-width: 720px;
    margin-bottom: clamp(28px, 4vw, 48px);
    position: relative;
    z-index: 2;
}

.section-head--center { margin-inline: auto; text-align: center; }

.section-title { margin-bottom: 0.4em; }

.section-lead {
    color: var(--muted);
    font-size: 1.0625rem;
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 6px 14px;
    border-radius: var(--pill);
    background: var(--pink-100);
    color: var(--brand-strong);
    font-size: 0.875rem;
    font-weight: 600;
}

html.dark .eyebrow { color: #ffc2da; }

.microcopy {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.source-note {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.updated {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0 0 12px;
}

.icon { flex-shrink: 0; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 26px;
    border: 0;
    border-radius: var(--pill);
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.25s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active, .btn.is-pressed { transform: scale(0.96); }

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
    box-shadow: var(--shadow-pink);
}

.btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -14px rgba(214, 51, 111, 0.65);
}

.btn--ghost {
    color: var(--plum);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

html.dark .btn--ghost { color: var(--heading); }

.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--brand-strong); }

.btn--text {
    min-height: 44px;
    padding: 8px 4px;
    color: var(--link);
    background: none;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 0.95rem; }
.btn--lg { min-height: 58px; padding: 14px 36px; font-size: 1.125rem; }
.btn--block { width: 100%; }

.btn .icon { transition: transform 0.25s var(--ease-spring); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--glow { animation: btn-glow 2.8s ease-in-out infinite; }

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 14px 30px -12px rgba(214, 51, 111, 0.55), 0 0 0 0 rgba(242, 107, 122, 0.35); }
    50% { box-shadow: 0 18px 38px -12px rgba(214, 51, 111, 0.7), 0 0 0 12px rgba(242, 107, 122, 0); }
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--plum);
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring), background-color 0.2s ease;
}

html.dark .icon-btn { color: var(--heading); }
.icon-btn:active { transform: scale(0.92); }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(var(--wash), 0.86);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled::before {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--heading);
    min-height: 44px;
}

.site-brand__mark {
    display: inline-flex;
    color: var(--brand);
}

.site-brand__text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions .header-cta { display: none; }

.theme-toggle__sun { display: none; }
html.dark .theme-toggle__sun { display: block; }
html.dark .theme-toggle__moon { display: none; }

.menu-toggle__bars {
    display: grid;
    gap: 4px;
    width: 18px;
}

.menu-toggle__bars span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px var(--gutter) 32px;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.site-nav__list li + li { border-top: 1px solid var(--line); }

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 18px;
    color: var(--heading);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
}

.site-nav__link[aria-current="page"] { color: var(--brand-strong); }
html.dark .site-nav__link[aria-current="page"] { color: #ff9cc2; }

.site-nav__cta { text-align: center; }

@media (min-width: 1024px) {
    .site-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        background: none;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-nav__list {
        display: flex;
        gap: 4px;
        background: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .site-nav__list li + li { border-top: 0; }

    .site-nav__link {
        min-height: 44px;
        padding: 8px 14px;
        border-radius: var(--pill);
        font-size: 0.975rem;
        color: var(--text);
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .site-nav__link:hover { background: var(--pink-100); color: var(--brand-strong); }
    html.dark .site-nav__link:hover { color: #ffd3e4; }

    .site-nav .site-nav__cta { display: none; }
    .header-actions .header-cta { display: inline-flex; }
    .header-actions .menu-toggle { display: none; }
}

/* ============================================
   DECORATIVE PRIMITIVES
   ============================================ */

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

.petal {
    position: absolute;
    top: -40px;
    left: 10%;
    width: 14px;
    color: var(--pink-300);
    animation: petal-drift 16s linear infinite;
}

.petal svg { display: block; width: 100%; height: auto; }

.petal:nth-child(1) { left: 6%; width: 12px; animation-duration: 17s; animation-delay: -2s; }
.petal:nth-child(2) { left: 22%; width: 16px; animation-duration: 21s; animation-delay: -9s; color: var(--pink-200); }
.petal:nth-child(3) { left: 38%; width: 11px; animation-duration: 15s; animation-delay: -5s; }
.petal:nth-child(4) { left: 52%; width: 15px; animation-duration: 19s; animation-delay: -13s; color: var(--pink-200); }
.petal:nth-child(5) { left: 66%; width: 13px; animation-duration: 18s; animation-delay: -1s; }
.petal:nth-child(6) { left: 78%; width: 17px; animation-duration: 23s; animation-delay: -15s; color: var(--pink-200); }
.petal:nth-child(7) { left: 88%; width: 12px; animation-duration: 16s; animation-delay: -7s; }
.petal:nth-child(8) { left: 14%; width: 10px; animation-duration: 20s; animation-delay: -18s; }
.petal:nth-child(9) { left: 95%; width: 14px; animation-duration: 22s; animation-delay: -11s; color: var(--pink-200); }

@keyframes petal-drift {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-60px, 460px, 0) rotate(160deg); }
    100% { transform: translate3d(-150px, 940px, 0) rotate(340deg); }
}

.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: clamp(28px, 5vw, 64px);
    color: var(--bg);
    pointer-events: none;
    z-index: 3;
}

.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: scale(-1, -1); }

.branch-deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    aspect-ratio: 1400 / 1000;
    background-image: url("/assets/1868b385287c209005b6d1f204e9fe91.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
}

.branch-deco--tl { top: 0; left: 0; width: clamp(150px, 34vw, 440px); }
.branch-deco--tr { top: 0; right: 0; width: clamp(130px, 22vw, 320px); transform: scaleX(-1); }
.branch-deco--bl { bottom: 0; left: -2%; width: clamp(120px, 20vw, 280px); transform: scaleY(-1); }
.branch-deco--br { bottom: 0; right: -2%; width: clamp(120px, 20vw, 280px); transform: scale(-1, -1); }
.branch-deco--phone { bottom: -6%; left: -14%; width: 62%; z-index: 3; transform: scaleY(-1) rotate(-8deg); }

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    padding: clamp(72px, 12vw, 120px) 0 clamp(80px, 12vw, 150px);
    background: var(--pink-50);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--hero-pos-m, center);
}

.hero__wash {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(var(--wash), 0.96) 0%,
        rgba(var(--wash), 0.9) 42%,
        rgba(var(--wash), 0.55) 72%,
        rgba(var(--wash), 0.35) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 36px;
}

.hero__copy { max-width: 560px; }

.hero__title { margin-bottom: 0.35em; }

.hero__lead {
    font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.2rem);
    color: var(--text);
    margin-bottom: 24px;
}

.hero__aside {
    display: flex;
    justify-content: center;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: var(--pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--heading);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.chip .icon { color: var(--brand); }

.chip--yes { background: var(--pink-100); border-color: var(--pink-200); color: var(--brand-strong); box-shadow: none; }
.chip--limited { background: #fff1e8; border-color: #f8d4bd; color: #8a3d12; box-shadow: none; }
.chip--no { background: var(--no-bg); border-color: transparent; color: var(--no-fg); box-shadow: none; }
html.dark .chip--yes { color: #ffd3e4; }
html.dark .chip--limited { background: #3a2318; border-color: #5a3424; color: #ffd3bd; }

/* Segmented jump-link chips */
.chip-nav {
    display: flex;
    gap: 8px;
    margin: 20px 0 0;
    padding: 4px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.chip-nav::-webkit-scrollbar { display: none; }

.chip-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    white-space: nowrap;
    border-radius: var(--pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.chip-nav a:hover { background: var(--pink-100); color: var(--brand-strong); }

@media (min-width: 1024px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: clamp(560px, 72vh, 720px);
    }

    .hero__bg { background-position: var(--hero-pos, center); }

    .hero__wash {
        background: linear-gradient(90deg,
            rgba(var(--wash), 0.96) 0%,
            rgba(var(--wash), 0.88) 30%,
            rgba(var(--wash), 0.35) 48%,
            rgba(var(--wash), 0) 62%);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 470px) minmax(0, 1fr) minmax(0, 320px);
        align-items: center;
        width: 100%;
    }

    .hero__copy { grid-column: 1; }
    .hero__aside { grid-column: 3; }
}

/* ============================================
   SWIPE DECK
   ============================================ */

.deck {
    position: relative;
    width: min(280px, 70vw);
    margin-inline: auto;
    padding-right: 10%;
}

.deck__stack {
    position: relative;
    aspect-ratio: 4 / 5;
}

.deck__card {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    border: 6px solid var(--card-border);
    background: var(--pink-100);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    transition: transform 0.5s var(--ease-spring);
}

.deck__card:nth-child(1) { z-index: 3; }
.deck__card:nth-child(2) { z-index: 2; transform: translate(10%, 3%) rotate(5deg) scale(0.95); }
.deck__card:nth-child(3) { z-index: 1; transform: translate(18%, 6%) rotate(9deg) scale(0.9); }
.deck__card:nth-child(n+4) { z-index: 0; transform: translate(18%, 6%) rotate(9deg) scale(0.9); visibility: hidden; }

.deck__card.is-dragging { transition: none; cursor: grabbing; }
.deck__card.is-flying { transition: transform 0.38s ease-in; }
.deck__card.is-resetting { transition: none; }
.deck__card.is-nudge { animation: deck-nudge 0.5s var(--ease-spring); }

@keyframes deck-nudge {
    0%, 100% { transform: none; }
    35% { transform: translateX(-16px) rotate(-4deg); }
    70% { transform: translateX(8px) rotate(2deg); }
}

.deck__card--ghost {
    background: linear-gradient(160deg, rgba(255, 220, 234, 0.85), rgba(255, 255, 255, 0.55));
    border-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.deck__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    pointer-events: none;
}

.deck__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 2px;
    padding: 48px 16px 40px;
    background: linear-gradient(180deg, rgba(40, 10, 30, 0) 0%, rgba(40, 10, 30, 0.82) 100%);
    color: #fff;
}

.deck__name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
}

.deck__meta { font-size: 0.875rem; color: #ffe3ee; }

.deck__controls {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: -30px;
}

.deck__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.deck__btn:hover { transform: translateY(-3px) scale(1.05); }
.deck__btn:active { transform: scale(0.9); }
.deck__btn--pass { color: var(--coral); }
.deck__btn--like { color: var(--brand); }

.deck__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.deck__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--brand);
    background: transparent;
    transition: width 0.3s var(--ease-spring), background-color 0.2s ease;
}

.deck__dot.is-active { width: 22px; border-radius: 6px; background: var(--brand); }

.deck__note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   FLOWER STEPS (shared dotted connector)
   ============================================ */

.flower-steps {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flower-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 43px;
    border-left: 3px dotted var(--pink-500);
    z-index: 0;
}

.flower-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.flower-step__title { margin-bottom: 0.25em; }
.flower-step__body p { margin: 0; color: var(--muted); }

.blossom-badge {
    position: relative;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    transition: transform 0.5s var(--ease-spring);
}

.blossom-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--pink-100);
    filter: drop-shadow(0 8px 14px rgba(214, 51, 111, 0.18));
}

.blossom-shape__core { fill: var(--pink-50); }

.blossom-badge__inner {
    position: relative;
    display: grid;
    place-items: center;
    color: var(--plum);
}

html.dark .blossom-badge__inner { color: var(--heading); }

.blossom-badge__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
}

.js .flower-step.reveal .blossom-badge { transform: scale(0.82); }
.js .flower-step.reveal.is-visible .blossom-badge { transform: scale(1); }

@media (min-width: 768px) {
    .flower-steps {
        grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr));
        gap: 24px;
    }

    .flower-steps::before {
        top: 54px;
        bottom: auto;
        left: calc(50% / var(--count, 3));
        right: calc(50% / var(--count, 3));
        border-left: 0;
        border-top: 3px dotted var(--pink-500);
    }

    .flower-step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        align-items: start;
    }

    .blossom-badge { width: 108px; height: 108px; }
}

/* ============================================
   ICON TIMELINE
   ============================================ */

.icon-timeline {
    position: relative;
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.icon-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    border-left: 2px dotted var(--plum-band-b);
}

html.dark .icon-timeline::before { border-left-color: var(--pink-300); }

.icon-timeline__row {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.icon-timeline__chip {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pink-100);
    color: var(--brand-strong);
    box-shadow: 0 0 0 6px var(--bg);
}

html.dark .icon-timeline__chip { color: #ffc2da; }

.icon-timeline__title { margin: 6px 0 4px; font-size: 1.125rem; }
.icon-timeline__body p { margin: 0; color: var(--muted); }

/* ============================================
   PLUM BAND
   ============================================ */

.plum-band {
    position: relative;
    isolation: isolate;
    padding: clamp(72px, 9vw, 110px) 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(240, 155, 187, 0.22), transparent 65%),
        linear-gradient(120deg, var(--plum-band-a), var(--plum-band-b));
    color: #fff;
}

.plum-band__inner { position: relative; z-index: 2; }

.plum-band__title {
    color: #fff;
    text-align: center;
    margin-bottom: 0.5em;
}

.plum-band__lead {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
    color: #f6dcea;
}

.plum-band__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plum-band__item {
    display: grid;
    gap: 10px;
    align-content: start;
}

.plum-band__icon { color: #fff; display: inline-flex; }

.plum-band__item-title {
    color: #fff;
    font-size: 1.0625rem;
    margin: 0 0 4px;
}

.plum-band__item p {
    margin: 0;
    font-size: 0.95rem;
    color: #f6dcea;
}

.plum-band__footer {
    margin: 32px 0 0;
    text-align: center;
}

.plum-band a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.plum-band a:hover { color: #ffd3e4; }

@media (min-width: 1024px) {
    .plum-band__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }

    .plum-band__item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        padding: 4px 24px;
    }

    .plum-band__item + .plum-band__item { border-left: 1px solid rgba(255, 255, 255, 0.3); }
}

/* ============================================
   PHONE MOCKUP
   ============================================ */

.phone-scene {
    position: relative;
    width: min(260px, 72vw);
    margin-inline: auto;
    padding: 10px 10px 30px;
}

.phone {
    position: relative;
    z-index: 2;
    aspect-ratio: 9 / 18.5;
    border-radius: 42px;
    padding: 10px;
    background: linear-gradient(145deg, #f8d3e0, #e6a9bf 45%, #f5c8d8);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transform: rotate(-6deg);
}

.phone::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 30%;
    height: 22px;
    border-radius: var(--pill);
    background: #1b0f18;
    transform: translateX(-50%);
    z-index: 3;
}

.phone__screen {
    position: relative;
    height: 100%;
    border-radius: 33px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #fff4f8 0%, #fbd6e4 55%, #f6b9cf 100%);
}

.phone__avatars {
    position: relative;
    display: flex;
    justify-content: center;
    width: 88%;
}

.phone__avatar {
    width: 54%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px -10px rgba(94, 29, 76, 0.5);
}

.phone__avatar + .phone__avatar { margin-left: -12%; }

.phone__heart {
    position: absolute;
    left: 50%;
    bottom: -14px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-pink);
    transform: translateX(-50%);
    animation: heart-pulse 1.8s ease-in-out infinite;
}

@keyframes heart-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.12); }
}

.phone__burst {
    width: 46%;
    margin-top: 18px;
    color: var(--coral);
}

/* ============================================
   CARDS, CALLOUTS, LISTS
   ============================================ */

.card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: clamp(20px, 3vw, 32px);
}

.callout {
    position: relative;
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 32px);
    background: linear-gradient(140deg, var(--pink-50), var(--surface) 70%);
    border: 1px solid var(--pink-200);
    border-top: 4px solid var(--coral);
    box-shadow: var(--shadow);
}

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

.check-list li {
    position: relative;
    padding-left: 36px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pink-100) url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27%23b8235c%27%20stroke-width=%272.6%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6%2012.5l4%204%208-8.5%27/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
    position: relative;
    overflow: visible;
}

.table-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.table-wrap::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 36px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    background: linear-gradient(90deg, rgba(var(--wash), 0), rgba(var(--wash), 0.95));
    pointer-events: none;
}

.data-table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

.data-table caption {
    caption-side: bottom;
    padding: 12px 16px 16px;
    text-align: left;
    font-size: 0.875rem;
    color: var(--muted);
}

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

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table thead th {
    background: var(--plum);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.975rem;
    white-space: nowrap;
}

.data-table th:first-child,
.data-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface);
    font-weight: 600;
    color: var(--heading);
}

.data-table thead th:first-child { z-index: 2; background: var(--plum); color: #fff; }

.data-table thead th.is-brand { background: var(--brand); }
.data-table thead th.is-muted { background: #8c7d87; }
.data-table td.is-brand { background: var(--pink-50); }
.data-table tr.is-brand-row th,
.data-table tr.is-brand-row td { background: var(--pink-50); }

.mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.mark--yes { background: var(--pink-100); color: var(--brand-strong); }
.mark--no { background: var(--no-bg); color: var(--no-fg); }
html.dark .mark--yes { color: #ffc2da; }

@media (min-width: 1024px) {
    .table-wrap::after { display: none; }
}

/* ============================================
   FAQ (native details accordion)
   ============================================ */

.faq { background: var(--bg); }

.faq__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 28px;
    align-items: start;
}

.faq__intro p:last-child { margin-bottom: 0; }

.faq__list {
    display: grid;
    gap: 12px;
    align-items: start;
}

.faq-item {
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease;
}

.faq-item[open] { box-shadow: var(--shadow); }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--heading);
    border-radius: 18px;
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }

.faq-item__q .icon {
    color: var(--plum);
    transition: transform 0.3s var(--ease-spring);
}

html.dark .faq-item__q .icon { color: var(--heading); }
.faq-item[open] .faq-item__q .icon { transform: rotate(180deg); }

.faq-item__a {
    padding: 0 18px 18px;
    color: var(--text);
}

.faq-item__a p { margin: 0; }

.faq-item[open] .faq-item__a { animation: faq-open 0.35s ease; }

@keyframes faq-open {
    from { transform: translateY(-6px); }
    to { transform: none; }
}

@media (min-width: 1024px) {
    .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
}

/* ============================================
   CTA BAND (Fuji lake scene)
   ============================================ */

.cta-band {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(440px, 46vw, 580px);
    padding: clamp(80px, 10vw, 120px) 0 clamp(64px, 8vw, 96px);
    background: #f7dbe6;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/assets/cee2137720e5c6af88853ca15a4512c6.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 60% center;
}

.cta-band__bg[style] { background-image: var(--cta-bg); }

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--wash), 0) 30%);
}

.cta-band__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-band__inner::before {
    content: "";
    position: absolute;
    inset: -30px -10px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(255, 246, 250, 0.9) 0%, rgba(255, 246, 250, 0.7) 45%, rgba(255, 246, 250, 0) 72%);
    pointer-events: none;
}

.cta-band__title {
    max-width: 680px;
    color: #4a1238;
}

.cta-band__text {
    max-width: 560px;
    color: #3a2234;
    font-size: 1.0625rem;
    margin-bottom: 24px;
}

.cta-band__micro {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: #4f2a43;
    font-weight: 500;
}

.cta-band__links {
    margin: 10px 0 0;
    font-size: 0.95rem;
    color: #4f2a43;
}

.cta-band__links a {
    color: #8f1b48;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    display: inline-block;
    padding-block: 10px;
}

.cta-band__links a:hover { color: #5e1d4c; }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--plum-900);
    color: #f6dcea;
    padding: 40px 0 28px;
}

.footer-inner {
    display: grid;
    gap: 24px;
}

.site-brand--footer { color: #fff; }
.site-brand--footer .site-brand__mark { color: #ff9cc2; }

.footer-tagline {
    margin: 8px 0 0;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover { color: #ffc2da; text-decoration: underline; }

.footer-dots { display: flex; gap: 12px; }

.footer-dots span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f6dcea;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #5e2a50;
    font-size: 0.875rem;
}

.footer-bottom p { margin: 0 0 6px; }

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
        align-items: center;
    }

    .footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: center; }
}

/* ============================================
   CHECKLIST (interactive, local state)
   ============================================ */

.checklist__progress {
    height: 8px;
    border-radius: var(--pill);
    background: var(--pink-100);
    overflow: hidden;
    margin-bottom: 14px;
}

.checklist__bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--coral), var(--brand));
    transition: width 0.4s var(--ease-spring);
}

.checklist__count {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   HOMEPAGE: PROFILE PREVIEW RAIL
   ============================================ */

.preview {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(246, 195, 215, 0.35), transparent 55%),
        var(--bg);
}

.preview .container { position: relative; z-index: 2; }

.preview-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 8px 16px;
    border-radius: var(--pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--heading);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.preview-note .icon { color: var(--brand); }

.rail {
    display: flex;
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 10px var(--gutter) 24px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar { display: none; }

.pcard {
    flex: 0 0 74%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.pcard__inner {
    border-radius: 24px;
    border: 6px solid var(--card-border);
    background: var(--pink-100);
    box-shadow: 0 18px 36px -18px rgba(214, 51, 111, 0.45);
    overflow: hidden;
    transition: transform 0.45s var(--ease-spring), box-shadow 0.3s ease;
}

.pcard__inner.is-nudge { animation: deck-nudge 0.5s var(--ease-spring); }

.pcard__media {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
}

.pcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.pcard__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 56px 14px 38px;
    background: linear-gradient(180deg, rgba(40, 10, 30, 0) 0%, rgba(40, 10, 30, 0.85) 100%);
    color: #fff;
}

.pcard__name {
    flex-basis: 100%;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.15rem;
}

.pcard__age { font-size: 0.875rem; color: #ffe3ee; }

.pcard__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--pill);
    background: #fff;
    color: var(--brand-strong);
    font-size: 0.8125rem;
    font-weight: 700;
}

.pcard__actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: -30px;
}

.pcard__actions .deck__btn { width: 56px; height: 56px; }

.pcard__like { position: relative; }

.pcard__burst {
    position: absolute;
    inset: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 28px);
    max-width: none;
    color: var(--coral);
    transform: scale(0.4);
    opacity: 0;
    pointer-events: none;
}

.pcard__like.is-burst .pcard__burst { animation: heart-burst 0.45s ease-out forwards; }
.pcard__like.is-burst > svg:last-child { animation: heart-pop 0.45s var(--ease-spring); }

@keyframes heart-burst {
    0% { transform: scale(0.4); opacity: 0; }
    40% { opacity: 1; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes heart-pop {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.35); }
}

@media (hover: hover) and (min-width: 768px) {
    .pcard:hover .pcard__inner {
        transform: perspective(800px) rotateX(4deg) rotateY(-4deg) translateY(-6px);
        box-shadow: 0 28px 44px -20px rgba(214, 51, 111, 0.55);
    }
}

@media (min-width: 768px) {
    .pcard { flex-basis: 44%; }
}

@media (min-width: 1024px) {
    .rail {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        margin: 0;
        padding: 10px 0 8px;
        overflow: visible;
    }
}

/* ============================================
   HOMEPAGE: HOW IT WORKS
   ============================================ */

.how .container { position: relative; z-index: 2; }
.how .branch-deco--tl,
.how .branch-deco--tr { width: clamp(110px, 20vw, 280px); }

/* ============================================
   HOMEPAGE: AFTER TAP
   ============================================ */

.after-tap__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 40px;
    align-items: center;
}

.after-tap__copy .section-lead { margin-bottom: 28px; }

@media (min-width: 1024px) {
    .after-tap__grid {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
        gap: 64px;
    }
}

/* ============================================
   HOMEPAGE: PRICING + COMPARISON
   ============================================ */

.pricing .section-head a { color: var(--link); }

.pricing-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 24px;
    align-items: stretch;
}

.price-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--surface) 0%, var(--pink-50) 45%, var(--pink-100) 100%);
    border: 1px solid var(--pink-200);
    box-shadow: var(--shadow);
}

.price-card .branch-deco--bl {
    z-index: -1;
    width: 55%;
    opacity: 0.35;
}

.price-card__icon { color: var(--coral); margin-bottom: 10px; }

.price-card__btn { margin-top: auto; }

.price-table h3 { margin-bottom: 14px; }

.th-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

@media (min-width: 1024px) {
    .pricing-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; }
}

/* ============================================
   HOMEPAGE: FAQ extras
   ============================================ */

.faq__more { margin: 16px 0 0; }

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-card {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(20px, 3vw, 32px);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    border-left: 8px solid var(--pink-300);
    box-shadow: var(--shadow);
}

.login-note {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

.ios-list {
    display: grid;
    gap: 0;
    max-width: 760px;
    margin-inline: auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.ios-list__item {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.ios-list__item + .ios-list__item { border-top: 1px solid var(--line); }

.ios-list__label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ios-list__label h3 {
    margin: 0;
    font-size: 1.0625rem;
}

.ios-list__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pink-100);
    color: var(--brand-strong);
}

html.dark .ios-list__icon { color: #ffc2da; }

/* ============================================
   REVIEWS PAGE
   ============================================ */

.rv-card {
    max-width: 760px;
    margin-inline: auto;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, var(--pink-200), var(--pink-50)) border-box;
}

.rv-card__icon { display: inline-flex; color: var(--brand); margin-bottom: 10px; }

.rv-widget {
    max-width: 640px;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 32px);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.rv-widget__status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: var(--plum);
}

html.dark .rv-widget__status { color: var(--heading); }

.rv-meter {
    display: grid;
    place-items: center;
    height: 36px;
    margin-bottom: 18px;
    border-radius: var(--pill);
    background: var(--no-bg);
    color: var(--no-fg);
    font-size: 0.875rem;
    font-weight: 600;
}

.rv-pc {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin-inline: auto;
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.rv-pc__tab {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.rv-pc__col--pro .rv-pc__tab { background: var(--brand); color: #fff; }
.rv-pc__col--con .rv-pc__tab { background: #6f6169; color: #fff; }

.rv-pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.rv-pc li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 4px; }
.rv-pc__col--pro .icon { color: var(--brand-strong); }
.rv-pc__col--con .icon { color: var(--no-fg); }
html.dark .rv-pc__col--pro .icon { color: #ffc2da; }

.rv-list {
    display: grid;
    gap: 12px;
    align-items: start;
    max-width: 800px;
    margin-inline: auto;
}

.rv-q { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rv-q .icon { color: var(--coral); }
.rv-q h3 { margin: 0; font-size: 1.0625rem; }

.rv-a {
    margin: 0 14px 14px;
    padding: 14px 16px;
    background: var(--pink-50);
    border-left: 4px solid var(--plum);
    border-radius: 12px;
}

.rv-brand { color: var(--brand-strong); }
html.dark .rv-brand { color: #ffc2da; }

@media (min-width: 768px) {
    .rv-pc { grid-template-columns: 1fr 1fr; padding: 24px; gap: 28px; }
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */

.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-spring);
    transition-delay: calc(var(--i, 0) * 110ms);
}

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

/* ============================================
   LEGIT PAGE
   ============================================ */

.legit-callout { max-width: 820px; margin-inline: auto; }
.legit-callout__icon { display: inline-flex; color: var(--plum); margin-bottom: 8px; }
html.dark .legit-callout__icon { color: var(--heading); }

.verify-diagram {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    margin: 0 auto 36px;
}

.verify-node {
    position: relative;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--pink-300);
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.verify-node + .verify-node::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    height: 44px;
    border-left: 3px dotted var(--plum);
}

.verify-copy { display: grid; gap: 28px; }
.verify-copy h3 { margin-bottom: 0.4em; }

.flag-card { max-width: 1000px; margin-inline: auto; }

.flag-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--heading);
    border-bottom: 1px solid var(--line);
}

.flag-card__head svg { color: var(--coral); }

.flag-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.flag-table thead { display: none; }
.flag-table tr { display: block; padding: 14px 18px; }
.flag-table tbody tr:nth-child(even) { background: var(--pink-50); }
.flag-table tbody tr + tr { border-top: 1px solid var(--line); }
.flag-table th[scope="row"] { display: block; margin-bottom: 6px; text-align: left; font-family: var(--font-head); font-weight: 800; color: var(--heading); }
.flag-table td { display: block; padding: 2px 0; }
.flag-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--brand-strong); }
html.dark .flag-table td::before { color: #ffc2da; }

.rev-phone { display: flex; justify-content: center; margin-bottom: 32px; }

.rev-phone__body {
    display: grid;
    place-items: center;
    width: 96px;
    height: 150px;
    border: 4px solid var(--plum);
    border-radius: 22px;
    background: var(--surface);
    color: var(--brand);
}

.law-timeline {
    position: relative;
    display: grid;
    gap: 28px;
    margin: 0 0 28px;
    padding: 0 0 0 36px;
    list-style: none;
}

.law-timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 10px;
    bottom: 10px;
    border-left: 3px solid var(--plum);
}

.law-timeline__item { position: relative; }
.law-timeline__item h3 { margin-bottom: 0.3em; }
.law-timeline__item p { margin: 0; color: var(--muted); }

.law-timeline__dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pink-500);
    border: 4px solid var(--bg);
}

.law-timeline__item--future .law-timeline__dot { box-shadow: 0 0 0 6px rgba(229, 87, 141, 0.28), 0 0 18px rgba(229, 87, 141, 0.6); }

.brand-split {
    display: grid;
    gap: 14px;
    justify-items: center;
    margin-bottom: 32px;
}

.brand-card {
    width: 100%;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.brand-card h3 { margin-bottom: 0.3em; }
.brand-card p { margin: 0; }
.brand-card__icon { display: inline-flex; margin-bottom: 8px; }
.brand-card--dating { background: var(--pink-50); border-color: var(--pink-200); color: var(--text); }
.brand-card--dating .brand-card__icon { color: var(--brand); }
.brand-card--travel { background: #eceaeb; color: #3a2234; }
.brand-card--travel h3 { color: #4a3a45; }
.brand-card--travel .brand-card__icon { color: #5f5560; }
html.dark .brand-card--travel { background: #2f2a2d; color: #f4e6ee; }
html.dark .brand-card--travel h3 { color: #ffd3e4; }
html.dark .brand-card--travel .brand-card__icon { color: #dccbd5; }

.brand-split__chip {
    padding: 6px 16px;
    border-radius: var(--pill);
    background: var(--plum);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .verify-diagram { flex-direction: row; justify-content: center; gap: 0; }
    .verify-node + .verify-node { margin-left: 120px; }
    .verify-node + .verify-node::before { left: auto; right: 100%; bottom: auto; top: 50%; height: 0; width: 120px; border-left: 0; border-top: 3px dotted var(--plum); }
    .verify-copy { grid-template-columns: 1fr 1fr; gap: 40px; }

    .flag-table thead { display: table-header-group; }
    .flag-table thead th { padding: 14px 18px; text-align: left; background: var(--plum); color: #fff; font-family: var(--font-head); font-weight: 800; }
    .flag-table tr { display: table-row; padding: 0; }
    .flag-table th[scope="row"], .flag-table td { display: table-cell; padding: 14px 18px; vertical-align: top; margin: 0; }
    .flag-table td::before { content: none; }

    .law-timeline { grid-template-columns: 1fr 1fr; padding: 40px 0 0; gap: 40px; }
    .law-timeline::before { left: 0; right: 0; top: 11px; bottom: auto; border-left: 0; border-top: 3px solid var(--plum); }
    .law-timeline__dot { left: 0; top: -40px; }
    .law-timeline__item { padding-top: 6px; }

    .brand-split { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
    .brand-split__chip { align-self: center; }
}

/* ============================================
   BEST APPS PAGE
   ============================================ */

.prose-narrow { max-width: 780px; }
.prose-narrow .section-head { margin-bottom: 20px; }

.cmp-table { min-width: 860px; }
.cmp-brand { color: var(--brand-strong); }
html.dark .cmp-brand { color: #ffc2da; }
.cmp-takeaways { margin: 24px 0; }
.cmp-cta { display: grid; justify-items: start; gap: 4px; }

.app-rail { margin-bottom: 28px; }
.app-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    display: grid;
    gap: 10px;
    justify-items: start;
    align-content: start;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.app-card h3 { margin: 0; }
.app-card__badge {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pink-100);
    color: var(--brand-strong);
}
html.dark .app-card__badge { color: #ffc2da; }
@media (min-width: 768px) { .app-card { flex-basis: 44%; } }
@media (min-width: 1024px) {
    .app-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.alt-list {
    position: relative;
    display: grid;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.alt-list::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 29px;
    border-left: 2px dotted var(--coral);
}
.alt-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 16px 18px 16px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.alt-item--brand { background: var(--pink-50); border-color: var(--pink-200); }
.alt-item h3 { margin: 0 0 4px; }
.alt-item p { margin: 0; color: var(--muted); }
.alt-item__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--pink-100);
    color: var(--brand-strong);
}
html.dark .alt-item__icon { color: #ffc2da; }

.goal-grid { display: grid; gap: 32px; align-items: start; }
.goal-copy h3 { margin-top: 1.2em; }
.goal-copy h3:first-child { margin-top: 0; }
.goal-side { display: grid; gap: 24px; }
.goal-pick { display: grid; justify-items: start; gap: 6px; }
.goal-pick h3, .goal-pick p { margin: 0; }
.goal-pick .btn { margin-top: 10px; }
.goal-pick__icon { color: var(--plum); }
html.dark .goal-pick__icon { color: var(--heading); }
@media (min-width: 1024px) {
    .goal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}

.check-card {
    margin: 0 0 28px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.check-rows { display: grid; margin: 0; padding: 0; list-style: none; }
.check-rows li + li { border-top: 1px solid var(--line); }
.check-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 10px 4px;
    cursor: pointer;
}
.check-row input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin: 0;
    border: 2px solid var(--pink-300);
    border-radius: 50%;
    background: transparent center / 16px no-repeat;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s var(--ease-spring);
}
.check-row input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27%23fff%27%20stroke-width=%273%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6%2012.5l4%204%208-8.5%27/%3E%3C/svg%3E");
    transform: scale(1.08);
}

.fits__grid { position: relative; z-index: 2; display: grid; gap: 40px; align-items: center; }
.fits__steps { padding-left: 1.4rem; margin: 0 0 1em; }
@media (min-width: 1024px) {
    .fits__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; }
}

/* Pause continuous motion off-screen or when tab is hidden */
.is-offscreen .petal,
.is-offscreen .btn--glow,
.is-offscreen .phone__heart,
html.doc-hidden .petal,
html.doc-hidden .btn--glow,
html.doc-hidden .phone__heart {
    animation-play-state: paused;
}

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

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .petal { animation: none !important; top: 20%; }
    .petal:nth-child(even) { top: 60%; }

    .js .reveal { opacity: 1; transform: none; }
    .js .flower-step.reveal .blossom-badge { transform: none; }
}