/* SkyPulse build story: dark aviation-instrument palette with ion cyan and horizon amber.
   Chromium 67 safe (no clamp/min/max, flex gap, inset, logical padding, aspect-ratio, or gradient text). */
@font-face {
  font-family: 'sy-Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'sy-Space';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

body.page-skypulse {
  --head: 'sy-Space', 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'sy-Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --accent: #55D9E8;
  --accent-ink: #07111F;
  --accent-soft: rgba(85, 217, 232, .13);
  --sy-amber: #FFB65B;
  --sy-amber-soft: rgba(255, 182, 91, .11);
  --bg: #07111F;
  --surface: #102238;
  --hair: rgba(237, 247, 255, .10);
  --hair-2: rgba(237, 247, 255, .20);
  --text: #EDF7FF;
  --text-2: #B8CBDC;
  --muted: #93ACC2;
  --bar: rgba(7, 17, 31, .94);
  --live: #34D399;
}

.page-skypulse main { padding-bottom: 44px; }
.page-skypulse main .wrap { max-width: 824px; }
.page-skypulse main > .wrap:first-child { padding-top: 40px; }
.page-skypulse .crumb { margin: 0 0 26px; font-size: 14px; }
.page-skypulse .crumb a { color: var(--muted); text-decoration: none; }
.page-skypulse .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-skypulse .crumb a:hover { color: var(--accent); }
.page-skypulse .story-app { margin-bottom: 36px; }
.page-skypulse main strong { color: var(--text); font-weight: 600; }

/* Hero */
.sy-hero {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--hair-2);
}
.sy-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sy-hero h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.12;
}
.sy-lead {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-2);
}
.sy-radios {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sy-radios li {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-top: 2px solid var(--accent);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}
.sy-radios li.sy-radio-off { border-top-color: var(--sy-amber); }
.sy-radios strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--head);
  font-size: 15px;
}

/* Body sections */
.sy-section { padding-top: 40px; }
.sy-section h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.2;
}
.sy-section h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  line-height: 1.25;
}
.sy-section p {
  margin: 0 0 18px;
  color: var(--text-2);
}
.sy-section p:last-child { margin-bottom: 0; }
.page-skypulse main p:not(.crumb) a:not(.btn),
.page-skypulse main li a {
  color: var(--text);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.page-skypulse main p:not(.crumb) a:not(.btn):hover,
.page-skypulse main li a:hover { color: var(--accent); }

/* Quote callout */
.sy-quote {
  margin: 22px 0;
  padding: 18px 22px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}
.sy-quote p {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.58;
  color: var(--text);
}
.sy-quote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
}

/* Numbered checklist steps */
.sy-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  counter-reset: systep;
}
.sy-steps li {
  position: relative;
  counter-increment: systep;
  margin: 0 0 14px;
  padding: 16px 18px 16px 56px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 14px;
  color: var(--text-2);
}
.sy-steps li:last-child { margin-bottom: 0; }
.sy-steps li:before {
  content: counter(systep);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 700 13px/26px var(--head);
  text-align: center;
}

/* Bullet points */
.sy-bullets {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
}
.sy-bullets li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  color: var(--text-2);
}
.sy-bullets li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Phase thresholds table */
.sy-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.sy-table caption {
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--hair-2);
  border-bottom: 0;
  color: var(--accent);
  font: 600 15px/1.35 var(--head);
  text-align: left;
}
.sy-table th, .sy-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--hair);
  text-align: left;
  vertical-align: top;
}
.sy-table thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sy-table tbody th {
  color: var(--text);
  font-weight: 600;
}
.sy-table td { color: var(--text-2); }

/* Pictures */
.sy-pair {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  margin: 26px auto;
  justify-items: center;
}
.sy-shot {
  margin: 0;
  width: 100%;
  max-width: 274px;
  text-align: left;
}
.sy-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--hair-2);
}
.sy-shot figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Split calm cabin block */
.sy-calm {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  margin-top: 26px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  -webkit-align-items: center;
  align-items: center;
}
.sy-calm h3 { margin-top: 0; }
.sy-calm .sy-shot { margin: 0 auto; max-width: 260px; }

/* Limits box and close */
.sy-limits {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--sy-amber);
  border-radius: 0 14px 14px 0;
}
.sy-limits h2 { font-size: 22px; }
.sy-limits .sy-bullets { margin-bottom: 16px; }
.sy-limits .sy-bullets li:before { background: var(--sy-amber); }
.sy-section p.sy-end { margin: 36px 0 0; }
.sy-end .btn { margin: 0 20px 12px 0; vertical-align: middle; }
.page-skypulse .sy-end a:not(.btn) {
  display: inline-block;
  margin-bottom: 12px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .sy-table { min-width: 0; font-size: 14px; }
  .sy-table th, .sy-table td { min-width: 0; padding: 8px 10px; }
  .sy-table tbody th, .sy-table thead th:first-child { white-space: nowrap; }
}
@media (min-width: 680px) {
  .sy-radios { grid-template-columns: 1fr 1fr 1fr; }
  .sy-pair { grid-template-columns: 1fr 1fr; max-width: 584px; }
  .sy-calm { grid-template-columns: 1fr 260px; padding: 26px; }
}
@media (min-width: 900px) {
  .page-skypulse main > .wrap:first-child { padding-top: 64px; }
  .sy-hero { padding-bottom: 36px; }
  .sy-hero h1 { font-size: 46px; }
  .sy-lead { font-size: 20px; }
  .sy-section { padding-top: 56px; }
  .sy-section h2 { font-size: 30px; }
  .sy-limits { padding: 28px; }
  .sy-limits h2 { font-size: 25px; }
}
