:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f8fafc;
  --navy: #0f172a;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-soft: #ccfbf1;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --font: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
}

.nav a:hover {
  background: var(--wash);
  text-decoration: none;
}

.nav .nav-cta {
  background: var(--navy);
  color: #fff;
  margin-left: 4px;
}

.nav .nav-cta:hover {
  background: #1e293b;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 42px;
  background:
    radial-gradient(circle at 8% 10%, rgba(13, 148, 136, 0.12), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(245, 158, 11, 0.13), transparent 30%),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
  font-weight: 900;
}

h1 .accent {
  color: var(--teal-dark);
  position: relative;
  white-space: nowrap;
}

h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(13, 148, 136, 0.16);
  z-index: -1;
  border-radius: 4px;
}

.lede {
  font-size: 17px;
  color: #475569;
  max-width: 600px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  background: #1e293b;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.22);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--wash);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

.hero-note svg {
  flex: 0 0 auto;
  color: var(--teal);
}

.hero-note #dataUpdated {
  white-space: nowrap;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  z-index: 2;
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-card-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #15803d;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--wash);
  color: var(--teal-dark);
  flex: 0 0 auto;
}

.mini-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.mini-row span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.screenshot-peek {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--wash);
}

.screenshot-peek img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
}

.screenshot-peek figcaption {
  font-size: 11px;
  color: var(--muted);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
}

.floating-badge {
  position: absolute;
  right: -16px;
  bottom: 28px;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  animation: float 5s ease-in-out infinite;
}

.floating-badge .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: #b45309;
  display: grid;
  place-items: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.calculator-section {
  padding: 26px 0 70px;
  background: #fff;
}

.calc-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.calc-card {
  padding: 28px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 8px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  font-weight: 900;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}

.field select,
.field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

.field select:focus,
.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.field .hint {
  font-size: 11px;
  color: var(--muted);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--wash);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.segmented label {
  position: relative;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 8px;
  color: #475569;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.segmented input:checked + span {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.calc-submit {
  margin-top: 20px;
  width: 100%;
  padding: 15px;
  font-size: 15px;
}

.calc-footnote {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.6;
}

.result-card {
  padding: 26px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.result-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 370px;
  color: var(--muted);
}

.result-empty .empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--wash);
  color: #94a3b8;
  margin-bottom: 14px;
}

.result-empty h3 {
  color: var(--ink);
  margin: 0 0 6px;
  font-size: 18px;
}

.result-empty p {
  margin: 0;
  font-size: 13px;
  max-width: 280px;
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.result-airline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.airline-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.result-airline strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}

.result-airline span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.verdict.ok {
  background: var(--green-soft);
  color: #15803d;
}

.verdict.warn {
  background: var(--amber-soft);
  color: #b45309;
}

.verdict.over {
  background: var(--red-soft);
  color: #b91c1c;
}

.result-summary {
  font-size: 14px;
  color: #334155;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 16px;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.limit-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.limit-box span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.limit-box strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.limit-box small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.fee-box {
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 16px;
}

.fee-box span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.fee-box strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #78350f;
}

.evidence {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.evidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.evidence-head span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-head a {
  font-size: 11px;
  font-weight: 700;
}

.evidence img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.evidence figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head .section-sub {
  margin-bottom: 0;
  max-width: 620px;
}

.airline-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
  background: var(--wash);
}

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

.airline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compare-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.compare-controls .field {
  gap: 6px;
}

.compare-controls select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

.compare-controls .btn {
  white-space: nowrap;
}

.airline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.airline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.airline-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.airline-card-head .airline-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 11px;
}

.airline-card-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.airline-card-head span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.type-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--wash);
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.airline-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat {
  background: var(--wash);
  border-radius: 9px;
  padding: 8px 9px;
}

.stat span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.airline-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2px;
}

.airline-card-foot a {
  font-size: 12px;
  font-weight: 800;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.evidence-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.evidence-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
}

.evidence-card-body {
  padding: 14px 16px 16px;
}

.evidence-card-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.evidence-card-body p {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
}

.evidence-card-body a {
  font-size: 12px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 14px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 13px;
  color: #475569;
}

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.25);
  filter: blur(10px);
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

/* Airline detail page */
.page-hero {
  padding: 42px 0 34px;
  background:
    radial-gradient(circle at 0% 0%, rgba(13, 148, 136, 0.1), transparent 32%),
    var(--wash);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--muted);
}

.page-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.page-title-row .airline-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 15px;
}

.page-title-row h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 0;
}

.page-title-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.page-lede {
  max-width: 760px;
  color: #475569;
  font-size: 15px;
  margin: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
  padding: 34px 0 70px;
}

.detail-main {
  display: grid;
  gap: 20px;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.detail-card h2 {
  font-size: 20px;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.detail-card h3 {
  font-size: 14px;
  margin: 22px 0 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 8px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.badge {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--wash);
  color: #475569;
}

.badge.green {
  background: var(--green-soft);
  color: #15803d;
}

.badge.amber {
  background: var(--amber-soft);
  color: #b45309;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}

.source-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.source-item a {
  font-size: 12px;
  word-break: break-all;
}

.source-item span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.screenshot-stack {
  display: grid;
  gap: 16px;
}

.screenshot-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.screenshot-card a {
  display: block;
}

.screenshot-card img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.screenshot-card figcaption {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 82px;
}

.side-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.side-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

.side-links {
  display: grid;
  gap: 8px;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.side-links a:hover {
  background: var(--wash);
  text-decoration: none;
}

.notice {
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 12px;
  color: #78350f;
  margin-top: 14px;
}

/* Compare page */
.compare-wrap {
  padding: 34px 0 70px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--wash);
  font-size: 13px;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  width: 22%;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.compare-airline-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.compare-airline-head .airline-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 10px;
}

.win {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #15803d;
  background: var(--green-soft);
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 5px;
  vertical-align: middle;
}

.compare-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

@media (max-width: 980px) {
  .hero-inner,
  .calc-shell,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
  }

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

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 11px 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0 30px;
  }

  .hero-inner {
    gap: 26px;
  }

  .floating-badge {
    right: 8px;
    bottom: 10px;
  }

  .calc-card,
  .result-card {
    padding: 19px;
  }

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

  .airline-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 14px;
  }

  .cta-band {
    display: block;
    padding: 24px;
  }

  .cta-band .btn {
    margin-top: 16px;
  }

  .compare-controls {
    grid-template-columns: 1fr;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .page-title-row {
    align-items: flex-start;
  }

  .detail-card {
    padding: 18px;
  }
}

/* Peach-inspired theme */
:root {
  --ink: #333333;
  --muted: #777777;
  --line: #e5e5e5;
  --paper: #ffffff;
  --wash: #f7f7f7;
  --navy: #e5007d;
  --teal: #e5007d;
  --teal-dark: #c6006b;
  --teal-soft: #fde7f3;
  --amber: #e5007d;
  --amber-soft: #fde7f3;
  --red: #d32f2f;
  --red-soft: #fdecec;
  --green: #2e7d32;
  --green-soft: #eaf5ea;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --font: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

body {
  background: #fff;
  color: #333;
  font-weight: 400;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  backdrop-filter: none;
}

.header-inner {
  padding: 12px 24px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e5007d;
  box-shadow: none;
  font-size: 16px;
}

.brand small {
  color: #999;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.nav a {
  color: #555;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 4px;
}

.nav a:hover {
  background: #fdf0f6;
  color: #c6006b;
}

.nav .nav-cta {
  background: #e5007d;
  color: #fff;
  border-radius: 4px;
}

.nav .nav-cta:hover {
  background: #c6006b;
}

.hero {
  padding: 42px 0 32px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #fdf7fa 100%);
}

.hero::after {
  display: none;
}

h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 .accent {
  color: #e5007d;
}

h1 .accent::after {
  background: rgba(229, 0, 125, 0.12);
  height: 8px;
  bottom: 2px;
}

.eyebrow {
  background: #fdf0f6;
  border-color: #f5b5c5;
  color: #c6006b;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
}

.eyebrow .dot {
  background: #e5007d;
  box-shadow: 0 0 0 4px rgba(229, 0, 125, 0.1);
}

.lede {
  color: #666;
  font-size: 15px;
}

.hero-note {
  color: #888;
  font-size: 11px;
}

.hero-note svg {
  color: #e5007d;
}

.btn {
  border-radius: 4px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary,
.btn-teal {
  background: #e5007d;
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover,
.btn-teal:hover {
  background: #c6006b;
}

.btn-ghost {
  background: #fff;
  color: #e5007d;
  border: 1px solid #f5b5c5;
}

.btn-ghost:hover {
  background: #fdf0f6;
  border-color: #e5007d;
}

.hero-card {
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  border-top: 3px solid #e5007d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hero-card-title {
  color: #999;
  font-weight: 700;
}

.pill {
  background: #fde7f3;
  color: #c6006b;
  border-radius: 4px;
}

.mini-icon {
  background: #fdf0f6;
  color: #e5007d;
  border-radius: 6px;
}

.screenshot-peek {
  border-radius: 6px;
}

.screenshot-peek figcaption {
  color: #888;
}

.floating-badge {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  animation: none;
}

.floating-badge .badge-icon {
  background: #fde7f3;
  color: #e5007d;
  border-radius: 6px;
}

.card {
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  box-shadow: none;
}

.calc-card,
.result-card {
  padding: 24px;
}

.section-kicker {
  color: #e5007d;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 3vw, 30px);
}

.section-sub {
  color: #777;
}

.field label {
  color: #555;
  font-weight: 700;
}

.field select,
.field input {
  border-radius: 4px;
  border-color: #dddddd;
  padding: 10px 12px;
}

.field select:focus,
.field input:focus {
  border-color: #e5007d;
  box-shadow: 0 0 0 3px rgba(229, 0, 125, 0.1);
}

.segmented {
  background: #f7f7f7;
  border-radius: 6px;
}

.segmented span {
  border-radius: 4px;
  font-weight: 600;
  color: #666;
}

.segmented input:checked + span {
  color: #e5007d;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.result-empty .empty-icon {
  background: #f7f7f7;
  color: #bbbbbb;
  border-radius: 50%;
}

.result-summary {
  background: #f7f7f7;
  border-color: #e5e5e5;
  border-radius: 6px;
  color: #555;
}

.limit-box {
  border-radius: 6px;
  border-color: #e5e5e5;
}

.limit-box span {
  color: #999;
}

.fee-box {
  border-color: #f5b5c5;
  background: #fff5f8;
  border-radius: 6px;
}

.fee-box span,
.fee-box strong {
  color: #b0005a;
}

.evidence img {
  border-radius: 6px;
  border-color: #e5e5e5;
}

.airline-grid {
  gap: 14px;
}

.airline-card {
  border-radius: 8px;
  border-color: #e5e5e5;
  box-shadow: none;
  padding: 16px;
}

.airline-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-color: #f5b5c5;
  transform: none;
}

.airline-card-head .airline-logo {
  border-radius: 6px;
}

.type-tag {
  border-radius: 3px;
  background: #f7f7f7;
  color: #888;
}

.stat {
  background: #f7f7f7;
  border-radius: 4px;
}

.airline-card-foot a {
  color: #e5007d;
}

.evidence-card {
  border-radius: 8px;
  box-shadow: none;
}

.evidence-card img {
  border-radius: 0;
}

.faq-item {
  border-radius: 6px;
}

.faq-item summary {
  font-weight: 700;
}

.faq-item summary::after {
  color: #e5007d;
}

.section.alt {
  background: #f7f7f7;
}

.cta-band {
  background: #fdf0f6;
  color: #333;
  border-radius: 8px;
  border: 1px solid #f5b5c5;
}

.cta-band p {
  color: #666;
}

.cta-band h2 {
  color: #333;
  font-weight: 700;
}

.cta-band::after {
  display: none;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  color: #888;
}

.footer-links a {
  color: #777;
}

.page-hero {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 32px 0 28px;
}

.page-title-row h1 {
  font-size: clamp(24px, 3vw, 32px);
}

.page-lede {
  color: #666;
}

.detail-card,
.side-card {
  border-radius: 8px;
  box-shadow: none;
}

.detail-card h2 {
  font-weight: 700;
}

.spec-table th {
  background: #f7f7f7;
  color: #777;
  font-weight: 600;
}

.spec-table th,
.spec-table td {
  border-bottom-color: #e5e5e5;
}

.side-card {
  top: 76px;
}

.side-links a {
  border-radius: 4px;
}

.side-links a:hover {
  background: #fdf0f6;
  border-color: #f5b5c5;
}

.notice {
  border-color: #f5b5c5;
  background: #fff5f8;
  color: #b0005a;
  border-radius: 6px;
}

.compare-table {
  border-radius: 8px;
  border-color: #e5e5e5;
}

.compare-table thead th {
  background: #f7f7f7;
}

.compare-table th,
.compare-table td {
  border-bottom-color: #e5e5e5;
}

.compare-controls {
  border-radius: 8px;
  box-shadow: none;
  border-color: #e5e5e5;
}

.filter-btn {
  border-radius: 4px;
  border-color: #e5e5e5;
  color: #666;
}

.filter-btn.active {
  background: #e5007d;
  border-color: #e5007d;
  color: #fff;
}

.filter-btn:hover {
  background: #fdf0f6;
}

.verdict.ok {
  background: #eaf5ea;
  color: #2e7d32;
}

.verdict.warn {
  background: #fde7f3;
  color: #b0005a;
}

.verdict.over {
  background: #fdecec;
  color: #c62828;
}

/* Japanese editorial theme */
:root {
  --ink: #26211d;
  --muted: #736a61;
  --line: #e4dcd1;
  --paper: #fffdf9;
  --wash: #f6f1e9;
  --navy: #d94b64;
  --teal: #d94b64;
  --teal-dark: #b02a52;
  --teal-soft: #f8e6e9;
  --amber: #d94b64;
  --amber-soft: #f8e6e9;
  --red: #c0392b;
  --red-soft: #fbe9e6;
  --green: #426b4f;
  --green-soft: #eaf2ec;
  --radius: 4px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

body {
  background-color: #fbf7f0;
  background-image: radial-gradient(rgba(38, 33, 29, 0.022) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink);
  line-height: 1.85;
}

.site-header {
  background: #fbf7f0;
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  padding: 13px 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 2px;
  background: var(--teal);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  font-family: var(--serif);
  font-weight: 700;
  transform: rotate(-2deg);
}

.brand small {
  font-family: var(--font);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.nav {
  gap: 0;
}

.nav a {
  border-left: 1px solid var(--line);
  border-radius: 0;
  color: #4f463e;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
}

.nav a:first-child {
  border-left: 0;
}

.nav a:hover {
  background: transparent;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav a[aria-current="page"] {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 5px;
}

.hero {
  background-color: #fbf7f0;
  background-image: url("seigaiha.svg");
  background-size: 80px 40px;
  background-repeat: repeat;
  padding: 48px 0 36px;
}

.hero-copy {
  position: relative;
}

.hero-vertical {
  position: absolute;
  right: -24px;
  top: 4px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  line-height: 1.8;
  color: var(--teal);
  border-right: 1px solid var(--line);
  padding-right: 10px;
}

h1,
.section-title,
.detail-card h2,
.cta-band h2,
.page-title-row h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.28;
}

h1 .accent {
  color: var(--teal);
}

h1 .accent::after {
  height: 6px;
  bottom: 1px;
  background: rgba(217, 75, 100, 0.14);
}

.eyebrow {
  background: #f8e6e9;
  border-color: #e9bcc6;
  color: #a52a4d;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.eyebrow .dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(217, 75, 100, 0.1);
}

.lede {
  color: #5f564e;
  font-size: 15px;
}

.hero-note {
  display: block;
  color: var(--muted);
}

.hero-note svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--teal);
}

.hero-updated {
  white-space: nowrap;
}

.btn {
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-primary,
.btn-teal {
  background: var(--teal);
}

.btn-primary:hover,
.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: #e9bcc6;
}

.btn-ghost:hover {
  background: #f8e6e9;
  border-color: var(--teal);
}

.hero-card {
  border-radius: 4px;
  border-color: var(--line);
  border-top: 3px solid var(--teal);
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(38, 33, 29, 0.04);
}

.hero-card-title {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pill {
  background: #f8e6e9;
  color: #a52a4d;
  border-radius: 2px;
  font-weight: 600;
}

.mini-icon {
  background: #f8e6e9;
  color: var(--teal);
  border-radius: 3px;
}

.floating-badge {
  border-radius: 2px;
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(38, 33, 29, 0.05);
}

.floating-badge .badge-icon {
  background: #f8e6e9;
  color: var(--teal);
  border-radius: 2px;
}

.card {
  border-radius: 4px;
  border-color: var(--line);
  background: var(--paper);
}

.calculator-section {
  background: transparent;
}

.section-kicker {
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.section-title {
  position: relative;
  padding-left: 14px;
  font-size: clamp(22px, 3vw, 30px);
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  background: var(--teal);
}

.section-sub {
  color: var(--muted);
}

.field label {
  color: #4f463e;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.field select,
.field input {
  border-radius: 2px;
  border-color: #dcd4c9;
  background: var(--paper);
}

.field select:focus,
.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(217, 75, 100, 0.1);
}

.segmented {
  background: var(--wash);
  border-color: var(--line);
  border-radius: 2px;
}

.segmented span {
  border-radius: 2px;
  color: #5f564e;
}

.segmented input:checked + span {
  color: var(--teal);
  background: #fffdf9;
}

.result-empty .empty-icon {
  background: var(--wash);
  color: #b3a99e;
  border-radius: 2px;
}

.result-summary {
  background: var(--wash);
  border-color: var(--line);
  border-radius: 2px;
  color: #5f564e;
}

.limit-box {
  border-radius: 2px;
  border-color: var(--line);
  background: var(--paper);
}

.limit-box span {
  color: var(--muted);
}

.fee-box {
  border-radius: 2px;
  border-color: #e9bcc6;
  background: #fdf1f2;
}

.fee-box span,
.fee-box strong {
  color: #a52a4d;
}

.evidence img {
  border-radius: 2px;
  border-color: var(--line);
}

.section.alt {
  background: var(--wash);
  border-color: var(--line);
}

.airline-grid {
  gap: 14px;
}

.airline-card {
  border-radius: 4px;
  border-color: var(--line);
  background: var(--paper);
  box-shadow: none;
}

.airline-card:hover {
  border-color: #e9bcc6;
  box-shadow: 0 2px 8px rgba(38, 33, 29, 0.05);
  transform: none;
}

.airline-card-head .airline-logo {
  border-radius: 3px;
}

.type-tag {
  border-radius: 2px;
  background: var(--wash);
  color: var(--muted);
  font-weight: 600;
}

.stat {
  border-radius: 2px;
  background: var(--wash);
}

.airline-card-foot a {
  color: var(--teal);
}

.evidence-card {
  border-radius: 4px;
  border-color: var(--line);
  background: var(--paper);
  box-shadow: none;
}

.faq-item {
  border-radius: 2px;
  border-color: var(--line);
  background: var(--paper);
}

.faq-item summary {
  font-weight: 600;
}

.faq-item summary::after {
  color: var(--teal);
}

.cta-band {
  background: #f8e6e9;
  border-color: #e9bcc6;
  border-radius: 4px;
  color: var(--ink);
}

.cta-band p {
  color: #5f564e;
}

.cta-band h2 {
  color: var(--ink);
}

.site-footer {
  background: #fbf7f0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
}

.page-hero {
  background: #fbf7f0;
  border-bottom: 1px solid var(--line);
}

.page-lede {
  color: #5f564e;
}

.detail-card,
.side-card {
  border-radius: 4px;
  border-color: var(--line);
  background: var(--paper);
}

.detail-card h2 {
  position: relative;
  padding-left: 12px;
}

.detail-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  background: var(--teal);
}

.spec-table th {
  background: var(--wash);
  color: var(--muted);
  font-weight: 600;
}

.spec-table th,
.spec-table td {
  border-bottom-color: var(--line);
}

.side-links a {
  border-radius: 2px;
}

.side-links a:hover {
  background: #f8e6e9;
  border-color: #e9bcc6;
}

.notice {
  border-radius: 2px;
  border-color: #e9bcc6;
  background: #fdf1f2;
  color: #a52a4d;
}

.compare-table {
  border-radius: 4px;
  border-color: var(--line);
  background: var(--paper);
}

.compare-table thead th {
  background: var(--wash);
}

.compare-table th,
.compare-table td {
  border-bottom-color: var(--line);
}

.compare-controls {
  border-radius: 4px;
  border-color: var(--line);
  background: var(--paper);
  box-shadow: none;
}

.filter-btn {
  border-radius: 2px;
  border-color: var(--line);
  color: #5f564e;
}

.filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.filter-btn:hover {
  background: #f8e6e9;
}

.verdict.ok {
  background: var(--green-soft);
  color: var(--green);
}

.verdict.warn {
  background: #f8e6e9;
  color: #a52a4d;
}

.verdict.over {
  background: var(--red-soft);
  color: var(--red);
}

.badge.green {
  background: #eaf2ec;
  color: #426b4f;
}

.badge.amber {
  background: #f8e6e9;
  color: #a52a4d;
}

.rule-list {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.rule-section {
  margin-top: 18px;
}

.rule-section:first-of-type {
  margin-top: 14px;
}

.rule-section h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--teal);
}

.rule-empty {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.rule-value {
  font-size: 12px;
  color: var(--ink);
}

.rule-fee-zones {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.fee-zone {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px;
  background: var(--paper);
}

.fee-zone-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.rule-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 2px;
  background: var(--paper);
  padding: 15px 16px;
}

.rule-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.rule-heading strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rule-heading span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.rule-route {
  font-size: 11px;
  color: var(--muted);
  margin: -5px 0 11px;
}

.rule-filter {
  margin: 0 0 18px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.rule-grid > div {
  background: var(--wash);
  border-radius: 2px;
  padding: 8px 10px;
}

.rule-grid span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.rule-grid strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.rule-line {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.rule-line:last-of-type {
  border-bottom: 0;
}

.rule-line > span {
  color: var(--muted);
  font-weight: 600;
}

.rule-line > strong {
  color: var(--ink);
  font-weight: 500;
}

.rule-fee-table {
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.rule-fee-table > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 11px;
}

.rule-fee-table > div:last-child {
  border-bottom: 0;
}

.rule-fee-table span {
  color: var(--muted);
}

.rule-fee-table strong {
  text-align: right;
  font-weight: 600;
}

.rule-sources {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

.rule-sources a {
  color: var(--teal);
}

.rule-verify {
  color: var(--muted);
}

.rule-card .badge {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .rule-head {
    flex-direction: column;
  }

  .rule-line {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 980px) {
  .hero-vertical {
    display: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 164px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    border-top: 1px solid var(--line);
    padding-top: 5px;
  }

  .nav a {
    border-left: 0;
    display: block;
    flex: 0 0 auto;
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .nav a[aria-current="page"] {
    border-bottom: 2px solid var(--teal);
    padding-bottom: 4px;
  }

  .hero-vertical {
    display: none;
  }

  .hero {
    background-size: 64px 32px;
    padding: 34px 0 28px;
  }

  .section-title {
    padding-left: 11px;
  }
}

/* Airline logo images */
.airline-logo.has-logo {
  width: 64px;
  height: 42px;
  padding: 5px;
  border: 1px solid rgba(38, 33, 29, 0.14);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.airline-logo.has-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.airline-card-head .airline-logo.has-logo {
  width: 58px;
  height: 36px;
  padding: 3px;
  border-radius: 3px;
}

.page-title-row .airline-logo.has-logo {
  width: 92px;
  height: 56px;
  padding: 5px;
  border-radius: 4px;
}

.compare-airline-head .airline-logo.has-logo {
  width: 48px;
  height: 30px;
  padding: 2px;
  border-radius: 2px;
}

.airline-logo.has-logo.logo-on-dark {
  border-color: #1f2937;
}
