/* ------------------------------------------------------------------
   Unfined marketing site — shared styles
   Palette + typography mirror the iOS app so the landing page reads
   as the same product, not a separately branded splash.
------------------------------------------------------------------ */

:root {
    --indigo: #4F46E5;
    --indigo-dark: #3730A3;
    --indigo-soft: #EEF2FF;
    --orange: #F59E0B;
    --orange-soft: #FEF3C7;
    --green: #10B981;
    --green-soft: #D1FAE5;
    --red: #EF4444;

    --bg: #FAFAF9;
    --surface: #FFFFFF;
    --surface-raised: #F5F5F4;
    --border: #E7E5E4;

    --text: #1C1917;
    --text-muted: #57534E;
    --text-subtle: #A8A29E;

    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
    --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 20px 48px rgba(79, 70, 229, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;

    --max-width: 1120px;
    --gutter: 24px;

    --font-sans:
        -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Display",
        "Segoe UI", "Helvetica Neue", Arial, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0C0A09;
        --surface: #1C1917;
        --surface-raised: #292524;
        --border: #292524;
        --text: #FAFAF9;
        --text-muted: #A8A29E;
        --text-subtle: #78716C;
        --indigo-soft: #1E1B4B;
        --orange-soft: #3F2C0F;
        --green-soft: #064E3B;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 20px 48px rgba(79, 70, 229, 0.3);
    }
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--indigo);
    text-decoration: none;
    transition: opacity 0.18s;
}

a:hover {
    opacity: 0.72;
}

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

h1,
h2,
h3,
h4 {
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text);
    font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }

p { color: var(--text-muted); }

/* Layout */
.container {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

section {
    padding-block: clamp(56px, 8vw, 112px);
}

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(1.6) blur(18px);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text);
    font-size: 19px;
    letter-spacing: -0.02em;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    box-shadow: var(--shadow-sm);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
}

.nav-actions a:not(.btn) {
    color: var(--text-muted);
}

.nav-actions .lang {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--text);
    color: var(--bg);
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.18s, opacity 0.18s;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--indigo);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    opacity: 1;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}

/* Hero */
.hero {
    padding-block: clamp(56px, 9vw, 128px) clamp(56px, 9vw, 96px);
    background:
        radial-gradient(ellipse 80% 80% at 20% 0%, color-mix(in srgb, var(--indigo) 14%, transparent), transparent 60%),
        radial-gradient(ellipse 60% 60% at 90% 40%, color-mix(in srgb, var(--orange) 12%, transparent), transparent 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 980px) {
    .hero-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 72px;
    }
}

.hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-copy .eyebrow .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

.hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-copy h1 .accent {
    color: var(--indigo);
}

.hero-copy .lead {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-foot {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-subtle);
}

.hero-foot .bullet {
    width: 4px;
    height: 4px;
    background: var(--text-subtle);
    border-radius: 50%;
}

/* iPhone mockup */
.phone {
    --phone-width: 320px;
    --bezel: 10px;
    width: var(--phone-width);
    margin-inline: auto;
    /* A flat #111 slab reads as a black rectangle. A soft diagonal ramp with
       lighter edges reads as a metal rail catching light. */
    background: linear-gradient(150deg, #4a4a4f 0%, #232326 22%, #1b1b1e 50%, #232326 78%, #45454a 100%);
    padding: var(--bezel);
    border-radius: 50px;
    position: relative;
    /* Hairline highlight along the rail, then depth — instead of the extra
       6px black ring that made the border look twice as thick as a phone. */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 1px 1px rgba(255, 255, 255, 0.22),
        0 2px 6px rgba(17, 17, 22, 0.16),
        0 18px 36px -12px rgba(17, 17, 22, 0.34),
        0 42px 68px -28px rgba(17, 17, 22, 0.4);
}

@media (min-width: 980px) {
    .phone { --phone-width: 360px; justify-self: end; }
}

.phone-screen {
    background: #F2F2F7;
    /* Outer radius minus the bezel keeps the corners concentric. */
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 320 / 650;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.phone-screen::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    /* Proportional to a real Dynamic Island rather than a wide black bar. */
    width: 82px;
    height: 24px;
    background: #0b0b0d;
    border-radius: 999px;
    z-index: 3;
}

.phone-ui {
    padding: 62px 20px 32px;
    color: #1C1917;
    font-size: 13px;
    line-height: 1.45;
    height: 100%;
    overflow: hidden;
}

.phone-ui .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.phone-ui .header .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #8E8E93;
    text-transform: uppercase;
}

.phone-ui .header .city {
    font-size: 22px;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: -0.02em;
}

.phone-ui .header .country {
    font-size: 11px;
    color: #8E8E93;
    margin-left: 4px;
    font-weight: 500;
}

.phone-ui .gear {
    width: 22px; height: 22px;
    color: #8E8E93;
}

.phone-ui .banner {
    background: #D1FAE5;
    border-radius: 14px;
    padding: 14px;
    display: flex; gap: 8px; align-items: flex-start;
    margin-bottom: 14px;
}

.phone-ui .banner.snooze {
    background: #FEF3C7;
}

.phone-ui .banner .icon {
    color: #10B981; font-weight: 700; font-size: 15px;
}
.phone-ui .banner.snooze .icon { color: #F59E0B; }

.phone-ui .banner .title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.phone-ui .banner .subtitle {
    color: #6B7280;
    font-size: 12px;
}

.phone-ui .card {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.phone-ui .section-label {
    font-size: 10px;
    color: #8E8E93;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.phone-ui .fines {
    display: flex; gap: 12px;
}

.phone-ui .fine {
    flex: 1;
}

.phone-ui .fine .label {
    font-size: 10px;
    color: #8E8E93;
    margin-bottom: 2px;
}

.phone-ui .fine .amount {
    color: #EF4444;
    font-weight: 700;
    font-size: 18px;
}

.phone-ui .fine .suffix {
    color: #EF4444;
    font-size: 10px;
    margin-left: 2px;
}

.phone-ui .link {
    color: #4F46E5;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.phone-ui .empty {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: #8E8E93;
    font-size: 12px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.phone-ui .pill {
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #F59E0B;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    margin-top: auto;
}

/* Section headings */
.section-head {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 48px;
}

.section-head .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--indigo);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 17px;
    max-width: 560px;
    margin-inline: auto;
}

/* Feature cards */
.features {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 720px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card .glyph {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.feature-card .glyph.indigo {
    background: var(--indigo-soft);
    color: var(--indigo);
}

.feature-card .glyph.orange {
    background: var(--orange-soft);
    color: var(--orange);
}

.feature-card .glyph.green {
    background: var(--green-soft);
    color: var(--green);
}

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 15px; }

/* Cities */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 720px) {
    .cities-grid { grid-template-columns: repeat(4, 1fr); }
}

.city-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.city-card .flag {
    font-size: 28px;
    margin-bottom: 6px;
}

.city-card .name {
    font-weight: 600;
    color: var(--text);
}

.city-card .country {
    font-size: 13px;
    color: var(--text-subtle);
}

/* Privacy promise */
.promise {
    background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promise::after {
    content: "";
    position: absolute;
    inset: auto -60px -120px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
}

.promise h2 {
    color: #fff;
    margin-bottom: 20px;
}

.promise p {
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin-inline: auto;
    font-size: 17px;
}

.promise ul {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 560px;
    margin-inline: auto;
    text-align: left;
}

@media (min-width: 640px) {
    .promise ul { grid-template-columns: 1fr 1fr; }
}

.promise li {
    background: rgba(255,255,255,0.1);
    padding: 14px 16px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.promise li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 700;
}

/* Founder */
.founder {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.founder-card {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 8px;
    text-align: center;
}

.founder blockquote {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 20px;
}

.founder blockquote::before {
    content: "\201C";
    font-size: 3rem;
    color: var(--indigo);
    line-height: 0;
    vertical-align: -0.3em;
    margin-right: 4px;
}

.founder blockquote::after {
    content: "\201D";
    font-size: 3rem;
    color: var(--indigo);
    line-height: 0;
    vertical-align: -0.3em;
    margin-left: 2px;
}

.founder .byline {
    font-size: 14px;
    color: var(--text-subtle);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::after {
    content: "+";
    color: var(--text-subtle);
    font-size: 22px;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 10px;
    font-size: 15px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding-block: 48px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr auto auto;
        gap: 48px;
    }
}

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.footer-brand .tagline {
    font-size: 13px;
    color: var(--text-subtle);
    margin-top: 2px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
}

/* Privacy page */
.privacy-page {
    max-width: 760px;
    margin-inline: auto;
    padding: 48px var(--gutter) 80px;
}

.privacy-page header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.privacy-page h1 {
    margin-bottom: 8px;
}

.privacy-page .meta {
    font-size: 14px;
    color: var(--text-subtle);
    display: flex;
    gap: 16px;
}

.privacy-page h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 12px;
}

.privacy-page h3 {
    font-size: 1.1rem;
    margin-top: 28px;
    margin-bottom: 8px;
}

.privacy-page p,
.privacy-page li {
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.65;
}

.privacy-page ul,
.privacy-page ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.privacy-page th,
.privacy-page td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.privacy-page th {
    font-weight: 600;
    color: var(--text);
    background: var(--surface-raised);
}

.privacy-page code {
    background: var(--surface-raised);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 0.88em;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Home mock: risk hero + transport rows, mirroring the shipped app */
.phone-ui .risk {
    background: #EEF2FF;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}
.phone-ui .risk .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4F46E5;
    font-weight: 700;
    margin-bottom: 7px;
}
.phone-ui .risk .headline {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin-bottom: 6px;
}
.phone-ui .risk .sub {
    font-size: 11.5px;
    color: #6B7280;
    line-height: 1.4;
}
.phone-ui .mode-row {
    background: #fff;
    border-radius: 14px;
    padding: 11px 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.phone-ui .mode-row .glyph {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(79, 70, 229, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex: none;
}
.phone-ui .mode-row .name { font-size: 13.5px; font-weight: 600; }
.phone-ui .mode-row .hint { font-size: 11px; color: #8E8E93; }
.phone-ui .mode-row .chev { margin-left: auto; color: #C7C7CC; font-size: 13px; }
.phone-ui .penalty {
    background: #fff;
    border-radius: 14px;
    padding: 13px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.phone-ui .penalty .amount { font-size: 13.5px; font-weight: 700; color: #DC2626; }
.phone-ui .penalty .sub { font-size: 11px; color: #8E8E93; margin-top: 3px; line-height: 1.4; }


/* ------------------------------------------------------------------
   Animated hero demo (four-scene loop, 22s) — added 2026-08-14.
   All classes ds-prefixed; light-only to match the site's palette.
------------------------------------------------------------------ */
.ds-stage { position: relative; height: 520px; font-size: 13.5px; line-height: 1.42; color: #1b1b1f; }
.ds-scene { position: absolute; inset: 14px 14px 14px; opacity: 0; }
.ds-cap { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; color: var(--text-subtle); }
.ds-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; margin-top: 10px; }
.ds-title { font-weight: 800; font-size: 15px; }
.ds-cta { background: var(--indigo); color: #fff; text-align: center; font-weight: 700; border-radius: 999px; padding: 12px; margin-top: 12px; font-size: 14px; position: relative; }

.ds-city { font-size: 22px; font-weight: 850; margin-top: 6px; }
.ds-status { color: #0e6b3c; font-size: 12px; font-weight: 600; margin-top: 3px; }
.ds-notif { position: absolute; left: 4px; right: 4px; top: 10px; background: rgba(255,255,255,0.97); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-md); transform: translateY(-130px); }
.ds-notif .ds-app { display: flex; gap: 7px; align-items: center; font-size: 10.5px; color: var(--text-subtle); font-weight: 700; }
.ds-notif .ds-app i { width: 16px; height: 16px; border-radius: 4px; background: var(--indigo); color: #fff; font-style: normal; font-size: 10px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.ds-notif .ds-t { font-weight: 800; font-size: 13.5px; margin-top: 5px; }
.ds-notif .ds-b { font-size: 12.5px; color: var(--text-muted); }

.ds-fact { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.ds-fact:last-child { border-bottom: none; }
.ds-fact .ds-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--indigo-soft); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.ds-fact .ds-k { font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em; color: var(--text-subtle); }
.ds-fact .ds-v { font-size: 12.5px; font-weight: 650; }
.ds-step { background: var(--indigo); color: #fff; border-radius: 16px; padding: 13px 14px; margin-top: 10px; }
.ds-ring { position: absolute; right: 22px; bottom: 66px; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--orange); opacity: 0; pointer-events: none; }

.ds-countlabel { font-size: 10px; font-weight: 800; letter-spacing: 0.07em; color: #0e6b3c; }
.ds-digits { font: 800 44px/1.05 ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; color: var(--indigo); letter-spacing: -0.01em; }
.ds-bar { height: 6px; border-radius: 3px; background: var(--green-soft); margin: 10px 0 8px; overflow: hidden; }
.ds-bar i { display: block; height: 100%; width: 28%; background: var(--indigo); border-radius: 3px; animation: ds-fill 22s linear infinite; }
@keyframes ds-fill { 0%, 52% { width: 28%; } 75%, 100% { width: 44%; } }
.ds-greencard { background: #e9f2ec; border: 1px solid #cfe4d6; border-radius: 14px; padding: 13px 14px; margin-top: 10px; }
.ds-chiprow { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ds-chip { border-radius: 99px; padding: 3px 10px; font-size: 10.5px; font-weight: 800; }
.ds-chip.ok { background: #dcefe3; color: #0e6b3c; }
.ds-chip.warn { background: var(--orange-soft); color: #8b5305; }

.ds-inspect { text-align: center; padding-top: 46px; }
.ds-seal { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #0e6b3c; color: #fff; font-size: 42px; font-weight: 900; display: flex; align-items: center; justify-content: center; transform: scale(0.4); opacity: 0; animation: ds-seal 22s cubic-bezier(0.2, 1.4, 0.3, 1) infinite; }
.ds-inspect h3 { font-size: 21px; font-weight: 850; margin: 0 0 6px; }
.ds-inspect p { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.ds-ticket { margin: 26px auto 0; width: fit-content; padding: 8px 16px; border-radius: 10px; border: 2px dashed var(--red); color: var(--red); font-weight: 800; font-size: 15px; position: relative; transform: rotate(-4deg); }
.ds-ticket::after { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left center; animation: ds-strike 22s linear infinite; }
@keyframes ds-strike { 0%, 87.5% { transform: scaleX(0); } 92.5%, 100% { transform: scaleX(1); } }

.ds-scene.s1 { animation: ds-sc1 22s linear infinite; }
.ds-scene.s2 { animation: ds-sc2 22s linear infinite; }
.ds-scene.s3 { animation: ds-sc3 22s linear infinite; }
.ds-scene.s4 { animation: ds-sc4 22s linear infinite; }
@keyframes ds-sc1 { 0% { opacity: 0; } 2%, 18.5% { opacity: 1; } 20.5%, 100% { opacity: 0; } }
@keyframes ds-sc2 { 0%, 20.5% { opacity: 0; } 22.5%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes ds-sc3 { 0%, 50% { opacity: 0; } 52%, 75.5% { opacity: 1; } 77.5%, 100% { opacity: 0; } }
@keyframes ds-sc4 { 0%, 77.5% { opacity: 0; } 79.5%, 98% { opacity: 1; } 100% { opacity: 0; } }
.ds-notif { animation: ds-drop 22s cubic-bezier(0.2, 1.2, 0.3, 1) infinite; }
@keyframes ds-drop { 0%, 2.5% { transform: translateY(-130px); } 6.5%, 18.5% { transform: translateY(0); } 20.5%, 100% { transform: translateY(-130px); } }
.ds-ring { animation: ds-tap 22s ease-out infinite; }
@keyframes ds-tap { 0%, 43% { opacity: 0; transform: scale(0.5); } 45.5% { opacity: 1; transform: scale(0.8); } 49%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ds-seal { 0%, 78.5% { transform: scale(0.4); opacity: 0; } 84%, 98% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }

.ds-board { margin-top: 18px; background: #1b1b22; border-radius: 12px; padding: 12px 16px; font: 600 12.5px/1.9 ui-monospace, "SF Mono", Menlo, "PingFang SC", monospace; color: #6d6a58; }
.ds-board div { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; }
.ds-board .no { width: 20px; flex: none; }
.ds-board .l1 { animation: ds-lit1 22s step-end infinite; }
.ds-board .l2 { animation: ds-lit2 22s step-end infinite; }
.ds-board .l3 { animation: ds-lit3 22s step-end infinite; }
.ds-board .l4 { animation: ds-lit4 22s step-end infinite; }
@keyframes ds-lit1 { 0%, 20% { color: #e8c964; } 21%, 100% { color: #6d6a58; } }
@keyframes ds-lit2 { 0%, 20% { color: #6d6a58; } 21%, 49% { color: #e8c964; } 50%, 100% { color: #6d6a58; } }
@keyframes ds-lit3 { 0%, 50% { color: #6d6a58; } 51%, 76% { color: #e8c964; } 77%, 100% { color: #6d6a58; } }
@keyframes ds-lit4 { 0%, 77% { color: #6d6a58; } 78%, 100% { color: #e8c964; } }

@media (prefers-reduced-motion: reduce) {
  .ds-scene, .ds-notif, .ds-ring, .ds-seal, .ds-bar i, .ds-ticket::after,
  .ds-board .l1, .ds-board .l2, .ds-board .l3, .ds-board .l4 { animation: none !important; }
  .ds-scene.s3 { opacity: 1; }
  .ds-notif { transform: translateY(-130px); }
  .ds-board .l3 { color: #e8c964; }
}
