/* Cleared. Departure paperwork: cool paper, passport navy, one stamp blue, amber only for deadlines. */

:root {
  --paper: #edf1f4;
  --paper-2: #e2e8ee;
  --card: #fbfcfd;
  --ink: #13233f;
  --ink-soft: #46566e;
  --line: #c3cdd8;
  --line-soft: #d9e0e7;
  --stamp: #2547d0;
  --stamp-deep: #1b37a6;
  --on-stamp: #ffffff;
  --navy: #13233f;
  --navy-text: #dfe7f1;
  --navy-soft: #a9b8cc;
  --navy-accent: #9fb4ff;
  --amber: #e39a0b;
  --amber-ink: #6b4300;
  --amber-bg: #fcefd2;
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 10px;
  --shadow: 0 1px 0 var(--line), 0 28px 56px -32px rgba(19, 35, 63, 0.45);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0c1525;
  --paper-2: #101c30;
  --card: #14223a;
  --ink: #e6ecf3;
  --ink-soft: #a8b5c7;
  --line: #2c3c57;
  --line-soft: #1f2e46;
  --stamp: #8ea6ff;
  --stamp-deep: #b3c3ff;
  --on-stamp: #0c1525;
  --navy: #070e1a;
  --amber: #f2b53a;
  --amber-ink: #f6d58e;
  --amber-bg: #3b2b0b;
  --shadow: 0 0 0 1px var(--line), 0 28px 56px -32px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1525;
    --paper-2: #101c30;
    --card: #14223a;
    --ink: #e6ecf3;
    --ink-soft: #a8b5c7;
    --line: #2c3c57;
    --line-soft: #1f2e46;
    --stamp: #8ea6ff;
    --stamp-deep: #b3c3ff;
    --on-stamp: #0c1525;
    --navy: #070e1a;
    --amber: #f2b53a;
    --amber-ink: #f6d58e;
    --amber-bg: #3b2b0b;
    --shadow: 0 0 0 1px var(--line), 0 28px 56px -32px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  margin: 0 0 0.6em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-stretch: 125%; font-weight: 780; letter-spacing: -0.018em; line-height: 1.04; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); font-stretch: 116%; font-weight: 730; letter-spacing: -0.01em; }
h3 { font-size: 1.14rem; font-stretch: 100%; font-weight: 680; }

p { margin: 0 0 1em; }

a { color: var(--stamp); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 3px; }

img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.small { font-family: var(--sans); font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 6px;
  font-family: var(--sans); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.82em 1.3em;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 1rem; font-weight: 640; font-stretch: 104%;
  line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--stamp); color: var(--on-stamp); }
.btn--primary:hover { background: var(--stamp-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--small { padding: 0.58em 0.95em; font-size: 0.92rem; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.4rem; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand .mark { width: 2.2rem; height: auto; color: var(--stamp); }
.brand__word { font-family: var(--sans); font-stretch: 125%; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; }

.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a, .menu__panel a:not(.btn) {
  font-family: var(--sans); font-size: 0.97rem; font-weight: 560; color: var(--ink); text-decoration: none;
  padding-block: 0.35rem; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--stamp); }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer;
  font-family: var(--sans); font-weight: 640; font-size: 0.95rem;
  border: 1.5px solid var(--ink); border-radius: 8px; padding: 0.5em 0.9em;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1.1rem, 4vw, 2.5rem) 1.5rem;
  box-shadow: 0 24px 40px -30px rgba(19, 35, 63, 0.5);
}
.menu__panel ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.menu__panel li a:not(.btn) { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
.menu__panel .btn { width: 100%; }

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}

/* ------------------------------------------------------------ breadcrumbs */

.crumbs { padding-top: 1.6rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 0.86rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 0.55rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* ------------------------------------------------------------ the stamp */

.stamp {
  --c: var(--stamp);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.18em;
  padding: 0.34em 0.72em 0.38em;
  border: 0.15em solid var(--c);
  border-radius: 0.28em;
  box-shadow: inset 0 0 0 0.09em var(--card), inset 0 0 0 0.19em var(--c);
  color: var(--c);
  font-family: var(--sans); font-stretch: 125%; font-weight: 820;
  letter-spacing: 0.07em; text-transform: uppercase; line-height: 1;
  transform: rotate(-10deg);
  pointer-events: none; user-select: none;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='170' height='170'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='170' height='170'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  -webkit-mask-size: 170px; mask-size: 170px;
}
.stamp__word { font-size: 1em; }
.stamp__date {
  font-size: 0.4em; letter-spacing: 0.24em; font-weight: 700;
  border-top: 0.16em solid var(--c); padding-top: 0.35em; width: 100%; text-align: center;
}

/* ------------------------------------------------------------ hero */

.hero { padding-block: clamp(2.8rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.025em; line-height: 0.98;
  margin-bottom: 0.45em;
}
.hero__lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink-soft); max-width: 33em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.1rem; }
.hero__note { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); }

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

/* boarding pass */

.pass {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
}
.pass__top { padding: 1.35rem 1.5rem 1.25rem; }
.pass__title { font-size: 0.95rem; font-weight: 650; color: var(--ink-soft); margin: 0 0 0.6rem; }
.pass__route { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.pass__route span:first-child { font-stretch: 125%; font-weight: 820; font-size: 2.1rem; letter-spacing: -0.01em; line-height: 1; }
.pass__route span:last-child { font-stretch: 112%; font-weight: 700; font-size: 1.05rem; color: var(--ink-soft); }
.pass__line {
  flex: 1; height: 2px; position: relative;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 13px);
}
.pass__line::after {
  content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--stamp);
}
.pass__field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.35rem; }
.pass__tear { position: relative; border-top: 2px dashed var(--line); margin-inline: 1.25rem; }
.pass__tear::before, .pass__tear::after {
  content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
}
.pass__tear::before { left: calc(-1.25rem - 12px); clip-path: inset(0 0 0 50%); }
.pass__tear::after { right: calc(-1.25rem - 12px); clip-path: inset(0 50% 0 0); }
.pass__list { list-style: none; margin: 0; padding: 0.4rem 1.5rem 0; }
.pass__item {
  display: grid; grid-template-columns: 8.6rem minmax(0, 1fr); gap: 0.9rem; align-items: baseline;
  padding: 0.72rem 0; border-bottom: 1px solid var(--line-soft);
}
.pass__when { font-stretch: 78%; font-weight: 700; font-size: 0.95rem; color: var(--stamp); }
.pass__item.is-due .pass__when { color: var(--amber-ink); }
.pass__item.is-due .pass__when::before {
  content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%;
  background: var(--amber); margin-right: 0.4em; vertical-align: 0.05em;
}
.pass__what { font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; }
.pass__foot { margin: 0; padding: 0.95rem 9.5rem 1.35rem 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.pass__foot a { white-space: nowrap; }

.stamp--hero { position: absolute; right: -1rem; bottom: -1.3rem; font-size: 1.45rem; transform: rotate(-12deg); }

@media (prefers-reduced-motion: no-preference) {
  .stamp--hero { animation: stamp-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.7s both; }
  @keyframes stamp-in {
    0% { opacity: 0; transform: rotate(-4deg) scale(1.9); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: rotate(-12deg) scale(1); }
  }
}

@media (max-width: 520px) {
  .pass__item { grid-template-columns: 1fr; gap: 0.15rem; }
  .stamp--hero { right: 0.4rem; bottom: -1rem; font-size: 1.1rem; }
  .pass__foot { padding-right: 7.5rem; }
}

/* ------------------------------------------------------------ inputs */

input[type="date"], input[type="text"], input[type="email"], input[type="tel"], input:not([type]), select, textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 0.7rem 0.8rem; min-height: 2.9rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--stamp); outline: 3px solid color-mix(in srgb, var(--stamp) 25%, transparent); outline-offset: 0; }
textarea { resize: vertical; line-height: 1.5; }

.field { margin-bottom: 1.1rem; }
.field > label, .field > legend { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 620; margin-bottom: 0.4rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.check { display: flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-size: 0.97rem; line-height: 1.35; padding: 0.32rem 0; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--stamp); margin: 0; flex: none; position: relative; top: 1px; }

/* ------------------------------------------------------------ sections */

.section { padding-block: clamp(3.5rem, 7vw, 5.8rem); }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 44rem; margin-bottom: 2.2rem; }
.section__head p { font-size: 1.15rem; color: var(--ink-soft); }
.section__more { margin: 2rem 0 0; font-family: var(--sans); font-weight: 620; }

.intro { border-block: 1px solid var(--line); background: var(--card); padding-block: clamp(2rem, 4vw, 2.8rem); }
.intro__text { font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.55; max-width: 50em; margin: 0; }
.intro__text strong { font-weight: 650; }

/* ledger table */

.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--sans); font-size: 0.86rem; font-weight: 650; color: var(--ink-soft); border-bottom: 2px solid var(--ink); padding-top: 0; }
tbody th { font-family: var(--sans); font-weight: 650; }
.ledger { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.ledger th, .ledger td { padding: 1rem 1.1rem; }
.ledger thead th { padding-top: 1rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.ledger tbody tr:last-child th, .ledger tbody tr:last-child td { border-bottom: 0; }
.ledger tbody th { width: 22%; }
.ledger td:last-child { font-family: var(--sans); font-size: 0.95rem; }
.ledger:not(.ledger--two):not(.ledger--compare):not(.ledger--costs) td:last-child::before {
  content: ""; display: inline-block; width: 0.9em; height: 0.55em; margin-right: 0.5em; vertical-align: 0.15em;
  border-left: 2.5px solid var(--stamp); border-bottom: 2.5px solid var(--stamp); transform: rotate(-45deg) translateY(-0.1em);
}
.ledger--two tbody th, .ledger--two td { width: 50%; }
.ledger--compare tbody th { width: 40%; font-weight: 560; }
.ledger--compare td { font-family: var(--sans); font-size: 0.92rem; }
.th-price { font-weight: 500; }
.yes, .no { display: inline-block; font-size: 0; width: 1.1rem; height: 1.1rem; vertical-align: middle; }
.yes { background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5l4 4 8-9' fill='none' stroke='%232547d0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.no { background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10h8' stroke='%2399a6b8' stroke-width='2' stroke-linecap='round'/></svg>"); }

@media (max-width: 700px) {
  .ledger thead { display: none; }
  .ledger:not(.ledger--compare) tr { display: block; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .ledger:not(.ledger--compare) tbody tr:last-child { border-bottom: 0; }
  .ledger:not(.ledger--compare) th, .ledger:not(.ledger--compare) td { display: block; width: auto; padding: 0.15rem 0; border: 0; }
  .ledger--compare thead { display: table-header-group; }
}

/* the order matters */

.section--ink { background: var(--navy); color: var(--navy-text); }
.section--ink h2 { color: #fff; }
.section--ink a { color: var(--navy-accent); }
.order { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); }
.order__head p { font-size: 1.15rem; color: var(--navy-soft); }
.order__items { display: grid; gap: 1.6rem; }
.fact { border-top: 2px solid var(--navy-accent); padding-top: 1rem; }
.fact__lead { font-family: var(--sans); font-stretch: 108%; font-weight: 680; font-size: 1.22rem; line-height: 1.3; color: #fff; margin-bottom: 0.45rem; }
.fact p:last-child { margin: 0; color: var(--navy-text); }
@media (max-width: 860px) { .order { grid-template-columns: 1fr; } }

/* deadlines */

.deadlines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.deadline { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--stamp); border-radius: 12px; padding: 1.6rem 1.6rem 0.8rem; }
.deadline__day { font-family: var(--sans); font-stretch: 125%; font-weight: 820; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--stamp); margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.deadline h3 { font-size: 1.3rem; font-stretch: 110%; }
@media (max-width: 760px) { .deadlines { grid-template-columns: 1fr; } }

/* steps */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--sans); font-stretch: 125%; font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--stamp);
  margin-bottom: 0.8rem;
}
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.steps--long { grid-template-columns: 1fr; gap: 0; max-width: 50rem; margin-bottom: 3.5rem; }
.steps--long li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: 1rem; border-top: 1px solid var(--line); padding: 1.6rem 0; }
.steps--long li::before { grid-row: span 2; margin: 0; font-size: 2.2rem; }
.steps--long h2 { font-size: 1.4rem; font-stretch: 110%; margin-bottom: 0.4rem; }
.steps--long p { font-size: 1.08rem; color: var(--ink); }

/* plans */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.5rem 1.4rem; font-family: var(--sans); position: relative;
}
.plan--featured { border: 2px solid var(--stamp); }
.plan__tag { position: absolute; top: -0.8rem; left: 1.4rem; margin: 0; background: var(--stamp); color: var(--on-stamp); font-size: 0.8rem; font-weight: 650; padding: 0.25rem 0.6rem; border-radius: 5px; }
.plan__name { font-size: 1.3rem; font-stretch: 112%; margin-bottom: 0.3rem; }
.plan__price { font-stretch: 125%; font-weight: 800; font-size: 2.3rem; line-height: 1.1; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
.plan__cur { font-size: 0.5em; font-weight: 700; letter-spacing: 0.02em; vertical-align: 0.6em; color: var(--ink-soft); }
.plan__who { font-family: var(--serif); color: var(--ink-soft); font-size: 1rem; min-height: 3.2em; }
.plan__list { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line-soft); }
.plan__list li { font-size: 0.95rem; padding: 0.6rem 0 0.6rem 1.6rem; border-bottom: 1px solid var(--line-soft); position: relative; line-height: 1.4; }
.plan__list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.85rem; width: 0.75em; height: 0.42em;
  border-left: 2px solid var(--stamp); border-bottom: 2px solid var(--stamp); transform: rotate(-45deg);
}
.plan__list li:last-child { border-bottom: 0; }
.plan__list li.plan__more::before { display: none; }
.plan__list li.plan__more { padding-left: 0; font-weight: 620; }
.plan__note { margin: 1rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--line-soft); font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }
.section__lede-small { max-width: 46rem; color: var(--ink-soft); }
.ledger--costs tbody th { width: 40%; font-weight: 600; }
.ledger--costs td { font-family: var(--sans); font-size: 0.95rem; }
.ledger--costs td:last-child { font-size: 0.88rem; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 34rem; } .plan__who { min-height: 0; } }

.addon {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 1.5rem; align-items: start;
  margin-top: 1.4rem; padding: 1.4rem 1.5rem; border: 1.5px dashed var(--line); border-radius: 14px; font-family: var(--sans);
}
.addon__name { font-size: 1.2rem; font-stretch: 112%; margin-bottom: 0.2rem; }
.addon__price { margin: 0; color: var(--ink-soft); font-weight: 600; }
.addon__list { margin: 0; padding-left: 1.1rem; font-size: 0.97rem; }
.addon__list li { margin-bottom: 0.3rem; }
@media (max-width: 720px) { .addon { grid-template-columns: 1fr; } }

/* rules */

.rules { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); }
.rules__list { list-style: none; padding: 0; margin: 0; }
.rules__list li { padding: 1rem 0 1rem 1.2rem; border-left: 3px solid var(--stamp); margin-bottom: 0.9rem; background: var(--card); padding-right: 1.2rem; border-radius: 0 8px 8px 0; }
.rules__list strong { display: block; font-family: var(--sans); font-weight: 680; margin-bottom: 0.2rem; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }

/* guide lists */

.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); column-gap: 2.2rem; }
.guide-list li { border-top: 1px solid var(--line); padding: 1rem 0 1.2rem; }
.guide-list a { font-family: var(--sans); font-weight: 660; font-size: 1.08rem; color: var(--ink); text-decoration-color: var(--line); }
.guide-list a:hover { text-decoration-color: var(--stamp); }
.guide-list p { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }
.guide-list--tight { grid-template-columns: 1fr; }
.guide-group { margin-bottom: 2.6rem; }
.guide-group h2 { font-size: 1.3rem; font-stretch: 110%; }

/* questions */

.faq-wrap { max-width: 50rem; }
.wrap.faq-wrap { max-width: 1180px; }
.wrap.faq-wrap > * { max-width: 50rem; }
.rules__lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 24rem; }
.qas { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); padding: 1.25rem 0 0.4rem; }
.qa h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.qa p { color: var(--ink); }
.faq-group { margin-bottom: 3rem; max-width: 50rem; }
.faq-group h2 { font-size: 1.35rem; font-stretch: 110%; }

/* ------------------------------------------------------------ inner pages */

.page-head { padding-block: clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 2.6rem); max-width: 50rem; }
.page-head__lede { font-size: clamp(1.12rem, 1.5vw, 1.28rem); color: var(--ink-soft); line-height: 1.55; }
.page-head--center { text-align: center; margin: 0 auto; padding-block: 5rem 6rem; }
.page-head--center .btn { margin: 0.3rem; }
.stamp--still { font-size: 1.6rem; margin-bottom: 2rem; }

.prose { font-size: 1.125rem; line-height: 1.72; }
.prose--wide { max-width: 46rem; margin-bottom: 3rem; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.prose h2:first-child { margin-top: 0.5em; }
.prose h3 { margin-top: 1.8em; font-size: 1.18rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; padding-left: 0.2rem; }
.prose li::marker { color: var(--stamp); font-family: var(--sans); font-weight: 700; }
.prose table { font-size: 0.98rem; }
.prose th { font-family: var(--sans); }
.prose strong { font-weight: 650; }

.split { margin-bottom: 3rem; max-width: 60rem; }

.cta-band {
  margin-block: 3.5rem 5rem; padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--navy); color: var(--navy-text); border-radius: 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 2rem; align-items: center;
}
.cta-band h2 { color: #fff; margin: 0; grid-column: 1; }
.cta-band p { margin: 0; grid-column: 1; color: var(--navy-soft); }
.cta-band .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn { grid-column: 1; grid-row: auto; margin-top: 1rem; justify-self: start; } }

.section-tight { margin-block: 3rem; }

/* ------------------------------------------------------------ guides */

.guide__head { padding-block: 1.2rem 1.8rem; max-width: 52rem; }
.meta { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.guide__grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: 4rem; }
.guide__body { max-width: 46rem; min-width: 0; }

.toc { position: sticky; top: 6rem; font-family: var(--sans); }
.toc__title { font-size: 0.86rem; font-stretch: 100%; font-weight: 650; color: var(--ink-soft); margin-bottom: 0.6rem; }
.toc ol { list-style: none; margin: 0 0 1.4rem; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 0.35rem 0 0.35rem 0.9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; line-height: 1.35; }
.toc li a:hover { color: var(--ink); border-left-color: var(--stamp); }
@media (max-width: 960px) {
  .guide__grid { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 0.4rem; }
}

.answer {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--stamp);
  border-radius: var(--radius); padding: 1.3rem 1.5rem 0.4rem; margin-bottom: 2.2rem;
}
.answer__label { font-size: 0.95rem; font-stretch: 100%; font-weight: 700; color: var(--stamp); margin-bottom: 0.5rem; }
.answer p { font-size: 1.16rem; line-height: 1.6; }
.answer--wide { max-width: 52rem; }

.fit { background: var(--paper-2); border-radius: 14px; padding: 1.6rem 1.6rem 0.6rem; margin: 2.8rem 0; }
.fit h2 { font-size: 1.35rem; font-stretch: 110%; }
.fit__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.fit--wide { max-width: 52rem; }

.faq-block { margin-top: 2.6rem; }
.faq-block h2 { font-size: 1.5rem; }

.sources { margin-top: 2.8rem; font-family: var(--sans); font-size: 0.92rem; }
.sources h2 { font-size: 1.15rem; font-stretch: 100%; }
.sources ul, .sources ol { padding-left: 1.1rem; }
.sources li { margin-bottom: 0.35rem; overflow-wrap: anywhere; }

.related { margin-top: 2.8rem; }
.related h2 { font-size: 1.15rem; font-stretch: 100%; }

/* ------------------------------------------------------------ planner */

.planner { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin: 2.6rem 0 1rem; }
.planner__controls { position: sticky; top: 6rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; font-family: var(--sans); }
.planner__title { font-size: 1.3rem; font-stretch: 112%; margin-bottom: 0.4rem; }
.planner__progress { font-weight: 650; margin: 0.4rem 0 0.9rem; }
.planner__status { min-height: 1.4em; margin: 0.6rem 0 0; }
.planner .field--checks .check { align-items: flex-start; }
.planner .field--checks .check input { margin-top: 0.2rem; }
@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner__controls { position: static; }
}

.phase { margin-bottom: 2.2rem; }
.phase__title { font-size: 1.25rem; font-stretch: 112%; border-bottom: 2px solid var(--ink); padding-bottom: 0.5rem; margin-bottom: 0; }
.tasks { list-style: none; margin: 0; padding: 0; }
.task {
  position: relative; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 1rem;
  padding: 1.15rem 7rem 1.15rem 0; border-bottom: 1px solid var(--line-soft);
}
.task[hidden], .phase[hidden] { display: none; }
.task__check {
  appearance: none; -webkit-appearance: none; margin: 0.3rem 0 0;
  width: 1.45rem; height: 1.45rem; border: 2px solid var(--ink-soft); border-radius: 5px; background: var(--card); cursor: pointer;
}
.task__check:checked {
  background: var(--stamp) no-repeat center/80% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  border-color: var(--stamp);
}
.task__when { font-family: var(--sans); font-size: 0.88rem; margin: 0 0 0.15rem; color: var(--ink-soft); }
.task__date { font-stretch: 80%; font-weight: 720; color: var(--stamp); font-size: 0.98rem; }
.task__date:not(:empty) { margin-right: 0.6rem; }
.task.is-due .task__date { color: var(--amber-ink); background: var(--amber-bg); padding: 0.05em 0.45em; border-radius: 4px; box-shadow: inset 3px 0 0 var(--amber); }
.task__title { display: block; font-family: var(--sans); font-weight: 660; font-size: 1.08rem; line-height: 1.3; cursor: pointer; margin-bottom: 0.3rem; }
.task__detail { margin: 0 0 0.35rem; color: var(--ink-soft); font-size: 0.99rem; line-height: 1.55; }
.task__tags { margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.task__tags:empty { display: none; }
.tag { font-family: var(--sans); font-size: 0.78rem; font-weight: 560; background: var(--paper-2); color: var(--ink-soft); padding: 0.12em 0.6em; border-radius: 999px; }
.task.is-done .task__title { color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.task.is-done .task__date { color: var(--ink-soft); background: none; box-shadow: none; padding: 0; }
.stamp--done { position: absolute; right: 0.2rem; top: 1.2rem; font-size: 0.95rem; opacity: 0; transform: rotate(-14deg) scale(1.7); }
.task.is-done .stamp--done { opacity: 0.92; transform: rotate(-14deg) scale(1); }
@media (prefers-reduced-motion: no-preference) {
  .stamp--done { transition: opacity 0.18s ease, transform 0.28s cubic-bezier(0.2, 1.5, 0.4, 1); }
}
@media (max-width: 560px) {
  .task { padding-right: 0; }
  .stamp--done { top: 0.6rem; font-size: 0.8rem; }
}

/* ------------------------------------------------------------ contact */

.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 5rem; }
.form, .form-done { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem, 3vw, 2rem); font-family: var(--sans); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form .field--checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form .field--checks legend { grid-column: 1 / -1; }
.form__error { color: var(--amber-ink); background: var(--amber-bg); border-radius: 6px; padding: 0.6rem 0.8rem; font-weight: 600; }
.form-summary { white-space: pre-wrap; font-family: var(--sans); font-size: 0.92rem; background: var(--paper-2); border-radius: 8px; padding: 1rem; margin: 0 0 1rem; }
.contact__aside h2 { font-size: 1.15rem; font-stretch: 105%; margin-top: 0.4rem; }
.mini-steps { padding-left: 1.2rem; margin: 0 0 2rem; }
.mini-steps li { margin-bottom: 0.5rem; }
.mini-steps li::marker { color: var(--stamp); font-family: var(--sans); font-weight: 700; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row, .form .field--checks { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer */

.site-footer { background: var(--navy); color: var(--navy-soft); font-family: var(--sans); font-size: 0.94rem; padding-block: 3.5rem 2rem; }
.site-footer a { color: var(--navy-text); text-decoration-color: rgba(223, 231, 241, 0.35); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.footer__logo { display: flex; align-items: center; gap: 0.55rem; color: #fff; font-stretch: 125%; font-weight: 800; font-size: 1.35rem; margin-bottom: 0.6rem; }
.footer__logo .mark { width: 2.1rem; color: var(--navy-accent); }
.footer__brand p:last-child { max-width: 22rem; }
.footer__h { color: #fff; font-size: 0.92rem; font-stretch: 100%; font-weight: 680; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer__legal { border-top: 1px solid rgba(223, 231, 241, 0.16); padding-top: 1.5rem; font-size: 0.86rem; }
.footer__legal p { max-width: 60rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ motion */

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

/* Testimonials (home) */
.testimonials[hidden]{display:none}
.testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}
.testi-card{margin:0;background:var(--card,#fbfcfd);border:1px solid var(--line,#c3cdd8);border-top:4px solid var(--stamp,#2547d0);border-radius:6px;padding:22px 22px 18px;display:flex;flex-direction:column;gap:14px}
.testi-card blockquote{margin:0;font-family:"Source Serif 4",Georgia,serif;font-size:1.08rem;line-height:1.6;color:var(--ink,#13233f)}
.testi-card figcaption{display:flex;flex-direction:column;gap:2px;font-size:.92rem;margin-top:auto}
.testi-card figcaption span{color:var(--ink-soft,#46566e)}
.testi-card figcaption b{font-family:Archivo,system-ui,sans-serif;font-weight:700}
