/* JustPayPostage - main stylesheet. No frameworks, no web fonts: fast on every device. */

:root {
  --red: #0e7c7b;
  --red-dark: #0a5f5e;
  --red-soft: #e0f2f1;
  --navy: #182a45;
  --navy-2: #2a3f61;
  --yellow: #f59f5b;
  --yellow-soft: #fdeee2;
  --green: #18875a;
  --green-soft: #e3f5ec;
  --blue-soft: #e8f0fb;
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5d6676;
  --line: #e9e1d4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(24, 42, 69, .06), 0 8px 24px rgba(24, 42, 69, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.12rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.section { padding-top: 24px; padding-bottom: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { display: block; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-text b { color: var(--red); }
.brand-text small { font-size: .75rem; color: var(--muted); font-weight: 600; margin-left: 1px; }
#site-nav { margin-left: auto; }
#site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
#site-nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
#site-nav a:hover { background: var(--red-soft); color: var(--red-dark); }
#site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .js .nav-toggle { display: flex; }
  .js #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js #site-nav.open { display: block; }
  .js #site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .js #site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1.05rem; }
  html:not(.js) #site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 400px) { .brand-text small { display: none; } }

.crumbs { font-size: .85rem; color: var(--muted); padding-top: 14px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 2px; }

/* ---------- Buttons & form controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--surface); color: var(--navy); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; line-height: 1.2; font-family: inherit;
  transition: transform .1s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-accent { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-accent:hover { background: #ef8a3e; border-color: #ef8a3e; color: var(--navy); }
.btn-small { padding: 7px 14px; font-size: .88rem; }
.btn-block { width: 100%; }

input[type="number"], input[type="text"], select {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 48px;
  padding: 10px 12px; border: 1.5px solid #d6cdbf; border-radius: var(--radius-sm); background: #fff;
}
input:focus, select:focus { border-color: var(--navy); outline: 3px solid rgba(255, 194, 61, .55); outline-offset: 0; }
label, .label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }

/* ---------- Hero & calculator ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, var(--yellow-soft), transparent 60%), radial-gradient(900px 500px at -10% 110%, var(--red-soft), transparent 60%); padding: 36px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--red); margin-bottom: .6em; }
.hero h1 span { color: var(--red); }
.lead { font-size: 1.15rem; color: #3b4456; max-width: 40em; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ticks li { padding-left: 26px; position: relative; font-weight: 600; color: var(--navy-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-art { display: block; margin-top: 8px; width: 100%; max-width: 520px; }
.independent-note { font-size: .95rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.calc { padding: 24px; border-top: 6px solid var(--red); }
.calc-title { margin: 0 0 16px; font-size: 1.35rem; }
.field { margin-bottom: 16px; }
.input-group { display: flex; }
.input-group input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group select { width: 84px; border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #f7f3ec; }
.dims { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 6px; align-items: center; }
.dims span { color: var(--muted); font-weight: 700; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 4px 0 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fbf7f0; color: var(--navy); cursor: pointer; text-decoration: none; }
.chip:hover, .chip.active { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.chips-wrap { gap: 10px; }
.chip-link { background: var(--surface); }

/* ---------- Results ---------- */
.results-section { scroll-margin-top: 80px; }
#calc-results { scroll-margin-top: 80px; padding: 24px 0 8px; }
#calc-results:empty { display: none; }
.calc-hint { background: var(--blue-soft); padding: 14px 18px; border-radius: var(--radius-sm); }
.format-badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--yellow-soft); border: 1px solid #f6d2b6; margin-bottom: 10px; }
.format-badge span { color: var(--muted); }
.format-none { background: var(--red-soft); border-color: #b9e0de; }
.results-count { font-weight: 600; color: var(--muted); margin: 6px 0 12px; }
.options { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.opt { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 1px 2px rgba(24, 42, 69, .05); }
.opt-best { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.opt-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.logo-rm { background: var(--red); }
.logo-evri { background: #1f4ea3; }
.logo-inpost { background: #f2b705; color: var(--navy); }
.logo-other { background: var(--navy); }
.opt-main h3 { margin: 0 0 4px; font-size: 1.05rem; }
.opt-meta { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--navy-2); }
.opt-meta li { background: #f4efe6; border-radius: 8px; padding: 2px 10px; }
.opt-meta li.yes { background: var(--green-soft); color: var(--green); font-weight: 700; }
.opt-how { margin: 0; font-size: .88rem; color: var(--navy-2); }
.opt-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.opt-price strong { font-size: 1.6rem; font-family: var(--font-display); color: var(--navy); line-height: 1; }
.opt-price small, .approx { font-size: .75rem; color: var(--muted); font-weight: 600; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.tag-cheapest { background: var(--green); color: #fff; }
.tag-cheapest-tracked { background: var(--blue-soft); color: #1f4ea3; }
.tag-fastest { background: var(--yellow-soft); color: #9a4a12; }
.show-more { margin: -6px 0 16px; }
.no-results { background: var(--surface); border: 1.5px dashed #d6cdbf; border-radius: var(--radius); padding: 20px; margin: 12px 0 20px; }

.compare-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--navy); color: #e6ecf5; border-radius: var(--radius); padding: 22px 26px; margin: 20px 0; background-image: radial-gradient(500px 200px at 100% 0, rgba(255, 194, 61, .22), transparent 70%); }
.compare-cta h3 { color: #fff; margin-bottom: 4px; font-size: 1.25rem; }
.compare-cta p { margin: 0; }
.compare-cta .btn { flex-shrink: 0; }

/* ---------- Sections ---------- */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-head h2 { margin-top: .8em; }
.section-head a { font-weight: 700; white-space: nowrap; }
.section-intro { color: var(--muted); max-width: 46em; }

.stamp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 12px; }
.stamp { --c: var(--red); padding: 7px; color: #fff; text-align: center;
  background: radial-gradient(circle at 7px 7px, transparent 4px, var(--c) 4.6px) -7px -7px / 14px 14px round;
  filter: drop-shadow(0 4px 10px rgba(24, 42, 69, .18)); }
.stamp-in { background: var(--c); padding: 16px 10px 14px; display: flex; flex-direction: column; gap: 2px; height: 100%; border: 1.5px solid rgba(255, 255, 255, .35); }
.stamp-1st { --c: var(--red); }
.stamp-2nd { --c: var(--navy); }
.stamp-label { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; opacity: .9; }
.stamp strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.15; }
.stamp-in span:last-child { font-size: .82rem; opacity: .85; }
.price-note { font-size: .85rem; color: var(--muted); }

.fmt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fmt-card { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.fmt-card:hover { transform: translateY(-3px); border-color: var(--red); color: var(--ink); }
.fmt-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.fmt-card .from { margin-top: 8px; color: var(--ink); }
.fmt-icon { display: block; margin-bottom: 10px; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(24, 42, 69, .05); transition: transform .15s, box-shadow .15s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.guide-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--red); margin-bottom: 6px; }
.more { font-weight: 700; color: var(--red-dark); font-size: .92rem; }

.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.item-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; text-decoration: none; color: var(--ink); }
.item-card:hover { border-color: var(--red); color: var(--ink); }
.item-card h3 { margin: 0 0 2px; font-size: 1rem; }
.item-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.item-card strong { color: var(--green); }

.page-hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 28px 0 24px; }
.page-hero h1 { max-width: 22em; }
.page-hero .lead { margin-bottom: 0; }

.two-col, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.sidebar { position: sticky; top: 90px; display: grid; gap: 16px; }
.side-card h3 { margin-bottom: 8px; }
.side-card p { font-size: .94rem; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 0 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table caption { text-align: left; font-weight: 700; padding: 12px 14px; color: var(--navy); background: #fbf7f0; border-bottom: 1px solid var(--line); }
.price-table th, .price-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #f1ebe0; vertical-align: top; }
.price-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .num { text-align: right; white-space: nowrap; }
.price-table td.num { font-weight: 700; }
.price-table tr.best td { background: var(--green-soft); }

.answer { border-left: 6px solid var(--green); margin-top: 8px; }
.answer-main { font-size: 1.2rem; }
.answer-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 16px; }
.answer-box div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.answer-box span { display: block; color: var(--muted); font-size: .85rem; }
.answer-box strong { font-size: 1.3rem; color: var(--navy); font-family: var(--font-display); }
.callout { background: var(--yellow-soft); border: 1px solid #f6d2b6; border-radius: var(--radius); padding: 6px 22px 10px; margin: 8px 0 16px; }
.callout h2 { margin-top: .7em; font-size: 1.25rem; }
.country-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.steps li { margin-bottom: .6em; }

.size-block { display: grid; grid-template-columns: 110px 1fr; gap: 20px; margin-bottom: 16px; scroll-margin-top: 90px; }
.size-block h2 { margin: 0 0 8px; }
.size-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.size-facts div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; }
.size-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.size-facts dd { margin: 0; font-weight: 800; color: var(--navy); }

.stamp-tool { border-top: 6px solid var(--navy); }
.stamp-tool h2 { margin: 0 0 6px; font-size: 1.25rem; scroll-margin-top: 90px; }
.stamp-out { background: var(--yellow-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0; font-size: 1.02rem; }
.quick-prices dl { margin: 0 0 14px; }
.quick-prices dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.quick-prices dd { margin: 0; font-weight: 800; color: var(--navy); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; align-items: flex-start; }
.product p { color: var(--muted); font-size: .92rem; flex: 1; }
.product img { margin-bottom: 8px; }
.disclosure { background: var(--blue-soft); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; }

/* ---------- Articles ---------- */
.article { min-width: 0; }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; background: #fff; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: #fbf7f0; }
.prose blockquote, .tip { margin: 1.2em 0; padding: 14px 18px; background: var(--green-soft); border-left: 5px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.tip p:last-child { margin-bottom: 0; }
.warn { margin: 1.2em 0; padding: 14px 18px; background: var(--red-soft); border-left: 5px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div, .faq details > p { padding: 0 18px 14px; margin: 0; }

/* ---------- Ads ---------- */
.ad-wrap { margin: 20px auto; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #9aa1ad; margin-bottom: 4px; }
.ad-preview { display: grid; place-items: center; min-height: 110px; border: 2px dashed #d6cdbf; border-radius: var(--radius-sm); color: #9aa1ad; font-size: .85rem; background: repeating-linear-gradient(45deg, #fbf7f0, #fbf7f0 10px, #f6f0e6 10px, #f6f0e6 20px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c5cfdf; margin-top: 48px; padding: 40px 0 24px; font-size: .92rem; }
.site-footer a { color: #e6ecf5; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; }
.brand-footer { color: #fff; margin-bottom: 10px; }
.brand-footer .brand-text { font-size: 1.1rem; }
.brand-footer .brand-text b { color: var(--yellow); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #9fadc4; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { display: none; }
  .fmt-grid, .product-grid, .item-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding-top: 22px; }
  .hero .ticks { display: none; }
  .hero .lead { font-size: 1.02rem; }
  .stamp-grid, .answer-box { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .opt { grid-template-columns: 44px 1fr; padding: 14px; gap: 12px; }
  .opt-logo { width: 44px; height: 44px; border-radius: 12px; font-size: .9rem; }
  .opt-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 10px; }
  .compare-cta { flex-direction: column; align-items: flex-start; }
  .size-block { grid-template-columns: 1fr; }
  .calc { padding: 18px; }
  .section-head { flex-direction: column; gap: 0; }
  .section-head a { margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .fmt-grid, .product-grid, .item-grid { grid-template-columns: 1fr; }
  .stamp strong { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .ad-wrap, .compare-cta, .sidebar { display: none !important; }
}

/* ---------- Christmas ---------- */
.xmas-strip { background: #18875a; color: #fff; font-size: .92rem; background-image: radial-gradient(circle at 10% 50%, rgba(255,255,255,.12) 2px, transparent 3px), radial-gradient(circle at 60% 30%, rgba(255,255,255,.1) 2px, transparent 3px); background-size: 60px 30px; }
.xmas-strip a { display: block; color: #fff; text-decoration: none; padding: 9px 0; }
.xmas-strip a:hover span { text-decoration: underline; }
.xmas-strip span { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.xmas-hero { background: linear-gradient(180deg, #eef8f2 0%, var(--bg) 100%); }
.xmas-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.xmas-hero .eyebrow { color: var(--green); }
.xmas-art { width: 100%; max-width: 420px; justify-self: center; }
.countdown { display: flex; align-items: center; gap: 16px; margin-top: 18px; border-left: 6px solid var(--red); padding: 16px 20px; }
.cd-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--red); line-height: 1; }
.cd-text { font-size: 1.05rem; }
.est { display: inline-block; margin-left: 6px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #9a4a12; background: var(--yellow-soft); border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.card-calc { border-top: 6px solid var(--green); display: grid; gap: 4px; }
.card-calc h2 { margin: 0 0 4px; font-size: 1.25rem; }
.card-calc label { margin-top: 8px; }
.card-out { background: var(--green-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 12px; font-size: 1.05rem; display: grid; gap: 4px; }
@media (max-width: 1020px) { .xmas-hero-grid { grid-template-columns: 1fr; } .xmas-art { display: none; } }

/* ---------- Where can I post ---------- */
.dropoff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dropoff { display: flex; flex-direction: column; scroll-margin-top: 90px; }
.dropoff p { margin-bottom: .6em; }
.dropoff-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.dropoff-head h2 { margin: 0; font-size: 1.2rem; }
.dropoff-carrier { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; color: #fff; }
.c-royalmail { background: var(--red); }
.c-evri { background: #1f4ea3; }
.c-inpost { background: #f2b705; color: var(--navy); }
.dropoff-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.opt-drop { font-weight: 600; white-space: nowrap; }
@media (max-width: 680px) { .dropoff-grid { grid-template-columns: 1fr; } }
.where-strip { display: grid; gap: 12px; border-top: 6px solid var(--navy); }
.where-strip h2 { margin: 0 0 4px; }
.where-strip p { margin: 0; color: var(--muted); }

/* ---------- Partner shop box ---------- */
.shop-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--green-soft); border: 1px solid #b9e0de; border-radius: var(--radius); padding: 20px 24px; margin: 20px 0; }
.shop-cta h3 { margin: 4px 0; }
.shop-cta p { margin: 0; color: var(--navy-2); }
.shop-cta .btn { flex-shrink: 0; }
.shop-tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 680px) { .shop-cta { flex-direction: column; align-items: flex-start; } }
.shop-banner { display: block; text-align: center; margin: 20px 0 0; }
.shop-banner img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.home-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: stretch; }
.home-shop { display: flex; flex-direction: column; gap: 6px; border-top: 6px solid var(--yellow); background: var(--yellow-soft); }
.home-shop h2 { margin: 0; }
.home-shop p { margin: 0; color: var(--navy-2); }
.home-shop-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 6px; }
@media (max-width: 900px) { .home-split { grid-template-columns: 1fr; } }
