/* ============================================
   MEDICAPP — DESIGN TOKENS
   ============================================ */
:root {
    /* Brand */
    --brand-50: oklch(0.97 0.012 230);
    --brand-100: oklch(0.94 0.025 230);
    --brand-200: oklch(0.88 0.045 230);
    --brand-300: oklch(0.78 0.075 230);
    --brand-400: oklch(0.66 0.105 230);
    --brand-500: oklch(0.55 0.13 230);
    --brand-600: oklch(0.48 0.125 230);
    --brand-700: oklch(0.4 0.105 232);
    --brand-800: oklch(0.32 0.08 235);
    --brand-900: oklch(0.22 0.055 240);

    /* Cream */
    --cream-50: oklch(0.985 0.012 75);
    --cream-100: oklch(0.97 0.018 70);
    --cream-200: oklch(0.94 0.03 65);
    --cream-300: oklch(0.89 0.045 60);

    /* Apricot */
    --apricot-300: oklch(0.82 0.085 55);
    --apricot-500: oklch(0.72 0.135 45);
    --apricot-600: oklch(0.64 0.145 40);

    /* Ink */
    --ink-0: oklch(1 0 0);
    --ink-50: oklch(0.985 0.005 230);
    --ink-100: oklch(0.965 0.008 230);
    --ink-200: oklch(0.93 0.01 230);
    --ink-300: oklch(0.88 0.012 230);
    --ink-400: oklch(0.74 0.015 230);
    --ink-500: oklch(0.58 0.018 230);
    --ink-600: oklch(0.46 0.018 230);
    --ink-700: oklch(0.36 0.018 230);
    --ink-800: oklch(0.24 0.015 230);
    --ink-900: oklch(0.16 0.012 230);
    --ink-950: oklch(0.1 0.01 230);

    /* Status */
    --success-bg: oklch(0.93 0.09 155);
    --success-fg: oklch(0.46 0.18 150);

    /* Layout */
    --page-max: 1200px;
    --gutter: clamp(20px, 4vw, 64px);

    /* Type */
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Manrope', 'Geist', sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', monospace;
}

/* ============================================
   RESET / BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
@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;
    }
}

body {
    background: var(--cream-50);
    color: var(--ink-900);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 3px;
    border-radius: 6px;
}

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

::selection {
    background: var(--brand-200);
    color: var(--brand-900);
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 12px;
    background: var(--brand-700);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    z-index: 100;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 12px;
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   TYPE
   ============================================ */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    font-size: clamp(40px, 6.4vw, 80px);
    color: var(--ink-900);
    margin: 18px 0 22px;
}
.display .accent {
    background: linear-gradient(120deg, var(--brand-500) 0%, var(--brand-700) 60%, var(--apricot-500) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink-900);
    margin: 0 0 16px;
}
.h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.015em;
}
.lead {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
    color: var(--ink-600);
    max-width: 56ch;
    margin: 0;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-700);
    background: var(--brand-50);
    border: 1px solid color-mix(in oklch, var(--brand-300) 45%, transparent);
    padding: 6px 12px;
    border-radius: 999px;
}
.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--apricot-500);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    letter-spacing: -0.005em;
    white-space: nowrap;
    font-family: inherit;
}
.btn-primary {
    background: var(--brand-700);
    color: white;
    box-shadow: 0 6px 20px -6px oklch(0.4 0.105 232 / 0.5);
}
.btn-primary:hover {
    background: var(--brand-800);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--ink-800);
    border-color: var(--ink-300);
}
.btn-ghost:hover {
    background: white;
    border-color: var(--ink-400);
}
.btn-sm {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 9px;
}

/* ============================================
   STORE BADGES
   ============================================ */
.stores {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 16px;
    background: var(--ink-900);
    color: white;
    border-radius: 14px;
    border: 1px solid var(--ink-800);
    transition:
        transform 0.15s ease,
        background 0.2s ease;
    min-width: 180px;
}
.store:hover {
    transform: translateY(-2px);
    background: var(--ink-950);
}
.store .glyph {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.store .small {
    font-size: 10.5px;
    line-height: 1.1;
    opacity: 0.75;
    letter-spacing: 0.02em;
}
.store .big {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-top: 2px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklch, var(--cream-50) 80%, transparent);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid color-mix(in oklch, var(--ink-200) 60%, transparent);
    transition: box-shadow 0.2s ease;
}
.nav.scrolled {
    box-shadow: 0 6px 24px -16px oklch(0.2 0.04 230 / 0.25);
}
.nav-inner {
    display: flex;
    align-items: center;
    height: 68px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.logo-mark {
    width: 30px;
    height: 30px;
    background: var(--brand-700);
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: white;
    box-shadow: 0 4px 10px -4px oklch(0.4 0.105 232 / 0.5);
}
.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    list-style: none;
    padding: 0;
    margin-block: 0;
}
.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-700);
    border-radius: 8px;
}
.nav-links a:hover {
    color: var(--ink-900);
    background: color-mix(in oklch, var(--ink-200) 50%, transparent);
}
.nav-spacer {
    flex: 1;
}
.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--ink-300);
    border-radius: 9px;
    padding: 8px;
    cursor: pointer;
    color: var(--ink-800);
    min-width: 2.5rem;
}
.nav-toggle:hover {
    background: white;
}

@media (max-width: 760px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        background: var(--cream-50);
        border-bottom: 1px solid var(--ink-200);
        padding: 14px var(--gutter);
        box-shadow: 0 12px 32px -12px oklch(0.2 0.04 230 / 0.2);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        padding: 12px 14px;
        font-size: 15px;
    }
    .nav-cta .btn-ghost {
        display: none;
    }
    .nav-toggle {
        display: inline-flex;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 10vw, 120px);
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}
@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}
.hero-cta-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
}
.hero-trust {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-200);
    list-style: none;
    padding-left: 0;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-trust-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.025em;
    color: var(--ink-900);
}
.hero-trust-lbl {
    font-size: 12px;
    color: var(--ink-600);
    line-height: 1.3;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 540px;
}
.blob {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 70% 40%, oklch(0.78 0.075 230 / 0.3) 0%, transparent 55%),
        radial-gradient(circle at 30% 80%, oklch(0.82 0.085 55 / 0.28) 0%, transparent 55%);
    filter: blur(20px);
}

/* Phone mockup */
.phone {
    position: relative;
    z-index: 1;
    width: clamp(260px, 28vw, 320px);
    aspect-ratio: 360 / 760;
    background: white;
    border: 8px solid var(--ink-900);
    border-radius: 44px;
    overflow: hidden;
    box-shadow:
        0 40px 80px -30px oklch(0.2 0.04 230 / 0.45),
        0 12px 28px -12px oklch(0.2 0.04 230 / 0.2);
}
.phone::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: var(--ink-900);
    border-radius: 14px;
    z-index: 5;
}
.phone-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}
.phone-status {
    display: flex;
    justify-content: space-between;
    padding: 14px 22px 6px;
    font-size: 12px;
    font-weight: 600;
}
.phone-status .clock {
    font-family: var(--font-mono);
}
.phone-status .icons {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
.phone-body {
    padding: 16px 18px;
    flex: 1;
    overflow: hidden;
}
.phone-greet {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 18px;
}
.phone-greet .avatar-init {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: oklch(0.86 0.04 30);
    color: oklch(0.32 0.06 30);
    display: grid;
    place-items: center;
    font-weight: 700;
}
.phone-greet .hi {
    font-size: 11px;
    color: var(--ink-500);
}
.phone-greet .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.phone-greet .bell {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ink-100);
    display: grid;
    place-items: center;
    color: var(--ink-700);
}
.phone-cta {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    border-radius: 16px;
    padding: 16px;
    color: white;
    margin-bottom: 14px;
}
.phone-cta .top {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.phone-cta .head {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    margin: 6px 0 12px;
    line-height: 1.2;
}
.phone-cta .search {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 9px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-700);
    font-size: 12px;
}
.phone-section {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 10px;
}
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.phone-doc {
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
}
.phone-doc .av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
    position: relative;
}
.phone-doc .av::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: oklch(0.65 0.18 145);
    border: 2px solid white;
    border-radius: 50%;
}
.phone-doc .av.a {
    background: oklch(0.86 0.04 25);
    color: oklch(0.32 0.06 25);
}
.phone-doc .av.b {
    background: oklch(0.86 0.04 230);
    color: oklch(0.32 0.06 230);
}
.phone-doc .av.c {
    background: oklch(0.86 0.04 350);
    color: oklch(0.32 0.06 350);
}
.phone-doc .info {
    flex: 1;
    min-width: 0;
}
.phone-doc .name {
    font-weight: 600;
    font-size: 12.5px;
}
.phone-doc .spec {
    font-size: 10.5px;
    color: var(--ink-500);
}
.phone-doc .price {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section {
    padding: clamp(64px, 10vw, 120px) 0;
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vw, 64px);
}
.section-head .eyebrow {
    margin-bottom: 18px;
}
.section-head .lead {
    margin: 0 auto;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
    background: var(--ink-950);
    color: white;
    position: relative;
    overflow: hidden;
}
.how::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, oklch(0.4 0.105 232 / 0.45) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 100%, oklch(0.5 0.13 50 / 0.18) 0%, transparent 50%);
    pointer-events: none;
}
.how .section-head .h2 {
    color: white;
}
.how .section-head .lead {
    color: oklch(0.78 0.012 230);
}
.how .section-head .eyebrow {
    background: oklch(0.3 0.06 232 / 0.4);
    color: oklch(0.85 0.06 230);
    border-color: oklch(0.45 0.1 232 / 0.5);
}
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (max-width: 1024px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 540px) {
    .steps {
        grid-template-columns: 1fr;
    }
}
.step {
    background: oklch(0.2 0.018 232 / 0.6);
    border: 1px solid oklch(0.32 0.04 232 / 0.5);
    border-radius: 20px;
    padding: 24px 22px;
    position: relative;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}
.step:hover {
    transform: translateY(-4px);
    border-color: oklch(0.55 0.13 230 / 0.7);
    background: oklch(0.22 0.025 232 / 0.7);
}
.step-num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
    color: white;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 6px 16px -6px oklch(0.55 0.13 230 / 0.7);
    margin-bottom: 18px;
}
.step-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: white;
    margin: 0 0 8px;
}
.step-body {
    font-size: 14px;
    line-height: 1.5;
    color: oklch(0.78 0.012 230);
    margin: 0;
}
.step-illus {
    margin-top: 18px;
    height: 92px;
    border-radius: 12px;
    background: oklch(0.16 0.012 235);
    border: 1px solid oklch(0.3 0.04 232 / 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    background: white;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (max-width: 920px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
.feature {
    background: white;
    border: 1px solid var(--ink-200);
    border-radius: 20px;
    padding: 28px 26px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px oklch(0.2 0.04 230 / 0.3);
}
.feature-ico {
    width: 48px;
    height: 48px;
    background: var(--brand-50);
    border: 1px solid color-mix(in oklch, var(--brand-300) 50%, transparent);
    border-radius: 13px;
    color: var(--brand-700);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}
.feature.warm .feature-ico {
    background: oklch(0.96 0.035 55);
    border-color: color-mix(in oklch, var(--apricot-300) 60%, transparent);
    color: var(--apricot-600);
}
.feature h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
}
.feature p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-600);
}

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: start;
}
@media (max-width: 760px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: white;
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item .chev {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--ink-500);
}
.faq-item[open] .chev {
    transform: rotate(180deg);
}
.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--ink-600);
    line-height: 1.6;
}

/* ============================================
   DOWNLOAD CTA
   ============================================ */
.download-cta {
    position: relative;
    background: var(--brand-800);
    color: white;
    border-radius: 32px;
    padding: clamp(40px, 6vw, 80px);
    overflow: hidden;
    isolation: isolate;
}
.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 85% 20%, oklch(0.66 0.105 230 / 0.55) 0%, transparent 45%),
        radial-gradient(circle at 5% 95%, oklch(0.72 0.135 45 / 0.35) 0%, transparent 50%),
        linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 60%, var(--brand-700) 100%);
}
.download-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
@media (max-width: 920px) {
    .download-cta-inner {
        grid-template-columns: 1fr;
    }
}
.download-cta .h2 {
    color: white;
}
.download-cta .lead {
    color: oklch(0.92 0.03 230);
}
.download-cta .stores {
    margin-top: 28px;
}
.qr-card {
    background: white;
    border-radius: 20px;
    padding: 22px;
    color: var(--ink-900);
    text-align: center;
    box-shadow: 0 30px 50px -25px oklch(0 0 0 / 0.4);
    max-width: 260px;
    margin-left: auto;
}
@media (max-width: 920px) {
    .qr-card {
        margin: 0;
    }
}
.qr {
    width: 200px;
    height: 200px;
    margin: 0 auto 14px;
    background-image:
        linear-gradient(45deg, var(--ink-900) 25%, transparent 25%), linear-gradient(-45deg, var(--ink-900) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--ink-900) 75%), linear-gradient(-45deg, transparent 75%, var(--ink-900) 75%);
    background-size: 14px 14px;
    background-position:
        0 0,
        0 7px,
        7px -7px,
        -7px 0;
    border: 12px solid white;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--ink-200);
    position: relative;
}
.qr::before,
.qr::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    background: white;
    border: 8px solid var(--ink-900);
    border-radius: 6px;
}
.qr::before {
    top: -2px;
    left: -2px;
}
.qr::after {
    top: -2px;
    right: -2px;
}
.qr-card .label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.005em;
}
.qr-card .sub {
    font-size: 12px;
    color: var(--ink-600);
    margin-top: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    border-top: 1px solid var(--ink-200);
    padding: 48px 0 32px;
    color: var(--ink-600);
    font-size: 13px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}
@media (max-width: 760px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
.foot-grid h2 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-800);
    margin: 0 0 14px;
}
.foot-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.foot-grid a:hover {
    color: var(--ink-900);
}
.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--ink-200);
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}
.foot-version {
    font-family: var(--font-mono);
}

/* ============================================
   UTILS
   ============================================ */
.star {
    color: var(--apricot-500);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
