/* =========================================================
   기상·기후 AI 해커톤 — light sky landing
   ========================================================= */

:root {
  /* Palette */
  --bg: #ffffff;
  --bg-ivory: #f8fafc;
  --bg-sky-50: #f0f9ff;
  --bg-sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --navy: #0f172a;
  --slate: #64748b;
  --slate-2: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;

  /* Type */
  --font-body: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", "Source Serif 4", Georgia,
    serif;

  /* Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.2vw, 1rem);
  --text-md: clamp(1rem, 0.95rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.625rem);
  --text-hero: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 14px -6px rgba(14, 165, 233, 0.18),
    0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 18px 40px -20px rgba(14, 165, 233, 0.35),
    0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 30px 60px -25px rgba(14, 165, 233, 0.45),
    0 4px 12px rgba(15, 23, 42, 0.06);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "tnum";
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sky-200);
  color: var(--navy);
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}

.section + .section {
  border-top: 1px solid rgba(186, 230, 253, 0.45);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--narrow {
  max-width: 640px;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: var(--space-3) 0 var(--space-4);
  color: var(--navy);
  word-break: keep-all;
}

.section-lede {
  font-size: var(--text-md);
  color: var(--slate);
  margin: 0;
  max-width: 60ch;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--sky-600);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--sky-600);
  background: var(--bg-sky-50);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--r-pill);
  text-transform: none;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Ambient sky background ---------- */
.sky-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%, #f8fafc 100%);
}

.sky-bg__svg {
  width: 100%;
  height: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(186, 230, 253, 0.5);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px -16px rgba(14, 165, 233, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: var(--text-md);
  color: var(--navy);
}

.brand__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand__accent {
  color: var(--sky-600);
}

.site-nav {
  display: none;
  gap: clamp(14px, 1.6vw, 26px);
  font-size: var(--text-sm);
  color: var(--slate);
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--navy);
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--sky-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header__cta {
  display: none;
}

@media (min-width: 880px) {
  .site-nav {
    display: inline-flex;
  }
  .header__cta {
    display: inline-flex;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(180deg, var(--sky-400) 0%, var(--sky-500) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--sky-400);
  color: var(--sky-600);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 16px 28px;
  font-size: var(--text-base);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 128px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    ellipse at 60% 20%,
    rgba(186, 230, 253, 0.55),
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  z-index: 1;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.hero__copy {
  max-width: 640px;
}

.hero__title {
  margin: var(--space-4) 0 var(--space-5);
  font-size: var(--text-hero);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--navy);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero__title .line {
  display: block;
}

.hero__title .serif-italic {
  font-weight: 500;
  color: var(--sky-600);
}

.hero__sub {
  font-size: var(--text-md);
  color: var(--slate);
  margin: 0 0 var(--space-8);
  max-width: 56ch;
}

.hero__sub strong {
  color: var(--navy);
  font-weight: 700;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-10);
}

.stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 720px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(186, 230, 253, 0.7);
  border-radius: var(--r-md);
  padding: 14px 14px 12px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--sky-400);
}

.stat__num {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
  word-break: keep-all;
}

.stat__unit {
  font-size: 0.7em;
  color: var(--slate);
  font-weight: 600;
  margin-left: 2px;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--slate);
  display: block;
  margin-top: 4px;
}

/* Hero graphic */
.hero__graphic {
  position: relative;
  aspect-ratio: 1 / 0.95;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.hero-svg {
  width: 100%;
  height: 100%;
}

.hero-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Animations */
@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -6px);
  }
}
@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 4px);
  }
}
@keyframes float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, 6px);
  }
}

.cloud--a {
  animation: float-a 9s ease-in-out infinite;
  transform-origin: center;
}
.cloud--b {
  animation: float-b 11s ease-in-out infinite;
}
.cloud--c {
  animation: float-c 8s ease-in-out infinite;
}

.streamlines .stream {
  stroke-dasharray: 8 14;
  opacity: 0.7;
  animation: dash 6s linear infinite;
}

.streamlines .s2 {
  animation-duration: 7s;
  opacity: 0.55;
}
.streamlines .s3 {
  animation-duration: 8s;
  opacity: 0.45;
}
.streamlines .s4 {
  animation-duration: 9s;
  opacity: 0.35;
}

@keyframes dash {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(240px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(240px) rotate(-360deg);
  }
}

.satellite {
  transform-origin: 280px 260px;
  transform-box: fill-box;
}

.hero-svg {
  --orbit-cx: 280px;
  --orbit-cy: 260px;
}

/* place satellite using CSS transform animation around the orbit center */
.satellite {
  transform-origin: 0 0;
  animation: sat 14s linear infinite;
}

@keyframes sat {
  0% {
    transform: translate(280px, 260px) rotate(-18deg) translate(240px, 0)
      rotate(0deg);
  }
  100% {
    transform: translate(280px, 260px) rotate(-18deg) translate(240px, 0)
      rotate(360deg);
  }
}

/* Note: the rotate(-18deg) tilts the satellite path to match the dashed orbit's transform. */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 12px;
  transform: translateX(-50%);
  display: none;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  background: var(--sky-500);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scroll-cue 1.6s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

@media (min-width: 960px) {
  .scroll-cue {
    display: block;
  }
}

/* ---------- Examples grid ---------- */
.section--examples {
  background: linear-gradient(
    180deg,
    rgba(240, 249, 255, 0) 0%,
    rgba(240, 249, 255, 0.5) 60%,
    rgba(240, 249, 255, 0) 100%
  );
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 22px 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 60% at 100% 0%,
    rgba(186, 230, 253, 0.35),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-300);
}

.card:hover::before {
  opacity: 1;
}

.card__viz {
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid rgba(186, 230, 253, 0.6);
  padding: 12px;
  aspect-ratio: 200 / 120;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__viz .viz {
  width: 100%;
  height: 100%;
}

.card__accent {
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent, var(--sky-500));
}

.card__title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  word-break: keep-all;
}

.card__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__meta dt {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--sky-600);
  letter-spacing: 0.02em;
}

.card__meta dd {
  margin: 0 0 4px;
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.55;
}

/* ---------- Reference library ---------- */
.section--refs {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--slate);
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--sky-400);
  color: var(--navy);
}

.chip.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ref-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ref {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ref.is-hidden {
  display: none;
}

.ref a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ref a:hover {
  transform: translateY(-2px);
  border-color: var(--sky-400);
  box-shadow: var(--shadow-sm);
}

.ref__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--sky-600);
  letter-spacing: 0.04em;
  background: var(--bg-sky-50);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}

.ref h4 {
  margin: 4px 0 0;
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.ref p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.5;
  flex: 1;
}

.ref__host {
  margin-top: 8px;
  font-size: var(--text-xs);
  color: var(--slate-2);
  font-weight: 500;
}

/* ---------- Timeline ---------- */
.section--timeline {
  background: #fff;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.timeline__rail {
  display: none;
}

@media (min-width: 880px) {
  .timeline {
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
  }
  .timeline__rail {
    display: block;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 28px;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--sky-200),
      var(--sky-400),
      var(--sky-200)
    );
    border-radius: 2px;
  }
}

.tl-node {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 16px 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.tl-node.is-in {
  opacity: 1;
  transform: translateY(0);
}

.tl-node:hover {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
}

.tl-node__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--sky-500);
  margin-bottom: 10px;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.tl-node__date {
  font-size: var(--text-xs);
  color: var(--sky-600);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.tl-node__title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tl-node__desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.5;
}

.tl-node--accent {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-color: var(--sky-300);
}

.tl-node--accent .tl-node__dot {
  background: var(--sky-500);
}

@media (min-width: 880px) {
  .tl-node {
    padding-top: 56px;
  }
  .tl-node__dot {
    position: absolute;
    top: 22px;
    left: 16px;
  }
}

/* ---------- Eligibility ---------- */
.section--elig {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.elig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.elig__copy--solo {
  max-width: 720px;
  margin-inline: auto;
}

.elig-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.elig-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: var(--text-md);
  color: var(--navy);
}

.elig-list__bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  flex-shrink: 0;
}

.highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: linear-gradient(
    135deg,
    rgba(186, 230, 253, 0.4),
    rgba(255, 255, 255, 0.9)
  );
  border: 1px solid var(--sky-300);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.highlight__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: grid;
  place-items: center;
}

.highlight strong {
  display: block;
  font-size: var(--text-md);
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.highlight p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--slate);
}

/* ---------- FAQ ---------- */
.section--faq {
  background: #fff;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__chev {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--sky-500);
  border-bottom: 2px solid var(--sky-500);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-bottom: 4px;
}

.faq__item[open] .faq__chev {
  transform: rotate(-135deg);
  margin-bottom: 0;
  margin-top: 4px;
}

.faq__body {
  padding: 0 20px 20px;
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.65;
}

.faq__body strong {
  color: var(--navy);
  font-weight: 700;
}

.faq__body em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sky-600);
  font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
  background: linear-gradient(
    160deg,
    #e0f2fe 0%,
    #ffffff 60%,
    #f0f9ff 100%
  );
  border-top: 1px solid rgba(186, 230, 253, 0.6);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(186, 230, 253, 0.5) 0,
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(125, 211, 252, 0.35) 0,
      transparent 40%
    );
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-band__title {
  font-size: clamp(2rem, 1.4rem + 3.6vw, 3.5rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy);
  word-break: keep-all;
}

.cta-band__sub {
  margin: 0;
  font-size: var(--text-md);
  color: var(--slate);
  max-width: 60ch;
}

.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding-block: 48px 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr;
  }
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer .brand__name {
  color: #fff;
}

.site-footer__line {
  margin: 4px 0;
  font-size: var(--text-sm);
  color: #cbd5e1;
}

.site-footer__line strong {
  color: #fff;
  font-weight: 600;
}

.site-footer__line a {
  color: var(--sky-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  font-size: var(--text-sm);
}

.site-footer__links a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--text-xs);
  color: #94a3b8;
}

/* ---------- Reveal-on-scroll utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .tl-node,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
