:root {
  --ink: #102338;
  --muted: #5d6b7b;
  --paper: #ffffff;
  --wash: #f3f8fc;
  --line: #dbe5ed;
  --navy: #0a2a43;
  --blue: #1168e8;
  --cyan: #00a9c4;
  --lime: #b8e34a;
  --lime-dark: #769d08;
  --coral: #ff725c;
  --success: #12805c;
  --success-bg: #e8f8f1;
  --danger: #c43c36;
  --danger-bg: #fff0ee;
  --warning: #9a6410;
  --warning-bg: #fff7df;
  --shadow: 0 18px 55px rgba(10, 42, 67, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(219,229,237,.85);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; font-weight: 850; letter-spacing: -.03em; font-size: 1.15rem; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--navy); background: var(--lime); box-shadow: 0 7px 18px rgba(118,157,8,.22); }
.brand-mark svg { width: 23px; height: 23px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #385064; text-decoration: none; font-size: .93rem; font-weight: 680; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff !important; }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; padding: 9px 11px; border-radius: 10px; color: var(--navy); }

.checker-hero {
  overflow: hidden;
  position: relative;
  padding: 54px 0 66px;
  background:
    radial-gradient(circle at 8% 20%, rgba(184,227,74,.24), transparent 28%),
    radial-gradient(circle at 93% 8%, rgba(0,169,196,.18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef8fa 100%);
}
.checker-hero::after {
  content: ""; position: absolute; right: -140px; bottom: -220px; width: 520px; height: 520px;
  border: 84px solid rgba(17,104,232,.045); border-radius: 50%; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 18px; color: #0c6f7e; font-weight: 800; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 23px; height: 3px; border-radius: 9px; background: var(--coral); }
h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 610px; margin: 0; font-size: clamp(2.75rem, 5.2vw, 5rem); }
.hero-copy { max-width: 540px; margin: 24px 0 28px; color: #4e6274; font-size: 1.14rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; color: #284155; background: rgba(255,255,255,.72); border: 1px solid rgba(206,222,232,.9); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: .83rem; }
.trust-chip i { width: 8px; height: 8px; background: var(--success); border-radius: 50%; }
.truth-note { margin-top: 28px; padding: 16px 18px; border-left: 4px solid var(--coral); background: rgba(255,255,255,.66); border-radius: 0 13px 13px 0; color: #415568; font-size: .91rem; }
.truth-note strong { color: var(--navy); }

.checker-card { background: #fff; border: 1px solid #d8e5ec; border-radius: 28px; padding: 25px; box-shadow: var(--shadow); }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.card-kicker h2 { margin: 0; font-size: 1.22rem; letter-spacing: -.025em; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--success); background: var(--success-bg); border-radius: 999px; padding: 6px 9px; font-size: .72rem; font-weight: 850; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: #31495d; font-size: .84rem; font-weight: 780; }
.field input, .field select {
  width: 100%; min-height: 49px; border: 1px solid #cddae3; border-radius: 12px; background: #fff; color: var(--ink); padding: 10px 12px; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,104,232,.12); }
.dimension-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 38px; }
.input-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #738293; font-size: .8rem; font-weight: 750; pointer-events: none; }
.check-button { grid-column: 1 / -1; min-height: 53px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--blue), #0b4fb4); font-weight: 820; box-shadow: 0 10px 24px rgba(17,104,232,.24); transition: transform .18s ease, box-shadow .18s ease; }
.check-button:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(17,104,232,.3); }
.check-button:active { transform: translateY(0); }
.form-error { grid-column: 1 / -1; display: none; color: var(--danger); font-size: .86rem; font-weight: 680; }

.result { margin-top: 18px; border-radius: 18px; border: 1px solid; padding: 18px; animation: reveal .35s ease both; }
.result.pass { background: var(--success-bg); border-color: #bce8d5; }
.result.fail { background: var(--danger-bg); border-color: #f2c6c1; }
.result.warn { background: var(--warning-bg); border-color: #efd89b; }
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.result-state { display: flex; align-items: center; gap: 12px; }
.result-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.2rem; font-weight: 900; }
.pass .result-icon { background: var(--success); }
.fail .result-icon { background: var(--danger); }
.warn .result-icon { background: var(--warning); }
.result h3 { margin: 0 0 3px; font-size: 1.08rem; }
.result-sub { color: #536777; font-size: .82rem; }
.fit-meter { margin-top: 15px; display: grid; gap: 8px; }
.fit-line { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; color: #415568; font-size: .78rem; }
.bar { height: 7px; border-radius: 999px; background: rgba(16,35,56,.1); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--success); }
.fail .bar span { background: var(--danger); }
.result-advice { margin: 14px 0 0; color: #31485a; font-size: .88rem; }
.result-links { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 13px; font-size: .78rem; font-weight: 760; }
.result-links a { color: inherit; }

@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.section { padding: 84px 0; }
.section.soft { background: var(--wash); }
.section.navy { color: #eaf4fa; background: var(--navy); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head h2 { max-width: 700px; margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.section-head p { max-width: 480px; margin: 0; color: var(--muted); }
.section.navy .section-head p { color: #b9cedc; }

.airline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.airline-card { position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; padding: 21px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.airline-card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(10,42,67,.1); }
.airline-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--airline); }
.airline-code { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--airline); font-weight: 900; letter-spacing: -.03em; }
.airline-card[data-airline="vueling"] .airline-code { color: #1c2530; }
.airline-card h3 { margin: 19px 0 5px; font-size: 1.15rem; }
.airline-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.airline-size { margin-top: auto; padding-top: 17px; color: var(--navy); font-weight: 850; font-size: 1.08rem; }
.arrow-link { margin-top: 6px; color: var(--blue); font-size: .8rem; font-weight: 780; }

.truth-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.truth-card { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.truth-card.featured { background: linear-gradient(145deg, #0d3858, #0a263d); border: 0; color: #dbeaf3; }
.truth-card .tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #0d5d68; background: #def5f5; font-weight: 830; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.truth-card.featured .tag { color: #21310a; background: var(--lime); }
.truth-card h3 { margin: 20px 0 11px; font-size: 1.75rem; }
.truth-card p { margin: 0 0 15px; color: #5d6f7e; }
.truth-card.featured p { color: #c5d9e5; }
.truth-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.truth-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.truth-list span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--success); background: var(--success-bg); font-weight: 900; font-size: .75rem; }
.truth-card.featured .truth-list span { color: #223308; background: var(--lime); }
.truth-card .source-link { display: inline-block; margin-top: 22px; font-weight: 780; }
.truth-card.featured .source-link { color: var(--lime); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px; border: 1px solid #36526a; border-radius: 18px; background: rgba(255,255,255,.04); }
.step::before { counter-increment: step; content: "0" counter(step); color: var(--lime); font-weight: 900; font-size: .76rem; letter-spacing: .08em; }
.step h3 { margin: 18px 0 8px; font-size: 1.18rem; }
.step p { margin: 0; color: #b7ccda; font-size: .9rem; }

.faq { max-width: 850px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; color: var(--navy); font-weight: 780; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--wash); color: var(--blue); font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 44px 22px 0; color: var(--muted); }

.page-hero { padding: 68px 0 54px; background: linear-gradient(145deg, #f6fbff, #edf7f8); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 22px; color: #71808d; font-size: .82rem; }
.breadcrumbs a { color: #526779; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.page-lead { max-width: 780px; margin: 20px 0 0; color: #536777; font-size: 1.13rem; }
.content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 48px; padding: 64px 0 88px; }
.prose { min-width: 0; }
.prose h2 { margin: 48px 0 16px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-size: 1.35rem; }
.prose p, .prose li { color: #4e6274; }
.prose ul { padding-left: 21px; }
.rule-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .92rem; }
.rule-table th, .rule-table td { padding: 14px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rule-table th { color: var(--navy); background: var(--wash); font-size: .8rem; letter-spacing: .03em; text-transform: uppercase; }
.callout { margin: 26px 0; padding: 20px 22px; border-radius: 16px; background: var(--warning-bg); border: 1px solid #eedba3; color: #5e491e; }
.callout.good { background: var(--success-bg); border-color: #b9e4cf; color: #245b49; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.side-card h3 { margin: 0 0 12px; font-size: 1rem; }
.side-card p { margin: 0; color: var(--muted); font-size: .83rem; }
.side-card a { display: inline-block; margin-top: 13px; font-size: .82rem; font-weight: 780; }
.source-stamp { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: .77rem; font-weight: 800; }
.source-stamp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { padding: 23px; color: inherit; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: #fff; }
.article-card:hover { border-color: #99b8cc; box-shadow: 0 10px 28px rgba(10,42,67,.08); }
.article-card h2 { margin: 12px 0 9px; font-size: 1.35rem; }
.article-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.site-footer { padding: 56px 0 28px; color: #c2d3df; background: #071e30; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 45px; }
.site-footer .brand { color: #fff; }
.footer-copy { max-width: 420px; margin: 17px 0 0; color: #9eb6c7; font-size: .88rem; }
.footer-col h3 { margin: 4px 0 16px; color: #fff; font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-col a { display: block; margin: 10px 0; color: #b7cbd8; text-decoration: none; font-size: .86rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid #234058; color: #829cad; font-size: .76rem; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 700px; }
  .airline-grid { grid-template-columns: repeat(2, 1fr); }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 70px; padding: 16px; flex-direction: column; align-items: stretch; gap: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .nav-cta { text-align: center; }
  .checker-hero { padding: 34px 0 48px; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.65rem); }
  .hero-copy { margin-top: 18px; font-size: 1.02rem; }
  .checker-card { margin-inline: -4px; padding: 18px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .check-button, .form-error { grid-column: 1; }
  .dimension-row { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 14px; }
  .truth-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 48px 0 38px; }
  .content-wrap { padding: 48px 0 68px; gap: 34px; }
  .sidebar { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .airline-grid { grid-template-columns: 1fr; }
  .card-kicker { align-items: flex-start; flex-direction: column; }
  .result-head { flex-direction: column; }
  .fit-line { grid-template-columns: 75px 1fr auto; }
  .rule-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
