:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #656b75;
  --line: #e2e5ea;
  --panel: #ffffff;
  --soft: #f6f7f9;
  --blue: #1d55a8;
  --blue-deep: #16468f;
  --teal: #008b83;
  --amber: #b96b13;
  --red: #c7342d;
  --green: #137b4b;
  --page: #e6e8eb;
  --shadow: 0 26px 45px rgba(32, 34, 38, 0.17);
  font-family:
    Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 72px));
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(230, 232, 235, 0.88);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 900;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-live,
.section-live,
.live-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.header-live span,
.section-live span,
.live-mini i {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(19, 123, 75, 0.12);
}

.header-live span,
.section-live span {
  animation: livePulse 1.8s ease-out infinite;
}

.section-live small {
  color: var(--muted);
  font-weight: 800;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(19, 123, 75, 0.28);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(19, 123, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(19, 123, 75, 0);
  }
}

.app-shell {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.airport-jump {
  position: sticky;
  top: 68px;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  border-radius: 2px;
  padding: 16px 22px;
  background: rgba(248, 248, 248, 0.92);
  box-shadow: 0 14px 26px rgba(31, 33, 36, 0.1);
  backdrop-filter: blur(14px);
}

.airport-jump span {
  margin-right: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.airport-jump a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.airport-jump a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: stretch;
  min-height: clamp(430px, 56vh, 560px);
  padding: 32px 0 26px;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 2px;
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(255, 255, 255, 0.08) 72% 73%, transparent 73% 76%, rgba(255, 255, 255, 0.08) 76% 77%, transparent 77%),
    var(--blue);
  box-shadow: var(--shadow);
  color: #fff;
  animation: riseIn 680ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 24px;
  color: #dce8ff;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.hero__content .eyebrow,
.hero__content h1 {
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin-top: 18px;
}

.keyword-strip span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button--compact {
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button--primary {
  background: #fff;
  color: var(--blue);
}

.hero__content .button--primary {
  background: #fff;
  color: var(--blue);
}

.hero__content .button--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button--ghost {
  border-color: rgba(24, 33, 47, 0.2);
  background: rgba(255, 255, 255, 0.58);
}

.button--subtle {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero__visual {
  display: flex;
  align-items: center;
  min-width: 0;
}

.radar-card {
  width: 100%;
  min-height: 390px;
  border: 0;
  border-radius: 2px;
  padding: clamp(24px, 4vw, 36px);
  background: #f8f8f8;
  box-shadow: var(--shadow);
  animation: riseIn 760ms ease 90ms both;
}

.radar-card__top,
.mini-metrics {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.radar-card__top span,
.mini-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.radar-card__top strong {
  font-size: 2.1rem;
}

.live-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(227, 139, 36, 0.14);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.live-badge[data-mode="live"] {
  background: rgba(31, 157, 98, 0.12);
  color: var(--green);
}

.live-badge[data-mode="demo"] {
  background: rgba(98, 112, 133, 0.12);
  color: var(--muted);
}

.congestion-visual {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 215px;
  margin: 24px 0;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 20px;
  background: #fff;
}

.gauge {
  --score: 0%;
  --gauge-color: var(--blue);
  display: grid;
  width: 174px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 58%, transparent 59%),
    conic-gradient(var(--gauge-color) var(--score), #e6edf5 0);
  box-shadow:
    inset 0 0 0 1px rgba(17, 24, 39, 0.08),
    0 18px 36px rgba(17, 24, 39, 0.11);
  animation: gaugePop 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both;
}

.gauge__inner {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.gauge__inner span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.gauge__inner strong {
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1.1;
}

.gauge__inner small {
  color: var(--gauge-color);
  font-weight: 900;
}

.airport-snapshot {
  display: grid;
  gap: 10px;
}

.snapshot-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 70px;
  gap: 10px;
  align-items: center;
}

.snapshot-row span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.snapshot-row strong {
  justify-self: end;
  color: var(--muted);
  font-size: 0.82rem;
}

.snapshot-meter {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf5;
}

.snapshot-meter i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  animation: meterFill 900ms ease both;
}

.mini-metrics {
  align-items: end;
}

.mini-metrics div {
  display: grid;
  gap: 8px;
}

.mini-metrics strong {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.toolbar,
.panel,
.summary-card {
  border: 0;
  border-radius: 2px;
  background: #f8f8f8;
  box-shadow: var(--shadow);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 24px;
  align-items: end;
  padding: 24px;
}

.toolbar p,
.data-panel p,
.journey-list p,
.notice p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.api-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: end;
}

.api-form label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.api-form input {
  min-height: 46px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 34px 0 30px;
}

.summary-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  animation: riseIn 620ms ease both;
}

.summary-card span,
.summary-card small {
  color: var(--muted);
  font-weight: 700;
}

.summary-card strong {
  color: var(--blue);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
}

.ad-panel {
  min-height: 110px;
  margin: 0 0 30px;
  border: 0;
  border-radius: 2px;
  padding: 18px;
  background: #f8f8f8;
  box-shadow: var(--shadow);
  animation: riseIn 640ms ease both;
}

.ad-panel > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.panel {
  padding: 32px;
}

.panel__header {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel__header > div:first-child {
  display: grid;
  gap: 10px;
}

.board-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 218px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--soft);
}

.segment {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.segment.is-active {
  background: var(--ink);
  color: #fff;
}

.airport-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.airport-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  border: 0;
  border-top: 9px solid var(--airport-color, var(--blue));
  border-radius: 2px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  box-shadow: 0 18px 34px rgba(31, 33, 36, 0.12);
  scroll-margin-top: 150px;
  animation: riseIn 560ms ease both;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.airport-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px rgba(31, 33, 36, 0.16);
}

.airport-card.is-hidden {
  display: none;
}

.airport-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px 24px 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 38px),
    var(--blue);
  color: #fff;
}

.airport-score {
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 56%, transparent 57%),
    conic-gradient(var(--airport-color) var(--score), rgba(255, 255, 255, 0.24) 0);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.airport-score span {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.airport-score small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.airport-title {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.airport-title strong {
  color: #fff;
  font-size: 1.34rem;
  line-height: 1.25;
}

.airport-title p {
  margin-bottom: 0;
  color: #dce8ff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.airport-card__badges {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.live-mini {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.live-mini i {
  width: 7px;
  height: 7px;
}

.status-pill {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(31, 157, 98, 0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pill.is-watch {
  background: rgba(227, 139, 36, 0.14);
  color: var(--amber);
}

.status-pill.is-busy {
  background: rgba(217, 72, 65, 0.13);
  color: var(--red);
}

.status-pill.is-quiet {
  background: rgba(23, 105, 224, 0.1);
  color: var(--blue);
}

.airport-code {
  color: #dce8ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.airport-card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 20px 24px 14px;
}

.total-meter,
.airport-advice,
.zone-card {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f8fafc;
}

.total-meter {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px;
}

.total-meter__label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.total-meter__label span,
.airport-advice span,
.zone-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.total-meter__label strong {
  color: var(--airport-color);
  font-size: 1.6rem;
  line-height: 1;
}

.bar--large {
  height: 18px;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.zone-card {
  display: grid;
  gap: 12px;
  padding: 14px 12px;
  background: #fff;
}

.zone-card > div {
  display: grid;
  gap: 5px;
}

.zone-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.zone-card small {
  color: var(--muted);
  font-weight: 900;
}

.zone-card.is-watch {
  background: rgba(185, 107, 19, 0.06);
  border-color: rgba(185, 107, 19, 0.2);
}

.zone-card.is-busy {
  background: rgba(199, 52, 45, 0.06);
  border-color: rgba(199, 52, 45, 0.2);
}

.zone-card.is-smooth {
  background: rgba(19, 123, 75, 0.06);
  border-color: rgba(19, 123, 75, 0.18);
}

.zone-card.is-quiet {
  background: rgba(21, 88, 214, 0.06);
  border-color: rgba(21, 88, 214, 0.18);
}

.airport-advice {
  display: grid;
  gap: 6px;
  margin: 0 24px 24px;
  padding: 15px 18px;
  background: #f5f7fb;
}

.airport-advice strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.airport-advice small {
  color: var(--muted);
  font-weight: 800;
}

.stage-bars {
  display: grid;
  gap: 12px;
}

.stage-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
}

.stage-row span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef5;
}

.bar i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  animation: meterFill 820ms ease both;
}

.bar i.is-quiet,
.snapshot-meter i.is-quiet {
  background: var(--blue);
}

.bar i.is-smooth,
.snapshot-meter i.is-smooth {
  background: var(--green);
}

.bar i.is-watch,
.snapshot-meter i.is-watch {
  background: var(--amber);
}

.bar i.is-busy,
.snapshot-meter i.is-busy {
  background: var(--red);
}

.airport-total {
  display: grid;
  min-width: 88px;
  justify-items: end;
  gap: 4px;
}

.airport-total strong {
  font-size: 2rem;
}

.airport-total span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.airport-total small {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
}

.side-panel {
  align-self: start;
  background: var(--blue);
  color: #fff;
}

.side-panel .eyebrow,
.side-panel h2,
.side-panel strong {
  color: #fff;
}

.side-panel p,
.side-panel .notice p {
  color: #dce8ff;
}

.side-panel .notice {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.side-panel .journey-list li > span {
  background: #fff;
  color: var(--blue);
}

.journey-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.journey-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.journey-list strong {
  display: block;
  margin-bottom: 5px;
}

.notice {
  margin-top: 24px;
  border: 1px solid rgba(23, 105, 224, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(23, 105, 224, 0.07);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.data-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
}

.endpoint-grid {
  display: grid;
  gap: 10px;
}

.endpoint-grid div {
  display: grid;
  gap: 6px;
}

.endpoint-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

code {
  overflow-wrap: anywhere;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f0f4f8;
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 800;
}

.source-link {
  justify-self: end;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.guide-copy,
.hook-list,
.keyword-panel,
.faq-section {
  border: 0;
  border-radius: 2px;
  background: #f8f8f8;
  box-shadow: var(--shadow);
  animation: riseIn 640ms ease both;
}

.guide-copy {
  padding: 24px;
}

.guide-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.guide-copy p:last-child {
  margin-bottom: 0;
}

.hook-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.hook-list div,
.keyword-map article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 16px;
  background: #fff;
}

.hook-list span,
.keyword-map span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.hook-list strong {
  font-size: 1.05rem;
  line-height: 1.55;
}

.keyword-panel {
  margin-top: 16px;
}

.keyword-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.keyword-map strong {
  line-height: 1.5;
}

.keyword-map p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-section {
  margin-top: 30px;
  padding: 30px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(29, 85, 168, 0.3);
  transform: translateY(-2px);
}

.faq-list summary {
  min-height: 54px;
  padding: 16px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gaugePop {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes meterFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .hero,
  .toolbar,
  .content-grid,
  .data-panel,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    align-items: stretch;
  }

  .congestion-visual {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .airport-snapshot {
    width: 100%;
  }

  .airport-card {
    grid-template-columns: 1fr;
  }

  .airport-list {
    grid-template-columns: 1fr;
  }

  .airport-card__top,
  .airport-card__body {
    grid-template-columns: 1fr;
  }

  .airport-card__badges {
    justify-items: start;
  }

  .airport-score {
    width: 72px;
  }

  .airport-total {
    justify-items: start;
  }

  .airport-total small {
    max-width: none;
    text-align: left;
  }

  .source-link {
    justify-self: start;
  }

  .keyword-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .header-live {
    font-size: 0.78rem;
  }

  .app-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .hero {
    padding-top: 20px;
  }

  .airport-jump {
    top: 68px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 14px;
    scrollbar-width: none;
  }

  .airport-jump::-webkit-scrollbar {
    display: none;
  }

  .airport-jump span {
    flex: 0 0 auto;
  }

  .airport-jump a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero__content {
    padding: 28px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .toolbar,
  .panel,
  .summary-card,
  .guide-copy,
  .hook-list,
  .faq-section {
    padding: 16px;
  }

  .airport-card {
    padding: 0;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .ad-panel {
    min-height: 96px;
    padding: 14px;
  }

  .api-form {
    grid-template-columns: 1fr;
  }

  .panel__header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .board-controls {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-self: stretch;
    width: 100%;
  }

  #refreshButton {
    width: 100%;
    min-height: 44px;
    order: 2;
  }

  .segmented {
    min-width: 0;
    width: 100%;
    order: 1;
  }

  .stage-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stage-row span:last-child {
    justify-self: end;
  }

  .radar-card {
    min-height: 360px;
  }

  .congestion-visual {
    padding: 16px;
  }

  .gauge {
    width: min(174px, 100%);
  }

  .snapshot-row {
    grid-template-columns: 40px minmax(0, 1fr) 64px;
  }

  .airport-card__top {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 18px;
  }

  .airport-card__badges {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .airport-card__body {
    padding: 16px 18px 12px;
  }

  .airport-advice {
    margin: 0 18px 18px;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
