/* 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: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; }
.brand img { width: 150px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-size: 1rem; }
.nav ul a { text-decoration: none; color: var(--ink-muted); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.nav-toggle { display: none; }
.badge img { width: 140px; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: 0.5rem;
    font: 600 1rem var(--body); color: var(--ink);
    background: var(--sky); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 0.5rem 0.85rem; cursor: pointer;
  }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(29, 44, 70, 0.08); padding: 1rem var(--gutter) 1.25rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0.75rem; font-size: 1.125rem; }
}

/* ---------- 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: center; }
.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: 999px) {
  .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); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .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: 860px) {
  .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; }
