/* Plane Parade marketing site.
   Palette pulled straight from the app: icon sky #ff9f34 -> #ffd169, plane blue
   #4f96e2, Theme.accentGold #ffd23f, Theme.outlineDark #16202a,
   Theme.patienceGood #46c85a, Theme.termFront #f4efe6. */

:root {
    --ink: #16202a;
    --ink-2: #1c2733;
    --ink-soft: #40556b;
    --cream: #fdf7ee;
    --panel: #ffffff;
    --panel-2: #fbf4e8;
    --line: #e7dccb;
    --gold: #ffd23f;
    --gold-deep: #f0ab13;
    --orange: #ff9f34;
    --orange-2: #ffd169;
    --blue: #2f86d6;
    --blue-deep: #1f5f9e;
    --sky: #aed3ee;
    --green: #37a54a;
    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1140px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", var(--font);
    --shadow: 0 2px 4px rgba(22, 32, 42, .06), 0 12px 28px rgba(22, 32, 42, .09);
    --shadow-lg: 0 4px 8px rgba(22, 32, 42, .08), 0 24px 60px rgba(22, 32, 42, .16);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-deep); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-round);
    line-height: 1.14;
    margin: 0 0 .55em;
    letter-spacing: -.015em;
    color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 5.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.03rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.lead { font-size: 1.16rem; color: var(--ink-soft); }

.skip { position: absolute; left: -9999px; }
.skip:focus {
    left: 12px; top: 12px; z-index: 100;
    background: var(--ink); color: #fff;
    padding: 10px 16px; border-radius: 10px;
}

/* ---------- header ---------- */

.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253, 247, 238, .93);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap {
    display: flex; align-items: center; gap: 18px;
    min-height: 62px; flex-wrap: wrap;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-round); font-weight: 800; font-size: 1.08rem;
    color: var(--ink); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.site-nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.site-nav a:hover, .site-nav a:focus { color: var(--ink); text-decoration: none; }

/* ---------- hero ---------- */

.hero {
    background: linear-gradient(170deg, var(--orange) 0%, var(--orange-2) 62%, var(--cream) 100%);
    padding: 56px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    box-shadow: 60px 18px 0 -6px rgba(255,255,255,.55), -66px 22px 0 -10px rgba(255,255,255,.5);
}
.hero::before { width: 120px; height: 70px; top: 34px; left: -20px; }
.hero::after  { width: 90px;  height: 54px; top: 74px; right: 30px; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px; align-items: center;
}
.hero h1 { margin-bottom: .3em; }
.hero h1 .kicker {
    display: block; font-size: .34em; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--blue-deep); margin-bottom: .5em;
}
.hero-sub { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero-shot img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 4px solid #fff; }

.stat-row {
    display: flex; flex-wrap: wrap; gap: 10px; list-style: none;
    padding: 0; margin: 22px 0 26px;
}
.stat-row li {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(22, 32, 42, .08);
    border-radius: 999px; padding: 6px 15px;
    font-weight: 700; font-size: .93rem; margin: 0;
    font-family: var(--font-round);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-round); font-weight: 800; font-size: 1.02rem;
    padding: 13px 24px; border-radius: 999px; border: 2px solid var(--ink);
    background: var(--gold); color: var(--ink); text-decoration: none;
    box-shadow: 0 4px 0 var(--gold-deep);
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
    background: rgba(255,255,255,.85); box-shadow: 0 4px 0 rgba(22,32,42,.18);
}
.cta-note { font-size: .92rem; color: var(--ink-2); margin: 12px 0 0; }

/* ---------- sections ---------- */

section { padding: 64px 0; }
section.alt { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.ink {
    background: var(--ink);
    border: 0;
}
section.ink, section.ink h2, section.ink h3 { color: #fff; }
section.ink .lead, section.ink p { color: #ccd8e4; }
section.ink .card { background: var(--ink-2); border-color: #2c3d4f; }
section.ink .card h3 { color: #fff; }
section.ink .card p { color: #b9c8d6; }

.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 22px 18px;
    box-shadow: var(--shadow);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .ico { font-size: 1.7rem; line-height: 1; display: block; margin-bottom: 10px; }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step {
    display: grid; grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px; align-items: start;
}
.step-num {
    counter-increment: step;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--blue); color: #fff;
    font-family: var(--font-round); font-weight: 800; font-size: 1.25rem;
    display: grid; place-items: center; border: 2px solid var(--ink);
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: .3em; }
.step p:last-child { margin-bottom: 0; }

/* screenshot figures */
figure { margin: 0; }
.shot {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow);
}
.shot img { border-radius: var(--radius-sm); }
.shot figcaption {
    font-size: .93rem; color: var(--ink-soft);
    padding: 12px 6px 2px; line-height: 1.5;
}
.shot figcaption b { color: var(--ink); }

.shot-wide { max-width: 940px; margin: 0 auto 34px; }

/* livery strip */
.liveries {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    list-style: none; padding: 0; margin: 0;
}
.liveries li { text-align: center; margin: 0; width: 132px; }
.liveries img { width: 118px; margin: 0 auto; }
.liveries span {
    display: block; font-family: var(--font-round); font-weight: 700;
    font-size: .86rem; color: var(--ink-soft);
}

/* airport table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
    width: 100%; border-collapse: collapse; font-size: .95rem;
    background: var(--panel); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); min-width: 620px;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); font-family: var(--font-round); font-weight: 800; font-size: .9rem; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }

.tag {
    display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
    font-family: var(--font-round);
}
.tag-free { background: #dcf3e0; color: #1d6b2c; }
.tag-pack { background: #fdeccd; color: #8a5a06; }

/* checklist */
.checks { list-style: none; padding: 0; }
.checks li {
    position: relative; padding-left: 30px; margin-bottom: .55em;
}
.checks li::before {
    content: "✓"; position: absolute; left: 0; top: -1px;
    color: var(--green); font-weight: 800; font-size: 1.1rem;
}
.crosses li::before { content: "✗"; color: #c94a3c; }

/* FAQ */
details {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(22,32,42,.05);
}
details[open] { box-shadow: var(--shadow); }
summary {
    cursor: pointer; font-family: var(--font-round); font-weight: 700;
    font-size: 1.03rem; color: var(--ink);
}
summary::marker { color: var(--gold-deep); }
details > *:not(summary) { margin-top: 10px; }
details p:last-child { margin-bottom: 0; }

/* final CTA */
.finale {
    background: linear-gradient(160deg, var(--orange) 0%, var(--orange-2) 100%);
    text-align: center;
}
.finale .btn { box-shadow: 0 4px 0 var(--gold-deep), 0 8px 24px rgba(22,32,42,.2); }
.finale p { color: var(--ink-2); }

/* footer */
.site-foot {
    background: var(--ink); color: #b9c8d6;
    padding: 40px 0 34px; font-size: .93rem;
}
.site-foot a { color: #ffe28a; }
.site-foot .foot-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 26px; margin-bottom: 26px;
}
.site-foot h2, .site-foot h3 { color: #fff; font-size: 1rem; margin-bottom: .5em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .35em; }
.site-foot .fine { border-top: 1px solid #2c3d4f; padding-top: 20px; color: #8fa2b3; }

/* misc */
.hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.center { text-align: center; }
.mb0 { margin-bottom: 0; }
.small { font-size: .9rem; color: var(--ink-soft); }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); padding: 16px 0 0; }
.breadcrumb a { color: var(--ink-soft); }

@media (max-width: 860px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero { padding-top: 34px; }
    section { padding: 46px 0; }
    body { font-size: 16.5px; }
}
@media (max-width: 560px) {
    .site-nav { gap: 14px; }
    .step { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; }
    .step-num { width: 36px; height: 36px; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover, .btn:focus { transform: none; }
}
