/*
 * Vytalio landing page polish layer.
 * Keeps the existing identity and structure while normalizing rhythm,
 * alignment, hierarchy, interaction states, and responsive density.
 */

:root {
    --polish-page: #08090b;
    --polish-surface: #111317;
    --polish-surface-raised: #16191e;
    --polish-border: #292e37;
    --polish-ink: #fffcf6;
    --polish-muted: #b9bcc3;
    --polish-blue: #0a6ef5;
    --polish-blue-hover: #2c82f7;
    --polish-radius: 14px;
    --polish-content: 1120px;
    --polish-gutter: clamp(20px, 4vw, 48px);
    --polish-section: clamp(72px, 9vw, 120px);
    --polish-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-padding-top: 88px;
}

body {
    background: var(--polish-page);
    color: var(--polish-ink);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3) {
    color: var(--polish-ink);
    text-wrap: balance;
}

:where(p, li) {
    text-wrap: pretty;
}

:where(p, li, .muted) {
    color: var(--polish-muted);
}

:where(a, button, summary) {
    -webkit-tap-highlight-color: transparent;
}

:where(a, button, summary):focus-visible {
    outline: 3px solid var(--polish-blue);
    outline-offset: 4px;
}

main > section {
    scroll-margin-top: 88px;
}

.section-stack {
    padding-block: var(--polish-section);
}

.section-head {
    display: grid;
    max-width: 720px;
    gap: 14px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.section-head p {
    max-width: 62ch;
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.65;
}

/* Hero */

.hero {
    display: grid;
    align-items: center;
    min-height: min(820px, calc(100svh - 72px));
    padding-block: clamp(64px, 8vw, 112px);
}

.hero h1 {
    max-width: 12ch;
    margin-block: 14px 24px;
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    line-height: 0.99;
    letter-spacing: -0.038em;
}

.hero p {
    max-width: 58ch;
}

.hero-visual {
    align-self: center;
    justify-self: end;
    width: min(100%, 470px);
}

.hero [aria-label="Primary product signals"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
}

.hero [aria-label="Primary product signals"] > * {
    min-width: 0;
    padding: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.hero [aria-label="Primary product signals"] > * + * {
    border-left: 1px solid var(--polish-border);
}

/* Product delivery: one composed surface instead of three floating cards */

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
}

.delivery-card {
    display: grid;
    align-content: start;
    min-height: 350px;
    gap: 20px;
    padding: clamp(26px, 3vw, 36px);
    border: 0;
    border-radius: 0;
    background: transparent;
}

.delivery-card + .delivery-card {
    border-left: 1px solid var(--polish-border);
}

.delivery-card h3 {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.delivery-card p {
    margin: 0;
    line-height: 1.6;
}

.delivery-kicker {
    color: var(--polish-blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.delivery-list,
.coach-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.delivery-list li,
.coach-list li {
    position: relative;
    padding-left: 18px;
}

.delivery-list li::before,
.coach-list li::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--polish-blue);
    content: "";
}

/* Trust facts become a quiet, aligned strip */

.facts {
    padding-block: clamp(56px, 7vw, 88px);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border-block: 1px solid var(--polish-border);
}

.facts-grid > * {
    min-width: 0;
    padding: 28px clamp(20px, 3vw, 32px);
    border: 0;
    border-radius: 0;
    background: transparent;
}

.facts-grid > * + * {
    border-left: 1px solid var(--polish-border);
}

/* Scores keep the existing content but gain a deliberate bento rhythm */

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.bento > * {
    min-width: 0;
    min-height: 300px;
    padding: clamp(26px, 3vw, 36px);
    border-color: var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
    box-shadow: none;
}

.bento > :nth-child(1),
.bento > :nth-child(4) {
    grid-column: span 7;
}

.bento > :nth-child(2),
.bento > :nth-child(3) {
    grid-column: span 5;
}

.bento h3 {
    margin-top: 0;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    letter-spacing: -0.025em;
}

/* Daily stress story */

.stress-story-section {
    border-block: 1px solid var(--polish-border);
    background: #0b0d10;
}

.stress-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.28fr);
    gap: 16px;
    align-items: start;
}

.stress-chart-shell,
.stress-summary {
    border: 1px solid var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
    align-self: start;
}

.stress-chart-shell {
    min-width: 0;
    overflow: hidden;
}

.stress-chart-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px 18px;
    border-bottom: 1px solid var(--polish-border);
}

.stress-chart-head h3 {
    margin: 5px 0 0;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    letter-spacing: -0.02em;
}

.chart-kicker {
    color: var(--polish-blue-hover);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chart-data-key {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.chart-data-key span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--polish-muted);
    font-size: 0.72rem;
}

.key-line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--polish-blue-hover);
}

.key-line.estimated {
    background: repeating-linear-gradient(90deg, var(--polish-blue-hover) 0 4px, transparent 4px 7px);
}

.stress-chart-viewport {
    padding: 14px 20px 8px;
}

.stress-chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.stress-zones rect {
    opacity: 0.055;
}

.zone-overload {
    fill: #ff4558;
}

.zone-pressured {
    fill: #ffbe0b;
}

.zone-optimized {
    fill: var(--polish-blue);
}

.zone-restored {
    fill: #34c759;
}

.stress-grid line {
    stroke: #343a44;
    stroke-width: 1;
    shape-rendering: crispEdges;
}

.stress-y-axis text,
.stress-x-axis text {
    fill: #7f858f;
    font-family: "General Sans", sans-serif;
    font-size: 11px;
}

.stress-y-axis text {
    text-anchor: end;
}

.stress-x-axis text {
    text-anchor: middle;
}

.stress-zone-labels text {
    font-family: "General Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.label-overload {
    fill: #ff7784;
}

.label-pressured {
    fill: #ffd05d;
}

.label-optimized {
    fill: #6aa8fa;
}

.label-restored {
    fill: #70e7a5;
}

.stress-area {
    fill: url("#stressAreaGradient");
}

.stress-line {
    fill: none;
    stroke: url("#stressLineGradient");
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.estimated-line {
    stroke-dasharray: 6 6;
    opacity: 0.7;
}

.point-halo {
    fill: #ff4558;
    opacity: 0.16;
}

.point-recovery .point-halo {
    fill: var(--polish-blue);
}

.point-core {
    fill: #fffcf6;
    stroke: #ff4558;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.point-recovery .point-core {
    stroke: var(--polish-blue);
}

.stress-annotation path {
    fill: none;
    stroke: #747b86;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.stress-annotation text {
    fill: var(--polish-ink);
    font-family: "General Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.stress-annotation .annotation-detail {
    fill: #9ca1a9;
    font-size: 10px;
    font-weight: 400;
}

.stress-summary {
    display: grid;
    align-content: start;
    gap: 0;
    overflow: hidden;
}

.stress-now {
    display: grid;
    justify-items: start;
    padding: 28px;
    border-bottom: 1px solid var(--polish-border);
}

.stress-now > span {
    color: var(--polish-muted);
    font-size: 0.8rem;
}

.stress-now strong {
    margin-top: 10px;
    color: var(--polish-ink);
    font-family: "Satoshi", sans-serif;
    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: 0.82;
    letter-spacing: -0.06em;
}

.stress-now small {
    margin-top: 14px;
    color: #6aa8fa;
    font-size: 0.86rem;
    font-weight: 600;
}

.stress-stats {
    display: grid;
    margin: 0;
}

.stress-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--polish-border);
}

.stress-stats dt {
    color: var(--polish-muted);
    font-size: 0.76rem;
}

.stress-stats dd {
    margin: 0;
    color: var(--polish-ink);
    font-size: 0.86rem;
    font-weight: 600;
    text-align: right;
}

.chart-insight,
.chart-caveat {
    margin: 0;
    padding: 20px;
}

.chart-insight {
    display: grid;
    gap: 7px;
    color: var(--polish-muted);
    font-size: 0.86rem;
}

.chart-insight strong {
    color: var(--polish-ink);
}

.chart-caveat {
    padding-top: 0;
    color: #7f858f !important;
    font-size: 0.72rem;
    line-height: 1.45;
}

.stress-moments {
    display: none;
}

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

/* Differentiators */

.differentiators {
    background:
        radial-gradient(circle at 78% 18%, rgba(10, 110, 245, 0.12), transparent 34%),
        var(--polish-page);
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.difference-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 390px;
    overflow: hidden;
    padding: clamp(28px, 3.6vw, 44px);
    border: 1px solid var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
}

.difference-card h3 {
    max-width: 18ch;
    margin: 12px 0 16px;
    font-size: clamp(1.65rem, 2.7vw, 2.5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.difference-card p {
    max-width: 58ch;
    margin: 0;
}

.difference-label {
    color: var(--polish-blue-hover);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.difference-bio {
    grid-column: span 5;
    align-content: space-between;
    gap: 28px;
}

.bio-age-readout {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    width: fit-content;
}

.bio-age-number {
    color: var(--polish-ink);
    font-family: "Satoshi", sans-serif;
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.72;
    letter-spacing: -0.07em;
}

.bio-age-unit {
    padding-bottom: 4px;
    color: var(--polish-muted);
    font-size: 1rem;
}

.bio-age-offset {
    grid-column: 1 / -1;
    width: fit-content;
    margin-top: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #103423;
    color: #70e7a5;
    font-size: 0.82rem;
    font-weight: 600;
}

.signal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.signal-chips span {
    padding: 7px 10px;
    border: 1px solid var(--polish-border);
    border-radius: 999px;
    color: var(--polish-muted);
    font-size: 0.75rem;
}

.difference-clock {
    grid-column: span 7;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(circle at 78% 50%, rgba(255, 69, 88, 0.12), transparent 38%),
        var(--polish-surface);
}

.runway-visual {
    position: relative;
    aspect-ratio: 1;
    width: min(100%, 260px);
    justify-self: end;
}

.runway-visual svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.runway-track,
.runway-progress {
    fill: none;
    stroke-width: 5;
}

.runway-track {
    stroke: #292e37;
}

.runway-progress {
    stroke: #ff4558;
    stroke-linecap: round;
    stroke-dasharray: 553;
    stroke-dashoffset: 138;
}

.runway-marker {
    fill: #ffbe3d;
    filter: drop-shadow(0 0 7px rgba(255, 190, 61, 0.7));
}

.runway-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 4px;
    text-align: center;
}

.runway-center strong {
    color: var(--polish-ink);
    font-family: "Satoshi", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.runway-center span {
    max-width: 11ch;
    color: var(--polish-muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.difference-note {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--polish-border);
    color: #d8b68a !important;
    font-size: 0.78rem;
}

.difference-sedentary {
    grid-column: span 7;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
    align-items: center;
    gap: 36px;
}

.activity-measure {
    display: grid;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--polish-border);
    border-radius: 12px;
    background: #0c0e11;
}

.activity-measure-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.activity-measure-head strong {
    color: var(--polish-ink);
}

.activity-measure-head span {
    color: var(--polish-muted);
    font-size: 0.75rem;
}

.activity-timeline {
    display: grid;
    grid-template-columns: repeat(12, minmax(5px, 1fr));
    align-items: end;
    gap: 5px;
    height: 84px;
}

.activity-timeline span {
    min-height: 18px;
    border-radius: 3px;
}

.activity-timeline span:nth-child(3n + 1) {
    height: 74%;
}

.activity-timeline span:nth-child(3n + 2) {
    height: 48%;
}

.activity-timeline span:nth-child(3n) {
    height: 28%;
}

.activity-timeline .active,
.legend-dot.active {
    background: var(--polish-blue);
}

.activity-timeline .idle,
.legend-dot.idle {
    background: #353b45;
}

.activity-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.activity-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--polish-muted);
    font-size: 0.75rem;
}

.legend-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.difference-pace {
    grid-column: span 5;
    align-content: space-between;
    gap: 30px;
}

.pace-readout {
    position: relative;
    display: grid;
    place-content: center;
    aspect-ratio: 1;
    width: min(220px, 70%);
    justify-self: center;
    text-align: center;
}

.pace-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid #39414d;
    border-radius: 50%;
}

.pace-orbit::before,
.pace-orbit::after {
    position: absolute;
    border: 1px solid #252a32;
    border-radius: 50%;
    content: "";
}

.pace-orbit::before {
    inset: 14%;
}

.pace-orbit::after {
    inset: 29%;
}

.pace-readout strong,
.pace-readout > span:last-child {
    position: relative;
    z-index: 1;
}

.pace-readout strong {
    color: var(--polish-ink);
    font-family: "Satoshi", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.pace-readout > span:last-child {
    color: #70e7a5;
    font-size: 0.78rem;
}

.difference-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    overflow: hidden;
    border-block: 1px solid var(--polish-border);
}

.difference-rail > div {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 24px clamp(18px, 2.6vw, 30px);
}

.difference-rail > div + div {
    border-left: 1px solid var(--polish-border);
}

.difference-rail strong {
    color: var(--polish-ink);
}

.difference-rail span {
    color: var(--polish-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Product photography */

.photo-band {
    overflow: hidden;
    border-block: 1px solid var(--polish-border);
    background: var(--polish-surface);
}

.photo-band img {
    display: block;
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: center;
}

.photo-band figcaption {
    max-width: 62ch;
    color: var(--polish-muted);
}

/* Coaching and process sections */

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 88px);
}

.coach-panel {
    border-color: var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface-raised);
    box-shadow: none;
}

.steps-grid,
.how-grid,
.pricing-grid {
    gap: 16px;
}

.steps-grid > *,
.how-grid > *,
.pricing-grid > * {
    border-color: var(--polish-border);
    border-radius: var(--polish-radius);
    background: var(--polish-surface);
    box-shadow: none;
}

/* FAQ */

details {
    border-color: var(--polish-border);
}

summary {
    min-height: 56px;
    color: var(--polish-ink);
    cursor: pointer;
}

details[open] summary {
    color: var(--polish-blue-hover);
}

/* Static launch treatments must read as intentionally unavailable */

[aria-label="Vytalio launch in progress"],
[aria-label$="plan coming soon"] {
    border-color: var(--polish-blue);
    background: var(--polish-blue);
    color: #fff;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

/* Interaction consistency */

@media (hover: hover) {
    a {
        transition:
            color 180ms var(--polish-ease),
            border-color 180ms var(--polish-ease),
            background-color 180ms var(--polish-ease);
    }

    .bento > *,
    .coach-panel {
        transition:
            border-color 220ms var(--polish-ease),
            background-color 220ms var(--polish-ease),
            transform 220ms var(--polish-ease);
    }

    .bento > *:hover,
    .coach-panel:hover {
        border-color: #39414d;
        background: var(--polish-surface-raised);
        transform: translateY(-2px);
    }
}

/* Tablet */

@media (max-width: 900px) {
    :root {
        --polish-section: clamp(64px, 10vw, 88px);
    }

    .hero {
        min-height: auto;
    }

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

    .delivery-card {
        min-height: auto;
    }

    .delivery-card + .delivery-card {
        border-top: 1px solid var(--polish-border);
        border-left: 0;
    }

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

    .facts-grid > * + * {
        border-top: 1px solid var(--polish-border);
        border-left: 0;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .difference-bio,
    .difference-clock,
    .difference-sedentary,
    .difference-pace {
        grid-column: span 12;
    }

    .stress-story {
        grid-template-columns: 1fr;
    }

    .stress-summary {
        grid-template-columns: minmax(150px, 0.4fr) 1fr;
    }

    .stress-now {
        grid-row: span 2;
        border-right: 1px solid var(--polish-border);
        border-bottom: 0;
    }

    .chart-insight,
    .chart-caveat {
        grid-column: 1 / -1;
    }

    .bento > * {
        grid-column: span 6;
    }
}

/* Mobile */

@media (max-width: 620px) {
    :root {
        --polish-gutter: 16px;
        --polish-section: 64px;
    }

    html {
        scroll-padding-top: 72px;
    }

    main > section {
        scroll-margin-top: 72px;
    }

    .section-head {
        gap: 12px;
        margin-bottom: 28px;
    }

    .section-head h2 {
        max-width: 18ch;
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.04;
    }

    .hero {
        padding-block: 48px 64px;
    }

    .hero h1 {
        max-width: 11ch;
        margin-block: 12px 20px;
        font-size: clamp(2.65rem, 12vw, 3.5rem);
        line-height: 1;
    }

    .hero-visual {
        justify-self: stretch;
        width: 100%;
    }

    .hero [aria-label="Primary product signals"] {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .hero [aria-label="Primary product signals"] > * {
        padding: 12px 16px;
    }

    .hero [aria-label="Primary product signals"] > * + * {
        border-top: 1px solid var(--polish-border);
        border-left: 0;
    }

    .delivery-card,
    .bento > *,
    .steps-grid > *,
    .how-grid > *,
    .pricing-grid > * {
        padding: 24px;
    }

    .delivery-card {
        gap: 16px;
    }

    .facts {
        padding-block: 48px;
    }

    .facts-grid > * {
        padding: 22px 0;
    }

    .bento {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bento > * {
        grid-column: 1;
        min-height: 0;
    }

    .difference-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stress-chart-head {
        align-items: flex-start;
        padding: 20px;
    }

    .stress-chart-viewport {
        overflow-x: hidden;
        padding: 10px 4px 4px;
    }

    .stress-chart {
        width: 118%;
        max-width: none;
        margin-left: -9%;
    }

    .stress-zone-labels,
    .stress-y-axis,
    .stress-annotation {
        display: none;
    }

    .stress-moments {
        display: grid;
        gap: 0;
        border-top: 1px solid var(--polish-border);
    }

    .stress-moments > div {
        display: grid;
        grid-template-columns: 10px 1fr;
        gap: 12px;
        align-items: start;
        padding: 16px 20px;
    }

    .stress-moments > div + div {
        border-top: 1px solid var(--polish-border);
    }

    .stress-moments p {
        display: grid;
        gap: 3px;
        margin: 0;
    }

    .stress-moments strong {
        color: var(--polish-ink);
        font-size: 0.82rem;
    }

    .stress-moments p span {
        color: var(--polish-muted);
        font-size: 0.76rem;
    }

    .moment-dot {
        width: 8px;
        height: 8px;
        margin-top: 5px;
        border-radius: 50%;
    }

    .moment-dot.peak {
        background: #ff4558;
    }

    .moment-dot.recovery {
        background: var(--polish-blue);
    }

    .stress-summary {
        grid-template-columns: 1fr;
    }

    .stress-now {
        grid-row: auto;
        border-right: 0;
        border-bottom: 1px solid var(--polish-border);
    }

    .stress-stats > div {
        padding-inline: 20px;
    }

    .difference-card {
        grid-column: 1;
        min-height: 0;
        padding: 24px;
    }

    .difference-clock,
    .difference-sedentary {
        grid-template-columns: 1fr;
    }

    .runway-visual {
        width: min(220px, 72vw);
        justify-self: center;
    }

    .activity-measure {
        padding: 18px;
    }

    .activity-measure-head {
        display: grid;
        gap: 3px;
    }

    .difference-rail {
        grid-template-columns: 1fr;
        margin-top: 12px;
    }

    .difference-rail > div {
        padding: 20px 0;
    }

    .difference-rail > div + div {
        border-top: 1px solid var(--polish-border);
        border-left: 0;
    }

    .photo-band img {
        min-height: 320px;
    }

    .split {
        gap: 32px;
    }

    summary {
        min-height: 52px;
    }
}

@media (pointer: coarse) {
    :where(a, button, summary) {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
