:root {
    --ink: #0b1f1c;
    --ink-soft: #16352f;
    --paper: #f3efe6;
    --paper-2: #e7e1d4;
    --accent: #c8f547;
    --accent-ink: #10241f;
    --err: #b42318;
    --ok: #1b7a4a;
    --muted: #5c6b66;
    --line: rgba(11, 31, 28, 0.12);
    --font-display: "Syne", sans-serif;
    --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, #d9f99d55, transparent 55%),
        linear-gradient(165deg, #f7f3ea 0%, #e9e4d8 48%, #dfe9e4 100%);
    line-height: 1.5;
}

a {
    color: inherit;
}

.ol-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--paper) 82%, transparent);
    border-bottom: 1px solid var(--line);
}

.ol-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.ol-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ol-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.72;
}

.ol-nav a[aria-current="page"],
.ol-nav a:hover {
    opacity: 1;
}

.ol-hero {
    min-height: calc(100vh - 5.5rem);
    display: grid;
    align-items: end;
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem);
}

.ol-hero__plane {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 35%, #0b1f1ccc 35%, #0b1f1c 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='none' stroke='%2316352f' stroke-opacity='.18' stroke-width='1' d='M0 80h160M80 0v160'/%3E%3C/svg%3E");
    transform: scale(1.02);
    animation: ol-plane 14s ease-in-out infinite alternate;
}

.ol-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 38rem;
    color: var(--paper);
    animation: ol-rise 0.8s ease-out both;
}

.ol-brand-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    letter-spacing: -0.04em;
    margin: 0 0 0.35rem;
    line-height: 0.95;
    color: var(--accent);
}

.ol-hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.45rem, 3.2vw, 2.1rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.ol-lead {
    color: var(--muted);
    max-width: 40rem;
}

.ol-hero .ol-lead {
    color: color-mix(in srgb, var(--paper) 78%, transparent);
}

.ol-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ol-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    padding: 0.7rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ol-btn:hover {
    transform: translateY(-1px);
}

.ol-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.ol-btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.ol-btn--ghost {
    background: transparent;
    border-color: color-mix(in srgb, var(--paper) 45%, transparent);
    color: var(--paper);
}

.ol-page {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2.5rem) 4rem;
    max-width: 960px;
    margin: 0 auto;
    animation: ol-rise 0.55s ease-out both;
}

.ol-page h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.ol-form {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    max-width: 28rem;
}

.ol-form--inline {
    max-width: 20rem;
    margin-bottom: 1.5rem;
}

.ol-field {
    display: grid;
    gap: 0.35rem;
}

.ol-field > span:first-child {
    font-weight: 600;
    font-size: 0.92rem;
}

.ol-field input {
    font: inherit;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: #fffef9;
    color: var(--ink);
}

.ol-field input:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, var(--ink));
    outline-offset: 1px;
}

.ol-slug-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ol-slug-row input {
    flex: 1;
    min-width: 0;
}

.ol-slug-suffix {
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

.ol-hint {
    min-height: 1.25rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.ol-hint.is-ok {
    color: var(--ok);
}

.ol-hint.is-err {
    color: var(--err);
}

.ol-alert {
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--paper-2) 80%, #fff);
    border: 1px solid var(--line);
}

.ol-alert--err {
    border-color: color-mix(in srgb, var(--err) 35%, var(--line));
    color: var(--err);
}

.ol-alert--ok {
    border-color: color-mix(in srgb, var(--ok) 35%, var(--line));
    color: var(--ok);
}

.ol-market {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .ol-market {
        grid-template-columns: 1fr 1fr;
    }
}

.ol-mod {
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: color-mix(in srgb, #fffef9 88%, transparent);
    display: grid;
    gap: 0.4rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ol-mod:hover {
    border-color: color-mix(in srgb, var(--ink) 28%, var(--line));
    transform: translateY(-2px);
}

.ol-mod h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0;
    letter-spacing: -0.02em;
}

.ol-mod p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.ol-mod__cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.ol-mod__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.55rem;
}

.ol-price {
    font-weight: 700;
}

.ol-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--line);
}

@keyframes ol-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ol-plane {
    from {
        transform: scale(1.02) translateX(0);
    }
    to {
        transform: scale(1.05) translateX(-1.5%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
