:root {
    --gfo-primary: #4f6b18;
    --gfo-secondary: #6b8e23;
    --gfo-accent: #b8860b;
    --gfo-bg: #f7faf3;
    --gfo-surface: #ffffff;
    --gfo-text: #2c3a1a;
    --gfo-muted: #5a6b4a;
    --gfo-border: #d7e2c8;
    --gfo-header-h: 72px;
    --gfo-page-w: 1120px;
    --gfo-radius: 20px;
    --gfo-font-display: "Figtree", "Noto Sans", sans-serif;
    --gfo-font-body: "Noto Sans", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body {
    font-family: var(--gfo-font-body);
    color: var(--gfo-text);
    background: var(--gfo-bg);
    line-height: 1.6;
    padding-top: var(--gfo-header-h);
    min-height: 100%;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gfo-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
    color: #4f6b18;
}

h1,
h2,
h3 {
    font-family: var(--gfo-font-display);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

p {
    margin: 0 0 1rem;
}

[hidden] {
    display: none !important;
}

.gfo-o-wrap {
    max-width: var(--gfo-page-w);
    margin: 0 auto;
    padding: 0 20px;
}

.gfo-o-section {
    padding: 3.5rem 0;
}

.gfo-o-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 901px) {
    .gfo-o-layout {
        grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
        align-items: start;
    }

    .gfo-c-aside-card {
        position: sticky;
        top: calc(var(--gfo-header-h) + 16px);
    }
}

.gfo-c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--gfo-header-h);
    background: #f7faf3;
    border-bottom: 1px solid var(--gfo-border);
}

.gfo-c-header__bar {
    height: var(--gfo-header-h);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gfo-c-header__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.gfo-c-header__mark {
    display: block;
    width: 180px;
    height: 40px;
}

.gfo-c-header__nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

.gfo-c-header__link {
    color: var(--gfo-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.gfo-c-header__link:hover,
.gfo-c-header__link.gfo-is-active {
    color: var(--gfo-primary);
}

.gfo-c-header__cta {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.gfo-c-header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    margin-left: auto;
    cursor: pointer;
    padding: 10px;
}

.gfo-c-header__burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--gfo-text);
    border-radius: 2px;
}

.gfo-c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    border: 2px solid transparent;
    font-family: var(--gfo-font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gfo-c-btn--primary {
    background: #3d5412;
    color: #ffffff;
    border-color: #3d5412;
}

.gfo-c-btn--primary:hover,
.gfo-c-btn--primary:focus-visible {
    background: #2f410d;
    border-color: #2f410d;
    color: #ffffff;
}

.gfo-c-btn--ghost {
    background: #ffffff;
    color: #3d5412;
    border-color: #3d5412;
}

.gfo-c-btn--ghost:hover,
.gfo-c-btn--ghost:focus-visible {
    background: #3d5412;
    color: #ffffff;
    border-color: #3d5412;
}

.gfo-c-sheet-overlay {
    position: fixed;
    inset: var(--gfo-header-h) 0 0;
    background: rgba(44, 58, 26, 0.45);
    z-index: 1100;
}

.gfo-c-sheet {
    position: fixed;
    top: var(--gfo-header-h);
    left: 0;
    right: 0;
    z-index: 1200;
    background: #fff;
    border-bottom: 1px solid var(--gfo-border);
    max-height: calc(100dvh - var(--gfo-header-h));
    overflow: auto;
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-8px);
    animation: gfo-slide 0.25s ease both;
}

@keyframes gfo-slide {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gfo-c-sheet__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.gfo-c-sheet__label {
    font-weight: 700;
    font-family: var(--gfo-font-display);
}

.gfo-c-sheet__close {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--gfo-bg);
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gfo-text);
}

.gfo-c-sheet__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gfo-c-sheet__nav a {
    color: var(--gfo-text);
    text-decoration: none;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
}

body.gfo-is-nav-open {
    overflow: hidden;
}

.gfo-c-hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: grid;
    align-items: end;
    color: #fff;
    background: #1d3b66 center / cover no-repeat;
}

.gfo-c-hero__media {
    position: absolute;
    inset: 0;
}

.gfo-c-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gfo-c-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 32, 12, 0.88) 0%, rgba(20, 32, 12, 0.55) 42%, rgba(20, 32, 12, 0.2) 100%);
}

.gfo-c-hero__panel {
    position: relative;
    z-index: 1;
    max-width: 40%;
    padding: 3rem 0 3.5rem;
}

.gfo-c-hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gfo-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gfo-c-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
}

.gfo-c-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 36ch;
}

.gfo-c-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.gfo-c-aside-card {
    background: var(--gfo-surface);
    border: 1px solid var(--gfo-border);
    border-radius: var(--gfo-radius);
    padding: 1.25rem;
}

.gfo-c-aside-card h2 {
    font-size: 1.05rem;
}

.gfo-c-aside-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--gfo-muted);
}

.gfo-c-aside-card li + li {
    margin-top: 0.4rem;
}

.gfo-c-week {
    background: var(--gfo-surface);
    border: 1px solid var(--gfo-border);
    border-radius: var(--gfo-radius);
    padding: 1.5rem;
}

.gfo-c-rank {
    display: grid;
    gap: 1.25rem;
}

.gfo-c-card {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 1.25rem;
    background: var(--gfo-surface);
    border: 1px solid var(--gfo-border);
    border-radius: var(--gfo-radius);
    overflow: hidden;
}

.gfo-c-card__media img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.gfo-c-card__body {
    padding: 1.25rem 1.25rem 1.25rem 0;
}

.gfo-c-card__rank {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gfo-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gfo-c-card__tag {
    display: inline-block;
    margin: 0.4rem 0 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #eef5e0;
    color: var(--gfo-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.gfo-c-card__meta {
    color: var(--gfo-muted);
    font-size: 0.9rem;
}

.gfo-c-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.gfo-c-faq__item {
    border: 1px solid var(--gfo-border);
    border-radius: var(--gfo-radius);
    background: var(--gfo-surface);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.gfo-c-faq__btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 1rem 1.2rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: var(--gfo-text);
}

.gfo-c-faq__panel {
    padding: 0 1.2rem 1.1rem;
    color: var(--gfo-muted);
}

.gfo-c-journal-preview {
    display: grid;
    gap: 0.85rem;
}

.gfo-c-journal-preview a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: var(--gfo-surface);
    border: 1px solid var(--gfo-border);
    text-decoration: none;
    color: var(--gfo-text);
}

.gfo-c-cta {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--gfo-radius);
    background: linear-gradient(135deg, #eef5e0, #f7faf3 55%, #f3edd8);
    border: 1px solid var(--gfo-border);
}

.gfo-c-footer {
    margin-top: 3rem;
    padding: 3rem 0 2rem;
    background: #eef3e6;
    border-top: 1px solid var(--gfo-border);
}

.gfo-c-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1.5rem;
}

.gfo-c-footer__brand {
    font-family: var(--gfo-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gfo-c-footer__heading {
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.gfo-c-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gfo-c-footer__list li + li {
    margin-top: 0.35rem;
}

.gfo-c-footer__list a,
.gfo-c-footer__cookie {
    color: var(--gfo-muted);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.gfo-c-footer__list a:hover,
.gfo-c-footer__cookie:hover {
    color: var(--gfo-primary);
}

.gfo-c-footer__legal {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gfo-border);
    color: var(--gfo-muted);
    font-size: 0.88rem;
}

.gfo-c-cookie {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 1400;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: min(560px, calc(100vw - 2rem));
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: #2c3a1a;
    color: #f7faf3;
    box-shadow: 0 10px 30px rgba(44, 58, 26, 0.25);
}

.gfo-c-cookie p {
    margin: 0;
    font-size: 0.88rem;
}

.gfo-c-cookie a {
    color: var(--gfo-accent);
}

.gfo-c-page {
    padding: 2.5rem 0 3rem;
}

.gfo-c-page__lead {
    color: var(--gfo-muted);
    max-width: 62ch;
}

.gfo-c-back {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--gfo-muted);
    text-decoration: none;
    font-weight: 500;
}

.gfo-c-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gfo-border);
    border-radius: var(--gfo-radius);
    background: var(--gfo-surface);
}

.gfo-c-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.gfo-c-table th,
.gfo-c-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gfo-border);
}

.gfo-c-table th {
    background: #eef5e0;
    font-size: 0.85rem;
}

.gfo-c-table tr:last-child td {
    border-bottom: 0;
}

.gfo-c-play-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gfo-c-play-stage {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--gfo-radius);
    overflow: hidden;
    border: 1px solid var(--gfo-border);
    background: #0b1a33;
    aspect-ratio: 9 / 16;
    max-height: min(80vh, 920px);
}

.gfo-c-play-stage iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.gfo-c-play-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 10px;
    background: #3d5412;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.gfo-c-play-close:hover {
    background: #2f410d;
    color: #ffffff;
}

.gfo-c-rules {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .gfo-c-rules {
        grid-template-columns: 1fr 1fr;
    }
}

.gfo-c-rules__card {
    background: var(--gfo-surface);
    border: 1px solid var(--gfo-border);
    border-radius: var(--gfo-radius);
    padding: 1.2rem;
}

.gfo-c-article {
    max-width: 760px;
}

.gfo-c-article h2 {
    margin-top: 2rem;
}

.gfo-c-readnext {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
}

@media (min-width: 700px) {
    .gfo-c-readnext {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gfo-c-readnext a {
    display: block;
    padding: 1rem;
    border-radius: var(--gfo-radius);
    border: 1px solid var(--gfo-border);
    background: var(--gfo-surface);
    text-decoration: none;
    color: var(--gfo-text);
}

.gfo-c-404 {
    text-align: center;
    padding: 4rem 1rem;
}

.gfo-c-404__floe {
    width: 120px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50% 50% 40% 40%;
    background: linear-gradient(180deg, #dff3ff, #8ec9f0);
    box-shadow: 0 8px 0 #6b8e23;
}

.gfo-c-form {
    display: grid;
    gap: 1rem;
    max-width: 640px;
}

.gfo-c-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.gfo-c-form input,
.gfo-c-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--gfo-border);
    border-radius: 12px;
    font: inherit;
    background: #fff;
}

.gfo-c-form textarea {
    min-height: 140px;
    resize: vertical;
}

.gfo-c-contact-meta {
    margin-top: 2rem;
    color: var(--gfo-muted);
}

.gfo-c-dl {
    display: grid;
    gap: 0.85rem;
}

.gfo-c-dl dt {
    font-weight: 700;
}

.gfo-c-dl dd {
    margin: 0.2rem 0 0;
    color: var(--gfo-muted);
}

html.js .gfo-c-reveal:not(.gfo-is-in) {
    opacity: 0;
    transform: translateY(12px);
}

html.js .gfo-c-reveal.gfo-is-in > * {
    animation: gfo-up 0.4s ease both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes gfo-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js .gfo-c-reveal:not(.gfo-is-in),
    html.js .gfo-c-reveal.gfo-is-in > *,
    .gfo-c-sheet {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }
}

@media (max-width: 1100px) {
    .gfo-c-header__nav,
    .gfo-c-header__cta {
        display: none;
    }

    .gfo-c-header__burger {
        display: block;
    }

    .gfo-c-header__mark {
        width: 130px;
        height: 29px;
    }
}

@media (max-width: 900px) {
    .gfo-c-hero__panel {
        max-width: 100%;
        padding: 2.5rem 0;
    }

    .gfo-c-card {
        grid-template-columns: 1fr;
    }

    .gfo-c-card__body {
        padding: 0 1.1rem 1.1rem;
    }

    .gfo-c-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .gfo-c-cookie {
        flex-direction: column;
        border-radius: 18px;
        align-items: stretch;
        text-align: center;
    }

    .gfo-c-footer__grid {
        grid-template-columns: 1fr;
    }

    .gfo-c-hero {
        min-height: auto;
    }

    .gfo-c-hero__actions .gfo-c-btn {
        width: 100%;
    }

    .gfo-c-play-stage {
        aspect-ratio: 9 / 16;
        max-height: 70vh;
    }
}
