:root {
    --bg: #f7f4ef;
    --bg-accent: #efe8dc;
    --text: #1c1917;
    --text-muted: #57534e;
    --border: #d6d0c4;
    --accent: #0f766e;
    --accent-hover: #0d5f59;
    --accent-soft: #ccfbf1;
    --card-bg: #ffffff;
    --focus: #0f766e;
    --max-width: 1100px;
    --space: 1.25rem;
    --radius: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, #d8f3ef 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, #f5e6c8 0%, transparent 45%),
        var(--bg);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-hover);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--text);
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(247, 244, 239, 0.92);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner,
.site-footer__inner,
.section-inner {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--accent);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--text);
}

@media (max-width: 600px) {
    .site-header__inner {
        padding: 0.85rem 0;
    }

    .site-header .nav {
        display: none;
    }

    .logo {
        font-size: 1rem;
        white-space: nowrap;
    }
}

.hero {
    padding: clamp(3rem, 10vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero__inner {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

.hero__brand {
    margin: 0 0 1.5rem;
    font-size: clamp(2.4rem, 7vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero__question {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.25;
    font-weight: 700;
}

.hero__lead {
    margin: 0 0 1rem;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    max-width: 36em;
}

.hero__note {
    margin: 0 0 2rem;
    color: var(--text-muted);
    max-width: 34em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    font-size: 1.1rem;
    padding: 1.05rem 1.85rem;
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.btn--secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--secondary:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section--alt {
    background: rgba(255, 255, 255, 0.45);
    border-block: 1px solid var(--border);
}

.section__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    letter-spacing: -0.02em;
}

.section__text {
    margin: 0 0 1.5rem;
    max-width: 40em;
    color: var(--text-muted);
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.steps li {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.25rem 1.35rem;
    counter-increment: step;
    position: relative;
    padding-top: 2.75rem;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.actions-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.action-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-card__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.action-card__meta {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.action-card__desc {
    margin: 0.25rem 0 0;
    color: var(--text);
}

.action-card__media {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.status-message {
    margin: 0;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--bg-accent);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.rules-short {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.rules-short li {
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.cta-block {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cta-block p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.35);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--text);
}

/* Secondary pages */
.page-hero {
    padding: 2.5rem 0 1.5rem;
}

.page-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -0.02em;
}

.page-hero p {
    margin: 0;
    color: var(--text-muted);
    max-width: 40em;
}

.content-list {
    margin: 0 0 2rem;
    padding-left: 1.25rem;
    max-width: 42em;
}

.content-list li {
    margin-bottom: 0.85rem;
}

.content-block {
    max-width: 42em;
    margin-bottom: 1.5rem;
}

.content-block p {
    margin: 0 0 1rem;
}

.not-found {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
}

.not-found h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

.not-found p {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}
