/* 喝了么官网 — 设计稿：纯黑底 + 深灰圆角面板 + 琥珀金 */
:root {
    --bg: #000000;
    --panel: #121212;
    --panel-inner: #181818;
    --panel-border: rgba(255, 255, 255, 0.07);
    --panel-border-glow: rgba(212, 163, 115, 0.12);
    --surface: rgba(255, 255, 255, 0.04);
    --surface-border: rgba(255, 255, 255, 0.06);
    --gold: #d4a373;
    --gold-light: #e8c08a;
    --gold-dark: #b8894f;
    --gold-muted: #8c6b3e;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-panel: 32px;
    --header-h: 80px;
    --container: min(1180px, 92vw);
    --section-gap: clamp(20px, 3vw, 28px);
    --panel-pad: clamp(28px, 4.5vw, 48px);
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body.is-legal-page {
    background: var(--bg);
    color: var(--text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: #e8c08a;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.heleme-icon {
    width: 1.25em;
    height: 1.25em;
    display: block;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    transition: background 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(212, 167, 106, 0.12);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    text-decoration: none;
    flex-shrink: 0;
}

.brand__logo,
.brand-logo.brand__logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.brand-logo--footer {
    width: 44px;
    height: 44px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1.2;
}

.brand__name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.brand__tagline {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    margin-inline: auto;
}

.site-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
}

.btn-primary:hover {
    background: #e8c08a;
    border-color: #e8c08a;
    color: #0a0a0a;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.btn-header {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    background: var(--text);
    border-radius: 1px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px var(--container);
    padding-inline: max(4vw, 16px);
    background: #0a0a0a;
    border-bottom: 1px solid var(--surface-border);
}

.mobile-nav a {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
}

.mobile-nav.is-open {
    display: flex;
}

/* 模块面板（设计稿大圆角卡片） */
.section-panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-panel);
    padding: var(--panel-pad);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 24px 64px rgba(0, 0, 0, 0.45);
}

.section-panel:hover {
    border-color: var(--panel-border-glow);
}

.landing__body {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.landing__body > section {
    margin: 0;
    padding: 0;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px) 0 clamp(24px, 3.5vw, 36px);
    margin-bottom: 10px;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(212, 163, 115, 0.06) 0%, transparent 55%),
        var(--bg);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero--has-bg .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.5) 62%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 85%, #000 100%);
}

.hero:not(.hero--has-bg)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 75% 50%, rgba(30, 24, 16, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__copy .eyebrow {
    margin: 0 0 12px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: none;
}

.hero__copy h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero__copy .lead {
    margin: 0 0 22px;
    max-width: 480px;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Phone mock & carousel */
.hero__device {
    display: flex;
    justify-content: center;
    padding: 0;
}

.phone-carousel {
    position: relative;
    width: min(380px, 96vw);
    padding: 0 0 12px;
}

.phone-carousel__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 16px);
}

.phone-carousel__stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.phone-carousel__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.phone-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.phone-carousel__nav {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--panel-border);
    background: rgba(18, 18, 18, 0.92);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.phone-carousel__nav:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.phone-carousel__main .phone-shell {
    flex-shrink: 0;
}

.phone-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.phone-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.phone-carousel__dot.is-active {
    background: var(--gold);
    transform: scale(1.15);
}

.phone-shell {
    position: relative;
    width: min(300px, 88vw);
    padding: 12px 10px 16px;
    border-radius: 36px;
    background: linear-gradient(155deg, #1c1c1e 0%, #0a0a0a 55%, #252528 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(212, 163, 115, 0.1),
        0 0 60px rgba(212, 163, 115, 0.08);
}

.phone-shell__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 22px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-shell__home {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
}

.phone-screen {
    border-radius: 26px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 393 / 852;
    position: relative;
}

.phone-carousel .phone-screen {
    isolation: isolate;
}

.phone-screen__shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-carousel__slide .phone-screen__shot {
    min-height: 100%;
}

.phone-mock {
    height: 100%;
    padding: 44px 16px 48px;
    display: flex;
    flex-direction: column;
    background: #0f0f0f;
}

.phone-mock__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.phone-mock__date {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.phone-mock__photo {
    flex: 1;
    min-height: 180px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop stop-color='%233a2a18'/%3E%3Cstop offset='1' stop-color='%231a1208'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='400' height='300'/%3E%3Ccircle cx='200' cy='140' r='60' fill='%23D4A76A' opacity='.25'/%3E%3C/svg%3E") center/cover;
    margin-bottom: 12px;
}

.phone-mock__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.phone-mock__tags span {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(212, 167, 106, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 167, 106, 0.25);
}

.phone-mock__slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.phone-mock__track {
    position: relative;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
}

.phone-mock__thumb {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(212, 167, 106, 0.6);
}

.phone-mock__units {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
}

.phone-mock__fab {
    position: absolute;
    right: 20px;
    bottom: 56px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    box-shadow: 0 8px 24px rgba(212, 167, 106, 0.45);
}

/* Features */
.section-panel--features {
    padding: clamp(36px, 5vw, 52px) var(--panel-pad);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2vw, 20px);
    padding: 4px clamp(16px, 2.5vw, 28px);
    text-align: left;
}

.feature-card:not(:last-child) {
    border-right: 1px solid var(--panel-border);
}

.feature-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 2px 0 0;
    color: var(--gold);
}

.feature-card__icon .heleme-icon {
    width: 32px;
    height: 32px;
}

.feature-card__body {
    flex: 1;
    min-width: 0;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Stats — 设计稿：上排 1:1:1，下排 1:2 */
.section-panel--stats {
    padding: var(--panel-pad);
}

.stats__bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 14px;
    align-items: stretch;
}

.stats__intro {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 12px 8px 4px;
    min-height: 200px;
}

.stats__intro h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.stats__lead {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 260px;
}

.stats__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
}

.stat-card--calendar {
    grid-column: 2;
    grid-row: 1;
}

.stat-card--line {
    grid-column: 3;
    grid-row: 1;
}

.stat-card--donut {
    grid-column: 1;
    grid-row: 2;
}

.stat-card--bars {
    grid-column: 2 / -1;
    grid-row: 2;
}

.stat-card {
    background: var(--panel-inner);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 18px 16px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.25s, box-shadow 0.25s;
    min-width: 0;
}

.stat-card:hover {
    border-color: var(--panel-border-glow);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 8px 24px rgba(0, 0, 0, 0.35);
}

.stat-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.stat-card__head h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.stat-card__badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--panel-border);
}

.heatmap-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--text-muted);
}

.heatmap-legend__scale {
    display: inline-flex;
    gap: 3px;
}

.heatmap-legend__scale i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    font-style: normal;
}

.heatmap-legend__scale i[data-level="0"] {
    background: rgba(255, 255, 255, 0.08);
}

.heatmap-legend__scale i[data-level="1"] {
    background: rgba(212, 163, 115, 0.3);
}

.heatmap-legend__scale i[data-level="2"] {
    background: rgba(212, 163, 115, 0.55);
}

.heatmap-legend__scale i[data-level="3"] {
    background: var(--gold);
}

/* Heatmap */
.heatmap {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.heatmap__cell {
    aspect-ratio: 1;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.heatmap__cell[data-level="1"] {
    background: rgba(212, 167, 106, 0.25);
}

.heatmap__cell[data-level="2"] {
    background: rgba(212, 167, 106, 0.45);
}

.heatmap__cell[data-level="3"] {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 0 8px rgba(212, 163, 115, 0.35);
}

.chart-line-wrap {
    width: 100%;
    min-height: 110px;
}

.chart-line {
    width: 100%;
    height: 110px;
    display: block;
}

.stat-card--line .chart-line-wrap {
    min-height: 120px;
}

.stat-card--line .chart-line {
    height: 120px;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: var(--text-muted);
    gap: 4px;
}

.chart-labels span {
    flex: 1;
    text-align: center;
}

/* Donut */
.stat-card--donut .donut-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    min-height: 120px;
}

.chart-donut {
    width: min(100px, 36%);
    height: auto;
    flex-shrink: 0;
}

.donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.donut-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donut-legend span:first-child {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c, var(--gold));
    flex-shrink: 0;
}

/* Time bars — 宽卡片内 6 时段 */
.stat-card--bars .time-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(8px, 1.5vw, 20px);
    min-height: 130px;
    padding-top: 4px;
}

.time-bars__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.time-bars__plot {
    width: 100%;
    height: 104px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.time-bars__col {
    display: block;
    width: min(56px, 88%);
    height: var(--h, 50%);
    min-height: 10px;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.time-bars__col.is-peak {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.45);
}

.time-bars__label {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Privacy */
.landing__body > .privacy-block {
    margin-top: -10px;
    margin-bottom: -10px;
}

.landing__body:has(> .privacy-block:last-child) {
    padding-bottom: 10px;
}

.section-panel--privacy {
    background: #0f0f0f;
    border-color: rgba(255, 255, 255, 0.06);
    padding: clamp(28px, 4vw, 44px) var(--panel-pad);
}

.privacy-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

.privacy-block__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.privacy-block__img {
    width: min(280px, 100%);
    max-height: 320px;
    height: auto;
    object-fit: contain;
}

.lock-3d {
    display: flex;
    justify-content: center;
    padding: 8px;
}

.lock-3d__svg {
    width: min(220px, 70vw);
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

.privacy-block__copy .eyebrow {
    margin-bottom: 12px;
}

.privacy-block__copy h2 {
    margin: 0 0 20px;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.privacy-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

.privacy-pills li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.privacy-pills__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--panel-inner);
    border: 1px solid var(--panel-border);
    color: var(--gold);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.privacy-pills__icon .heleme-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.site-footer {
    padding: clamp(16px, 2.5vw, 28px) 0 clamp(40px, 6vw, 64px);
    text-align: center;
}

.section-panel--footer {
    text-align: center;
    padding: clamp(48px, 8vw, 72px) var(--panel-pad);
}

.site-footer__inner {
    margin: 0;
}

.site-footer__logo {
    width: 44px;
    height: 44px;
    margin: 0 auto 24px;
    color: var(--gold);
}

.site-footer__logo.brand-logo {
    color: inherit;
}

.site-footer__tagline {
    margin: 0 0 32px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.appstore-badge {
    display: inline-block;
    margin-bottom: 20px;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.appstore-badge:hover {
    transform: scale(1.02);
    opacity: 0.88;
}

.appstore-badge:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 8px;
}

.appstore-badge__svg {
    display: block;
    width: 140px;
    height: 40px;
    max-width: none;
}

.site-footer__note {
    margin: 0 0 28px;
    font-size: 14px;
    color: var(--text-muted);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 16px;
    font-size: 13px;
}

.site-footer__legal a {
    color: var(--text-secondary);
}

.site-footer__legal a:hover {
    color: var(--gold);
}

.site-footer__legal span[aria-hidden] {
    color: var(--text-muted);
}

.site-footer__copy {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* Legal pages (dark theme) */
.legal-page {
    padding: 48px 0 80px;
}

.legal-doc {
    max-width: 720px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-panel);
    padding: clamp(28px, 4vw, 44px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.4);
}

.legal-meta {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.legal-doc h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 34px);
    color: var(--text);
}

.legal-lead {
    margin: 0 0 24px;
    color: var(--text-secondary);
}

.legal-block {
    margin-bottom: 28px;
}

.legal-block h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--text);
    border-left: 3px solid var(--gold);
    padding-left: 12px;
}

.legal-block p,
.legal-block ul {
    color: var(--text-secondary);
}

.legal-block ul {
    padding-left: 20px;
}

.legal-warning {
    padding: 12px 14px;
    background: rgba(212, 167, 106, 0.12);
    border: 1px solid rgba(212, 167, 106, 0.3);
    border-radius: var(--radius-sm);
    color: var(--gold);
}

.legal-back a {
    color: var(--gold);
}

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 960px) {
    .site-nav,
    .btn-header {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero__grid,
    .stats__bento {
        grid-template-columns: 1fr 1fr;
    }

    .stats__intro {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .stat-card--calendar {
        grid-column: 1;
        grid-row: auto;
    }

    .stat-card--line {
        grid-column: 2;
        grid-row: auto;
    }

    .stat-card--donut {
        grid-column: 1;
    }

    .stat-card--bars {
        grid-column: 2 / -1;
    }

    .privacy-block__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .privacy-block__copy {
        order: -1;
    }

    .privacy-block__visual {
        order: 0;
        justify-content: center;
        padding: 0 8px;
    }

    .privacy-block__img {
        width: min(240px, 72vw);
        max-height: 260px;
    }

    .lock-3d__svg {
        width: min(200px, 58vw);
    }

    .privacy-block__copy h2 {
        font-size: clamp(24px, 5.5vw, 30px);
    }

    .privacy-pills {
        gap: 12px 16px;
    }

    .hero__device {
        order: -1;
    }

    .phone-carousel__main {
        gap: 0;
    }

    .phone-carousel__nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feature-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--panel-border);
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .feature-card {
        padding-inline: 0;
    }

    .stats__intro {
        text-align: left;
    }

    .stats__lead {
        max-width: none;
    }
}

@media (max-width: 560px) {
    :root {
        --radius-panel: 24px;
        --panel-pad: 22px;
    }

    .stats__bento {
        grid-template-columns: 1fr;
    }

    .stats__intro,
    .stat-card--calendar,
    .stat-card--line,
    .stat-card--donut,
    .stat-card--bars {
        grid-column: 1;
        grid-row: auto;
    }

    .stat-card--bars .time-bars__col {
        max-width: 40px;
    }

    .landing__body > .privacy-block {
        margin-top: 0;
        margin-bottom: 0;
    }

    .section-panel--privacy {
        padding: 24px 20px;
    }

    .privacy-block__grid {
        gap: 20px;
    }

    .privacy-block__img {
        width: min(200px, 68vw);
        max-height: 220px;
    }

    .lock-3d {
        padding: 0;
    }

    .lock-3d__svg {
        width: min(168px, 52vw);
    }

    .privacy-block__copy .eyebrow {
        margin-bottom: 10px;
    }

    .privacy-block__copy h2 {
        margin-bottom: 18px;
        font-size: clamp(22px, 6.2vw, 26px);
        line-height: 1.25;
    }

    .privacy-block__copy h2 br {
        display: none;
    }

    .privacy-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .privacy-pills li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 10px;
        font-size: 12px;
        line-height: 1.35;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--panel-border);
        border-radius: 12px;
    }

    .privacy-pills__icon {
        width: 36px;
        height: 36px;
    }

    .privacy-pills__icon .heleme-icon {
        width: 18px;
        height: 18px;
    }

    .donut-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .privacy-pills {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .privacy-pills li {
        flex-direction: row;
        align-items: center;
        padding: 10px 12px;
    }

    .privacy-pills__icon {
        width: 40px;
        height: 40px;
    }
}

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

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
