:root {
    --forest-950: #102826;
    --forest-900: #183a37;
    --forest-800: #24504b;
    --forest-700: #326760;
    --forest-100: #dfece7;
    --cream-50: #fdfbf6;
    --cream-100: #f7f1e6;
    --cream-200: #ede2d1;
    --ink: #1c2927;
    --muted: #66736f;
    --line: rgba(28, 41, 39, 0.12);
    --white: #ffffff;
    --gold: #d69b35;
    --gold-soft: #f8e9c4;
    --coral: #d85c4a;
    --coral-soft: #fbe7e3;
    --green: #2f8a62;
    --green-soft: #e1f2e9;
    --sky: #6fa8aa;
    --sky-soft: #e0f0f0;
    --shadow-sm: 0 8px 24px rgba(24, 58, 55, 0.08);
    --shadow-md: 0 18px 52px rgba(24, 58, 55, 0.13);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(214, 155, 53, 0.09), transparent 30rem),
        linear-gradient(180deg, var(--cream-50) 0%, #faf7f0 100%);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(214, 155, 53, 0.48);
    outline-offset: 3px;
}

.site-shell {
    width: min(1120px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: 28px;
}

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 15px 15px 15px 5px;
    color: var(--cream-50);
    background: var(--forest-900);
    box-shadow: 0 8px 18px rgba(24, 58, 55, 0.2);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.brand small {
    margin-top: 1px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 650;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
    color: var(--forest-900);
    background: rgba(255, 255, 255, 0.7);
}

.main-nav a.is-active:not(.nav-cta) {
    color: var(--forest-900);
    background: var(--forest-100);
}

.main-nav .nav-cta {
    margin-left: 8px;
    padding-inline: 17px;
    color: var(--white);
    background: var(--forest-900);
    box-shadow: 0 7px 18px rgba(24, 58, 55, 0.16);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active {
    color: var(--white);
    background: var(--forest-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

.page-content {
    padding: 18px 0 64px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    min-height: 330px;
    padding: 58px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--forest-900);
    box-shadow: var(--shadow-md);
    isolation: isolate;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    content: "";
}

.hero::before {
    right: -80px;
    bottom: -150px;
    width: 520px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    transform: rotate(-12deg);
}

.hero::after {
    right: 100px;
    bottom: -185px;
    width: 560px;
    height: 340px;
    border-radius: 50% 50% 0 0;
    background: rgba(255, 255, 255, 0.055);
    transform: rotate(11deg);
}

.hero--children {
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.15), transparent 15rem),
        linear-gradient(135deg, #315c64, #244346);
}

.hero > div:first-child {
    align-self: center;
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f1c974;
}

.hero h1,
.page-intro h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 6vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero p {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.04rem;
    line-height: 1.72;
}

.hero-emblem {
    position: relative;
    display: grid;
    align-self: center;
    width: 150px;
    height: 150px;
    place-items: center;
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 13px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(4px);
}

.hero-emblem svg {
    width: 65px;
    height: 65px;
    overflow: visible;
    fill: none;
    stroke: #f3ca70;
    stroke-width: 3.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.18));
}

.hero--children .hero-emblem svg {
    fill: rgba(243, 202, 112, 0.16);
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: calc(100% - 80px);
    margin: -34px auto 52px;
}

.stat-card {
    padding: 20px 23px;
    border: 1px solid rgba(28, 41, 39, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.stat-card span,
.stat-card strong {
    display: block;
}

.stat-card span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stat-card strong {
    color: var(--forest-950);
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 0 4px 20px;
    gap: 20px;
}

.section-heading .eyebrow {
    margin-bottom: 4px;
}

.section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    letter-spacing: -0.04em;
}

.text-link {
    flex: 0 0 auto;
    padding-bottom: 4px;
    color: var(--forest-700);
    font-size: 0.86rem;
    font-weight: 800;
    text-underline-offset: 4px;
}

.ranking-list {
    display: grid;
    gap: 10px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 94px;
    padding: 15px 22px 15px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ranking-row:hover {
    border-color: rgba(24, 58, 55, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.ranking-row.position-1 {
    border-color: rgba(214, 155, 53, 0.34);
    background:
        linear-gradient(90deg, rgba(248, 233, 196, 0.55), transparent 45%),
        rgba(255, 255, 255, 0.88);
}

.ranking-position {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: var(--muted);
    background: var(--cream-100);
    font-size: 1.25rem;
    font-weight: 900;
}

.ranking-row.is-podium .ranking-position {
    background: var(--white);
    box-shadow: 0 6px 16px rgba(28, 41, 39, 0.08);
    font-size: 1.1rem;
}

.ranking-row.position-1 .ranking-position {
    color: #79551d;
    border: 1px solid rgba(214, 155, 53, 0.34);
    background: var(--gold-soft);
}

.ranking-row.position-2 .ranking-position {
    color: #596968;
    border: 1px solid rgba(103, 122, 119, 0.22);
    background: #edf1f0;
}

.ranking-row.position-3 .ranking-position {
    color: #855c45;
    border: 1px solid rgba(163, 103, 70, 0.2);
    background: #f5e7df;
}

.ranking-person h2 {
    margin: 0 0 3px;
    color: var(--forest-950);
    font-size: 1.04rem;
    letter-spacing: -0.025em;
}

.ranking-person p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.ranking-score {
    min-width: 92px;
    padding-left: 20px;
    text-align: right;
}

.ranking-score strong,
.ranking-score span {
    display: block;
}

.ranking-score strong {
    font-size: 1.52rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ranking-score span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
}

.is-positive {
    color: var(--green) !important;
}

.is-negative {
    color: var(--coral) !important;
}

.is-neutral {
    color: var(--muted) !important;
}

.page-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding: 54px 4px 42px;
}

.page-intro > div {
    max-width: 730px;
}

.page-intro h1 {
    color: var(--forest-950);
    font-size: clamp(2.3rem, 5.5vw, 4rem);
}

.page-intro p {
    max-width: 670px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.page-intro--form {
    padding-bottom: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: var(--white);
    background: var(--forest-900);
    box-shadow: 0 9px 22px rgba(24, 58, 55, 0.16);
}

.button--primary:hover {
    background: var(--forest-700);
}

.button--secondary {
    color: var(--forest-900);
    border-color: var(--forest-100);
    background: var(--forest-100);
}

.button--large {
    min-height: 54px;
    padding-inline: 26px;
}

.button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.filter-tabs {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 24px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.filter-tabs a {
    padding: 8px 15px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.filter-tabs a.is-active {
    color: var(--white);
    background: var(--forest-900);
}

.activity-list {
    display: grid;
    gap: 13px;
}

.activity-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
}

.activity-score {
    display: grid;
    width: 80px;
    height: 80px;
    place-items: center;
    border-radius: 22px;
    background: var(--cream-100);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.activity-score.is-positive {
    background: var(--green-soft);
}

.activity-score.is-negative {
    background: var(--coral-soft);
}

.activity-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 16px;
}

.activity-meta time {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
}

.type-badge {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.type-badge--familia {
    color: var(--forest-800);
    background: var(--forest-100);
}

.type-badge--nino {
    color: #37666e;
    background: var(--sky-soft);
}

.activity-body h2 {
    margin: 0;
    color: var(--forest-950);
    font-size: 1.03rem;
    letter-spacing: -0.02em;
}

.activity-family {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.activity-body blockquote {
    margin: 14px 0 0;
    padding-left: 15px;
    border-left: 3px solid var(--gold);
    color: #4f5e5a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.55;
}

.results-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    text-align: center;
}

.empty-state {
    display: grid;
    min-height: 330px;
    padding: 50px 24px;
    place-items: center;
    align-content: center;
    border: 1px dashed rgba(24, 58, 55, 0.24);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.54);
    text-align: center;
}

.empty-state-icon {
    margin-bottom: 11px;
    font-size: 2.5rem;
}

.empty-state h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.empty-state p {
    max-width: 500px;
    margin: 10px 0 20px;
    color: var(--muted);
}

.empty-state code {
    padding: 2px 5px;
    border-radius: 5px;
    background: var(--cream-200);
}

.flash,
.validation-summary,
.setup-warning {
    border-radius: var(--radius-md);
}

.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    padding: 15px 18px;
    color: #246546;
    border: 1px solid rgba(47, 138, 98, 0.2);
    background: var(--green-soft);
    font-weight: 750;
}

.flash-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--green);
}

.validation-summary {
    margin-bottom: 18px;
    padding: 18px 20px;
    color: #92382e;
    border: 1px solid rgba(216, 92, 74, 0.25);
    background: var(--coral-soft);
}

.validation-summary ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.setup-warning {
    display: flex;
    align-items: start;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px 20px;
    color: #6e521e;
    border: 1px solid rgba(214, 155, 53, 0.28);
    background: var(--gold-soft);
}

.setup-warning > span {
    font-size: 1.4rem;
}

.setup-warning strong,
.setup-warning p {
    display: block;
}

.setup-warning p {
    margin: 3px 0 0;
    font-size: 0.87rem;
}

.points-form {
    display: grid;
    gap: 18px;
}

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

.form-card {
    position: relative;
    padding: 27px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
}

.form-card--wide {
    grid-column: 1 / -1;
}

.form-step {
    position: absolute;
    top: 18px;
    right: 21px;
    color: var(--cream-200);
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 1;
}

.field-heading {
    position: relative;
    z-index: 1;
    padding-right: 46px;
}

.field-heading label {
    display: block;
    color: var(--forest-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.34rem;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.field-heading p {
    max-width: 620px;
    margin: 5px 0 20px;
    color: var(--muted);
    font-size: 0.82rem;
}

input,
select,
textarea {
    width: 100%;
    color: var(--ink);
    border: 1px solid rgba(28, 41, 39, 0.17);
    border-radius: 13px;
    background: var(--cream-50);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input,
select {
    min-height: 52px;
    padding: 0 15px;
}

select {
    appearance: none;
    padding-right: 46px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--forest-700) 50%),
        linear-gradient(135deg, var(--forest-700) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 23px,
        calc(100% - 15px) 23px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

textarea {
    min-height: 125px;
    padding: 15px;
    resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(24, 58, 55, 0.35);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--forest-700);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(50, 103, 96, 0.11);
}

.points-input-wrap {
    position: relative;
}

.points-input-wrap input {
    height: 78px;
    padding: 0 70px 0 18px;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.points-input-wrap > span {
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.quick-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.quick-points button {
    min-width: 48px;
    padding: 7px 10px;
    border: 0;
    border-radius: 9px;
    background: var(--cream-100);
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.quick-points button.is-positive {
    background: var(--green-soft);
}

.quick-points button.is-negative {
    background: var(--coral-soft);
}

.field-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.7rem;
}

.field-footer span:last-child {
    flex: 0 0 auto;
}

.movement-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 19px 18px 23px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    background: rgba(16, 40, 38, 0.95);
    box-shadow: 0 20px 50px rgba(16, 40, 38, 0.24);
    backdrop-filter: blur(16px);
}

.movement-preview p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.movement-preview p strong {
    color: var(--white);
}

.preview-label {
    color: #edc36a;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.movement-preview .button {
    flex: 0 0 auto;
    color: var(--forest-950);
    background: #f3ca70;
    box-shadow: none;
}

.movement-preview .button:hover {
    background: #ffda89;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 26px 0 34px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.76rem;
}

.site-footer span:first-child {
    color: var(--forest-800);
    font-weight: 850;
}

@media (max-width: 820px) {
    .site-shell {
        width: min(100% - 24px, 720px);
    }

    .site-header {
        min-height: 78px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-md);
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        padding: 12px 14px;
    }

    .main-nav .nav-cta {
        margin: 4px 0 0;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr 100px;
        min-height: 300px;
        padding: 40px;
    }

    .hero-emblem {
        width: 100px;
        height: 100px;
    }

    .hero-emblem svg {
        width: 48px;
        height: 48px;
    }

    .stats-grid {
        width: calc(100% - 32px);
    }
}

@media (max-width: 640px) {
    .page-content {
        padding-top: 8px;
    }

    .hero {
        display: block;
        min-height: 365px;
        padding: 34px 25px 125px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero p {
        margin-top: 18px;
        font-size: 0.91rem;
        line-height: 1.6;
    }

    .hero-emblem {
        position: absolute;
        right: 24px;
        bottom: 20px;
        width: 90px;
        height: 90px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        width: calc(100% - 22px);
        margin-top: -27px;
        margin-bottom: 40px;
    }

    .stat-card {
        min-width: 0;
        padding: 14px 10px;
        border-radius: 14px;
        text-align: center;
    }

    .stat-card span {
        overflow: hidden;
        font-size: 0.58rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .stat-card strong {
        font-size: 1.25rem;
    }

    .section-heading {
        align-items: start;
    }

    .text-link {
        font-size: 0.74rem;
    }

    .ranking-row {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        min-height: 82px;
        padding: 12px 14px 12px 9px;
        border-radius: 16px;
    }

    .ranking-position {
        width: 42px;
        height: 42px;
    }

    .ranking-person h2 {
        font-size: 0.92rem;
    }

    .ranking-person p {
        font-size: 0.67rem;
    }

    .ranking-score {
        min-width: 68px;
        padding-left: 8px;
    }

    .ranking-score strong {
        font-size: 1.22rem;
    }

    .page-intro {
        display: block;
        padding: 34px 3px 28px;
    }

    .page-intro h1 {
        font-size: 2.55rem;
    }

    .page-intro p {
        font-size: 0.9rem;
    }

    .page-intro .button {
        margin-top: 20px;
    }

    .activity-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
        padding: 17px 15px;
        border-radius: 16px;
    }

    .activity-score {
        width: 54px;
        height: 54px;
        border-radius: 15px;
        font-size: 1rem;
    }

    .activity-meta {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }

    .activity-body h2 {
        font-size: 0.9rem;
    }

    .activity-body blockquote {
        margin-top: 10px;
        font-size: 0.91rem;
    }

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

    .form-card,
    .form-card--wide {
        grid-column: auto;
        padding: 22px 18px;
    }

    .field-footer {
        display: block;
    }

    .field-footer span {
        display: block;
    }

    .field-footer span:last-child {
        margin-top: 4px;
        text-align: right;
    }

    .movement-preview {
        align-items: stretch;
        flex-direction: column;
        padding: 17px;
    }

    .movement-preview .button {
        width: 100%;
    }

    .site-footer {
        display: block;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .site-footer span {
        display: block;
    }
}

@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;
    }
}
