/* Ferry Odds website — same material as the app: charcoal, mint white, coral. */

:root {
    --charcoal: #2F3132;
    --charcoal-deep: #262829;
    --mint: #F5FAF6;
    --coral: #F6504F;
    --coral-text: #C93332;
    --on-coral: #1D1F20;

    --bg: #E6ECE8;
    --surface: #F5FAF6;
    --ink: #1D1F20;
    --muted: #5B625E;
    --hairline: rgba(47, 49, 50, 0.12);
    --likely: #1F8A4C;
    --uncertain: #B7791F;
    --unlikely: #B0233F;

    --radius: 20px;
    --wrap: 1120px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1E2021;
        --surface: #2F3132;
        --ink: #F5FAF6;
        --muted: #A3AAA6;
        --hairline: rgba(245, 250, 246, 0.1);
        --coral-text: #FF7A73;
        --likely: #4ADE80;
        --uncertain: #F5B83D;
        --unlikely: #FF6B86;
        color-scheme: dark;
    }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.55 "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--coral-text); text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip {
    position: absolute; left: 12px; top: -60px; z-index: 10;
    background: var(--coral); color: var(--on-coral); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn--coral { background: var(--coral); color: var(--on-coral); }
.btn--coral:hover { background: #FF6463; }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

.eyebrow {
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted);
}
.eyebrow--coral { color: var(--coral); }

.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }

/* Header: part of the charcoal hero */
.top { background: var(--charcoal-deep); color: var(--mint); }
.top__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { color: rgba(245, 250, 246, 0.72); text-decoration: none; font-weight: 500; font-size: 15px; }
.top__nav a:hover { color: var(--mint); }

/* Hero */
.hero { background: var(--charcoal-deep); color: var(--mint); overflow: hidden; border-radius: 0 0 36px 36px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 64px 0 0; }
.hero__copy { padding-bottom: 72px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: -0.035em; margin: 14px 0 22px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: rgba(245, 250, 246, 0.78); max-width: 34ch; }
.hero__fine { margin-top: 16px; font-size: 15px; color: rgba(245, 250, 246, 0.6); }
.hero__phone { position: relative; margin: 0; justify-self: center; align-self: end; }

.phone {
    width: 320px; padding: 10px; border-radius: 46px;
    background: #121314; box-shadow: 0 0 0 1px rgba(245, 250, 246, 0.12), 0 30px 60px rgba(0, 0, 0, 0.35);
}
.phone img { border-radius: 36px; width: 100%; height: auto; }
.hero .phone { border-radius: 46px 46px 0 0; padding-bottom: 0; }
.hero .phone img { border-radius: 36px 36px 0 0; aspect-ratio: 402 / 760; object-fit: cover; object-position: top; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot--likely { background: var(--likely); }
.dot--uncertain { background: var(--uncertain); }
.dot--unlikely { background: var(--unlikely); }

/* Store buttons (text, not official badges) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores--end { margin-top: 0; }
.store {
    display: inline-flex; flex-direction: column; justify-content: center;
    min-width: 168px; min-height: 56px; padding: 6px 20px; border-radius: 14px;
    background: var(--mint); color: #1D1F20; text-decoration: none; line-height: 1.15;
}
.store__sub { font-size: 12px; font-weight: 500; }
.store__name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.store--soon { background: transparent; color: var(--mint); box-shadow: inset 0 0 0 1.5px rgba(245, 250, 246, 0.35); }
.store--soon .store__sub { color: rgba(245, 250, 246, 0.65); }

/* Levels */
.levels { padding: 96px 0 40px; }
.levels__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.level { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: 0 0 0 1px var(--hairline); }
.level__range { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.level h3 { font-size: 19px; margin: 14px 0 6px; }
.level p:last-child { color: var(--muted); }

/* How */
.how { padding: 72px 0; }
.how__grid { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
.steps li::before {
    content: counter(step); grid-row: span 2;
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: var(--charcoal); color: var(--mint); font-weight: 800; font-size: 20px;
}
.steps h3 { font-size: 21px; margin-top: 2px; }
.steps p { color: var(--muted); margin-top: 6px; max-width: 46ch; }
.how__phone { margin: 0; }
.phone--light { box-shadow: 0 0 0 1px var(--hairline), 0 24px 50px rgba(47, 49, 50, 0.18); }

/* Extras */
.extras { padding: 40px 0 72px; }
.extras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.extras article { border-top: 2px solid var(--ink); padding-top: 18px; }
.extras h3 { font-size: 20px; }
.extras p { color: var(--muted); margin-top: 8px; }

/* Coverage */
.coverage { background: var(--surface); padding: 80px 0; box-shadow: 0 0 0 1px var(--hairline); }
.coverage__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.stat { font-size: 20px; color: var(--muted); }
.stat strong { color: var(--ink); font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; }
.coverage__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.coverage__list li { padding: 16px 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; }
.coverage__list h3 { font-size: 17px; }
.coverage__list p { color: var(--muted); font-size: 16px; }

/* Passes */
.passes { padding: 96px 0 80px; }
.passes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.pass { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: 0 0 0 1px var(--hairline); }
.pass header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.pass h3 { font-size: 21px; }
.pass__price { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pass p:last-child { color: var(--muted); }
.pass__term { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.pass--main .pass__term { color: var(--coral); }
.pass--main { background: var(--charcoal); color: var(--mint); box-shadow: none; }
.pass--main p:last-child { color: rgba(245, 250, 246, 0.75); }
.passes__note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Get */
.get { padding: 0 0 96px; }
.get__row {
    background: var(--charcoal-deep); color: var(--mint); border-radius: 32px;
    padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.get h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.get p { color: rgba(245, 250, 246, 0.72); margin-top: 8px; }

/* Footer */
.foot { border-top: 1px solid var(--hairline); padding: 48px 0 56px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.brand--foot { font-size: 17px; }
.brand--foot img { border-radius: 8px; }
.foot__note { color: var(--muted); margin-top: 14px; max-width: 36ch; }
.foot__links { display: grid; gap: 10px; align-content: start; }
.foot__links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot__links a:hover { color: var(--coral-text); }
.foot__meta { color: var(--muted); display: grid; gap: 8px; align-content: start; }

/* Legal and support pages */
.doc { max-width: 720px; padding: 64px 0 96px; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 800; margin: 10px 0 18px; }
.doc__lede { font-size: 20px; color: var(--muted); }
.doc h2 { font-size: 23px; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 10px; }
.doc__contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.doc__small { margin-top: 40px !important; color: var(--muted); font-size: 15px; }

/* Tablet and phone */
@media (max-width: 900px) {
    .top__nav { display: none; }
    .top__row .btn { margin-left: auto; }
    .hero__grid { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; }
    .hero__copy { padding-bottom: 32px; }
    .levels__row, .extras__grid, .passes__grid { grid-template-columns: 1fr; }
    .how__grid { grid-template-columns: 1fr; gap: 40px; }
    .how__phone { justify-self: center; }
    .coverage__list { grid-template-columns: 1fr; }
    .foot__grid { grid-template-columns: 1fr; }
    .get__row { padding: 32px 24px; }
    .levels { padding-top: 64px; }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .phone { width: 260px; }
    .coverage__list li { grid-template-columns: 1fr; gap: 4px; }
    .store { min-width: 0; flex: 1 1 140px; }
}
