/* Envio Postal website. Apple-inspired, in the brand's look: navy noite, white type,
   one red accent (brand/brand.md). Type sizes follow one scale; motion uses one curve. */

@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --canvas: #03081c;
  --surface: #0c193c;
  --surface-2: #11224d;
  --line: #2d3753;
  --line-soft: rgba(255, 255, 255, 0.09);
  --line-input: #6b7592;
  --ink: #fff;
  --ink-body: #d1d5db;
  --ink-soft: #9ca3af;
  --accent: #e6000f;
  --accent-press: #c4000d;
  --accent-tint: rgba(230, 0, 15, 0.14);
  --focus: #ff5c66;
  --paper: #f7f6f1;
  --paper-ink: #10131c;
  --font: "Helvetica Neue", "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 16px;
  --section: 64px;
  --bar-h: 60px;
  --shadow-2: 0 16px 40px -12px rgba(0, 2, 12, 0.7);
  --shadow-3: 0 40px 80px -24px rgba(0, 2, 12, 0.85);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 96px; --bar-h: 64px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; --section: 128px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 24px); background: var(--canvas); }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink-body); font-family: var(--font); font-size: 16px; line-height: 24px; letter-spacing: 0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
input, textarea { caret-color: var(--accent); }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); transition: text-decoration-color 160ms var(--ease-out); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip { position: absolute; left: 16px; top: -72px; z-index: 100; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--canvas); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.word { display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 24px; border: 1px solid transparent; border-radius: 9999px; background: var(--accent); color: #fff; font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 8px rgba(0, 2, 12, 0.4); transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); background: var(--accent-press); }
.btn--small { min-height: 36px; padding: 4px 16px; font-size: 14px; line-height: 20px; }
.btn--big { min-height: 52px; padding: 12px 32px; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); box-shadow: none; }
.btn--ghost:active { background: rgba(255, 255, 255, 0.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 700; text-decoration: none; }
.link-arrow svg { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--shadow-2); }
  .btn:active { transform: scale(0.97); }
  .btn--ghost:hover { border-color: #4a5677; background: rgba(255, 255, 255, 0.04); box-shadow: none; }
  .link-arrow:hover svg { transform: translateX(4px); }
}

/* Top bar and tracking line */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h); background: rgba(3, 8, 28, 0.72); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); }
.bar__inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.bar__logo { flex: none; }
.bar__logo img { height: 40px; width: auto; }
.bar__links { display: none; gap: 24px; margin-left: 8px; }
.bar__links a { color: var(--ink-body); font-size: 14px; line-height: 20px; text-decoration: none; transition: color 160ms var(--ease-out); }
.bar__links a:hover, .bar__links a[aria-current] { color: var(--ink); }
.bar__status { display: none; margin-left: auto; color: var(--ink-soft); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bar__cta { margin-left: auto; }
.track { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-soft); }
.track__fill { display: block; height: 2px; margin-top: -1px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@media (min-width: 1024px) {
  .bar__links { display: flex; }
  .bar__status:not(:empty) { display: block; }
  .bar__status:not(:empty) + .bar__cta { margin-left: 0; }
}

.burger { position: relative; display: block; flex: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 500ms var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }
.menu { position: fixed; inset: 0; z-index: 49; padding: calc(var(--bar-h) + 32px) var(--gutter) 32px; background: rgba(3, 8, 28, 0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); overflow: auto; }
.menu nav { display: grid; gap: 8px; }
.menu a { padding: 8px 0; color: var(--ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }

/* Footer */
.foot { position: relative; z-index: 2; padding: 64px 0 32px; background: var(--canvas); border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.foot h2 { margin-bottom: 12px; color: var(--ink); font-size: 14px; line-height: 20px; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 360px; }
.foot__brand img { height: 60px; width: auto; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 768px) {
  .foot__grid { grid-template-columns: 2fr 1fr 1.4fr 1fr; }
  .foot__brand { grid-column: auto; }
}

/* ---------- The line (home) ---------- */

.world { position: fixed; top: 0; left: 0; z-index: 0; display: block; pointer-events: none; width: 100vw; height: 100lvh; visibility: hidden; opacity: 0; transition: opacity 500ms var(--ease-out); }
.world-ready .world.is-on { visibility: visible; opacity: 1; }
.line { position: relative; z-index: 1; }

/* Plain flow: no WebGL or reduced motion. Each panel is a section with its rendered still. */
.panel { position: relative; padding: var(--section) var(--gutter); }
.panel__still { display: block; max-width: 1040px; margin: 0 auto 32px; overflow: hidden; border-radius: 16px; }
.panel__still img { width: 100%; }
.panel__text { max-width: 640px; margin: 0 auto; }
.panel--hero { padding-top: calc(var(--bar-h) + 48px); }
.panel--hero .panel__still { order: 2; margin-top: 32px; margin-bottom: 0; }
.panel--hero { display: flex; flex-direction: column-reverse; }
.hero__copy { max-width: 1120px; margin: 0 auto; text-align: center; }
.hero__copy h1 { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.hero__sub { max-width: 600px; margin: 16px auto 0; font-size: 18px; line-height: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 24px; }
@media (min-width: 768px) {
  .hero__copy h1 { font-size: 60px; line-height: 60px; }
  .hero__sub { font-size: 20px; line-height: 28px; }
}
@media (min-width: 1280px) { .hero__copy h1 { font-size: 72px; line-height: 72px; } }

.panel__text h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
.panel__text > p:not(.panel__kicker):not(.panel__small) { margin-top: 12px; font-size: 18px; line-height: 28px; }
.panel__kicker { margin-bottom: 8px; color: #ff6b74; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.panel__small { margin-top: 16px; color: var(--ink-soft); font-size: 14px; line-height: 20px; }
@media (min-width: 768px) { .panel__text h2 { font-size: 48px; line-height: 48px; } }
.stats { display: flex; gap: 32px; margin-top: 24px; }
.stats div { display: flex; flex-direction: column; }
.stats dd { order: -1; }
.stats dd { color: var(--ink); font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats dt { margin-top: 4px; color: var(--ink-body); }
@media (min-width: 768px) { .stats dd { font-size: 72px; line-height: 72px; } .stats { gap: 48px; } }
.steps { display: grid; gap: 8px; margin-top: 24px; counter-reset: step; }
.steps li { position: relative; padding: 8px 0 8px 40px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out); }
.steps h3 { font-size: 18px; line-height: 28px; }
.steps p { color: var(--ink-body); }

/* World on: the sticky stage. Panels are placed over the canvas and driven by the timeline. */
.world-on .line { height: calc(var(--line-units, 12) * 78vh); }
.world-on .line__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.world-on .panel { position: absolute; inset: 0; padding: 0; pointer-events: none; }
.world-on .panel:not(.panel--hero) .panel__text { opacity: 0; }
.world-on .hero__copy { pointer-events: auto; }
.world-on .panel__still { display: none; }
.world-on .stations { display: contents; }
.world-on .panel--hero { display: block; }
.world-on .panel--hero .panel__still { display: block; position: absolute; inset: 0; max-width: none; margin: 0; border-radius: 0; z-index: -1; }
.world-on .panel--hero .panel__still img { width: 100%; height: 100%; object-fit: cover; }
.world-ready .panel--hero .panel__still { display: none; }
.world-on .hero__copy { position: absolute; top: calc(var(--bar-h) + 4vh); left: 0; right: 0; padding: 0 var(--gutter); }
.world-on .panel__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; max-width: none; margin: 0; padding: 24px 0 0; }
.world-on .panel__text::before { content: ""; position: absolute; z-index: -1; inset: -40px calc(var(--gutter) * -1) -32px; background: linear-gradient(to top, rgba(3, 8, 28, 0.94) 62%, rgba(3, 8, 28, 0)); pointer-events: none; }
.world-on .steps li:not(.is-on) { opacity: 0.7; }
.world-on .steps li:not(.is-on) p { display: none; }
.steps li.is-on::before { background: var(--accent); border-color: var(--accent); }
@media (min-width: 1024px) {
  .world-on .panel__text { left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); right: auto; top: 50%; bottom: auto; width: min(44vw, 520px); padding: 0; transform: translateY(-50%); }
  .world-on .panel__text::before { inset: -96px -96px -96px -200px; background: radial-gradient(ellipse at 35% 50%, rgba(3, 8, 28, 0.86), rgba(3, 8, 28, 0) 70%); }
  .world-on .steps li:not(.is-on) p { display: block; }
  .world-on .panel--dispatch .panel__text h2 { font-size: 72px; line-height: 72px; }
}

/* ---------- Your shipment ---------- */

.sim { position: relative; z-index: 1; padding: var(--section) 0; }
.world-on .sim { min-height: 100vh; }
.sim__grid { display: grid; gap: 24px; }
.sim__intro h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
.sim__intro p { margin-top: 12px; font-size: 18px; line-height: 28px; }
.sim__panel { display: grid; gap: 16px; }
.sim__form { display: grid; gap: 24px; padding: 24px 16px; border-radius: 24px; background: rgba(12, 25, 60, 0.92); border: 1px solid var(--line); box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.sim__group { display: grid; gap: 24px; }
.sim__form legend { margin-bottom: 8px; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--canvas); border: 1px solid var(--line); }
.seg--small { display: block; padding: 0; background: none; border: 0; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input, .choice-list input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 8px; border-radius: 12px; color: var(--ink-soft); font-size: 14px; line-height: 20px; font-weight: 700; text-align: center; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.seg input:checked + span { background: var(--ink); color: var(--canvas); }
.seg input:focus-visible + span, .choice-list input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg--small label { display: inline-block; margin-right: 4px; }
.seg--small span { min-height: 40px; padding: 4px 16px; border: 1px solid var(--line-input); border-radius: 9999px; }
.choice-list { display: grid; gap: 8px; }
.choice-list label { position: relative; display: block; cursor: pointer; }
.choice-list span { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line-input); background: var(--canvas); transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.choice-list small { color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.choice-list input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sim__more { display: grid; gap: 16px; }
.sim__nums { display: grid; gap: 12px; }
.num { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; color: var(--ink-body); }
.num input { flex: none; width: 96px; height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-input); background: var(--canvas); color: var(--ink); font-size: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.num input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(255, 92, 102, 0.25); }
.num__label { display: flex; align-items: center; gap: 4px; }
.info { position: relative; display: grid; place-items: center; flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer; transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.info::after { content: ""; position: absolute; inset: -10px; }
.info:hover, .info[aria-expanded="true"] { color: var(--ink); }
.info[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); }
.num__hint { margin-top: 8px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--ink-body); font-size: 14px; line-height: 20px; }
.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; line-height: 20px; color: var(--ink-body); cursor: pointer; }
.switch input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.sim__tag { justify-self: start; padding: 4px 12px; border-radius: 9999px; background: var(--accent-tint); color: #ff9aa0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; }

.receipt { position: relative; padding: 24px 16px 32px; background: var(--paper); color: var(--paper-ink); font-family: var(--mono); font-size: 14px; line-height: 20px; box-shadow: var(--shadow-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 97.5% 100%, 95% calc(100% - 6px), 92.5% 100%, 90% calc(100% - 6px), 87.5% 100%, 85% calc(100% - 6px), 82.5% 100%, 80% calc(100% - 6px), 77.5% 100%, 75% calc(100% - 6px), 72.5% 100%, 70% calc(100% - 6px), 67.5% 100%, 65% calc(100% - 6px), 62.5% 100%, 60% calc(100% - 6px), 57.5% 100%, 55% calc(100% - 6px), 52.5% 100%, 50% calc(100% - 6px), 47.5% 100%, 45% calc(100% - 6px), 42.5% 100%, 40% calc(100% - 6px), 37.5% 100%, 35% calc(100% - 6px), 32.5% 100%, 30% calc(100% - 6px), 27.5% 100%, 25% calc(100% - 6px), 22.5% 100%, 20% calc(100% - 6px), 17.5% 100%, 15% calc(100% - 6px), 12.5% 100%, 10% calc(100% - 6px), 7.5% 100%, 5% calc(100% - 6px), 2.5% 100%, 0 calc(100% - 6px)); }
.receipt strong { color: inherit; }
.receipt__head { padding-bottom: 12px; border-bottom: 1px dashed #9a9a92; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.receipt__lines { display: grid; gap: 4px; padding: 12px 0; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 16px; }
.receipt__lines li span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; border-top: 1px dashed #9a9a92; font-weight: 700; }
.receipt__total strong { flex: none; font-size: 30px; line-height: 36px; font-family: var(--font); letter-spacing: -0.01em; white-space: nowrap; }
.receipt__notes { display: grid; gap: 4px; padding-top: 8px; }
.receipt__notes:empty { display: none; }
.receipt__plan { margin-top: 12px; }
.receipt__foot { margin-top: 12px; color: #4b4e57; font-size: 12px; line-height: 16px; }

.world-on .sim__intro { padding-bottom: 36vh; }
@media (min-width: 1024px) {
  .sim__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
  .sim__intro { position: sticky; top: calc(var(--bar-h) + 48px); }
  .sim__intro h2 { font-size: 48px; line-height: 48px; }
  .world-on .sim__intro { padding-bottom: 0; }
  .sim__panel { grid-template-columns: minmax(0, 1fr); }
  .sim__form { padding: 32px; }
  .receipt { padding: 24px 24px 32px; }
}
@media (min-width: 1280px) {
  .sim__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .sim__panel { grid-template-columns: minmax(0, 8fr) minmax(0, 6fr); align-items: start; }
  .receipt { position: sticky; top: calc(var(--bar-h) + 24px); }
}
/* Short screens (a phone on its side, or a big zoom). */
@media (max-height: 480px) {
  .world-on .panel__text h2 { font-size: 20px; line-height: 28px; }
  .world-on .panel__text > p:not(.panel__kicker):not(.panel__small) { font-size: 14px; line-height: 20px; }
  .world-on .steps { margin-top: 8px; gap: 0; }
  .world-on .steps h3 { font-size: 14px; line-height: 20px; }
  .world-on .steps li { padding-top: 4px; padding-bottom: 4px; }
  .world-on .steps li p { display: none; }
  .world-on .stats { margin-top: 4px; }
  .world-on .stats dd { font-size: 30px; line-height: 36px; }
  .world-on .panel__small { margin-top: 4px; font-size: 12px; line-height: 16px; }
  .world-on .hero__copy { top: calc(var(--bar-h) + 8px); }
  .world-on .hero__copy h1 { font-size: 30px; line-height: 36px; }
  .world-on .hero__sub { display: none; }
  .world-on .hero__cta { margin-top: 8px; }
}
/* On a phone the box docks in a band under the bar while you choose. */
.world.is-docked { top: var(--bar-h); height: 34vh; z-index: 3; }
@media (max-width: 1023px) {
  .world-on .sim__intro { padding-bottom: 0; }
  .sim.is-docked .sim__panel { padding-top: 0; }
  .world-on .sim { padding-top: calc(var(--section) + 34vh); }
  .world-on .sim input { scroll-margin-top: calc(var(--bar-h) + 34vh + 16px); }
}

/* ---------- Paperwork: ordinary sections on solid navy ---------- */

.paper { position: relative; z-index: 2; background: var(--canvas); }
.paper h2, .close h2, .page h2.big { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .paper h2, .close h2, .page h2.big { font-size: 48px; line-height: 48px; } }
.who, .gift, .plans, .together, .asks { padding: var(--section) 0; border-top: 1px solid var(--line-soft); }

.who__grid, .asks__grid, .together__grid { display: grid; gap: 32px; }
.who__list li { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.who__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.who__list h3 { font-size: 20px; line-height: 28px; }
.who__list p { margin-top: 4px; }
@media (min-width: 1024px) { .who__grid, .asks__grid, .together__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

.gift__grid { display: grid; gap: 48px; }
.gift__copy .eyebrow { margin-bottom: 12px; }
.gift__copy h2 { max-width: 620px; }
.paper .gift__copy h2 { font-size: 36px; line-height: 40px; }
.gift__copy h2 .word { color: rgba(255, 255, 255, 0.45); transition: color 700ms var(--ease); }
.gift__copy h2 .word.is-lit { color: var(--ink); }
.gift__copy > p:not(.eyebrow) { margin: 16px 0 24px; max-width: 520px; font-size: 18px; line-height: 28px; }
.gift__shot img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-3); }
@media (min-width: 768px) { .paper .gift__copy h2 { font-size: 60px; line-height: 60px; } }
@media (min-width: 1024px) { .gift__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; } }

.plans__head { max-width: 680px; }
.plans__head p { margin-top: 16px; font-size: 18px; line-height: 28px; }
.plans__grid { display: grid; gap: 16px; margin-top: 48px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.plan h3 { font-size: 24px; line-height: 32px; letter-spacing: 0.01em; }
.plan__who { margin-top: 8px; min-height: 48px; }
.plan__price { margin: 16px 0 24px; color: var(--ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan__price small { color: var(--ink-soft); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.plan__list { display: grid; gap: 8px; margin-top: 24px; font-size: 14px; line-height: 20px; }
.plan__list li { padding-left: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff6b74' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat 0 2px; }
.plan__promo { margin-top: 24px; padding: 12px; border-radius: 12px; background: var(--accent-tint); font-size: 14px; line-height: 20px; }
.plan__badge { align-self: flex-start; margin-bottom: 12px; padding: 2px 12px; border-radius: 9999px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.plan__mark { align-self: flex-start; margin-bottom: 12px; padding: 2px 12px; border-radius: 9999px; background: var(--ink); color: var(--canvas); font-size: 12px; line-height: 20px; font-weight: 700; }
.plan--pop { background: var(--surface-2); border-color: #46537a; }
.plan.is-marked { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plans__fair { margin-top: 32px; max-width: 760px; }
@media (min-width: 1024px) { .plans__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }

.together__copy > p { font-size: 20px; line-height: 28px; color: var(--ink); }
.together__copy dl { display: grid; gap: 24px; margin-top: 32px; }
.together__copy dt { color: var(--ink); font-weight: 700; font-size: 18px; line-height: 28px; }
.together__copy dd { margin-top: 4px; }

details { border-top: 1px solid var(--line-soft); }
details:last-of-type { border-bottom: 1px solid var(--line-soft); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--ink); font-weight: 700; font-size: 18px; line-height: 28px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; transition: transform 300ms var(--ease); }
details[open] summary svg { transform: rotate(180deg); }
details > p, details > ul, details > div { padding: 0 0 24px; }
.asks__more { margin-top: 24px; }

/* ---------- The close: your label prints ---------- */

.close { position: relative; z-index: 2; padding: var(--section) 0; background: var(--canvas); border-top: 1px solid var(--line-soft); overflow: hidden; }
.close__grid { display: grid; gap: 48px; }
.close__copy p { margin-top: 16px; font-size: 20px; line-height: 28px; }
.close__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.printer { position: relative; width: min(100%, 360px); margin: 0 auto; }
.printer__slot { position: relative; z-index: 2; height: 32px; border-radius: 12px 12px 4px 4px; background: #1a2340; border: 1px solid var(--line); box-shadow: inset 0 -8px 0 #060b1f, var(--shadow-2); }
.printer__window { margin: -8px 12px 0; padding-top: 8px; overflow: hidden; }
.label { padding: 16px; background: var(--paper); color: var(--paper-ink); font-size: 14px; line-height: 20px; box-shadow: var(--shadow-2); }
.label__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -16px -16px 16px; padding: 12px 16px; background: var(--canvas); color: #fff; font-size: 12px; line-height: 16px; }
.label__head img { height: 32px; width: auto; }
.label__row { padding: 12px 0; border-bottom: 2px solid var(--paper-ink); }
.label__row small { display: block; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.label__row ul { display: grid; gap: 2px; margin-top: 4px; font-family: var(--mono); }
.label__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.label__row strong { display: block; color: inherit; font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.label__bars { display: flex; align-items: stretch; height: 64px; margin-top: 16px; }
.label__bars i { display: block; background: var(--paper-ink); }
.label__code { margin-top: 4px; font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.1em; }
@media (min-width: 1024px) { .close__grid { grid-template-columns: 7fr 5fr; align-items: center; } }

/* ---------- Inner pages ---------- */

.page { position: relative; z-index: 2; padding-top: var(--bar-h); }
.page__head { padding-top: 64px; padding-bottom: 48px; }
.page__head h1 { max-width: 880px; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.page__head p { max-width: 680px; margin-top: 16px; font-size: 18px; line-height: 28px; }
@media (min-width: 768px) {
  .page__head { padding-top: 96px; padding-bottom: 64px; }
  .page__head h1 { font-size: 60px; line-height: 60px; }
  .page__head p { font-size: 20px; }
}
.block { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.block h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
.block h3 { margin: 32px 0 12px; font-size: 18px; line-height: 28px; }
.block__lead { max-width: 720px; margin-top: 12px; font-size: 18px; line-height: 28px; }
@media (min-width: 768px) { .block { padding: 96px 0; } .block h2 { font-size: 48px; line-height: 48px; } }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 12px 0; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.price-table td:last-child { width: 44%; padding-left: 16px; color: var(--ink); font-weight: 700; text-align: right; }
.price-table caption { padding-bottom: 12px; color: var(--ink); font-weight: 700; font-size: 18px; line-height: 28px; text-align: left; }
.price-table th { font-weight: 400; }
.two-col { display: grid; gap: 48px; margin-top: 32px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.note { margin-top: 16px; color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.examples { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.example { padding: 24px; background: var(--paper); color: var(--paper-ink); font-family: var(--mono); font-size: 14px; line-height: 20px; }
.example h3 { margin: 0 0 12px; color: inherit; font-family: var(--font); font-size: 16px; line-height: 24px; }
.example li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.example .total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #9a9a92; font-weight: 700; }
.details-list { margin-top: 24px; }
.details-list li { margin-top: 8px; padding-left: 16px; list-style: disc; }
.details-list li::marker { color: var(--ink-soft); }
.split-list { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 768px) { .split-list { grid-template-columns: 1fr 1fr; } }
.split-list ul { display: grid; gap: 4px; margin-top: 8px; }
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 12px; font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul li { margin-top: 4px; padding-left: 16px; list-style: disc; list-style-position: inside; }
.prose ul { padding-left: 0; }
.prose .note { margin-top: 0; }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; } }
.form { display: grid; gap: 16px; padding: 32px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.form label { display: block; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.form input, .form textarea, .form select { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-input); background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 400; line-height: 24px; }
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(255, 92, 102, 0.25); }
.form__error { color: #ff8a8a; font-size: 14px; line-height: 20px; font-weight: 700; }
.contact-list { display: grid; gap: 24px; }
.contact-list h2 { font-size: 14px; line-height: 20px; color: var(--ink-soft); font-weight: 700; }
.contact-list p, .contact-list a { font-size: 20px; line-height: 28px; color: var(--ink); }
.contact-list small { display: block; color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.empty { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: calc(var(--bar-h) + 48px) var(--gutter) 64px; }
.empty h1 { font-size: 60px; line-height: 60px; letter-spacing: -0.02em; }
.empty p { margin: 16px 0 32px; font-size: 18px; line-height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .gift__copy h2 .word { color: var(--ink); }
}
