/* WheelsUp landing — layout & components */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 620px; margin: 12px auto 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15,118,110,0.30); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-sand { background: var(--sand); color: var(--ink); box-shadow: 0 8px 20px rgba(244,162,89,0.35); }
.btn-sand:hover { background: var(--sand-600); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--surface); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { color: var(--text-muted); font-weight: 600; font-size: 0.92rem; }
.nav-links a.navlink:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links .navlink { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #173a52 0%, var(--ink) 55%); color: #fff; padding: 84px 0 92px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero h1 .hl { color: var(--sand); }
.hero p.lede { margin-top: 18px; font-size: 1.12rem; color: #cbd6e6; max-width: 540px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero .microcopy { margin-top: 14px; font-size: 0.82rem; color: #8ea4bf; }
.hero .badges { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.82rem; color: #aebfd4; }
.hero .badges span { display: flex; align-items: center; gap: 7px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero .mock-wrap { order: 2; } }

/* App mockups (CSS, in-palette) */
.mock-wrap { display: flex; justify-content: center; }
.device { width: 100%; max-width: 380px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.5); }
.device .topbar { background: var(--ink); color: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.device .topbar .t { font-weight: 700; font-size: 0.9rem; }
.device .topbar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-300); }
.device .body { padding: 16px; background: var(--surface); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-stat { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.mini-stat .lbl { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); font-weight: 700; }
.mini-stat .val { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.mini-stat .val.brand { color: var(--brand); }
.mini-stat .val.sand { color: var(--sand-600); }
.mini-stat .sub { font-size: 0.62rem; color: var(--slate); }
.gantt { background:#fff; border:1px solid var(--border); border-radius:10px; padding:12px; margin-top:10px; display:flex; flex-direction:column; gap:8px; }
.gbar { height: 12px; border-radius: 6px; }

/* Problem */
.problem { background: var(--surface); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.pain { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pain .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(15,118,110,0.10); display: grid; place-items: center; color: var(--brand); margin-bottom: 12px; }
.pain h3 { font-size: 1.05rem; }
.pain p { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feat { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feat .vis { height: 132px; background: linear-gradient(135deg, #10324a, var(--ink)); padding: 14px; display: flex; align-items: center; justify-content: center; }
.feat .vis .card-sim { width: 100%; }
.feat .meta { padding: 18px; }
.feat .pill { font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; }
.pill.free { background: rgba(100,116,139,0.15); color: var(--slate); }
.pill.pro { background: rgba(244,162,89,0.18); color: var(--sand-600); }
.feat h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.feat p { color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* in-card simulated UI bits (recolored app views) */
.sim-row { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.08); border-radius: 7px; padding: 7px 9px; margin-bottom: 6px; }
.sim-check { width: 14px; height: 14px; border-radius: 4px; background: var(--brand-300); flex: none; }
.sim-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.55); }
.sim-bar { height: 11px; border-radius: 5px; margin-bottom: 6px; }
.sim-num { color: #fff; font-weight: 800; font-size: 1.6rem; text-align: center; }
.sim-num small { display:block; font-weight:600; font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--brand-300); }

/* Advanced tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.tool { display: flex; gap: 13px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.tool .tico { width: 40px; height: 40px; border-radius: 10px; background: rgba(15,118,110,0.10); color: var(--brand); display: grid; place-items: center; flex: none; font-size: 1.15rem; }
.tool h3 { font-size: 0.98rem; }
.tool p { color: var(--text-muted); font-size: 0.85rem; margin-top: 3px; }
.title-pill { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: rgba(244,162,89,0.18); color: var(--sand-600); }
@media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tools-grid { grid-template-columns: 1fr; } }


/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { text-align: center; padding: 10px; }
.step .n { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--surface); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.tier { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.tier.feature { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.tier .name { font-weight: 700; color: var(--text-muted); }
.tier .price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 8px 0 2px; }
.tier .per { font-size: 0.8rem; color: var(--slate); }
.tier .save { display: inline-block; margin-top: 8px; font-size: 0.72rem; font-weight: 700; color: var(--success); }
.tier .best { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--sand); color: var(--ink); font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.split .col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.split h3 { font-size: 1.05rem; margin-bottom: 12px; }
.split ul { list-style: none; }
.split li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.94rem; color: var(--text); }
.split li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.col.pro li::before { color: var(--sand-600); }
.founder { margin-top: 36px; background: linear-gradient(120deg, var(--ink), #16384e); color: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.founder .ftxt h3 { color: #fff; font-size: 1.25rem; }
.founder .ftxt p { color: #bcd0e2; font-size: 0.92rem; margin-top: 4px; }
.founder .fprice { font-size: 1.8rem; font-weight: 800; color: var(--sand); }
.founder .fcap { display: inline-block; margin-top: 6px; padding: 2px 10px; border: 1px solid var(--sand); border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sand); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }

/* Trust */
.trust .wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.trust .t { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.trust .t h3 { font-size: 1rem; display:flex; align-items:center; gap:8px; }
.trust .t p { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
@media (max-width: 760px) { .trust .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); padding-bottom: 16px; font-size: 0.94rem; }

/* CTA + waitlist */
.cta { background: radial-gradient(900px 400px at 50% -20%, #173a52, var(--ink)); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta p { color: #c2d2e4; margin: 12px auto 0; max-width: 560px; }
.waitlist { display: flex; gap: 10px; max-width: 460px; margin: 28px auto 0; flex-wrap: wrap; justify-content: center; }
.waitlist input { flex: 1; min-width: 220px; padding: 14px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; font-size: 0.95rem; }
.waitlist input::placeholder { color: #9fb3cc; }
.cta .microcopy { color: #8ea4bf; font-size: 0.8rem; margin-top: 14px; }

/* Footer */
footer { background: var(--ink); color: #8ea4bf; padding: 30px 0; font-size: 0.84rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--brand-300); }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: 1.9rem; margin-bottom: 4px; }
.legal .upd { color: var(--slate); font-size: 0.85rem; margin-bottom: 26px; }
.legal h2 { font-size: 1.12rem; margin: 26px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--text-muted); font-size: 0.95rem; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal .note { background: var(--surface); border-left: 3px solid var(--sand); border-radius: 8px; padding: 14px 16px; margin: 18px 0; color: var(--ink); font-size: 0.92rem; }
.legal .back { display: inline-block; margin-top: 30px; font-weight: 700; }

/* TODO marker (visible only in dev, shows where to wire real services) */
.todo { outline: 2px dashed var(--sand); outline-offset: 3px; }
