/* Panopsis — flypanopsis.com
   The hero is the app icon opened up into a scene: night sky fading to a hazy horizon, with sectional
   airspace rings (solid blue Class B, dashed magenta Class C) around the devices. Everything else stays quiet. */

:root {
  --sky: #0e2543;          /* top of the icon's sky; also body ink on light pages */
  --sky-2: #1d4374;
  --haze: #dbe4ec;         /* horizon */
  --paper: #f6f7f3;        /* sectional lowland tint */
  --ink: #142538;
  --ink-2: #4a5b6e;
  --rule: #d3dae1;
  --classb: #3a6db5;
  --classc: #b8327a;
  --amber: #a8640c;
  --radius-device: 28px;
  --measure: 34rem;
  --display: "B612", ui-sans-serif, system-ui, sans-serif;
  --body: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--classb); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--classc); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.nav { max-width: 1160px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font: 700 20px var(--display); color: #fff; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
/* Inner pages: solid header */
body.page .site-header { position: static; background: var(--sky); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #0b1f3a 0%, var(--sky) 30%, var(--sky-2) 62%, #7d9ab8 86%, var(--haze) 100%);
  padding: 140px 24px 0;
}
.hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 120px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); max-width: 12ch; }
.hero .lead { font-size: 19px; color: rgba(255,255,255,.84); max-width: 30rem; margin: 22px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; }
.btn-primary { background: #fff; color: var(--sky); }
.btn-primary:hover { background: var(--haze); color: var(--sky); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.hero .soon { display: block; width: 100%; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.66); }

.stage { position: relative; height: 560px; }
.rings { position: absolute; left: 50%; bottom: -330px; width: 1100px; transform: translateX(-36%); pointer-events: none; }
.device { position: absolute; background: #05101f; padding: 10px; box-shadow: 0 30px 60px rgba(4,14,30,.45), 0 0 0 1px rgba(255,255,255,.12); }
.device img { border-radius: calc(var(--radius-device) - 10px); }
.device.ipad { width: 640px; right: 0; bottom: 70px; border-radius: var(--radius-device); }
.device.iphone { width: 214px; left: 0; bottom: 0; border-radius: 40px; padding: 8px; }
.device.iphone img { border-radius: 32px; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(20,37,56,.18); }

/* ---------- features ---------- */
.section { max-width: 1160px; margin: 0 auto; padding: 112px 24px; }
.section > h2 { font-size: clamp(30px, 3.4vw, 42px); max-width: 20ch; }
.section > .sub { color: var(--ink-2); font-size: 19px; max-width: var(--measure); margin: 16px 0 0; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-top: 96px; }
.feature:nth-of-type(even) .shots { order: 2; }
.feature h3 { font-size: 28px; max-width: 18ch; }
.feature p { color: var(--ink-2); max-width: var(--measure); margin: 16px 0 0; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; max-width: var(--measure); }
.feature li { padding: 10px 0 10px 28px; border-top: 1px solid var(--rule); position: relative; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--classb); }
.shots { display: flex; justify-content: center; gap: 24px; }
.shots .device { position: static; width: 260px; }
.shots .device.offset { margin-top: 64px; }

/* the rest of the kit, as a plain two-column list */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; margin-top: 112px; padding-top: 48px; border-top: 1px solid var(--rule); }
.more h3 { font-size: 26px; grid-column: 1 / -1; margin-bottom: 20px; }
.more div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.more dt { font-weight: 700; }
.more dd { margin: 4px 0 0; color: var(--ink-2); }

.wide-shot { margin-top: 96px; }
.wide-shot .device { position: static; width: 100%; max-width: 980px; margin: 0 auto; }
.wide-shot figcaption { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 18px; }

.mini-shot { margin-top: 96px; }
.mini-pair { display: flex; justify-content: center; align-items: center; gap: 40px; }
.device.mini { position: static; padding: 9px; border-radius: 24px; }
.device.mini img { border-radius: 16px; }
.mini-pair .device.mini:first-child { width: 300px; }
.mini-pair .device.mini:last-child { width: 560px; }
.mini-shot figcaption { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 18px; }

/* ---------- pricing ---------- */
.pricing-band { background: var(--sky); color: #fff; }
.pricing-band .section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.pricing-band h2 { font-size: clamp(30px, 3.4vw, 42px); }
.pricing-band .sub { color: rgba(255,255,255,.8); font-size: 19px; margin: 16px 0 0; max-width: 28rem; }
.price { font: 700 76px/1 var(--display); margin: 0; }
.price span { font: 500 20px var(--body); color: rgba(255,255,255,.7); margin-left: 6px; }
.trial { margin: 14px 0 26px; font-size: 17px; color: #fff; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.16); }
.fine { font-size: 14px; color: rgba(255,255,255,.66); margin-top: 22px; }
.fine a { color: #fff; }

.safety { max-width: 1160px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; color: var(--ink-2); }
.safety svg { width: 34px; height: 34px; }
.safety strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 36px 24px 48px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--classb); text-decoration: underline; }
.footer-note { width: 100%; font-size: 13px; }

/* ---------- inner pages (privacy, terms, support, disclaimer, attribution) ---------- */
.doc { max-width: 46rem; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); }
.doc h2 { font-size: 22px; margin: 44px 0 10px; }
.doc h3 { font: 700 17px var(--body); margin: 26px 0 6px; }
.doc p, .doc li { color: #2a3b4f; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.meta { color: var(--ink-2); margin: 10px 0 30px; }
.callout { background: #fff; border-left: 4px solid var(--classb); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.callout.warn { border-left-color: var(--amber); }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
.faq { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 24px var(--body); color: var(--classb); }
.faq[open] summary::after { content: "–"; }
.faq > *:not(summary) { margin-top: 0; }
.faq[open] { padding-bottom: 14px; }
.table-wrap { overflow-x: auto; margin: 18px 0; }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-weight: 700; background: #eef1ec; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 0; }
  .stage { height: auto; aspect-ratio: 16 / 12; }
  .device.ipad { width: 86%; bottom: 40px; }
  .device.iphone { width: 30%; }
  .rings { width: 900px; bottom: -300px; }
  .feature, .pricing-band .section, .more { grid-template-columns: 1fr; gap: 40px; }
  .feature:nth-of-type(even) .shots { order: 0; }
  .more { gap: 0; }
  .mini-pair .device.mini:first-child { width: 34%; }
  .mini-pair .device.mini:last-child { width: 62%; }
  .section { padding: 80px 20px; }
  .feature { margin-top: 72px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .nav { padding: 18px 16px; }
  .nav-links { gap: 18px; }
  .hero { padding: 96px 16px 0; }
  .hero .lead { font-size: 17px; }
  .stage { aspect-ratio: 16 / 13; }
  .device.ipad { padding: 6px; border-radius: 16px; }
  .device.ipad img { border-radius: 11px; }
  .device.iphone { padding: 5px; border-radius: 22px; }
  .device.iphone img { border-radius: 18px; }
  .shots { gap: 14px; }
  .shots .device { width: 46%; padding: 5px; border-radius: 22px; }
  .shots .device img { border-radius: 18px; }
  .shots .device.offset { margin-top: 36px; }
  .mini-pair { gap: 12px; }
  .device.mini { padding: 5px; border-radius: 14px; }
  .device.mini img { border-radius: 10px; }
  .section { padding: 64px 16px; }
  .price { font-size: 60px; }
  .safety { padding: 40px 16px; }
  .doc { padding: 44px 16px 72px; }
  .footer-inner { padding: 28px 16px 40px; }
}

/* ---------- beta signup (beta.html) and the home-page beta band ---------- */
.btn-solid { background: var(--sky); color: #fff; border: 0; cursor: pointer; }
.btn-solid:hover { background: var(--sky-2); color: #fff; }
.btn-solid:disabled { opacity: .6; cursor: default; }

.beta-hero {
  color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 58%, #7d9ab8 84%, var(--haze) 100%);
  padding: 72px 24px 0;
}
.beta-hero-inner { max-width: 1000px; margin: 0 auto; }
.eyebrow { font: 700 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 16px; }
.beta-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 16ch; margin: 0 auto; }
.beta-hero .lead { font-size: 19px; color: rgba(255,255,255,.84); max-width: 36rem; margin: 20px auto 44px; }
.device.beta-shot { position: relative; width: 100%; max-width: 860px; margin: 0 auto -1px; border-radius: 26px 26px 0 0; padding: 10px 10px 0; }
.device.beta-shot img { border-radius: 18px 18px 0 0; }

.beta-body { max-width: 1160px; margin: 0 auto; padding: 88px 24px 112px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.beta-info h2 { font-size: clamp(26px, 3vw, 34px); }
.beta-info h3 { font-size: 20px; margin-top: 44px; }
.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--rule); color: var(--ink-2); }
.steps li strong { color: var(--ink); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--classb); color: var(--classb); font: 700 15px/28px var(--display); text-align: center; }
.needs { margin: 14px 0 0; padding: 0; list-style: none; }
.needs li { padding: 10px 0 10px 28px; border-top: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.needs li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--classb); }
.beta-info .note { margin-top: 28px; font-size: 15px; color: var(--ink-2); padding-left: 16px; border-left: 3px solid var(--amber); }

.beta-card { background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 1px 0 var(--rule), 0 18px 48px rgba(14,37,67,.10); position: sticky; top: 24px; }
.beta-card h2 { font-size: 24px; margin-bottom: 22px; }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid #c3ccd6; background: var(--paper); color: var(--ink);
  font: 400 17px var(--body); appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a5b6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select:invalid { color: #7b8794; }
.field input:focus, .field select:focus { outline: none; border-color: var(--classb); box-shadow: 0 0 0 3px rgba(58,109,181,.2); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #c0392b; }
#f-apt { text-transform: uppercase; }
#f-apt::placeholder { text-transform: none; }
.hint { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b0291b; font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.beta-card .btn { width: 100%; justify-content: center; margin-top: 6px; font-size: 17px; }
.fine-print { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; text-align: center; }
.thanks { text-align: center; padding: 12px 0; }
.thanks:focus { outline: none; }
.thanks svg { width: 56px; height: 56px; margin: 0 auto 16px; }
.thanks h2 { margin-bottom: 12px; }
.thanks p { color: var(--ink-2); margin: 10px 0 0; overflow-wrap: anywhere; }

/* home page band that points to /beta */
.beta-band { border-top: 1px solid var(--rule); }
.beta-band .section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 72px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.beta-band h2 { font-size: clamp(28px, 3.2vw, 38px); }
.beta-band p { color: var(--ink-2); font-size: 18px; max-width: 36rem; margin: 14px 0 0; }

@media (max-width: 960px) {
  .beta-body { grid-template-columns: 1fr; gap: 48px; padding: 64px 20px 88px; }
  .beta-card { position: static; order: -1; }
  .beta-band .section { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .beta-hero { padding: 48px 16px 0; }
  .beta-hero .lead { font-size: 17px; margin-bottom: 32px; }
  .device.beta-shot { padding: 5px 5px 0; border-radius: 14px 14px 0 0; }
  .device.beta-shot img { border-radius: 10px 10px 0 0; }
  .beta-body { padding: 48px 16px 72px; }
  .beta-card { padding: 24px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .beta-band .section { padding: 56px 16px; }
}
