/* Layout: one column of sections; a passport navy with a single gold accent, like a passport cover. */
:root {
  --ink: #13294b;        /* passport navy */
  --ink-soft: #4a5a78;
  --paper: #f7f8fb;
  --card: #ffffff;
  --line: #dde2ec;
  --gold: #c9a24a;       /* the one accent */
  --gold-soft: #f6eed9;
  --ok: #1f7a4d;
  --display: "Rubik", "Heebo", system-ui, sans-serif;
  --body: "Heebo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; }
p { margin: 0; }
.muted { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header */
header.top { background: var(--ink); color: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.top-cta { font-family: var(--display); font-weight: 600; font-size: .95rem; text-decoration: none; padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); }
.top-cta:hover { background: rgba(255,255,255,.08); }

/* Hero */
.hero { background: var(--ink); color: #fff; padding-block: 56px 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-top: 18px; font-size: 1.15rem; color: #d6deec; max-width: 34ch; }
.cta { display: inline-block; margin-top: 28px; background: var(--gold); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding: 14px 26px; border-radius: 10px; text-decoration: none; }
.cta:hover { filter: brightness(1.06); }
.hero .note { margin-top: 12px; font-size: .9rem; color: #aebbd3; }

/* Before / after cards */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.product { background: var(--card); color: var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.product .img { aspect-ratio: 1; background: linear-gradient(135deg, #e9edf5, #cfd8e8); display: grid; place-items: center; }
.product .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product .info { padding: 12px 14px 16px; display: grid; gap: 4px; }
.product .tag { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); }
.product .name { font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.product .price { font-weight: 500; }
.product .meta { font-size: .82rem; color: var(--ink-soft); }
.product[lang="en"] { direction: ltr; text-align: left; }
.product[lang="en"] .tag { color: var(--ok); }
.stamp { position: absolute; inset-inline-start: 50%; top: 38%; transform: translate(50%, -50%) rotate(-12deg); width: 86px; height: 86px; border: 3px solid var(--gold); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .08em; color: var(--gold); background: rgba(19,41,75,.92); line-height: 1.2; }
.caption { grid-column: 1 / -1; font-size: .82rem; color: #aebbd3; text-align: center; }

/* Sections */
section.block { padding-block: 64px; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; display: grid; gap: 10px; margin-bottom: 32px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.point { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.point h3 { font-size: 1.1rem; font-weight: 600; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.steps h3 { font-size: 1.15rem; font-weight: 600; }

.included { columns: 2; column-gap: 40px; padding: 0; margin: 0; list-style: none; }
.included li { break-inside: avoid; padding: 6px 0 6px; padding-inline-start: 28px; position: relative; }
.included li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 5px; font-weight: 700; color: var(--ok); }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.price-card.featured { border: 2px solid var(--gold); background: linear-gradient(var(--gold-soft), var(--card) 40%); }
.price-card .label { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.price-card .amount { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card .monthly { font-weight: 500; }
.prices-note { margin-top: 16px; font-size: .92rem; }
.price-card .once { font-size: .85rem; color: var(--ink-soft); margin-top: -4px; }
.order-btn { justify-self: start; margin-top: 6px; font-family: var(--display); font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 9px; border: 1.5px solid var(--ink); color: var(--ink); }
.order-btn:hover { background: var(--ink); color: #fff; }
.order-btn.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.order-btn.primary:hover { filter: brightness(1.06); background: var(--gold); color: var(--ink); }
.price-card { grid-template-rows: auto auto auto 1fr auto; }
.price-card .order-btn { align-self: end; }
.monthly-box { margin-top: 20px; background: var(--card); border: 1px dashed var(--ink-soft); border-radius: 12px; padding: 22px 24px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; }
.monthly-box h3 { font-size: 1.15rem; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.monthly-box p + p { margin-top: 8px; }
.optional { font-family: var(--body); font-size: .82rem; font-weight: 500; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.monthly-prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.monthly-prices li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.monthly-prices strong { font-family: var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
fieldset.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
fieldset.plans legend { font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
label.plan, label.check { display: flex; gap: 10px; align-items: center; font-weight: 400; background: #0d1f3b; border: 1px solid #3a4d70; border-radius: 8px; padding: 10px 12px; cursor: pointer; }
label.plan:has(input:checked) { border-color: var(--gold); }
label.plan input, label.check input { width: auto; accent-color: var(--gold); }
label.check { background: transparent; border-style: dashed; }
[hidden] { display: none !important; }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.faq details p { margin-top: 8px; color: var(--ink-soft); }

/* Form */
.form-wrap { background: var(--ink); color: #fff; border-radius: 16px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; }
.form-wrap h2 { color: #fff; }
.form-wrap .muted { color: #c8d2e4; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
input, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 8px; border: 1px solid #3a4d70; background: #0d1f3b; color: #fff; width: 100%; }
input::placeholder, textarea::placeholder { color: #8b9bb8; }
input[type="url"], input[type="email"] { direction: ltr; text-align: right; }
button { font-family: var(--display); font-weight: 700; font-size: 1.05rem; background: var(--gold); color: var(--ink); border: 0; border-radius: 10px; padding: 14px 22px; cursor: pointer; justify-self: start; }
button:hover { filter: brightness(1.06); }
.privacy { font-size: .82rem; color: #aebbd3; }
.hidden { display: none; }
.form-status { font-weight: 500; min-height: 1.2em; }
.form-status.error { color: #ffb4a8; }
.form-done { display: grid; gap: 10px; align-content: center; }
.form-done h3 { font-size: 1.5rem; color: #fff; }

footer { padding-block: 40px; color: var(--ink-soft); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 820px) {
  .hero .wrap, .form-wrap { grid-template-columns: 1fr; }
  .points, .steps, .prices, .monthly-box { grid-template-columns: 1fr; }
  .included { columns: 1; }
  .hero { padding-block: 40px 56px; }
}

/* A whole price card is one link to the order page. */
a.price-card { color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.price-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(19,41,75,.12); border-color: var(--ink-soft); }
a.price-card.featured:hover { border-color: var(--gold); }
a.price-card:hover .order-btn:not(.primary) { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { a.price-card { transition: none; } a.price-card:hover { transform: none; } }

/* Order page */
.order-page { padding-block: 40px 64px; }
.order-page .form-wrap { grid-template-columns: 1fr 1.3fr; }
.back { display: inline-block; margin-bottom: 18px; color: var(--ink-soft); }
.plan-summary { margin-top: 18px; padding: 16px; border: 1px solid #3a4d70; border-radius: 10px; display: grid; gap: 4px; }
.plan-summary strong { font-family: var(--display); font-size: 1.2rem; color: #fff; }
.plan-summary span { color: #c8d2e4; font-size: .95rem; }
@media (max-width: 820px) { .order-page .form-wrap { grid-template-columns: 1fr; } }

.step-link { font-family: var(--display); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); justify-self: start; padding-bottom: 2px; }
.step-link:hover { color: var(--gold); }
.steps li { grid-template-rows: auto auto 1fr auto; }
.steps .step-link { align-self: end; }

/* Guides: a readable article column */
.article { padding-block: 40px 72px; }
.article .wrap { max-width: 760px; }
.article .crumbs { color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); font-weight: 700; }
.article .lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 14px; }
.article .meta-line { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }
.article h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
.article h3 { font-size: 1.15rem; margin-top: 24px; margin-bottom: 8px; }
.article p { margin-bottom: 14px; }
.article ol, .article ul { margin: 0 0 16px; padding-inline-start: 22px; display: grid; gap: 8px; }
.article code, .article .ui { font-family: var(--body); background: #eef1f7; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .95em; white-space: nowrap; }
.article .note { background: var(--gold-soft); border-inline-start: 4px solid var(--gold); padding: 14px 16px; border-radius: 6px; margin: 18px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px; text-align: start; vertical-align: top; }
.article th { background: #eef1f7; font-family: var(--display); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.cta-box { margin-top: 40px; background: var(--ink); color: #fff; border-radius: 14px; padding: 26px; display: grid; gap: 12px; }
.cta-box h2 { color: #fff; margin: 0; font-size: 1.4rem; }
.cta-box p { color: #d6deec; margin: 0; }
.cta-box .cta { margin-top: 6px; justify-self: start; }
.guides-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-decoration: none; color: inherit; display: grid; gap: 8px; }
.guide-card:hover { border-color: var(--ink-soft); }
.guide-card h3 { font-size: 1.15rem; font-weight: 600; }
@media (max-width: 820px) { .guides-list { grid-template-columns: 1fr; } }

.article .path { white-space: nowrap; unicode-bidi: isolate; }
.article .path .ui { margin: 0 1px; }

.article .en-quote { text-align: left; background: #eef1f7; border-left: 4px solid var(--ink-soft); padding: 10px 14px; border-radius: 6px; font-style: italic; }

.offer-box { margin: 24px 0 8px; border: 2px solid var(--gold); background: linear-gradient(var(--gold-soft), var(--card) 70%); border-radius: 12px; padding: 18px 20px; }
.offer-box h3 { margin: 0 0 8px; font-size: 1.15rem; }
.offer-box p { margin: 0 0 10px; }
.offer-box p:last-child { margin: 0; font-family: var(--display); font-weight: 600; }
