/* SkyTimer site
   Light and open: sections alternate between a pale sky blue (.sky) and white (.paper),
   so the black device frames in the screenshots stand out. Colors come from the logo:
   its navy for text and the footer, its bright blue for small accents. */

/* Nunito is only the fallback for headings; Apple devices use SF Rounded via ui-rounded */
@font-face { font-family: "Nunito"; font-weight: 600 900; font-display: swap; src: url(../fonts/nunito.woff2) format("woff2"); }

:root {
  /* Backgrounds */
  --sky: #eaf3fb;
  --paper: #ffffff;
  --navy: #2c4268;          /* logo ring; footer background */

  /* Text and lines */
  --ink: #1d2c46;
  --ink-muted: #4a5a72;
  --line: #d3e0ee;

  /* Accents */
  --brand: #007fc0;         /* logo plane; decoration only */
  --brand-ink: #00669c;     /* the same blue, dark enough for text */
  --tag: #fed841;           /* the WordPress site's highlighter yellow */
  --tag-ink: #141414;
  --action: #00669c;
  --action-hover: #00557f;
  --focus: #1a8cff;

  /* SF Pro Rounded can't be hosted on a website (Apple's license), but Safari on iPhone, iPad
     and Mac draws it for ui-rounded. Everyone else gets Nunito, its closest free match. */
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  /* The device's own UI font: SF Pro on Apple devices (pairs with SF Rounded headings),
     Segoe UI on Windows, Roboto on Android. Nothing to download. */
  --body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
  --step-3: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 76rem;
  --radius-sm: 6px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; /* room for the sticky header */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* Semibold rather than heavy: SF Rounded reads friendlier lighter */
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-weight: 700; }
h1 { font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: var(--step-2); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0; max-width: 64ch; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--tag); color: var(--tag-ink); padding: 0.5rem 0.75rem; z-index: 30; }
.skip:focus { left: 0.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Headline line breaks. Each .line sits on its own line. In a two-sentence headline the
   second sentence is a .highlight: the WordPress site's yellow highlighter bar. It stays
   inline so the bar follows the words if they wrap on a phone. */
.line { display: block; }
.highlight {
  background: linear-gradient(var(--tag), var(--tag)) no-repeat 0 100% / 100% 0.22em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
h2 .highlight { background-size: 100% 0.2em; }

/* Section backgrounds */
.sky { background: var(--sky); }
.paper { background: var(--paper); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(12, 24, 48, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.8rem; }
.brand { flex: none; }
.brand img { width: 150px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.nav ul a { display: block; padding: 0.5rem 0.8rem; border-radius: 999px; text-decoration: none; font: 600 1rem/1.2 var(--display); letter-spacing: 0.005em; color: #e3ebf6; transition: background-color 0.15s, color 0.15s; }
.nav ul a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav ul a[aria-current="page"], .nav ul a[aria-current="true"] { background: rgba(255, 255, 255, 0.16); color: #fff; }
.nav ul a:focus-visible { outline: 3px solid #8fd0ff; outline-offset: 2px; }
.nav .badge { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.nav-toggle { display: none; }
.badge img { width: 140px; }
/* Regular width that's tight for six menu items: iPad landscape, iPhone Duo open in landscape */
@media (min-width: 880px) and (max-width: 1180px) {
  .site-header .wrap { gap: 0.75rem; }
  .brand img { width: 128px; }
  .nav { gap: 0.75rem; }
  .nav ul { gap: 0; }
  .nav ul a { padding: 0.45rem 0.55rem; font-size: 0.92rem; }
  .nav .badge { padding-left: 0.75rem; }
  .site-header .badge img { width: 108px; }
}

@media (max-width: 879.98px) {
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: 0.55rem;
    font: 600 1rem/1 var(--display); color: #fff;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px; padding: 0.55rem 1rem 0.55rem 0.85rem; cursor: pointer;
  }
  .nav-toggle::before { content: ""; width: 16px; height: 12px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; transition: transform 0.2s; }
  .nav-toggle[aria-expanded="true"]::before { background: linear-gradient(45deg, transparent 45%, currentColor 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, currentColor 45% 55%, transparent 55%); height: 14px; width: 14px; }
  .nav-toggle:focus-visible { outline: 3px solid #8fd0ff; outline-offset: 2px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0c1830; border-bottom: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 18px 30px rgba(12, 24, 48, 0.3); padding: 0.5rem var(--gutter) 1.5rem; flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .nav ul a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0.25rem; border-radius: 0; font-size: 1.2rem; }
  .nav ul a::after { content: "›"; font-size: 1.4rem; line-height: 1; color: #8fa3c0; }
  .nav ul a:hover { background: none; }
  .nav ul a[aria-current="page"], .nav ul a[aria-current="true"] { background: none; color: #8fd0ff; }
  .nav ul a[aria-current="page"]::after, .nav ul a[aria-current="true"]::after { content: "•"; color: #8fd0ff; }
  .nav .badge { padding-left: 0; border-left: 0; align-self: flex-start; }
}

/* ---------- Hero ---------- */
/* Wide screens: headline and copy on the left, screenshot on the right.
   Narrow screens: headline, then screenshot, then copy, so the screenshot shows without scrolling. */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "title image" "copy image";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.hero-title { grid-area: title; align-self: end; font-size: clamp(2.5rem, 1rem + 3.4vw, 4rem); }

.hero-devices { grid-area: image; align-self: start; margin-top: clamp(0.5rem, 2vw, 1.75rem); }
.hero-devices img { width: 100%; }
.hero-copy { grid-area: copy; }
.hero-lede { margin-top: 1.5rem; font-size: 1.2rem; color: var(--ink-muted); max-width: 40ch; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.hero-cta .badge img { width: 168px; }
.hero-cta p { font-size: var(--step--1); color: var(--ink-muted); max-width: 28ch; line-height: 1.45; }
/* Press callouts: two linked cards with the publication's logo */
.press { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 34rem; }
.press-item {
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%;
  padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink);
}
.press-item:hover { border-color: var(--brand); }
.press-logo { height: 56px; display: flex; align-items: center; }
.press-logo img { max-height: 100%; width: auto; }
.press-logo .wordmark { height: 24px; } /* wide wordmark: shorter, same visual weight */
.press-quote { font-size: 0.95rem; line-height: 1.35; font-weight: 600; }
.press-link { margin-top: auto; font-size: 0.85rem; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 879.98px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "image" "copy"; grid-template-rows: auto; }
  .hero-devices { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
  .hero-devices img { max-width: 900px; margin-inline: auto; }
}

/* ---------- Glance row ---------- */
.glance { padding-block: 0 clamp(3.5rem, 8vw, 6rem); }
.glance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
/* Icon beside the subhead, description underneath */
.glance-list li { display: grid; grid-template-columns: 36px 1fr; column-gap: 0.75rem; align-items: center; align-content: start; }
.glance-icon { width: 36px; height: 36px; }
.glance-list h3 { font-size: 1.15rem; }
.glance-list p { grid-column: 1 / -1; margin-top: 0.75rem; color: var(--ink-muted); font-size: 1rem; }
@media (max-width: 900px) { .glance-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .glance-list { grid-template-columns: 1fr; } }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 46rem; }
.section-head p { margin-top: 1.1rem; color: var(--ink-muted); font-size: 1.2rem; }

/* ---------- How it works: takeoff, cruise, landing ---------- */
.how { margin-top: clamp(2.5rem, 6vw, 4rem); }
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; position: relative; }
.phases::before {
  /* the flight path joining the three steps */
  content: ""; position: absolute; top: 0.9rem; bottom: 0.9rem; left: calc(0.55rem - 1px);
  border-left: 2px dashed var(--line);
}
.phase { position: relative; padding-left: 2.25rem; }
.phase::before {
  content: ""; position: absolute; left: 0; top: 0.35rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--brand);
}
.phase p { margin-top: 0.6rem; color: var(--ink-muted); font-size: 1rem; }

/* ---------- SkyTimer Plus ---------- */
.plus-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.plus-intro { position: sticky; top: 6.5rem; }
.plus-intro p { margin-top: 1.1rem; color: var(--ink-muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.25rem; }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; align-items: start; }
.feature-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(29, 44, 70, 0.12); }
.feature-list h3 { font-size: 1.05rem; line-height: 1.3; align-self: center; }
.feature-list p { margin-top: 0.45rem; color: var(--ink-muted); font-size: 1rem; }
@media (max-width: 900px) {
  .plus-grid { grid-template-columns: 1fr; }
  .plus-intro { position: static; }
}
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Side-by-side text and screenshot ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split + .split { margin-top: clamp(4rem, 9vw, 7rem); }
.split-copy p { margin-top: 1.1rem; color: var(--ink-muted); }
.split-points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.split-points li { padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 1rem; }
.split-points strong { display: block; margin-bottom: 0.3rem; font: 600 1.1rem var(--display); color: var(--ink); }
.split-media img { margin-inline: auto; }
.efb img { max-height: 640px; width: auto; }
.watch img { width: min(100%, 340px); }
/* Text-and-image rows stay side by side down to 700px; page heads stack below 861px */
@media (max-width: 860px) {
  .page-split { grid-template-columns: 1fr; }
}
@media (max-width: 699.98px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
}
@media (max-width: 860px) {
  .efb img { max-height: 460px; }
}

/* Portrait device screenshots: keep them from towering over their text */
.how img, .log img, .cta-media img { width: auto; max-height: min(78vh, 760px); }

/* ---------- Flight log ---------- */
.log-list-title { margin-top: 2rem; font-size: 1.1rem; color: var(--brand-ink); }
.log-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.log-list li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.log-list li::before {
  /* checkmark, drawn as a mask so it takes the brand color */
  content: ""; position: absolute; left: 0.1rem; top: 0.8rem; width: 1.15rem; height: 1.15rem;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.log-list li:first-child { border-top: 2px solid var(--brand); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-aside { position: sticky; top: 6.5rem; }
.faq-aside p { margin-top: 1rem; color: var(--ink-muted); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 1.15rem 0; font: 600 1.1rem/1.35 var(--display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.5rem/1 var(--display); color: var(--brand-ink); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 1.35rem; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* ---------- Buttons and forms ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  color: #fff; background: var(--action); border: 0; border-radius: var(--radius-sm);
  padding: 0.95rem 1.4rem; min-height: 48px;
}
.button:hover { background: var(--action-hover); }
.button[disabled] { opacity: 0.6; cursor: progress; }


/* ---------- Final call to action ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cta-download p { margin-top: 1rem; color: var(--ink-muted); }
.cta-download .badge { display: inline-block; margin-top: 1.5rem; }
.cta-download .badge img { width: 180px; }
.signup-card {
  margin-top: clamp(2rem, 5vw, 3rem); padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(29, 44, 70, 0.05), 0 10px 28px rgba(29, 44, 70, 0.07);
  scroll-margin-top: 6rem;
}
.signup-card h3 { font-size: 1.3rem; }
.signup-card > p { margin-top: 0.4rem; color: var(--ink-muted); font-size: 1rem; }
.signup-card .rs-form { margin-top: 1.1rem; }
.cta-media img { margin-inline: auto; }
@media (max-width: 699.98px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-media { order: -1; }
  .cta-media img { max-height: 520px; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 3rem 2.5rem; font-size: 1rem; background: var(--navy); color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: flex-start; justify-content: space-between; }
.footer-brand img { width: 140px; }
.footer-brand p { margin-top: 0.75rem; color: #d6e1f0; font-size: 0.95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; }
.footer-links a { color: #d6e1f0; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { max-width: none; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); color: #d6e1f0; font-size: 0.875rem; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head p { margin-top: 1rem; color: var(--ink-muted); font-size: 1.2rem; }
.page-body { padding-block: clamp(3rem, 7vw, 5rem); }
.page-body .form { max-width: 44rem; }
.prose > * { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.75rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose p, .prose ul { margin-top: 0.9rem; color: var(--ink-muted); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose .updated { margin-top: 2.5rem; font-size: var(--step--1); }

/* ---------- Contact page and shared RadarSend form styles (.rs-form) ---------- */
.contact { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro card" "answers card"; grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.contact-intro { grid-area: intro; }
.contact-card { grid-area: card; }
.quick-answers { grid-area: answers; }
.contact-lede { margin-top: 1rem; font-size: 1.2rem; color: var(--ink-muted); max-width: 32ch; }
.quick-answers { margin-top: clamp(2rem, 5vw, 3rem); }
.quick-answers h2 { font-size: 1.1rem; }
.quick-answers ul { list-style: none; margin: 0.75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.quick-answers li { border-bottom: 1px solid var(--line); }
.quick-answers li a { display: block; padding: 0.7rem 0; color: var(--ink); text-decoration: none; font-size: 1rem; }
.quick-answers li a:hover { color: var(--brand-ink); text-decoration: underline; }
.quick-answers p { margin-top: 0.9rem; font-size: 0.95rem; }
.quick-answers p a { color: var(--brand-ink); }

.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: 0 1px 2px rgba(29, 44, 70, 0.05), 0 16px 40px rgba(29, 44, 70, 0.08);
  scroll-margin-top: 6rem;
}
.rs-form { display: grid; gap: 1.35rem; }
.rs-form-title { font-size: 1.35rem; }

.rs-form .field { display: grid; gap: 0.45rem; align-content: start; }
.rs-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .rs-form .field-row { grid-template-columns: 1fr; } }
.rs-form input, .rs-form select, .rs-form textarea { scroll-margin-top: 8rem; } /* clear the sticky header when focused */
.rs-form label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.98rem; }
.rs-form .optional { font-weight: 400; font-size: 0.85rem; color: var(--ink-muted); }
.rs-form input, .rs-form select, .rs-form textarea {
  font: 400 1.05rem/1.45 var(--body); color: var(--ink);
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem;
  background: #fbfdff; border: 1px solid #b8c6d8; border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.rs-form input:hover, .rs-form select:hover, .rs-form textarea:hover { border-color: #93a7c0; }
.rs-form input:focus, .rs-form select:focus, .rs-form textarea:focus {
  outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 127, 192, 0.18);
}
.rs-form select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%234a5a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1.1rem;
}
.rs-form select:has(option[value=""]:checked) { color: var(--ink-muted); }
.rs-form textarea { min-height: 9.5rem; resize: vertical; overflow: hidden; }
.rs-form .field-hint { font-size: 0.88rem; color: var(--ink-muted); }

/* Mailing-list opt-in */
.rs-form label.check {
  display: flex; justify-content: flex-start; align-items: flex-start; gap: 0.8rem;
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff;
  font-weight: 400; cursor: pointer;
}
.rs-form label.check:hover { border-color: #b8c6d8; }
.rs-form label.check:has(input:checked) { border-color: var(--brand); background: #f3f9fd; }
.rs-form input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 22px; min-height: 0; height: 22px; padding: 0; margin: 0.05rem 0 0;
  border: 1.5px solid #93a7c0; border-radius: 6px; background: #fff; cursor: pointer;
  display: grid; place-content: center;
}
.rs-form input[type="checkbox"]::after {
  content: ""; width: 12px; height: 12px; background: #fff; transform: scale(0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.12s ease-out;
}
.rs-form input[type="checkbox"]:checked { background: var(--brand); border-color: var(--brand); }
.rs-form input[type="checkbox"]:checked::after { transform: scale(1); }
.rs-form input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.check-text { display: grid; gap: 0.15rem; }
.check-title { font-weight: 600; font-size: 0.98rem; }
.check-note { font-size: 0.88rem; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .rs-form input[type="checkbox"]::after { transition: none; } }

/* Topic-specific guidance, shown above the message box */
.topic-hint {
  font-size: 0.92rem; line-height: 1.45; color: var(--ink);
  background: var(--sky); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0;
  padding: 0.65rem 0.85rem;
}

/* Errors: our inline checks and RadarSend's server messages share these styles */
.rs-form [aria-invalid="true"] { border-color: #c4372f; background: #fffafa; box-shadow: inset 0 0 0 1px #c4372f; }
.rs-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(196, 55, 47, 0.16); }
.field-error:empty { display: none; }
.radarsend-error {
  display: flex; gap: 0.4rem; align-items: flex-start;
  font-size: 0.9rem; font-weight: 500; color: #b42318;
}
.radarsend-error::before {
  content: "!"; flex: none; display: inline-grid; place-items: center; margin-top: 0.12rem;
  width: 1rem; height: 1rem; border-radius: 50%; background: #b42318; color: #fff;
  font-size: 0.7rem; font-weight: 700; line-height: 1;
}

.form-actions { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.button-block { width: 100%; min-height: 52px; font-size: 1.05rem; border-radius: 10px; }
.form-privacy { font-size: 0.85rem; color: var(--ink-muted); text-align: center; max-width: none; }
.form-privacy a { color: var(--ink-muted); }

/* Sending */
.rs-form.radarsend-submitting button[type="submit"] { opacity: 0.85; cursor: progress; }
.rs-form.radarsend-submitting button[type="submit"]::before {
  content: ""; width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .rs-form.radarsend-submitting button[type="submit"]::before { animation: none; }
  .rs-form input, .rs-form select, .rs-form textarea { transition: none; }
}

/* Sent */
.radarsend-success { padding-block: clamp(1rem, 4vw, 2.5rem); }
.sent { display: grid; justify-items: center; text-align: center; gap: 0.75rem; }
.sent-icon { width: 56px; height: 56px; }
.sent-icon circle { fill: var(--sky); stroke: var(--brand); stroke-width: 2.5; }
.sent-icon path { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sent-title { font-size: 1.6rem; }
.sent-title:focus { outline: none; }
.sent-message { font-size: 1.1rem; color: var(--ink); }
.sent-message, .sent-note { max-width: 40ch; }
.sent-note { font-size: 0.95rem; color: var(--ink-muted); }
.sent-note a { color: var(--brand-ink); }
.sent-compact .sent-icon { width: 44px; height: 44px; }
.sent-compact .sent-title { font-size: 1.3rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "card" "answers"; row-gap: 2rem; }
  .quick-answers { margin-top: 0.5rem; }
}

/* ---------- Get Updates page (reuses the contact layout) ---------- */
.contact-card > .rs-form-title { margin-bottom: 1.25rem; }
.updates-list { grid-area: answers; margin-top: clamp(1.5rem, 4vw, 2.5rem); max-width: 26rem; }
/* Once signed up, the card shows only the confirmation */
.contact-card:has(.radarsend-success) > .rs-form-title,
.signup-card:has(.radarsend-success) > h3:first-child,
.signup-card:has(.radarsend-success) > p { display: none; }

/* =====================================================================
   SkyTimer 3 homepage
   The app's new screens are dark navy with green fuel paths. The site stays light,
   with one dark "cockpit" section (.night) where the fuel-system drawing glows.
   ===================================================================== */
:root {
  --night: #0c1830;          /* close to the app's panel navy */
  --night-raised: #13223f;
  --night-line: rgba(255, 255, 255, 0.14);
  --night-ink: #f3f7fc;
  --night-muted: #b4c2d8;
  --feed: #34d873;           /* the app's active-feed green; decoration only */
}

/* Launch announcement */
.announce {
  display: flex; justify-content: center; align-items: center; gap: 0.6rem;
  padding: 0.55rem var(--gutter); background: var(--sky); color: var(--ink);
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
}
.announce:hover { text-decoration: underline; }
.announce-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--tag); color: var(--tag-ink); border-radius: 999px; padding: 0.15rem 0.55rem;
}

/* Shared bits */
.eyebrow {
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink);
}
.text-link { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.fine-print { font-size: 0.9rem; line-height: 1.5; color: var(--ink-muted); }
.section-link { margin-top: clamp(2rem, 5vw, 3rem); }
.section-head p + p { margin-top: 0.9rem; }

/* Hero: headline and copy on the left, iPhone and Watch on the right */
.hero-head { grid-area: title; align-self: end; }
.hero-head .hero-title { margin-top: 0.75rem; font-size: clamp(2.75rem, 1rem + 4.2vw, 4.75rem); }
.hero-devices img { width: auto; max-height: min(82vh, 720px); margin-inline: auto; }
.hero-note { margin-top: 1.25rem; font-size: var(--step--1); line-height: 1.5; color: var(--ink-muted); max-width: 42ch; }
@media (max-width: 879.98px) {
  .hero-devices img { max-height: 560px; }
}

/* Dark cockpit section */
.night { background: var(--night); color: var(--night-ink); }
.night .section-head { max-width: 50rem; }
.night .section-head p { color: var(--night-muted); }
.night .text-link { color: #8fd0ff; }
.night .fine-print { color: var(--night-muted); }

.callouts { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; }
.callouts li {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.9rem;
  border: 1px solid var(--night-line); border-radius: 999px; font-size: 0.95rem; font-weight: 600;
}
.callouts li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--feed); box-shadow: 0 0 8px var(--feed); }

.examples { list-style: none; margin: clamp(2.5rem, 6vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.example h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.example p { margin-top: 0.4rem; color: var(--night-muted); font-size: 1rem; }
.example-shot, .example .placeholder { width: 100%; aspect-ratio: 760 / 1172; border-radius: 18px; }
.example-shot { object-fit: cover; box-shadow: 0 0 0 1px var(--night-line), 0 20px 50px rgba(0, 0, 0, 0.35); }
/* Three across down to 640px (iPad and Duo portrait); a centered single column on phones */
@media (max-width: 639.98px) {
  .examples { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
}

.fuel-foot { margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: baseline; }
.fuel-foot p { color: var(--night-muted); }
.fuel-foot + .fine-print { margin-top: 1rem; }

/* Stand-in for a screenshot we don't have yet. Remove once the real one is in. */
.placeholder {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.75rem;
  padding: 1.5rem; text-align: center; font-size: 0.95rem; line-height: 1.45;
  border: 2px dashed currentColor; opacity: 0.75; color: inherit;
}
.placeholder-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tag); }
.paper .placeholder-tag, .sky .placeholder-tag { color: var(--brand-ink); }

/* Before, during, after */
.stages { list-style: none; margin: clamp(2.5rem, 6vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.stage img { width: auto; max-height: 520px; margin-inline: auto; }
.stage h3 { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
.stage p { margin-top: 0.6rem; color: var(--ink-muted); font-size: 1rem; }
.stage-num {
  flex: none; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  font: 700 0.95rem/1 var(--body); color: #fff; background: var(--brand-ink);
}
@media (max-width: 639.98px) {
  .stages { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .stage img { max-height: 440px; }
}

/* Split images */
.shot-tall { width: auto; max-height: min(78vh, 680px); }
.panel-shot { border-radius: 16px; box-shadow: 0 18px 44px rgba(12, 24, 48, 0.22); }

/* iPad and Duo */
.wide-shot { margin: clamp(2rem, 5vw, 3rem) 0 0; }
.wide-shot img { margin-inline: auto; max-width: min(100%, 1100px); }
.device-points { margin-top: clamp(2.5rem, 6vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.device-points > div { padding-top: 1.1rem; border-top: 2px solid var(--brand); }
.device-points h3 { font-size: 1.15rem; }
.device-points p { margin-top: 0.6rem; color: var(--ink-muted); font-size: 1rem; }
.duo-pair { margin: clamp(3rem, 7vw, 4.5rem) 0 0; display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: end; max-width: 980px; margin-inline: auto; }
.duo-pair figcaption { grid-column: 1 / -1; text-align: center; font-size: 0.95rem; color: var(--ink-muted); }
@media (max-width: 860px) {
  .device-points { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .duo-pair { grid-template-columns: 1fr; }
  .duo-closed { max-width: 60%; margin-inline: auto; }
}

/* Guided test flight */
.test-flight { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.test-copy p { margin-top: 1.1rem; color: var(--ink-muted); }
.test-copy .button { margin-top: 1.75rem; }
.route {
  position: relative; display: flex; align-items: center; gap: 0.9rem;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--night); color: var(--night-ink);
}
.route-apt { font: 700 1.05rem/1 var(--body); letter-spacing: 0.04em; background: var(--tag); color: var(--tag-ink); padding: 0.35rem 0.5rem; border-radius: 6px; }
.route-line { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--feed) 0 10px, transparent 10px 18px); }
.route-plane { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%) rotate(90deg); fill: #fff; stroke: var(--night); stroke-width: 7; paint-order: stroke; stroke-linejoin: round; }
.route-tag {
  position: absolute; top: 0.8rem; right: 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--night-muted);
}
@media (max-width: 860px) { .test-flight { grid-template-columns: 1fr; } }

/* Plans */
.plans { margin-top: clamp(2rem, 5vw, 3rem); display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.25rem; max-width: 52rem; }
.plan { padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.plan-plus { border: 2px solid var(--brand); }
.plan h3 { font-size: 1.3rem; }
.plan-note { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-muted); }
.check-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.check-list li { position: relative; padding-left: 1.75rem; font-size: 1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.1rem; height: 1.1rem; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* Final call to action */
.cta-download .fine-print { margin-top: 1rem; max-width: 46ch; }

/* Footer with grouped links */
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 6vw, 4.5rem); }
.footer-heading { font: 700 0.8rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; }
.footer-nav .footer-links { flex-direction: column; gap: 0.55rem; }

/* ---------- Plus page ---------- */
.plus-head h1 { margin-top: 0.75rem; }
.plus-head .hero-cta { margin-top: 1.75rem; }
.compare-scroll { margin-top: clamp(1.5rem, 4vw, 2.5rem); overflow-x: auto; }
.compare { width: 100%; max-width: 56rem; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 700 0.85rem/1.2 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 2px solid var(--ink); }
.compare td { width: 8.5rem; }
.compare tbody th { font-weight: 500; }
.compare .compare-plus { color: var(--brand-ink); }
.compare td:last-child { background: #f3f9fd; }
.compare-group th { padding-top: 1.75rem; font: 600 1.1rem var(--display); color: var(--brand-ink); border-bottom: 2px solid var(--line); }
.row-note { display: block; font-size: 0.88rem; font-weight: 400; color: var(--ink-muted); }
.compare .yes, .compare .no { display: inline-block; width: 1.25rem; height: 1.25rem; overflow: hidden; text-indent: 2rem; white-space: nowrap; vertical-align: -0.15rem; }
.compare .yes {
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4 4 9-9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare .no { text-indent: 0; width: auto; height: auto; overflow: visible; color: #8a97ab; }
.compare-pricing { margin-top: 1.5rem; color: var(--ink-muted); max-width: 56rem; }
.compare-pricing strong { color: var(--ink); }
@media (max-width: 560px) {
  .compare td { width: 4.5rem; padding-inline: 0.5rem; }
  .compare tbody th { padding-left: 0; }
}

/* ---------- Feature pages (Fuel Tracking, …) ---------- */
.page-split h1 { margin-top: 0.75rem; }
.page-split .split-copy > p { font-size: 1.2rem; }
.page-split .hero-cta { margin-top: 1.75rem; }
.page-head-shot { width: auto; max-height: min(72vh, 600px); }
.night .split-copy p { color: var(--night-muted); }
.examples-wide { grid-template-columns: repeat(2, minmax(0, 20rem)); }
.examples-wide .example-shot, .examples-wide .placeholder { aspect-ratio: 760 / 1000; }
.subhead { margin-top: clamp(4rem, 9vw, 6rem); }
.twin { margin-top: clamp(4rem, 9vw, 6rem); grid-template-columns: 1fr minmax(0, 20rem); }
.twin .placeholder { width: 100%; aspect-ratio: 760 / 1000; border-radius: 18px; }
.twin h3 { margin-top: 1.1rem; font-size: 1.15rem; }
@media (max-width: 639.98px) {
  .examples-wide { grid-template-columns: 1fr; margin-inline: auto; }
}
@media (max-width: 860px) {
  .twin { grid-template-columns: 1fr; }
  .twin .example { max-width: 26rem; order: 1; }
  .page-head-shot { max-height: 460px; }
}
.examples-wide .example-shot { object-position: top; }
.page-split h1 { font-size: clamp(2.4rem, 1.2rem + 3vw, 3.6rem); }
@media (max-width: 860px) { .page-split .split-media { order: 0; } }

/* ---------- Flight Logging and Apple Watch pages ---------- */
.placeholder-phone, .placeholder-watch { margin-inline: auto; border-radius: 28px; color: var(--ink-muted); }
.placeholder-phone { width: min(100%, 260px); aspect-ratio: 520 / 1061; }
.placeholder-watch { width: min(100%, 240px); aspect-ratio: 1 / 1.2; border-radius: 48px; }
.export-list { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.export-list li { padding-top: 1.1rem; border-top: 2px solid var(--brand); color: var(--ink-muted); font-size: 1rem; }
.export-list strong { display: block; margin-bottom: 0.3rem; font: 600 1.15rem var(--display); color: var(--ink); }
@media (max-width: 760px) { .export-list { grid-template-columns: 1fr; } }
.crown-pages { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crown-pages li { padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--sky); font-weight: 600; font-size: 0.95rem; }
.watch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; justify-items: center; }
.watch-pair img { width: min(100%, 240px); }
.watch-hero { max-height: min(60vh, 440px); }
.cta-fine { margin-top: 1.25rem; }
.watch-single img { width: min(100%, 280px); margin-inline: auto; }

/* ---------- What's New ---------- */
.new-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); text-align: center; overflow: hidden; }
.new-hero-head { max-width: 44rem; margin-inline: auto; }
.new-hero h1 { margin-top: 0.75rem; }
.new-hero-head > p:not(.eyebrow) { margin: 1.25rem auto 0; font-size: 1.2rem; color: var(--night-muted); }
.new-hero .hero-cta { justify-content: center; }
.eyebrow-night { color: var(--feed); }
.new-hero .text-link { color: #8fd0ff; }
.new-hero-shot { margin: clamp(2.5rem, 6vw, 4rem) auto 0; max-width: min(100%, 1100px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45)); }
.new-row h3 { font-size: var(--step-2); line-height: 1.12; }
.new-num {
  display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  font: 700 1.05rem/1 var(--body); color: #fff; background: var(--brand-ink); margin-bottom: 1rem;
}
.new-row .split-copy .new-num + h3 + p { margin-top: 1.1rem; }
.new-shot { width: auto; max-height: min(70vh, 560px); }
.new-watch { width: min(100%, 280px); }
.also-list { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); }
.also-list li { padding-top: 1.1rem; border-top: 2px solid var(--brand); color: var(--ink-muted); font-size: 1rem; }
.also-list strong { display: block; margin-bottom: 0.3rem; font: 600 1.15rem var(--display); color: var(--ink); }
.upgrade-list { list-style: none; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.upgrade-list li { padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: 16px; background: var(--sky); }
.upgrade-list h3 { font-size: 1.2rem; }
.upgrade-list p { margin-top: 0.5rem; color: var(--ink-muted); font-size: 1rem; }
.upgrade-cta { margin-top: clamp(2rem, 5vw, 3rem); }
.upgrade-cta .fine-print { max-width: 46ch; }
@media (max-width: 860px) {
  .also-list, .upgrade-list { grid-template-columns: 1fr; }
  .new-shot { max-height: 460px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .also-list { grid-template-columns: repeat(2, 1fr); } }
.split-copy .new-num { color: #fff; margin-top: 0; }

/* 404 */
.lost-links { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.lost-links a { color: var(--brand-ink); font-weight: 600; }

/* Hero: wide iPad, iPhone and Watch group shot (v3) */
.hero-devices img { width: 100%; max-height: none; }
@media (min-width: 1300px) { .hero-devices img { width: 110%; max-width: none; margin-left: -2%; } }
.efb-shot { margin-top: clamp(3rem, 7vw, 4.5rem); }
.efb-shot img { max-width: min(100%, 1000px); }
.efb-shot figcaption, .wide-shot figcaption { margin-top: 1rem; text-align: center; font-size: 0.95rem; color: var(--ink-muted); }

/* Full screen or beside your EFB (homepage #efb) */
.modes { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.modes-label, .mode-row { display: grid; grid-template-columns: 7rem 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.modes-label { max-width: none; width: 100%; margin: 0 0 1rem; font: 600 0.85rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--feed); }
.modes-label::before { content: ""; }
.mode-row { align-items: start; padding-block: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid rgba(255,255,255,0.14); }
.mode-device { font-size: 1.35rem; color: #fff; padding-top: 0.2rem; }
.mode { margin: 0; }
.mode img { display: block; margin-inline: auto; }
.mode-iphone .mode img { height: clamp(300px, 34vw, 460px); width: auto; }
.mode-ipad .mode img { width: 100%; height: auto; }
.mode figcaption { margin-top: 1.1rem; color: var(--night-muted); font-size: 1rem; max-width: 30rem; }
.mode figcaption strong { color: #fff; font-weight: 600; }
.modes-more { margin-top: clamp(1.5rem, 4vw, 2rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); color: var(--night-muted); max-width: 52rem; }
.modes-more .text-link { display: inline-block; margin-top: 0.5rem; }
@media (max-width: 760px) {
  .modes-label { display: none; }
  .mode-row { grid-template-columns: 1fr 1fr; }
  .mode-device { grid-column: 1 / -1; }
  .mode-iphone .mode img { height: auto; width: min(100%, 220px); }
}
@media (max-width: 520px) {
  .mode-ipad { grid-template-columns: 1fr; }
}
#devices .duo-pair { margin-top: clamp(2rem, 5vw, 3rem); }

/* With your EFB page */
.efb-phones { display: flex; gap: clamp(0.75rem, 3vw, 1.5rem); justify-content: center; }
.efb-phones img { width: min(46%, 240px); height: auto; margin: 0; }
.full-pair { margin-top: clamp(2rem, 5vw, 3rem); display: flex; align-items: flex-end; justify-content: center; }
.full-pair .full-ipad { width: min(72%, 760px); height: auto; margin: 0; }
.full-pair .full-iphone { width: min(22%, 230px); height: auto; margin: 0 0 0 -4%; position: relative; filter: drop-shadow(0 12px 24px rgba(12,24,48,0.3)); }

/* Fuel system guides */
.page-head .eyebrow a { color: inherit; text-decoration: none; }
.page-head .eyebrow a:hover { text-decoration: underline; }
.phone-single img { width: min(70%, 300px); height: auto; margin-inline: auto; }
.page-split .split-media > img[width="483"] { width: min(62%, 300px); height: auto; }
.phone-pair, .efb-phones { display: flex; gap: clamp(0.75rem, 3vw, 1.5rem); justify-content: center; }
.phone-pair img { width: min(46%, 260px); height: auto; margin: 0; }
.night .split-points li { border-top-color: var(--night-line); color: var(--night-muted); }
.night .split-points strong { color: #fff; }
.type-list { list-style: none; margin: clamp(1.5rem, 4vw, 2rem) 0 0; padding: 0; columns: 3 15rem; column-gap: clamp(1.5rem, 4vw, 3rem); }
.type-list li { break-inside: avoid; padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.type-note { margin-top: 1.5rem; color: var(--ink-muted); }
.type-groups { margin-top: clamp(2rem, 5vw, 3rem); display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 2.75rem); }
.type-groups h3 { font-size: 1.15rem; }
.type-groups h3 + .type-list { margin-top: 0.75rem; }
.type-groups .type-list + h3 { margin-top: clamp(2rem, 5vw, 2.75rem); }
.type-groups .type-list { columns: 4 13rem; }
.type-groups h3 a { color: var(--brand-ink); }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.guide-card a { display: block; text-decoration: none; color: var(--ink); }
.guide-card img { width: 100%; aspect-ratio: 760 / 900; object-fit: cover; object-position: top; border-radius: 18px; background: var(--night); box-shadow: 0 12px 30px rgba(12, 24, 48, 0.18); transition: transform 0.15s; }
.guide-card a:hover img { transform: translateY(-3px); }
.guide-card-title { display: block; margin-top: 1rem; font: 600 1.2rem var(--display); }
.guide-card a:hover .guide-card-title { text-decoration: underline; }
.guide-card p { margin-top: 0.35rem; color: var(--ink-muted); font-size: 1rem; }
.builder-list { margin-top: clamp(1.5rem, 4vw, 2rem); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2rem; max-width: 56rem; }
.night .builder-list li { color: var(--night-ink); }
.guide-more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.guide-more h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.guide-more p { margin-top: 0.75rem; color: var(--ink-muted); }
.guide-links { list-style: none; margin: 1rem 0 0; padding: 0; }
.guide-links li { border-top: 1px solid var(--line); }
.guide-links a { display: block; padding: 0.75rem 0; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.guide-links a:hover { text-decoration: underline; }
@media (max-width: 999px) { .guide-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .guide-more { grid-template-columns: 1fr; } .builder-list { grid-template-columns: 1fr; } }
#guides .section-head + .guide-cards { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.builder-list + .fine-print { margin-top: clamp(1.5rem, 4vw, 2rem); max-width: 48rem; }
.guides-line { margin-top: clamp(2rem, 5vw, 3rem); color: var(--night-muted); font-size: 1rem; }
.guides-line a { color: #8fd0ff; font-weight: 600; }

/* Nearest (homepage) */
.nearest-trio { list-style: none; margin: clamp(3rem, 7vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
.nearest-trio img { width: min(80%, 260px); height: auto; margin-inline: auto; }
.nearest-trio .nearest-watch img { width: min(62%, 200px); }
.nearest-trio h3 { margin-top: 1.25rem; font-size: 1.15rem; }
.nearest-trio p { margin-top: 0.4rem; color: var(--ink-muted); font-size: 1rem; }
#nearest .nearest-trio + .fine-print { margin-top: clamp(1.5rem, 4vw, 2rem); }
@media (max-width: 639.98px) { .nearest-trio { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } .nearest-trio li { text-align: left; } }
.nearest-trio { align-items: start; }
.trio-shot { height: clamp(340px, 34vw, 500px); display: flex; align-items: flex-end; justify-content: center; }
.trio-shot img, .nearest-trio .nearest-watch .trio-shot img { width: auto; height: 100%; max-width: 100%; margin: 0; object-fit: contain; }
.nearest-trio .nearest-watch .trio-shot img { height: 66%; }

/* Swipe demo (iPhone flight pages). Card and dots positions are fractions of the 1470×3000 framed screenshot. */
.swipe-demo { position: relative; isolation: isolate; z-index: 0; width: min(100%, 255px); margin-inline: auto; aspect-ratio: 1470 / 3000; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.swipe-demo .swipe-base, .stage .swipe-demo .swipe-base { display: block; width: 100%; height: auto; max-height: none; margin: 0; }
.swipe-clip { position: absolute; left: 7.415%; top: 30.033%; width: 85.170%; height: 64.367%; overflow: hidden; border-radius: 6% / 4%; }
.swipe-track { display: flex; height: 100%; transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.25, 1); will-change: transform; }
.swipe-track img, .stage .swipe-track img { flex: 1 1 0; width: 0; min-width: 0; height: 100%; max-height: none; margin: 0; object-fit: cover; }
.swipe-dots { position: absolute; left: 40.68%; top: 91.233%; width: 18.64%; height: 2.267%; }
.swipe-dots img, .stage .swipe-dots img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; margin: 0; opacity: 0; }
.swipe-dots img.is-on { opacity: 1; }
.swipe-toggle { position: absolute; z-index: 2147483647; right: -16px; bottom: 5%; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(12, 24, 48, 0.85); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 4px 12px rgba(12,24,48,0.25); }
.swipe-toggle::before { content: ""; width: 10px; height: 12px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.swipe-toggle[data-state="paused"]::before { width: 0; height: 0; border-inline: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.swipe-toggle:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (max-width: 860px) { .swipe-demo { width: min(100%, 216px); } }
.scroll-layer { position: absolute; inset: 0; }
.scroll-layer img, .stage .scroll-layer img { position: absolute; max-height: none; margin: 0; }
.scroll-frame, .scroll-bezel { inset: 0; width: 100%; height: 100%; }
.scroll-frame { opacity: 0; }
.scroll-frame.is-on { opacity: 1; }
.scroll-clip { position: absolute; overflow: hidden; opacity: 0; }
.scroll-clip.is-on { opacity: 1; }
.scroll-layer .scroll-tall, .stage .scroll-layer .scroll-tall { position: static; display: block; width: 100%; height: auto; transition: transform 1.1s cubic-bezier(0.3, 0.1, 0.2, 1); will-change: transform; }
.scroll-bezel { pointer-events: none; z-index: 2147483000; }

/* Fuel Tracking: gauges vs totalizers vs SkyTimer, and the multi-step plan */
.compare-cards { list-style: none; margin: clamp(2.5rem, 6vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.compare-cards li { display: flex; flex-direction: column; }
.compare-visual { height: clamp(180px, 18vw, 240px); display: flex; align-items: center; justify-content: center; }
.compare-visual img { max-height: 100%; width: auto; max-width: 100%; margin: 0; }
.compare-label { margin-top: 1.5rem; font: 600 0.8rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-ink); }
.compare-cards h3 { margin-top: 0.6rem; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.compare-cards p:not(.compare-label) { margin-top: 0.75rem; color: var(--ink-muted); font-size: 1rem; }
.plan-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.plan-head .section-head { max-width: none; }
.plan-shot { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--night-line), 0 20px 50px rgba(0, 0, 0, 0.35); }
@media (max-width: 860px) { .plan-head { grid-template-columns: 1fr; } }
.compare-close { position: relative; margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); max-width: 52rem; }
.compare-close p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; color: var(--ink-muted); }
.compare-close strong { display: block; margin-bottom: 0.4rem; font: 600 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--display); color: var(--ink); }
/* Sits on the line between this section and the next */
.section-connector { position: absolute; left: 0; bottom: calc(-1 * clamp(2.5rem, 5vw, 4rem) - 28px); z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: #0c1830; text-decoration: none; background: var(--feed); box-shadow: 0 0 0 6px var(--paper), 0 0 24px rgba(52, 216, 115, 0.45); transition: transform 0.2s; }
.section-connector:hover { transform: translateY(3px); }
.section-connector:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
#compare { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
#plan { padding-top: clamp(4.5rem, 8vw, 6rem); }
@media (max-width: 639.98px) { .compare-cards { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; } .compare-visual { height: 200px; } }

.quote-groups { margin-top: clamp(2.5rem, 6vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3rem); }
.quote-group-title { display: flex; align-items: center; gap: 0.65rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--feed); font: 600 0.85rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.quote-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(52, 216, 115, 0.14); color: var(--feed); }
.quote-icon svg { width: 20px; height: 20px; }
.quote-list { list-style: none; margin: 0; padding: 0; }
.quote-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--night-line); }
.quote-text { font: 600 clamp(1.05rem, 1.5vw, 1.2rem)/1.35 var(--display); color: #fff; }
.quote-trigger { margin-top: 0.45rem; display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--feed); font-weight: 600; }
.quote-trigger::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--feed); }
#plan .quote-groups + .fine-print { margin-top: clamp(1.5rem, 4vw, 2rem); }
@media (max-width: 639.98px) { .quote-groups { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }
@media (min-width: 640px) and (max-width: 879.98px) { .quote-groups { gap: 1.25rem; } .quote-text { font-size: 0.95rem; } }
.page-head-shot.page-head-wide, .page-split .page-head-wide { width: 100%; height: auto; max-height: none; }
.type-callout { margin-top: clamp(1.25rem, 3vw, 1.75rem); padding: 1rem 1.25rem; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: #fff; color: var(--ink-muted); max-width: 52rem; }
.type-callout strong { color: var(--ink); }
.type-callout a { color: var(--brand-ink); font-weight: 600; }
#aircraft .type-groups + .fine-print { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
#builder .builder-list { grid-template-columns: 1fr; margin-top: 1.5rem; }
#builder .split-media img { width: 100%; height: auto; }

/* Flight Logging: the trip written into a paper logbook */
.lb { margin: clamp(2rem, 5vw, 3rem) 0 0; container-type: inline-size; }
.lb-scroll { overflow-x: auto; border-radius: 6px; box-shadow: 0 1px 0 #e3dcc7, 0 18px 40px rgba(29, 44, 70, 0.14); -webkit-overflow-scrolling: touch; }
.lb-scroll:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.lb-page { width: 100%; font-size: clamp(13px, calc(100cqi / 71.5), 16px); border-collapse: collapse; table-layout: fixed; background: #fbf7ea linear-gradient(180deg, rgba(255,255,255,0.5), rgba(0,0,0,0.015)); font-family: var(--display); }
.lb-page th { padding: 0.45rem 0.3rem; border: 1px solid #b9c7b4; background: #eef1e2; color: #3d5a45; font: 600 0.68em/1.15 var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-align: center; vertical-align: middle; }
.lb-page td { height: 3.4em; padding: 0.2em 0.3em; border-left: 1px solid #c9d3c3; border-right: 1px solid #c9d3c3; border-bottom: 1px solid #9fc1d9; text-align: center; vertical-align: middle; font-family: "Bradley Hand", "Noteworthy", "Segoe Print", "Ink Free", "Comic Sans MS", cursive; font-size: 1.1em; line-height: 1.05; white-space: nowrap; overflow: hidden; }
.lb-page td:nth-child(n+14):nth-child(-n+15) { font-size: 1.02em; }
.ink-st { color: #1f4aa8; }
.lb-entry td:nth-child(odd) { transform: rotate(-0.6deg); }
.lb-entry td:nth-child(3n) { transform: rotate(0.5deg) translateY(1px); }
.lb-blank td { height: 2.6em; }
.capture-list { list-style: none; margin: clamp(2rem, 5vw, 2.75rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem clamp(1.25rem, 3vw, 2rem); }
.capture-list li { padding-top: 1rem; border-top: 2px solid var(--brand); color: var(--ink-muted); font-size: 0.98rem; }
.capture-list strong { display: block; margin-bottom: 0.35rem; font: 600 1.1rem/1.25 var(--display); color: var(--ink); }
#entry .capture-list + .fine-print { margin-top: 1.25rem; }
@media (max-width: 999px) { .capture-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .capture-list { grid-template-columns: 1fr; } }
.lb-entry .m-out, .lb-entry .m-in { display: block; }
.c-date { width: 6em; } .c-model { width: 4.5em; } .c-ident { width: 5.5em; } .c-apt { width: 4.5em; } .c-time { width: 4em; } .c-count { width: 3em; } .c-meter { width: 5.25em; } .c-dur { width: 4em; }
.logten-list { margin-top: 1.25rem; }
.night .logten-list li { color: var(--night-ink); }
.export-more h3 { color: #fff; font-size: 1.15rem; }
.export-more h3 + p { margin-top: 0.4rem; }
.export-more p + h3 { margin-top: 1.75rem; }
#shutdown .swipe-demo { width: min(100%, 300px); }
/* Narrow logbook (container under ~930px): the entry stacks into a logbook card */
@container (max-width: 929.98px) {
  .lb-scroll { overflow: visible; }
  .lb-page { min-width: 0; table-layout: auto; }
  .lb-page colgroup, .lb-page thead, .lb-blank { display: none; }
  .lb-page, .lb-page tbody, .lb-entry { display: block; width: 100%; }
  .lb-entry td { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: auto; min-height: 2.6rem; padding: 0.35rem 0.9rem; border-left: 0; border-right: 0; text-align: right; overflow: visible; white-space: normal; transform: none !important; }
  .lb-entry td::before { content: attr(data-label); flex: none; color: #3d5a45; font: 600 0.68rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-align: left; }
  .lb-entry td:nth-child(n+14):nth-child(-n+15) { font-size: 1.1rem; }
  .lb-entry .m-out, .lb-entry .m-in { display: inline; }
  .lb-entry .m-in::before { content: "→ "; }
  .lb-entry td:last-child { border-bottom: 0; }
}
@container (max-width: 929.98px) {
  .lb-page { font-size: 1rem; }
  .lb-entry td { justify-content: flex-start; gap: 0.4rem; }
  .lb-entry td::before { margin-right: auto; padding-right: 1rem; }
}
/* Medium logbook: two columns of fields */
@container (min-width: 520px) and (max-width: 929.98px) {
  .lb-entry { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(9, auto); grid-auto-flow: column; column-gap: 0; }
  .lb-entry td:nth-child(-n+9) { border-right: 1px solid #c9d3c3; }
  .lb-entry td:nth-child(9) { border-bottom: 0; }
}
@media (min-width: 861px) { .page-split.split-wide-media { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); } }
@media (min-width: 861px) { .split-wide-media h1 { font-size: clamp(2.1rem, 3.3vw, 2.85rem); } }

/* Fuel Tracking: what the pilot does vs. what SkyTimer does */
.you-steps { list-style: none; counter-reset: you; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; }
.you-steps li { counter-increment: you; position: relative; padding-left: 3rem; color: var(--ink-muted); font-size: 1rem; }
.you-steps li::before { content: counter(you); position: absolute; left: 0; top: -0.1rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 600 0.95rem/1 var(--display); }
.you-steps strong { display: block; color: var(--ink); font: 600 1.08rem/1.3 var(--display); margin-bottom: 0.15rem; }
.you-more { margin-top: 2rem; }
.estimate-terms { margin-top: 1.5rem; max-width: 48rem; }
.type-group-note { margin-top: 0.5rem; color: var(--ink-muted); font-size: 0.95rem; max-width: 40rem; }
.type-groups h3 + .type-group-note + .type-list { margin-top: 0.75rem; }
@media (max-width: 560px) { .route { padding-top: 2.6rem; } }
.hero-devices-line { margin-top: 0.75rem; font: 600 1rem/1.4 var(--display); color: var(--ink); }
/* Two-sentence hero headline: each sentence on one line, sized to its column */
.hero-head { container-type: inline-size; }
.hero-head .hero-title { font-size: clamp(2.2rem, 11.6cqi, 4.75rem); }
.hero-head .hero-title .line { white-space: nowrap; }
/* Hero: press cards sit under the devices on wide screens, after the copy on narrow ones */
.hero-grid > .press { grid-area: press; }
@media (min-width: 880px) {
  .hero-grid { grid-template-areas: "title image" "copy image" "copy press"; grid-template-rows: auto auto 1fr; }
  .hero-grid > .press { margin-top: clamp(1.25rem, 2.5vw, 2rem); max-width: none; align-self: start; }
}
@media (min-width: 1200px) {
  .hero-grid > .press .press-item { display: grid; grid-template-columns: 8.5rem 1fr; grid-template-rows: auto auto; column-gap: 1rem; row-gap: 0.25rem; align-items: center; }
  .hero-grid > .press .press-logo { grid-row: 1 / span 2; height: 48px; }
  .hero-grid > .press .press-quote { align-self: end; }
  .hero-grid > .press .press-link { margin-top: 0; align-self: start; }
}

@media (max-width: 879.98px) {
  .hero-grid { grid-template-areas: "title" "image" "copy" "press"; }
}
.press-logo img { object-fit: contain; }
@media (min-width: 1200px) {
  .hero-grid > .press .press-logo img { max-width: 100%; height: auto; max-height: 100%; }
  .hero-grid > .press .press-logo .wordmark { width: 100%; height: auto; }
}
@media (min-width: 1200px) {
  .hero-grid > .press .press-logo .wordmark-stacked { display: block; width: auto; height: 46px; max-height: none; }
  .hero-grid > .press .press-logo { justify-content: center; }
}
@media (min-width: 1200px) {
  .hero-grid > .press .press-item { grid-template-columns: 9.5rem 1fr; }
  .hero-grid > .press .press-logo { height: 64px; }
  .hero-grid > .press .press-logo .wordmark-stacked { height: 60px; }
}
.press-logo .wordmark-stacked { display: block; width: auto; height: 50px; max-height: none; }

/* Apple Watch: crown pages row */
.watch-pages { list-style: none; margin: clamp(2.5rem, 6vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.watch-pages img { width: min(100%, 220px); height: auto; margin-inline: auto; }
.watch-pages h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.watch-pages p { margin-top: 0.35rem; color: var(--ink-muted); font-size: 1rem; }
@media (min-width: 640px) and (max-width: 879.98px) { .watch-pages { grid-template-columns: repeat(4, 1fr); gap: 1rem; } .watch-pages h3 { font-size: 1.05rem; } .watch-pages p { font-size: 0.92rem; } }
@media (max-width: 639.98px) { .watch-pages { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } }
#sizes .split-media img { width: 100%; height: auto; }

/* iPad Pilot News badge: a fixed height, because Safari ignores max-height: 100% here */
.press-logo .press-badge { display: block; width: auto; height: 56px; max-height: none; max-width: none; }
@media (min-width: 1200px) {
  .hero-grid > .press .press-logo .press-badge { height: 64px; max-height: none; max-width: none; }
}

/* Mid widths (iPad and Duo portrait): three-across grids get slightly smaller text */
@media (min-width: 640px) and (max-width: 879.98px) {
  .stage h3, .example h3, .nearest-trio h3 { font-size: 1.05rem; }
  .stage p, .example p, .nearest-trio p { font-size: 0.92rem; }
  .stage-num { flex: none; }
}
@media (min-width: 640px) and (max-width: 879.98px) {
  .hero-grid > .press { max-width: none; }
}
@media (min-width: 640px) and (max-width: 860px) { .also-list { grid-template-columns: repeat(2, 1fr); } }
/* Hero headline: calmer size on iPad and Duo portrait */
@media (min-width: 600px) and (max-width: 879.98px) {
  .hero-head .hero-title { font-size: clamp(2.2rem, 7.2cqi, 3.4rem); }
}
