:root {
    --ffy-bg: #08111f;
    --ffy-panel: rgba(11, 20, 38, 0.84);
    --ffy-panel-strong: #101c33;
    --ffy-line: rgba(255, 255, 255, 0.1);
    --ffy-text: #f5f7fb;
    --ffy-muted: #b6c0d4;
    --ffy-primary: #ff8a00;
    --ffy-primary-dark: #dd6d00;
    --ffy-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ffy-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ffy-text);
    background:
        radial-gradient(circle at top left, rgba(255, 138, 0, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(110, 140, 255, 0.18), transparent 22%),
        linear-gradient(180deg, #09111f 0%, #0a1425 45%, #08111f 100%);
}

.ffy-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.ffy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0 18px;
}

.ffy-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ffy-text);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ffy-brand__logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px;
    box-shadow: var(--ffy-shadow);
}

.ffy-header__actions,
.ffy-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ffy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

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

.ffy-btn--primary {
    color: #101214;
    background: linear-gradient(135deg, #ffa126 0%, var(--ffy-primary) 100%);
    box-shadow: 0 18px 30px rgba(255, 138, 0, 0.2);
}

.ffy-btn--primary:hover {
    background: linear-gradient(135deg, #ffaf41 0%, var(--ffy-primary-dark) 100%);
}

.ffy-btn--ghost {
    color: var(--ffy-text);
    border-color: var(--ffy-line);
    background: rgba(255, 255, 255, 0.02);
}

.ffy-btn--block {
    width: 100%;
}

.ffy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffd49f;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ffy-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 34px;
    padding: 40px 0 28px;
}

.ffy-hero h1,
.ffy-join h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.35rem, 4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.ffy-hero p,
.ffy-section p,
.ffy-checklist li,
.ffy-form-card p {
    color: var(--ffy-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.ffy-card,
.ffy-feature,
.ffy-checklist,
.ffy-form-card,
.ffy-callout {
    border: 1px solid var(--ffy-line);
    background: var(--ffy-panel);
    backdrop-filter: blur(14px);
    box-shadow: var(--ffy-shadow);
}

.ffy-card--hero {
    padding: 34px;
    border-radius: 28px;
}

.ffy-card__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #9bc1ff;
    font-weight: 700;
}

.ffy-card--hero h2 {
    margin: 0 0 14px;
    font-size: 2rem;
    line-height: 1.15;
}

.ffy-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.ffy-card__list span,
.ffy-metrics li,
.ffy-checklist li {
    position: relative;
    padding-left: 18px;
}

.ffy-card__list span::before,
.ffy-checklist li::before,
.ffy-metrics li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb454 0%, #ff8a00 100%);
    transform: translateY(-50%);
}

.ffy-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ffy-metrics li,
.ffy-feature,
.ffy-checklist,
.ffy-form-card,
.ffy-callout {
    border-radius: 24px;
}

.ffy-metrics li {
    padding: 18px 18px 18px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ffy-metrics strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.ffy-metrics span {
    color: var(--ffy-muted);
    font-size: 0.95rem;
}

.ffy-section {
    margin-top: 28px;
}

.ffy-section--grid,
.ffy-requirements {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ffy-feature {
    padding: 24px;
}

.ffy-feature h3,
.ffy-checklist h2,
.ffy-form-card h2,
.ffy-callout h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
}

.ffy-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
}

.ffy-join {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ffy-join__intro {
    max-width: 860px;
}

.ffy-requirements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ffy-checklist,
.ffy-form-card {
    padding: 28px;
}

.ffy-checklist ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.ffy-form-wrap {
    display: flex;
    justify-content: center;
}

.ffy-form-card {
    width: min(760px, 100%);
}

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

.ffy-form label {
    display: grid;
    gap: 8px;
}

.ffy-form span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ecf1fb;
}

.ffy-form input,
.ffy-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ffy-text);
    font: inherit;
}

.ffy-form input:focus,
.ffy-form textarea:focus {
    outline: 2px solid rgba(255, 161, 38, 0.5);
    outline-offset: 1px;
    border-color: rgba(255, 161, 38, 0.5);
}

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

.ffy-form__full {
    grid-column: 1 / -1;
}

.ffy-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.ffy-alert--success {
    background: rgba(18, 122, 71, 0.2);
    border: 1px solid rgba(55, 205, 132, 0.28);
    color: #baf3d4;
}

.ffy-alert--error {
    background: rgba(181, 48, 65, 0.2);
    border: 1px solid rgba(250, 112, 134, 0.28);
    color: #ffd0d7;
}

@media (max-width: 960px) {
    .ffy-hero,
    .ffy-section--grid,
    .ffy-requirements,
    .ffy-form__grid,
    .ffy-metrics {
        grid-template-columns: 1fr;
    }

    .ffy-callout,
    .ffy-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffy-header__actions,
    .ffy-hero__actions {
        width: 100%;
    }

    .ffy-header__actions .ffy-btn,
    .ffy-hero__actions .ffy-btn,
    .ffy-callout .ffy-btn {
        width: 100%;
    }
}
