:root {
  --ink: #08233e;
  --ink-2: #173d5d;
  --muted: #607486;
  --paper: #f6f7f3;
  --white: #ffffff;
  --line: #dce5e8;
  --teal: #0e9f91;
  --teal-dark: #08786f;
  --teal-pale: #e4f7f3;
  --blue-pale: #eaf4fa;
  --amber: #d98c10;
  --amber-pale: #fff4d8;
  --red: #c84242;
  --red-pale: #ffebea;
  --green: #12805c;
  --green-pale: #e5f6ee;
  --shadow: 0 24px 70px rgba(8, 35, 62, 0.11);
  --radius: 24px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 9px;
  color: white;
  background: var(--ink);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(8, 35, 62, 0.08);
  background: rgba(246, 247, 243, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img { border-radius: 13px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a,
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}
.main-nav a:hover, .footer-links a:hover { color: var(--teal-dark); }

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.lang-button {
  min-width: 38px;
  padding: 5px 7px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 800;
}
.lang-button.is-active { color: white; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 126px;
  color: white;
  background:
    radial-gradient(circle at 84% 5%, rgba(20, 184, 166, 0.28), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(39, 124, 157, 0.3), transparent 28%),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -240px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 74px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero .eyebrow { color: #7ce3d8; }

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #c7d7e3;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.6;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #eaf5f8;
  font-size: .9rem;
}
.hero-points span { display: flex; align-items: center; gap: 7px; }
.hero-points b { color: #72e2ce; }

.hero-ticket {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 27px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  box-shadow: 0 38px 90px rgba(0,0,0,.24);
  transform: rotate(1deg);
}
.hero-ticket::before, .hero-ticket::after {
  content: "";
  position: absolute;
  top: 49%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
}
.hero-ticket::before { left: -12px; }
.hero-ticket::after { right: -12px; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px dashed #bfd0d6;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
}
.live-dot { display: inline-flex; align-items: center; gap: 7px; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-pale); }

.ticket-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  padding: 27px 0 22px;
}
.ticket-route div:last-child { text-align: right; }
.ticket-route small { display: block; margin-bottom: 5px; color: var(--muted); font-size: .68rem; font-weight: 800; }
.ticket-route strong { display: block; font-size: clamp(1.2rem, 2.4vw, 1.65rem); letter-spacing: -.04em; }
.ticket-route span { color: var(--muted); font-size: .75rem; }
.route-arrow { align-self: center; color: var(--teal); font-size: 1.5rem; }

.example-pass {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 13px;
  color: var(--green);
  background: var(--green-pale);
  font-weight: 850;
}
.example-pass span:first-child { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: white; background: var(--green); }
.hero-ticket > p { margin: 14px 2px 0; color: var(--muted); font-size: .82rem; }

.checker-section { position: relative; z-index: 4; margin-top: -54px; }
.checker-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 38px; align-items: start; }
.compact-heading { padding-top: 92px; }
.section-heading h2 { margin-bottom: 15px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.07; letter-spacing: -.055em; }
.section-heading p:not(.eyebrow) { color: var(--muted); }

.checker-card {
  overflow: hidden;
  border: 1px solid rgba(8, 35, 62, 0.1);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.checker-tabs {
  display: flex;
  padding: 10px 10px 0;
  border-bottom: 1px solid var(--line);
  background: #f9fbfb;
}
.checker-tab {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 53px;
  border: 0;
  border-radius: 14px 14px 0 0;
  color: var(--muted);
  background: transparent;
  font-weight: 780;
}
.checker-tab.is-active { color: var(--ink); background: white; box-shadow: 0 -1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.checker-tab.is-active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: white; }
.checker-tab small { padding: 2px 5px; border-radius: 5px; color: var(--teal-dark); background: var(--teal-pale); font-size: .57rem; }

.checker-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(245px, .65fr); }
.checker-fields { padding: 32px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.field, .measure-field { display: grid; gap: 7px; color: var(--ink-2); font-size: .78rem; font-weight: 790; }

select, input {
  width: 100%;
  border: 1px solid #cbd8dd;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
select { min-height: 48px; padding: 0 42px 0 13px; }
input { min-height: 52px; padding: 0 46px 0 13px; font-weight: 760; }
select:focus, input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,159,145,.12); }
input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-pale); }

fieldset { padding: 0; border: 0; }
legend { margin-bottom: 13px; color: var(--ink); font-size: .91rem; font-weight: 850; }
.measure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.measure-field em { color: var(--muted); font-size: .68rem; font-style: normal; font-weight: 600; }
.input-with-unit { position: relative; }
.input-with-unit b { position: absolute; top: 50%; right: 12px; color: var(--muted); font-size: .73rem; transform: translateY(-50%); }

.primary-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: var(--teal-dark);
  box-shadow: 0 10px 26px rgba(8,120,111,.18);
  font-weight: 850;
  transition: transform .16s, background .16s;
}
.primary-button:hover:not(:disabled) { background: #076a63; transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .45; }

.limit-panel {
  padding: 30px 28px;
  border-left: 1px solid var(--line);
  background: #f3f8f8;
}
.limit-head span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .64rem; font-weight: 880; letter-spacing: .12em; }
.limit-head strong { font-size: 1.07rem; }
.limit-box-visual { height: 105px; display: grid; place-items: center; margin: 18px 0 8px; }
.limit-cube { position: relative; width: 100px; height: 68px; border: 2px solid var(--teal); border-radius: 6px; color: var(--teal-dark); }
.limit-cube::before { content: ""; position: absolute; inset: -18px 15px 17px -15px; border: 2px solid rgba(14,159,145,.36); border-radius: 6px; transform: skewY(-12deg); }
.limit-cube span, .limit-cube i, .limit-cube b { position: absolute; font-size: .61rem; font-style: normal; }
.limit-cube span { left: -15px; top: 25px; }
.limit-cube i { bottom: -17px; left: 46px; }
.limit-cube b { right: -17px; top: -12px; }
.limit-numbers { text-align: center; }
.limit-numbers strong { display: block; font-size: 1.3rem; letter-spacing: -.035em; }
.limit-numbers span { color: var(--muted); font-size: .8rem; }
.limit-panel p { margin: 16px 0 13px; color: var(--muted); font-size: .76rem; }
.limit-panel a { color: var(--teal-dark); font-size: .78rem; font-weight: 800; }

.result-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  background: var(--green-pale);
}
.result-panel[hidden] { display: none; }
.result-panel.is-warning { background: var(--amber-pale); }
.result-panel.is-fail { background: var(--red-pale); }
.result-status { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 1.5rem; font-weight: 900; }
.is-warning .result-status { background: var(--amber); }
.is-fail .result-status { background: var(--red); }
.result-kicker { margin-bottom: 2px; color: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .11em; }
.is-warning .result-kicker { color: #9c6200; }
.is-fail .result-kicker { color: var(--red); }
.result-copy h3 { margin-bottom: 6px; font-size: 1.48rem; letter-spacing: -.03em; }
.result-copy > p { margin-bottom: 12px; color: var(--ink-2); }
.result-metrics { display: flex; flex-wrap: wrap; gap: 8px; }
.result-metrics span { padding: 6px 9px; border: 1px solid rgba(8,35,62,.12); border-radius: 8px; background: rgba(255,255,255,.58); font-size: .73rem; font-weight: 750; }
.result-warning { margin-top: 14px !important; margin-bottom: 0 !important; color: var(--muted) !important; font-size: .71rem; }
.close-result { position: absolute; top: 12px; right: 12px; width: 33px; height: 33px; border: 0; border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.6); font-size: 1.2rem; }

.photo-intro { margin-bottom: 20px; }
.photo-intro h3 { margin: 12px 0 6px; font-size: 1.18rem; }
.photo-intro p { margin-bottom: 0; color: var(--muted); font-size: .83rem; }
.photo-steps-mini { display: flex; align-items: center; max-width: 220px; }
.photo-steps-mini span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: .65rem; font-weight: 850; }
.photo-steps-mini i { flex: 1; height: 1px; background: #b7d5d1; }
.reference-choice { margin-bottom: 16px; }
.reference-choice > span { display: block; margin-bottom: 7px; font-size: .76rem; font-weight: 800; }
.segmented { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #f4f7f7; }
.ref-button { flex: 1; min-height: 36px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .73rem; font-weight: 750; }
.ref-button.is-active { color: var(--ink); background: white; box-shadow: 0 2px 8px rgba(8,35,62,.08); }
.upload-zone { position: relative; min-height: 178px; display: grid; place-items: center; align-content: center; gap: 6px; border: 2px dashed #a9c6c5; border-radius: 15px; color: var(--ink-2); background: #f1f9f7; text-align: center; transition: border .18s, background .18s; }
.upload-zone:hover { border-color: var(--teal); background: var(--teal-pale); }
.upload-zone input { position: absolute; inset: 0; min-height: 0; cursor: pointer; opacity: 0; }
.upload-zone small { color: var(--muted); }
.upload-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 1.3rem; }
.canvas-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #101a22; }
.canvas-wrap[hidden] { display: none; }
#photo-canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; }
.canvas-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 13px; color: white; background: #142637; }
.canvas-toolbar p { margin: 0; max-width: 62ch; font-size: .92rem; line-height: 1.5; }
.canvas-toolbar > div { display: flex; flex-shrink: 0; gap: 7px; }
.text-button { min-width: 70px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; color: white; background: transparent; font-size: .8rem; font-weight: 700; }
.photo-reading { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.photo-reading[hidden] { display: none; }
.photo-reading div { padding: 9px; border-radius: 9px; background: var(--blue-pale); }
.photo-reading span { display: block; color: var(--muted); font-size: .65rem; }
.photo-reading strong { font-size: .9rem; }
.privacy-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: .7rem; }

.trust-strip { margin-top: 72px; border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 11px; align-items: center; padding: 25px 20px; }
.trust-grid > div + div { border-left: 1px solid var(--line); }
.trust-grid > div > span { grid-row: 1 / 3; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--teal-dark); background: var(--teal-pale); font-weight: 900; }
.trust-grid strong { font-size: .78rem; }
.trust-grid small { color: var(--muted); font-size: .68rem; }

.how-section, .airline-section, .faq-section { padding: 112px 0; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.how-grid article { position: relative; min-height: 245px; padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.how-grid article > span { position: absolute; top: 20px; right: 22px; color: #b1bfc5; font-size: .72rem; font-weight: 850; }
.how-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 13px; color: var(--teal-dark); background: var(--teal-pale); font-size: 1.2rem; }
.how-grid h3 { margin-bottom: 8px; font-size: 1.1rem; }
.how-grid p { margin: 0; color: var(--muted); font-size: .86rem; }

.airline-section { background: var(--ink); color: white; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading-row > p { max-width: 410px; color: #a9bdcc !important; }
.airline-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 42px; }
.airline-guide-index { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 0; color: var(--muted, #52677a); font-size: .9rem; }
.airline-guide-index a { color: inherit; text-underline-offset: 3px; }
.airline-card { display: flex; min-width: 0; flex-direction: column; padding: 19px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.055); }
.airline-card h3 { margin-bottom: 18px; font-size: .96rem; }
.airline-card .rule { margin-bottom: 10px; }
.airline-card .rule span { display: block; color: #9fb7c7; font-size: .63rem; text-transform: uppercase; letter-spacing: .08em; }
.airline-card .rule strong { display: block; font-size: .84rem; }
.airline-card a { margin-top: auto; padding-top: 13px; color: #75ded3; font-size: .7rem; font-weight: 750; }
.airline-card small { display: block; margin-top: 10px; color: #859eae; font-size: .6rem; }
.airline-card small a { display: inline; padding: 0; color: #9fb7c7; font-size: inherit; font-weight: 650; }

.method-section { padding: 86px 0; background: #dff2ef; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.method-grid h2 { max-width: 500px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.03; letter-spacing: -.055em; }
.method-copy p { color: var(--ink-2); font-size: 1.05rem; }
.method-copy a { color: var(--teal-dark); font-weight: 850; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.faq-list details { padding: 21px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 820; }
.faq-list summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 700px; margin: 12px 0 0; color: var(--muted); font-size: .89rem; }

.site-footer { padding: 50px 0; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px 50px; align-items: center; }
.footer-brand { margin-bottom: 7px; }
.footer-grid > div > p { margin: 0; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; gap: 22px; }
.footer-disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }

.content-page main { min-height: 70vh; }
.page-hero { padding: 86px 0 58px; color: white; background: var(--ink); }
.page-hero h1 { max-width: 780px; margin-bottom: 16px; font-size: clamp(2.6rem, 6vw, 4.9rem); }
.page-hero p { max-width: 720px; margin: 0; color: #bfd0db; font-size: 1.08rem; }
.prose { width: min(calc(100% - 40px), 780px); margin: 70px auto 100px; }
.prose h2 { margin: 45px 0 12px; font-size: 1.7rem; letter-spacing: -.035em; }
.prose h3 { margin: 30px 0 8px; }
.prose p, .prose li { color: #3f586c; }
.prose .notice { padding: 18px 20px; border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; background: var(--teal-pale); }
.prose table { width: 100%; margin: 24px 0 32px; border-collapse: collapse; border: 1px solid var(--line); background: white; }
.prose th, .prose td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: #edf5f4; font-size: .78rem; }
.prose td { color: #3f586c; font-size: .86rem; }
.prose .checker-link { display: inline-flex; align-items: center; gap: 18px; margin: 16px 0 18px; padding: 14px 18px; border-radius: 12px; color: white; background: var(--teal-dark); text-decoration: none; font-weight: 820; }

.noscript { position: fixed; right: 10px; bottom: 10px; left: 10px; z-index: 100; padding: 12px; color: white; background: var(--red); text-align: center; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-ticket { max-width: 620px; }
  .checker-shell { grid-template-columns: 1fr; }
  .compact-heading { padding-top: 28px; }
  .checker-main { grid-template-columns: 1fr; }
  .limit-panel { display: grid; grid-template-columns: 1fr auto; gap: 8px 22px; border-top: 1px solid var(--line); border-left: 0; }
  .limit-box-visual { grid-row: 1 / 5; grid-column: 2; }
  .limit-numbers { text-align: left; }
  .airline-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 65px; gap: 12px; }
  .brand span { font-size: .93rem; }
  .brand img { width: 36px; height: 36px; }
  .main-nav { display: none; }
  .language-switch { margin-left: auto; }
  .hero { padding: 65px 0 98px; }
  h1 { font-size: clamp(2.85rem, 15vw, 4.2rem); }
  .hero-points { display: grid; }
  .hero-ticket { padding: 22px; transform: none; }
  .ticket-route { gap: 8px; }
  .checker-section { margin-top: -38px; }
  .checker-fields { padding: 22px 18px; }
  .field-row, .measure-grid { grid-template-columns: 1fr 1fr; }
  .limit-panel { padding: 23px 20px; }
  .result-panel { grid-template-columns: 1fr; padding: 24px 20px; }
  .result-status { width: 42px; height: 42px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .how-section, .airline-section, .faq-section { padding: 78px 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { min-height: 0; }
  .how-icon { margin-bottom: 25px; }
  .section-heading-row, .method-grid, .faq-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .airline-list { grid-template-columns: 1fr 1fr; }
  .method-section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 470px) {
  .field-row, .measure-grid, .airline-list { grid-template-columns: 1fr; }
  .hero-ticket { margin-inline: -2px; }
  .ticket-route strong { font-size: 1.08rem; }
  .checker-tab { font-size: .82rem; }
  .limit-panel { grid-template-columns: 1fr; }
  .limit-box-visual { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .photo-reading { grid-template-columns: 1fr; }
  .canvas-toolbar { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Personal packing checklist */
.packing-page { background: #f7f9f8; }
.packing-prompt-section { padding: 24px 0 0; background: #f7f9f8; }
.packing-prompt { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 26px; border: 1px solid #d6e7e3; border-radius: 16px; background: white; }
.packing-prompt > span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 13px; color: var(--teal-dark); background: var(--teal-pale); font-size: 1.35rem; }
.packing-prompt h2 { margin: 0 0 5px; font-size: 1.04rem; }
.packing-prompt p { margin: 0; color: var(--muted); font-size: .82rem; }
.packing-prompt a { color: var(--teal-dark); font-size: .84rem; font-weight: 850; }
.packing-hero { padding: 68px 0 52px; color: white; background: radial-gradient(ellipse at 84% 10%, rgba(88,224,208,.19), transparent 38%), var(--ink); }
.packing-hero-inner { max-width: 850px; }
.packing-hero h1 { max-width: 780px; margin: 10px 0 18px; font-size: clamp(2.6rem, 6vw, 4.7rem); }
.packing-hero-inner > p:not(.eyebrow) { max-width: 680px; color: #bfd0dc; font-size: 1.08rem; }
.packing-promises { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; color: #d8e7eb; font-size: .82rem; font-weight: 700; }
.packing-section { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 24px; align-items: start; padding-block: 44px 82px; }
.packing-options, .packing-list-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 34px rgba(8,35,62,.055); }
.packing-options .section-heading { margin-bottom: 24px; }
.packing-options .section-heading h2, .packing-list-head h2 { margin: 8px 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.packing-options .section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.packing-fields { display: grid; gap: 14px; }
.packing-fields input, .packing-fields select, .add-item-form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd7db; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.packing-fields input[aria-invalid="true"] { border-color: var(--red); }
.packing-activities { margin: 18px 0 8px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; }
.packing-activities legend { padding: 0 5px; color: var(--ink); font-size: .88rem; font-weight: 700; }
.packing-activities > p { margin: 0 0 12px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.activity-options { display: grid; gap: 9px; }
.activity-options label { display: flex; min-height: 44px; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; background: #f6f9f8; cursor: pointer; }
.activity-options input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--teal-dark); }
.activity-options span { font-size: .84rem; }
.packing-check-option { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; padding: 15px; border-radius: 12px; background: #f1f8f7; cursor: pointer; }
.packing-check-option input, .packing-item input { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--teal-dark); }
.packing-check-option strong, .packing-check-option small { display: block; }
.packing-check-option strong { font-size: .86rem; }
.packing-check-option small { margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.packing-generate { min-height: 50px; width: 100%; }
.packing-list-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.packing-list-head h2 { margin-bottom: 5px; }
.packing-list-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.packing-clear { flex-shrink: 0; color: var(--ink); border-color: var(--line); background: white; }
.packing-progress { height: 9px; margin: 20px 0 24px; overflow: hidden; border-radius: 99px; background: #e7efee; }
.packing-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); transition: width .2s ease; }
.packing-group + .packing-group { margin-top: 23px; }
.packing-group h3 { margin: 0 0 9px; color: var(--muted); font-size: .73rem; text-transform: uppercase; letter-spacing: .08em; }
.packing-item { display: grid; grid-template-columns: 26px 1fr auto; gap: 11px; align-items: center; min-height: 51px; padding: 8px 10px; border-bottom: 1px solid #edf1f1; border-radius: 7px; cursor: pointer; }
.packing-item.is-custom { grid-template-columns: 26px minmax(0,1fr) auto 40px; }
.packing-item:hover { background: #f7faf9; }
.packing-item input:checked + .packing-item-name { color: #75858e; text-decoration: line-through; }
.packing-item-name { font-size: .91rem; }
.packing-item small { color: var(--muted); font-size: .78rem; }
.remove-custom { width: 40px; height: 40px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 1.4rem; cursor: pointer; }
.remove-custom:hover, .remove-custom:focus-visible { color: #9b2e36; background: #fff0ef; }
.packing-empty { padding: 24px 8px; color: var(--muted); text-align: center; }
.add-item-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 24px; }
.add-item-form .secondary-button { min-height: 48px; }
.packing-saved { margin: 13px 0 0; color: var(--muted); font-size: .75rem; }
.packing-note { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 17px 20px; border-radius: 12px; color: #28485d; background: #e8f3f1; }
.packing-note > span { font-size: 1.25rem; }
.packing-note p { margin: 0; font-size: .83rem; line-height: 1.5; }
.packing-note a { color: var(--teal-dark); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .packing-section { grid-template-columns: 1fr; }
  .packing-options { order: 0; }
  .packing-list-card { order: 1; }
  .packing-note { order: 2; }
}
@media (max-width: 600px) {
  .packing-prompt { grid-template-columns: auto 1fr; padding: 18px; }
  .packing-prompt a { grid-column: 2; }
  .packing-hero { padding: 48px 0 36px; }
  .packing-promises { display: grid; gap: 8px; }
  .packing-section { padding-top: 22px; }
  .packing-options, .packing-list-card { padding: 20px 16px; }
  .packing-list-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .packing-note { grid-template-columns: auto 1fr; }
  .packing-note a { grid-column: 2; }
  .add-item-form { grid-template-columns: 1fr; }
}
