@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --teal-deep: #062f33;
    --teal-dark: #0a4d52;
    --teal: #0f6b70;
    --teal-bright: #14868a;
    --mint: #5eead4;
    --mint-soft: #ccfbf1;
    --teal-tint: #ecf8f7;
    --ink: #0d1f22;
    --ink-soft: #4b5f62;
    --line: #e2ecec;
    --surface: #ffffff;
    --surface-soft: #f4f9f9;
    --radius: 16px;
    --shadow: 0 22px 50px rgba(6, 47, 51, .16), 0 2px 8px rgba(6, 47, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #fff;
}

.brand-name span {
    color: var(--mint);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
    font-weight: 500;
}

.site-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, .78);
}

.site-nav a:hover {
    color: #fff;
}

.site-nav .lang-switch {
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.site-nav .lang-switch:hover {
    background: rgba(255, 255, 255, .08);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--mint);
    color: var(--teal-deep);
    box-shadow: 0 10px 26px rgba(94, 234, 212, .28);
}

.button-primary:hover {
    background: #7ff0dd;
}

.site-nav .button-primary {
    color: var(--teal-deep);
}

.button-ghost {
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, .08);
}

.button-dark {
    background: var(--teal);
    color: #fff;
}

.button-dark:hover {
    background: var(--teal-dark);
}

.button-small {
    padding: 9px 18px;
    font-size: 14px;
}

.hero {
    position: relative;
    padding: 150px 0 110px;
    color: #fff;
    background:
        radial-gradient(700px 380px at 88% 12%, rgba(94, 234, 212, .22), transparent 70%),
        radial-gradient(600px 420px at 0% 100%, rgba(20, 134, 138, .45), transparent 70%),
        linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-dark) 55%, var(--teal) 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px 0;
    height: 70px;
    background: var(--surface);
    clip-path: ellipse(75% 100% at 50% 100%);
}

.hero .wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(94, 234, 212, .14);
    border: 1px solid rgba(94, 234, 212, .35);
    color: var(--mint);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 22px;
}

h1 em {
    font-style: normal;
    color: var(--mint);
}

.lead {
    font-size: 19px;
    color: rgba(255, 255, 255, .78);
    margin: 0 0 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.mock {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    overflow: hidden;
    color: var(--ink);
    transform: rotate(1.5deg);
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5dfdf;
}

.mock-title {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

.mock-grid {
    display: grid;
    grid-template-columns: 54px repeat(3, 1fr);
    grid-auto-rows: 30px;
    gap: 4px;
    padding: 14px;
    font-size: 12px;
}

.mock-head {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--teal-dark);
    color: #fff;
    font-weight: 600;
}

.mock-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.mock-slot {
    border-radius: 6px;
    background: var(--surface-soft);
}

.mock-booking {
    border-radius: 6px;
    padding: 5px 8px;
    color: #fff;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
}

.mock-booking {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 8px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 8px), transparent);
}

.mock-booking.span-2 {
    grid-row: span 2;
}

.mock-booking.span-3 {
    grid-row: span 3;
}

.tone-blue {
    background: #2563a8;
}

.tone-teal {
    background: var(--teal-bright);
}

.tone-purple {
    background: #6247aa;
}

.tone-mint {
    background: #12a594;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-kicker {
    display: block;
    color: var(--teal-bright);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h2 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 18px;
    margin: 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--teal-bright), var(--teal-dark));
    color: #fff;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.feature p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.spotlight-reverse > :first-child {
    order: 2;
}

.spotlight h2 {
    margin-bottom: 16px;
}

.spotlight-lead {
    color: var(--ink-soft);
    font-size: 18px;
    margin: 0 0 28px;
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--ink-soft);
}

.checklist strong {
    color: var(--ink);
}

.check {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--teal);
}

.check svg {
    width: 14px;
    height: 14px;
}

.device {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto 30px;
    padding: 18px;
    border-radius: 34px;
    background: linear-gradient(160deg, #1b2f32, #0d1f22);
    box-shadow: var(--shadow);
}

.device-screen {
    border-radius: 20px;
    padding: 28px 26px 26px;
    background: linear-gradient(170deg, var(--teal-tint), var(--surface));
    text-align: center;
}

.device-title {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
}

.pin-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.pin-initials {
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 800;
    letter-spacing: .08em;
}

.pin-dots {
    display: flex;
    gap: 8px;
}

.pin-dots i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
}

.pin-dots i.empty {
    background: transparent;
    border: 2px solid var(--line);
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.keypad span {
    padding: 11px 0;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 17px;
}

.keypad .key-muted {
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.keypad .key-ok {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.qr-card {
    position: absolute;
    right: -46px;
    bottom: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: 13px;
    color: var(--ink-soft);
}

.qr-card strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

.qr {
    display: grid;
    grid-template-columns: repeat(3, 12px);
    gap: 3px;
}

.qr i {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--teal-deep);
}

.qr i:nth-child(2),
.qr i:nth-child(4),
.qr i:nth-child(8) {
    background: var(--mint);
}

.device-badge {
    position: absolute;
    top: -14px;
    left: 26px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--teal-deep);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(6, 47, 51, .18);
}

.panel {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 18px;
}

.panel-pill {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--teal-tint);
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
}

.stock-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 90px;
    gap: 14px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
}

.stock-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--surface-soft);
    overflow: hidden;
}

.stock-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.stock-bar .level-ok {
    width: 78%;
    background: var(--teal-bright);
}

.stock-bar .level-low {
    width: 18%;
    background: #e8a33d;
}

.stock-bar .level-out {
    width: 0;
}

.stock-note {
    font-size: 12px;
    color: var(--ink-soft);
    text-align: right;
}

.stock-note.level-low {
    color: #b06f0d;
}

.stock-note.level-out {
    color: #b42318;
}

.tab-list {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--teal-tint);
}

.tab-title {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
}

.tab-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 600;
}

.sports {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.sports li {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--teal-tint);
    border: 1px solid var(--line);
    color: var(--teal-dark);
    font-weight: 600;
    font-size: 15px;
}

.section-soft .step {
    background: var(--surface);
    border: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px;
    padding-top: 84px;
    border-radius: var(--radius);
    background: var(--teal-tint);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 26px;
    left: 28px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--teal-dark);
    color: var(--mint);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.step p {
    margin: 0;
    color: var(--ink-soft);
}

.cta {
    text-align: center;
    color: #fff;
    border-radius: 28px;
    padding: 70px 24px;
    background:
        radial-gradient(520px 260px at 85% 0%, rgba(94, 234, 212, .25), transparent 70%),
        linear-gradient(150deg, var(--teal-deep), var(--teal));
}

.cta h2 {
    color: #fff;
}

.cta p {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
    margin: 0 auto 30px;
    max-width: 560px;
}

.site-footer {
    padding: 36px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.site-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ink);
}

.footer-brand img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.legal {
    padding: 132px 0 72px;
}

.legal-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    background: linear-gradient(160deg, var(--teal-deep), var(--teal-dark));
    z-index: 0;
}

.legal .wrap {
    max-width: 780px;
}

.legal h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0 0 36px;
}

.legal h2 {
    font-size: 22px;
    letter-spacing: -0.01em;
    margin: 36px 0 10px;
}

.legal p,
.legal li,
.legal dd {
    color: #2f3e41;
}

.legal ul {
    padding-left: 20px;
}

.legal dl {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 10px 20px;
    margin: 0;
}

.legal dt {
    font-weight: 600;
}

.legal dd {
    margin: 0;
}

.legal a {
    color: var(--teal);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.not-found {
    min-height: 60vh;
}

.footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
}

@media (max-width: 900px) {
    .hero {
        padding: 120px 0 90px;
    }

    .hero .wrap {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .mock {
        transform: none;
    }

    h1 {
        font-size: 42px;
    }

    .features,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .spotlight {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .spotlight-reverse > :first-child {
        order: 0;
    }

    .qr-card {
        right: -12px;
    }

    .site-nav a:not(.button):not(.lang-switch) {
        display: none;
    }
}

@media (max-width: 620px) {
    .hero {
        padding: 104px 0 80px;
    }

    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 29px;
    }

    .lead {
        font-size: 17px;
    }

    .site-nav {
        gap: 14px;
    }

    .site-nav a:not(.button):not(.lang-switch) {
        display: none;
    }

    .legal dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .legal dd {
        margin-bottom: 12px;
    }

    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }
}

@media (max-width: 420px) {
    .brand {
        gap: 8px;
        font-size: 18px;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .site-nav {
        gap: 10px;
    }

    .button-small {
        padding: 8px 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .feature {
        transition: none;
    }
}
