/* Inter (SIL Open Font License, public/fonts/Inter-OFL.txt), served from this site so no visitor's browser calls a font service. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
  /* Flightdeck Blue: the tokens shared with the CPMS Mac app (mac/Sources/CPMS/Components.swift). */
  --fd-navy: #10263f;        /* Cockpit Navy: headers, navigation, dark surfaces */
  --fd-blue: #1674c3;        /* Aviation Blue: primary buttons, links, active states */
  --fd-sky: #67b7f7;         /* Sky Blue: accents, highlights */
  --fd-aluminum: #dce5ee;    /* Aircraft Aluminum: borders, panels */
  --fd-cloud: #f8fafc;       /* Cloud White: light backgrounds */
  --fd-success: #16865d;     /* Paid, available */
  --fd-pending: #b76a08;     /* Pending, attention */
  --fd-error: #c83b46;       /* Error, overdue */

  --bg: var(--fd-cloud);
  --surface: #ffffff;
  --panel: #eef3f8;
  --ink: var(--fd-navy);
  --muted: #4a5d72;
  --line: var(--fd-aluminum);
  --primary: var(--fd-blue);
  --primary-hover: #125fa1;
  --on-primary: #ffffff;
  --link: var(--fd-blue);
  --soft-blue: #e6f1fb;
  --success: var(--fd-success);
  --success-soft: #e3f3ec;
  --success-ink: #0f6a49;    /* success as text on its soft tint */
  --link-ink: #105a99;       /* blue as text on the soft blue tint */
  --pending-ink: #8f5306;    /* the pending color, darkened for 4.5:1 text */
  --pending-soft: #fbf0e0;
  --danger: var(--fd-error);
  --danger-soft: #fbe9ea;
  --danger-ink: #a12a35;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 38, 63, .05), 0 6px 20px rgba(16, 38, 63, .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1a2c;
    --surface: var(--fd-navy);
    --panel: #142f4d;
    --ink: #eaf1f8;
    --muted: #a3b5c8;
    --line: #23405f;
    --primary: var(--fd-sky);
    --primary-hover: #8ccbfa;
    --on-primary: #0a1a2c;
    --link: #8ccbfa;
    --soft-blue: #143a5e;
    --success: #4cc795;
    --success-soft: #12392c;
    --success-ink: #4cc795;
    --link-ink: #8ccbfa;
    --pending-ink: #f2b25c;
    --pending-soft: #3a2a10;
    --danger: #f2808a;
    --danger-soft: #3d1b20;
    --danger-ink: #f2808a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand b { color: var(--primary); font-weight: 800; }
.mark { width: 28px; height: 34px; flex: none; display: block; }
.brand.small { font-size: 1rem; }
.brand.small .mark { width: 23px; height: 28px; }
.top nav { display: flex; gap: 4px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 7px 10px; border-radius: 9px; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { background: var(--soft-blue); color: var(--link-ink); }
@media (max-width: 350px) { .brand span { display: none; } }
@media (max-width: 400px) { .top nav a { padding: 7px 7px; font-size: .9rem; } .brand { font-size: 1.02rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 1px 2px rgba(16, 38, 63, .15); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--fd-sky) 70%, transparent); outline-offset: 2px; }

/* Hero */
.hero { position: relative; color: #fff; background:
  radial-gradient(1100px 480px at 88% -20%, rgba(22, 116, 195, .5), transparent 62%),
  linear-gradient(100deg, rgba(16, 38, 63, .96) 0%, rgba(16, 38, 63, .86) 48%, rgba(11, 29, 49, .62) 100%),
  url("/img/airport-dusk.webp") center 60% / cover no-repeat, #10263f; }
.owners-hero { background:
  radial-gradient(900px 420px at 90% -20%, rgba(22, 116, 195, .45), transparent 62%),
  linear-gradient(100deg, rgba(16, 38, 63, .96) 0%, rgba(16, 38, 63, .88) 50%, rgba(11, 29, 49, .7) 100%),
  url("/img/above-clouds.webp") center / cover no-repeat, #10263f; }
.hero h1 .hl { color: var(--fd-sky); }
.hero .btn.primary { background: var(--fd-blue); color: #fff; }
.hero .btn.primary:hover { background: #1b82d8; }
.hero-in { display: grid; gap: 32px; padding: 56px 16px 64px; align-items: center; }
@media (min-width: 640px) { .hero-in { padding: 72px 24px 80px; } }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.25fr 1fr; } .hero-in.single { grid-template-columns: 1fr; } }
.hero-in.single .hero-copy { max-width: 820px; }
.logo-h { display: block; height: 64px; width: auto; max-width: 100%; margin: 0 0 22px -4px; }
.hero.slim .hero-in { padding-bottom: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--fd-sky); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.eyebrow .ico { width: 18px; height: 18px; }
.lede { font-size: 1.15rem; color: #c9d7e6; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { display: block; color: #fff; text-decoration: none; background: rgba(16, 38, 63, .55); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(220, 229, 238, .2); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transition: border-color .15s ease, transform .15s ease; }
a.hero-card:hover { border-color: rgba(103, 183, 247, .6); transform: translateY(-2px); }
.hc-list { list-style: none; margin: 0; padding: 0; }
.hc-more { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; color: var(--fd-sky); font-weight: 700; font-size: .95rem; }
.hc-more .ico { width: 18px; height: 18px; }
.hc-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9fb4c6; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.hc-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4cc795; box-shadow: 0 0 0 4px rgba(76, 199, 149, .22); }
.hc-pad { font-weight: 750; font-size: 1.15rem; margin-bottom: 10px; }
.hc-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .98rem; }
.hc-row .ok { color: #6fd9ab; font-weight: 700; white-space: nowrap; }
.hc-row .soon { color: #f5c06e; font-weight: 700; white-space: nowrap; }

/* Sections */
.section { padding: 56px 16px; }
@media (min-width: 640px) { .section { padding: 72px 24px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.note { color: var(--muted); font-size: .92rem; margin-top: 18px; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 22px; color: var(--muted); }

/* Pad cards */
.pad-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pad-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.pad-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.pad-card h3 { margin: 0 0 2px; font-size: 1.2rem; }
.pad-card p { margin: 0; }
.pad-card-top { display: flex; gap: 14px; align-items: center; }
.pad-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.airport { display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 12px; background: linear-gradient(160deg, #1674c3, #10263f); color: #fff; font-weight: 800; letter-spacing: .04em; font-size: .95rem; }
.airport.big { min-width: 64px; height: 64px; font-size: 1.1rem; border-radius: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-block; font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.open { background: var(--success-soft); color: var(--success-ink); }
.pill.soon { background: var(--pending-soft); color: var(--pending-ink); }
.pill::before { display: inline-block; margin-right: 5px; font-weight: 800; }
.pill.open::before { content: "✓"; }
.pill.soon::before { content: "◷"; }
.pill.muted { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.price { margin: 0; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.price b { color: var(--ink); font-size: 1.15rem; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); }
.steps li > .ico { display: block; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--soft-blue); color: var(--link-ink); margin-bottom: 14px; }
.steps b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1.05rem; }

.owners-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.owners-teaser > div { max-width: 640px; }
.owners-teaser p { color: var(--muted); margin: 0; }

/* Pad page */
.pad-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0 28px; }
.crumb { font-size: .92rem; margin-bottom: 14px; }
.crumb a { text-decoration: none; font-weight: 600; }
.crumb a::before { content: "← "; }
.pad-title { display: flex; align-items: center; gap: 16px; }
.pad-title h1 { margin: 0 0 2px; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.pad-title p { margin: 0; }
.jump { margin-top: 18px; width: 100%; }
@media (min-width: 900px) { .jump { display: none; } }
.pad-body { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 64px; }
@media (min-width: 900px) { .pad-body { grid-template-columns: 1fr 380px; align-items: start; gap: 40px; } .pad-side { position: sticky; top: 80px; } }
.pad-main section { margin-bottom: 36px; }
h2.with-ico { display: flex; align-items: center; gap: 10px; }
h2.with-ico .ico { width: 24px; height: 24px; flex: none; color: var(--primary); }
.hero-art { margin: 0; justify-self: end; max-width: 443px; width: 100%; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(220, 229, 238, .22); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.hero-art figcaption { margin-top: 8px; font-size: .78rem; color: #a9bfd4; text-align: right; }
@media (max-width: 899px) { .hero-art { justify-self: start; } }
.room { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 8px; }
.beds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bed { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.bed p { margin: 0; }
.bed-name { font-weight: 700; }
.bed .muted { font-size: .9rem; }
.bed-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.rules h3 { margin: 22px 0 10px; font-size: 1.02rem; }
.rules h3:first-of-type { margin-top: 4px; }
.rules .ticks li { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }

/* Cards and forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.card h2 { font-size: 1.25rem; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; min-width: 0; }
.two { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 420px) { .two { grid-template-columns: 1fr 1fr; } }
input, select, textarea { width: 100%; min-width: 0; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.form .btn { width: 100%; margin-top: 4px; }
.hint { font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.error { background: var(--danger-soft); color: var(--danger-ink); border-radius: 10px; padding: 10px 12px; margin: 0; font-weight: 600; }
.thanks { background: var(--success-soft); border-radius: 12px; padding: 18px; }
.thanks h3 { color: var(--success-ink); }
.thanks p { margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Owners */
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature h3 { margin-bottom: 6px; }
.feature-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--soft-blue); color: var(--link-ink); margin-bottom: 12px; }
.feature-ico .ico { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: .92rem; }
.foot-in { display: grid; gap: 8px; }
.tagline { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600; color: var(--muted); }
.price b, .bed-side .price b { font-variant-numeric: tabular-nums; }
.foot p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a { color: var(--muted); }
.usa { font-weight: 600; }
.nowrap { white-space: nowrap; }
.foot-links a:hover { color: var(--link); }
.prose h1 { margin-bottom: .3em; }
.prose .updated { color: var(--muted); margin-bottom: 2em; }
.prose h2 { font-size: 1.2rem; }
.prose .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 2em; }
.prose .summary ul { margin: .4em 0 0; }
.prose .caps { text-transform: uppercase; font-size: .92rem; }
