/* Shared style for the policy, thanks and 404 pages. Same tokens as the store page. */
:root {
  --bg: #ffffff; --soft: #f3f4f7; --ink: #12141a; --muted: #5a606c; --line: #e3e5ea;
  --brand: #1a2858; --glow: #f4b443; --save: #13724a; --night: #0d1020;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--glow); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
h1, h2 { margin: 0; line-height: 1.1; text-wrap: balance; font-stretch: 90%; letter-spacing: -.018em; }

header.top { border-bottom: 1px solid var(--line); background: #fff; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-decoration: none; font-stretch: 86%; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.logo i { width: 11px; height: 11px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px 3px #f4b44388; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; border-radius: 12px; padding: 13px 22px; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { background: #24387a; transform: translateY(-2px); }
.btn-sm { min-height: 40px; font-size: 14px; padding: 9px 16px; border-radius: 9px; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--soft); }

/* Policy text */
.doc { max-width: 720px; padding-block: 48px 72px; }
.doc .kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; margin-top: 8px; }
.doc .updated { color: var(--muted); margin-top: 10px; font-size: 15px; }
.doc .summary { background: var(--soft); border-radius: 14px; padding: 18px 20px; margin-top: 28px; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.doc h2 { font-size: 22px; font-weight: 700; margin-top: 36px; }
.doc p, .doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc p, .doc li { color: #30343d; }

/* Thanks + 404 */
.center { padding-block: clamp(48px, 9vw, 96px); display: grid; justify-items: center; text-align: center; gap: 14px; }
.center h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 800; }
.center .lede { color: var(--muted); font-size: 18px; max-width: 46ch; }
.check { width: 72px; height: 72px; border-radius: 50%; background: #e5f4ec; color: var(--save); display: grid; place-items: center; animation: pop .5s var(--ease) both; }
.check svg { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.order-line { display: inline-block; background: var(--soft); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.next { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; text-align: left; width: min(560px, 100%); }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.next .n { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.next b { display: block; }
.next span { color: var(--muted); font-size: 15px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }

footer { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer a { color: inherit; }

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