/* Travel Packing Matrix — website. Packing-grid board: petrol, paper, persimmon, saffron. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/fonts/space-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --petrol: #073542;
  --petrol-deep: #03222b;
  --paper: #f6f1e8;
  --card: #fffdf8;
  --sand: #efe7d9;
  --ink: #14232a;
  --ink-soft: #46555a;
  --line: #ddd2bf;
  --persimmon: #e2531f;
  --persimmon-text: #ae3d0e;
  --saffron: #f2ae1c;
  --grid: rgba(255, 255, 255, 0.07);
  --mono: "Space Mono", ui-monospace, monospace;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--persimmon-text); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; }

.kicker { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--persimmon-text); margin-bottom: 14px; }
.kicker--light { color: var(--saffron); }
.section-title { font-size: clamp(28px, 4vw, 42px); max-width: 18ch; margin-bottom: 36px; }
.section-title--light { color: #fff; max-width: 26ch; }
.tag { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--persimmon-text); margin-bottom: 10px; }

/* Header */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.brand img { width: 196px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 12px; border-radius: 4px; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); color: var(--petrol); }

/* CTA */
.cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 6px; font-weight: 800; font-size: 17px; text-decoration: none; background: var(--persimmon); color: #fff; }
.cta:hover { background: #c94716; color: #fff; }
.cta--soon { background: transparent; color: #fff; border: 2px dashed var(--saffron); cursor: default; }
.closing .cta--soon, .page-privacy .cta--soon { color: var(--petrol); border-color: var(--persimmon); }
.link-arrow { color: #fff; font-weight: 600; }
.link-arrow::after { content: " ↓"; }
.link-arrow:hover { color: var(--saffron); }

/* Hero: a packing board */
.hero {
  background-color: var(--petrol);
  background-image: linear-gradient(var(--grid) 2px, transparent 2px), linear-gradient(90deg, var(--grid) 2px, transparent 2px);
  background-size: 96px 96px;
  color: #fff;
  padding: 72px 0 84px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); letter-spacing: -0.01em; }
.lead { font-size: 19px; color: #d5e2e1; max-width: 34em; }
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }

.board { display: grid; grid-template-columns: 1fr 1.5fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.cell { background: var(--paper); border-radius: 10px; display: grid; place-items: center; padding: 14px; min-height: 120px; }
.cell--item img { width: 78%; max-width: 120px; }
.cell--saffron { background: var(--saffron); }
.cell--persimmon { background: #f4c7b1; }
.cell--screen { grid-column: 2; grid-row: 1 / span 3; padding: 10px; background: var(--paper); overflow: hidden; align-items: start; }
.cell--screen img { border-radius: 8px; box-shadow: 0 10px 26px rgba(3, 34, 43, 0.35); }
.board .cell:nth-child(1) { grid-column: 1; grid-row: 1; }
.board .cell:nth-child(3) { grid-column: 3; grid-row: 1; }
.board .cell:nth-child(4) { grid-column: 1; grid-row: 2 / span 2; }
.board .cell:nth-child(5) { grid-column: 3; grid-row: 2; }
.board .cell:nth-child(6) { grid-column: 3; grid-row: 3; }

/* Steps */
.steps { padding: 84px 0 40px; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--petrol); }
.steps__list li { padding: 26px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.steps__list li:last-child { border-right: 0; margin-right: 0; }
.steps__no { font-family: var(--mono); font-weight: 700; font-size: 44px; color: var(--persimmon); line-height: 1; display: block; margin-bottom: 14px; }
.steps__list h3 { font-size: 24px; }
.steps__list p { color: var(--ink-soft); }

/* Features */
.features { padding: 56px 0 72px; }
.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
.feature--flip .drawer { order: 2; }
.feature__text h3 { font-size: clamp(26px, 3vw, 36px); }
.feature__text p { color: var(--ink-soft); font-size: 18px; }
.feature__text ul, .legal ul { padding-left: 0; list-style: none; margin: 0; }
.feature__text li, .legal li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.feature__text li::before, .legal li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 2px; background: var(--saffron); }
.drawer { margin: 0; width: 100%; max-width: 440px; justify-self: center; background: var(--sand); border-radius: 18px 18px 0 0; padding: 14px 14px 0; max-height: 560px; overflow: hidden; border-bottom: 6px solid var(--petrol); }
.drawer img { border-radius: 10px 10px 0 0; }
.drawer--short { max-height: 420px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 48px; }
.mini h3 { font-size: 26px; }
.mini p { color: var(--ink-soft); }
.mini .drawer { margin-bottom: 22px; }

/* Templates */
.templates { background: var(--petrol); color: #fff; padding: 80px 0; }
.templates__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tpl { background: var(--petrol-deep); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 22px; }
.tpl__count { font-family: var(--mono); font-weight: 700; font-size: 34px; color: var(--saffron); display: block; line-height: 1; margin-bottom: 14px; }
.tpl h3 { font-size: 21px; color: #fff; }
.tpl p { color: #c8d8d6; font-size: 15px; margin: 0; }
.templates__note { color: #c8d8d6; margin-top: 22px; font-size: 15px; }

/* Facts */
.facts { padding: 0; background: var(--saffron); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px 26px; border-right: 2px solid rgba(7, 53, 66, 0.18); }
.fact:last-child { border-right: 0; }
.fact h3 { font-size: 22px; color: var(--petrol); margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink); font-size: 15px; }

/* FAQ */
.faq { padding: 84px 0; }
.faq__wrap { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 700; color: var(--persimmon); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* Closing */
.closing { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.closing__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.closing__inner > div { flex: 1; min-width: 240px; }
.closing h2 { font-size: 30px; margin-bottom: 4px; }
.closing p { margin: 0; color: var(--ink-soft); }
.closing__icon { border-radius: 22px; }

/* Footer */
.footer { background: var(--petrol-deep); color: #c8d8d6; padding: 56px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--saffron); }
.footer__logo { background: var(--paper); padding: 10px 14px; border-radius: 8px; width: 210px; margin-bottom: 16px; }
.footer__title { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 12px; }
.footer__note { max-width: 30em; }
.footer__small { font-size: 14px; color: #9fb5b2; }

/* Privacy / 404 */
.legal { max-width: 820px; padding: 64px 0 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); }
.legal__meta { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); margin-bottom: 36px; }
.legal section { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; }
.legal h2 { font-size: 24px; }
.notfound { padding: 96px 0; min-height: 50vh; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .board { max-width: 560px; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 28px; }
  .feature--flip .drawer { order: 0; }
  .drawer { max-width: 460px; max-height: 480px; }
  .templates__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { position: static; }
  .topbar__inner { padding: 10px 0; }
  .brand img { width: 168px; }
  .nav { width: 100%; }
  .nav a { padding: 10px 10px; }
  .hero { padding: 48px 0 56px; }
  .board { gap: 8px; }
  .cell { min-height: 84px; padding: 8px; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .pair { grid-template-columns: 1fr; }
  .templates__grid, .facts__grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 2px solid rgba(7, 53, 66, 0.18); }
  .footer__grid { grid-template-columns: 1fr; }
}
