/* ==========================================================================
   SparrowNest — "Precision Outdoors"
   Forest green = reliable, sparrow amber = warmth, lime = live / OK only.
   Nature in the brand (contour lines), precision in the product (sharp UI, mono numbers).
   ========================================================================== */

:root {
    --forest: #1F4D3A;
    --forest-600: #183D2E;
    --forest-50: #E7EFE9;
    --amber: #C8873A;
    --amber-600: #A86E2C;
    --signal: #7ED957;
    --danger: #E0664F;
    --night: #121417;
    --night-2: #1A1D20;
    --night-3: #24272B;
    --ink: #16181B;
    --ink-2: #2A2D31;

    --bg: #F5F3EE;
    --bg-alt: #ECE9E2;
    --surface: #FFFFFF;
    --text: #16181B;
    --text-2: #3E4349;
    --text-3: #676D74;
    --border: #E2DED6;
    --contours: url("assets/contours-light.svg");

    --radius: 6px;
    --radius-lg: 12px;
    --speed: 160ms;
    --shadow: 0 1px 2px rgba(18, 20, 23, 0.06), 0 12px 32px -16px rgba(18, 20, 23, 0.25);

    --sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111315;
        --bg-alt: #16181B;
        --surface: #1A1D20;
        --text: #EDEEF0;
        --text-2: #C7CACE;
        --text-3: #979CA2;
        --border: #2E3237;
        --forest-50: #1C3320;
        --contours: url("assets/contours-dark.svg");
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
    }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font: 500 16px/1.6 var(--sans);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.025em; font-weight: 800; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 16px;
}

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

.brand-mark { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text-2); transition: color var(--speed); }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
    color: #fff;
    background: var(--ink);
    padding: 9px 16px;
    border-radius: var(--radius);
    transition: background-color var(--speed);
}
.nav .nav-cta:hover { background: var(--ink-2); color: #fff; }

/* ---- Open an app: a menu of the four apps in the top navigation ---- */
.nav-apps { position: relative; }
.nav-apps summary { white-space: nowrap; list-style: none; cursor: pointer; color: var(--text-2); padding: 9px 4px; display: flex; align-items: center; gap: 6px; }
.nav-apps summary::-webkit-details-marker { display: none; }
.nav-apps summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--speed); }
.nav-apps[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.nav-apps summary:hover, .nav-apps[open] summary { color: var(--text); }
.nav-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; min-width: 270px; padding: 8px;
    display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}
.nav .nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.nav .nav-menu a:hover { background: var(--app-bg, rgba(127, 127, 127, 0.12)); }
.nav-menu svg { width: 24px; height: 24px; flex: none; color: var(--amber); }
.nav-menu span { display: grid; line-height: 1.25; }
.nav-menu small { font-weight: 600; font-size: 12.5px; color: var(--text-3); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color var(--speed), color var(--speed), border-color var(--speed), transform var(--speed);
}
.btn:hover .btn-icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-icon { width: 18px; height: 18px; transition: transform var(--speed); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
@media (prefers-color-scheme: dark) {
    .btn-primary, .nav .nav-cta { background: #EDEEF0; color: var(--ink); }
    .btn-primary:hover, .nav .nav-cta:hover { background: #FFFFFF; color: var(--ink); }
}
.btn-ghost:hover { border-color: var(--text-3); }

/* ---- Live indicators ---- */
.live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--signal);
    flex-shrink: 0;
}
.live-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--signal);
    opacity: 0;
    animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
    /* Full window width; the SVG strokes are non-scaling so lines stay thin when stretched. */
    background: var(--contours) center / cover no-repeat;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.035em; }
.accent { color: var(--forest); }
@media (prefers-color-scheme: dark) { .accent { color: var(--amber); } }

.lead {
    margin: 22px 0 32px;
    max-width: 560px;
    font-size: 18px;
    color: var(--text-2);
}

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

.trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 32px 0 0;
    padding: 0;
    color: var(--text-3);
    font-size: 14px;
    font-weight: 700;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--amber); }

/* ---- Demo cards (the dark "product" on the light page) ---- */
.demo {
    position: relative;
    display: grid;
    gap: 16px;
}

.demo-card {
    background: var(--night);
    color: #EDEEF0;
    border: 1px solid #2A2E33;
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow);
}
/* On a dark page the "product" cards sit one step lighter so they don't dissolve. */
@media (prefers-color-scheme: dark) {
    .demo-card { background: #1A1D20; border-color: #33383E; }
    .scan-ring, .splits li { background: #121417; }
}

.demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    color: #A3A8AE;
}
.demo-title { display: inline-flex; align-items: center; gap: 8px; }
.demo-title svg { width: 16px; height: 16px; color: var(--amber); }

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(126, 217, 87, 0.1);
    color: var(--signal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scan-stage { display: flex; align-items: center; gap: 22px; }

.scan-ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid #33383E;
    background: var(--night-2);
    flex-shrink: 0;
    transition: border-color var(--speed), background-color var(--speed), transform var(--speed);
}
.scan-ring::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--amber);
    opacity: 0;
}
.scan-glyph {
    grid-area: 1 / 1;
    width: 38px;
    height: 38px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity var(--speed), transform var(--speed);
}
.glyph-idle { color: #A3A8AE; }
.glyph-ok { color: var(--night); }
.glyph-no { color: #fff; }

.scan-card[data-state="idle"] .glyph-idle,
.scan-card[data-state="reading"] .glyph-idle { opacity: 1; transform: scale(1); }
.scan-card[data-state="reading"] .scan-ring::after { animation: ripple 0.6s ease-out infinite; }
.scan-card[data-state="ok"] .scan-ring { background: var(--signal); border-color: var(--signal); transform: scale(1.04); }
.scan-card[data-state="ok"] .glyph-ok { opacity: 1; transform: scale(1); }
.scan-card[data-state="no"] .scan-ring { background: var(--danger); border-color: var(--danger); transform: scale(1.04); }
.scan-card[data-state="no"] .glyph-no { opacity: 1; transform: scale(1); }

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

.scan-result { min-width: 0; }
.scan-result p { margin: 0; }
.scan-status {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A3A8AE;
    transition: color var(--speed);
}
.scan-card[data-state="ok"] .scan-status { color: var(--signal); }
.scan-card[data-state="no"] .scan-status { color: var(--danger); }
.scan-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px !important; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scan-meta { font-size: 14px; color: #A3A8AE; margin-top: 2px !important; }

.scan-log {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #2A2E33;
    font-size: 13px;
    color: #A3A8AE;
}
.scan-log .mono { text-align: right; color: #EDEEF0; font-weight: 500; }

.timer-lap { font-size: 12px; color: var(--amber); }

.timer {
    margin: 0 0 14px;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #fff;
}

.splits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.splits li {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius);
    background: var(--night-2);
    color: #C7CACE;
}
.split-bib { color: var(--amber); }

.demo-note {
    margin: 0;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
    margin: 0 0 12px;
    text-align: center;
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (prefers-color-scheme: dark) { .section-eyebrow { color: var(--amber); } }

.section-title { font-size: clamp(30px, 3.8vw, 44px); text-align: center; margin-bottom: 52px; }

/* ---- Products ---- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--amber); color: #fff; vertical-align: 1px; }
.product-body > p.product-next { font-size: 14px; color: var(--text-3); margin: -12px 0 20px; }

.product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: border-color var(--speed), transform var(--speed);
}
.product:hover { border-color: var(--text-3); transform: translateY(-2px); }

.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; width: 100%; }
.product-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; width: 100%; }
.nav-apps .short { display: none; }
/* On a phone the cards fold: the name stays, the list opens with a tap. */
.product.is-folding .product-head { cursor: pointer; position: relative; padding-right: 34px; margin-bottom: 0; -webkit-tap-highlight-color: transparent; }
.product.is-folding .product-head::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform var(--speed); }
.product.is-folding.is-open .product-head { margin-bottom: 18px; }
.product.is-folding.is-open .product-head::after { transform: rotate(225deg); margin-top: -2px; }
.product.is-folding:not(.is-open) .product-body { display: none; }
.product.is-folding:hover { transform: none; }

.product-symbol {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--amber);
    flex-shrink: 0;
}
.product-symbol svg { width: 28px; height: 28px; }

.product h3 { font-size: 26px; }
.product-tag { margin: 4px 0 0; color: var(--text-3); font-weight: 700; font-size: 14px; }

.product-body > p { margin: 0 0 20px; color: var(--text-2); }

.checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.checks svg {
    width: 20px;
    height: 20px;
    padding: 3px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--forest-50);
    color: var(--forest);
    flex-shrink: 0;
}
@media (prefers-color-scheme: dark) { .checks svg { color: var(--signal); } }

.product .btn { margin-top: auto; }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--amber-600);
    margin-bottom: 18px;
}
@media (prefers-color-scheme: dark) { .feature-icon { color: var(--amber); } }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---- Contact ---- */
/* The dark band with the contour lines runs the full width of the page; the text stays in the container. */
#contact {
    color: #fff;
    background: var(--night) url("assets/contours-dark.svg") center / cover no-repeat;
}
.contact-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 32px;
    padding: 16px 0;
}
.contact-card h2 { font-size: clamp(28px, 3.4vw, 40px); }
.contact-card p { margin: 12px 0 0; color: #A3A8AE; font-size: 17px; }

.contact-details { display: grid; gap: 8px; }
.contact-details .contact-name { margin: 0 0 4px; color: #fff; font-weight: 800; font-size: 18px; }
.contact-details a { color: var(--amber); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--text-3); font-size: 14px; font-weight: 600; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand .brand-mark { width: 24px; height: 24px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { text-decoration: none; transition: color var(--speed); }
.footer-links a:hover { color: var(--text); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .hero { padding: 48px 0 72px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .products, .features { grid-template-columns: 1fr; }
    .contact-card { grid-template-columns: 1fr; padding: 0; }
    .section { padding: 72px 0; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .header-inner { gap: 8px; height: 60px; }
    .brand-name { font-size: 18px; }
    .brand-mark { width: 30px; height: 30px; }
    .nav { gap: 6px; font-size: 14px; }
    .nav a:not(.nav-cta) { display: none; }
    .nav .nav-cta { padding: 8px 12px; white-space: nowrap; }
    .nav-apps .long { display: none; }
    .nav-apps .short { display: inline; }
    .nav-apps summary { padding: 8px 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); }
    .nav-apps { position: static; }
    .nav-menu { position: fixed; left: 12px; right: 12px; top: 68px; min-width: 0; }
    .nav .nav-menu a { display: flex; padding: 12px; }
    .product, .feature { padding: 24px 20px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .scan-stage { gap: 16px; }
    .scan-ring { width: 72px; height: 72px; }
    .scan-name { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ---- Legal pages and footer details ---- */
.footer-legal { margin-top: 18px; display: grid; gap: 8px; font-size: 13px; }
.footer-legal p { margin: 0; }
.footer-legal .company a, .footer-legal a { color: inherit; }
.legal-nav { flex-wrap: wrap; gap: 8px 20px; }
.todo { background: #FFE9A8; color: #3B2A00; padding: 0 4px; border-radius: 3px; font-weight: 700; }
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-2); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.legal .meta { color: var(--text-3); font-size: 14px; margin-bottom: 28px; }
.legal .lang { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 700; color: var(--text-3); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.legal th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--bg-alt); }
.legal .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 18px; }
.legal .table-wrap table { margin: 0; }
.legal code { font-family: var(--mono); font-size: 0.88em; }
.legal .draft { border-left: 4px solid var(--amber); background: var(--surface); padding: 12px 16px; margin: 0 0 28px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; }

/* ---- SparrowTiming page: the live timing preview and the day in steps ---- */
.live-card .live-timer { margin-bottom: 4px; }
.live-since { margin: 0 0 14px; font-size: 12px; font-weight: 600; color: #A3A8AE; }
.live-finish { display: grid; place-items: center; min-height: 76px; margin-bottom: 14px; border-radius: var(--radius-lg); background: var(--amber); color: var(--ink); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.live-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 600; color: #A3A8AE; }
.live-chip { border: 1px solid var(--amber); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 600; color: var(--amber); }
.live-rows li { grid-template-columns: 28px 1fr auto; }
.live-ok { color: var(--signal); font-weight: 700; }
.live-tap { color: #A3A8AE; font-size: 13px; }

.live-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.section-eyebrow.left, .section-title.left { text-align: left; }
.section-title.left { margin-bottom: 24px; }
.live-text { margin: 0 0 20px; max-width: 560px; color: var(--text-2); font-size: 17px; }
.live-note { margin: 0; color: var(--text-3); font-size: 14px; font-weight: 600; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flow li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.flow-num { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--amber); font: 700 15px var(--mono); }
.flow h3 { margin-bottom: 4px; font-size: 17px; letter-spacing: -0.015em; }
.flow p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .live-split { grid-template-columns: 1fr; gap: 32px; } }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.product-actions .btn { margin-top: 0; }

/* the live timing preview works: the Finish / Start button and the athletes are tappable */
.live-card button { font: inherit; }
.live-card .live-finish { width: 100%; border: 0; cursor: pointer; font: 800 28px/1 var(--sans); letter-spacing: -0.02em; transition: transform var(--speed), background-color var(--speed); touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.live-card .live-finish:hover { background: var(--amber-600); color: #fff; }
.live-card .live-finish:active { transform: translateY(2px); }
.live-card .live-finish.is-start { background: #EDEEF0; color: var(--ink); }
.live-card .live-finish.is-start:hover { background: #fff; color: var(--ink); }
.live-rows li[role="button"] { cursor: pointer; transition: background-color var(--speed); touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.live-rows li[role="button"]:hover { background: #24272B; }
.live-rows li.is-done .live-ok { display: inline-flex; align-items: center; gap: 10px; }
.live-place { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; background: var(--night-3); color: var(--amber); font-size: 12px; font-weight: 700; }
.live-tap { min-width: 6.5em; text-align: right; }
.live-chips { min-height: 28px; }
.live-mini-row { display: flex; gap: 8px; margin-top: 14px; }
.live-mini { border: 1px solid #33383E; border-radius: var(--radius); background: transparent; color: #C7CACE; padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color var(--speed), color var(--speed); }
.live-mini:hover:not(:disabled) { border-color: var(--amber); color: #fff; }
.live-mini:disabled { opacity: 0.4; cursor: default; }
