:root {
  font-family: Arial, Helvetica, sans-serif;
  color: oklch(19% 0.008 30);
  background: oklch(97% 0.004 95);
  font-synthesis: none;
  --ink: oklch(19% 0.008 30);
  --ink-2: oklch(27% 0.01 30);
  --muted: oklch(43% 0.015 40);
  --red: oklch(65% 0.22 28);
  --red-dark: oklch(49% 0.19 26);
  --cyan: oklch(86% 0.12 195);
  --cyan-dark: oklch(39% 0.085 198);
  --white: oklch(100% 0 0);
  --base: oklch(97% 0.004 95);
  --base-2: oklch(93% 0.007 95);
  --line: oklch(80% 0.012 60);
  --success: oklch(39% 0.11 145);
  --warn: oklch(47% 0.13 75);
  --danger: oklch(46% 0.18 24);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--base); }
button, input, select { font: inherit; }
a { color: inherit; }
button:not(:disabled) { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 30; padding: .75rem 1rem; background: var(--cyan); color: var(--ink); }
.skip:focus { top: 1rem; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1280px) / 2)); background: var(--ink); color: var(--white); }
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.02rem; font-weight: 800; }
.mark { position: relative; width: 28px; height: 22px; display: inline-block; border: 2px solid var(--red); }
.mark::before, .mark::after { content: ""; position: absolute; top: 4px; width: 13px; height: 2px; background: var(--red); }
.mark::before { left: 1px; transform: rotate(34deg); transform-origin: left; }
.mark::after { right: 1px; transform: rotate(-34deg); transform-origin: right; }
.mark i { display: none; }
nav { display: flex; align-items: center; gap: 8px; font-size: .86rem; }
nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 13px; text-decoration: none; color: oklch(83% 0.005 60); }
nav a:hover { color: var(--white); }
nav a:first-child { background: var(--red); color: var(--ink); font-weight: 800; }

.hero { min-height: calc(100dvh - 122px); padding: clamp(28px, 3.5vw, 42px) 28px 14px; overflow: hidden; background: var(--base); }
.hero-inner { max-width: 1280px; margin: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.hero-kicker span { width: 36px; height: 4px; background: var(--red); }
.hero h1 { max-width: 11ch; margin: 0; font-size: clamp(3.25rem, 5vw, 4.15rem); line-height: .94; letter-spacing: 0; text-wrap: balance; }
.hero-copy > p:not(.hero-kicker) { max-width: 57ch; margin: 22px 0; color: var(--muted); font-size: 1rem; line-height: 1.58; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button { min-height: 48px; border: 1px solid transparent; border-radius: 4px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800; }
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--red); color: var(--ink); }
.button.teal { background: var(--red); color: var(--ink); }
.button.teal:hover { background: var(--ink); color: var(--white); }
.button.outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--ink); color: var(--white); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--red); }
.text-link span { font-size: 1.2rem; }
.hero-facts { display: none; flex-wrap: wrap; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { min-width: 132px; padding: 15px 24px 0 0; }
.hero-facts dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; font-weight: 800; }
.hero-facts dd { margin: 5px 0 0; font-size: .88rem; font-weight: 800; }

.product-window { position: relative; margin: 0; background: var(--white); border: 6px solid var(--ink); box-shadow: -22px -22px 0 var(--cyan), 20px 20px 0 var(--red); transform: rotate(1deg); }
.product-window::before { display: none; }
.dispatch-label { min-height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--white); font-size: .72rem; }
.dispatch-label span { color: var(--cyan); font-weight: 800; }
.window-body { min-height: 386px; display: grid; grid-template-columns: 78px 1fr; }
.window-nav { padding: 18px 14px; display: grid; align-content: start; justify-items: center; gap: 13px; background: var(--ink-2); }
.window-nav b { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 9px; background: var(--red); color: var(--ink); font-size: .7rem; }
.window-nav span { width: 30px; height: 5px; background: oklch(53% 0.01 30); }
.window-nav span.active { background: var(--cyan); }
.window-main { min-width: 0; padding: clamp(22px, 4vw, 34px); }
.window-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.window-title small { color: var(--red-dark); font-size: .62rem; font-weight: 800; }
.window-main h3 { margin: 5px 0 0; font-size: 1.2rem; }
.route-state { padding: 7px 9px; background: var(--cyan); font-size: .68rem; font-weight: 800; }
.quality { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 16px; border-block: 1px solid var(--line); }
.quality div { padding: 18px 8px; border-right: 1px solid var(--line); }
.quality div:last-child { border: 0; }
.quality strong, .quality small { display: block; }
.quality strong { font-size: 1.25rem; }
.quality small { margin-top: 4px; color: var(--muted); font-size: .66rem; }
.recipient { min-height: 58px; display: grid; grid-template-columns: minmax(0, 1fr) auto 62px; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); font-size: .72rem; }
.recipient b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.score { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--success); color: var(--success); font-weight: 800; }
.score.review { border-color: var(--warn); color: var(--warn); }
.ready { color: var(--success); font-weight: 800; }
.product-window figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }

.dispatch-strip { min-height: 64px; padding: 0 28px; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 38px); background: var(--ink); color: var(--white); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.dispatch-strip i { width: 28px; height: 2px; background: var(--red); }
.mobile-preview { display: none; }
.section { max-width: 1280px; margin: auto; padding: clamp(76px, 9vw, 124px) 28px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 52px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .ownership-band h2 { max-width: 13ch; margin: 0; font-size: clamp(2.3rem, 4.6vw, 4.5rem); line-height: .98; letter-spacing: 0; text-wrap: balance; }
.section-heading p { max-width: 54ch; margin: 0; color: var(--muted); line-height: 1.65; }
.steps { display: grid; border-top: 2px solid var(--ink); }
.step { min-height: 178px; padding: 26px 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; align-items: start; border-bottom: 1px solid var(--line); }
.step-number { color: var(--red-dark); font-size: .78rem; font-weight: 800; }
.step h3 { margin: 0 0 9px; font-size: 1.3rem; }
.step p { max-width: 62ch; margin: 0; color: var(--muted); line-height: 1.6; }
.ownership-band { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(48px, 8vw, 120px); padding: clamp(72px, 9vw, 118px) max(28px, calc((100vw - 1280px) / 2)); background: var(--red); color: var(--ink); }
.ownership-copy > p { margin: 0 0 24px; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.route-options { border-top: 2px solid var(--ink); }
.route-options article { padding: 28px 0 32px; display: grid; grid-template-columns: 150px minmax(180px, .7fr) minmax(260px, 1fr); gap: 26px; border-bottom: 1px solid oklch(32% 0.05 28 / .5); }
.route-options span { font-size: .7rem; font-weight: 800; }
.route-options h3 { margin: 0; font-size: 1.15rem; }
.route-options p { margin: 0; line-height: 1.55; color: oklch(27% 0.02 27); }
.plans-section { background: var(--base-2); padding-block: 1px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.plan { min-height: 450px; padding: 30px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 30px; background: var(--white); }
.plan.featured { background: var(--ink); color: var(--white); }
.plan-name { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--red-dark); }
.plan.featured .plan-name { color: var(--cyan); }
.plan h3 { margin: 0 0 8px; font-size: 1.55rem; }
.plan p { margin: 0; color: var(--muted); line-height: 1.55; }
.plan.featured p, .plan.featured li { color: oklch(80% 0.005 30); }
.plan ul { list-style: none; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.plan.featured ul { border-color: oklch(38% 0.01 30); }
.plan li { padding: 8px 0; color: var(--muted); font-size: .86rem; }
.plan li::before { content: "+"; display: inline-block; width: 20px; color: var(--red-dark); font-weight: 800; }
.plan.featured li::before { color: var(--cyan); }
.plan.featured .button.primary { background: var(--red); color: var(--ink); }

.account-page, .status-page, .admin-page { max-width: 1080px; min-height: calc(100dvh - 166px); margin: auto; padding: 78px 28px; }
.account-page h1, .status-page h1, .admin-page h1 { max-width: 14ch; margin: 0 0 16px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; letter-spacing: 0; }
.eyebrow { display: inline-flex; margin-bottom: 14px; padding: 6px 8px; background: var(--cyan); color: var(--ink); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.lede { max-width: 65ch; color: var(--muted); line-height: 1.65; }
.panel { margin-top: 34px; padding: 28px; background: var(--white); border: 1px solid var(--ink); border-radius: 6px; }
.panel h2, .access-shell h2, .download-band h2 { margin: 0 0 8px; font-size: 1.2rem; }
.stack { display: grid; gap: 12px; }
.field { display: grid; gap: 7px; margin: 20px 0; font-size: .83rem; font-weight: 800; }
input, select { width: 100%; height: 48px; padding: 0 12px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
input:focus, select:focus { border-color: var(--ink); }
.access-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr); gap: 42px; align-items: start; }
.access-shell p, .download-band p { margin: 0; color: var(--muted); line-height: 1.6; }
.account-head, .panel-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-head strong { display: block; font-size: 1.05rem; }
.text-button { min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--red-dark); font-weight: 800; }
.download-band { margin: 28px -28px 0; padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--cyan); border-block: 1px solid var(--ink); }
.inline-link { display: block; margin-bottom: 4px; font-weight: 800; }
.purchase { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.purchase:last-child { border: 0; }
.purchase small, .muted { color: var(--muted); }
.license-form { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(220px, 1.3fr) auto; gap: 10px; margin-top: 15px; }
.license-output { width: 100%; min-height: 120px; margin-top: 12px; padding: 12px; overflow-wrap: anywhere; background: var(--base-2); font: 12px ui-monospace, Consolas, monospace; }
.device-list { list-style: none; padding: 0; margin: 16px 0; border-block: 1px solid var(--line); }
.device-list li { display: grid; grid-template-columns: minmax(120px, .5fr) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.device-list li:last-child { border: 0; }
.device-list span { color: var(--muted); font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.message { margin-top: 20px; padding: 14px 16px; background: var(--cyan); color: var(--ink); }
.message.error { background: oklch(92% 0.04 24); color: var(--danger); }
.admin-login { display: grid; grid-template-columns: minmax(260px, 460px) auto; gap: 12px; align-items: end; margin-top: 28px; }
.admin-login .field { margin: 0; }
.admin-login .button { min-width: 140px; justify-self: start; }
.admin-grid { display: grid; grid-template-columns: 360px 1fr; gap: 30px; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 34px; background: var(--ink); border: 1px solid var(--ink); }
.status-grid article { padding: 20px; background: var(--white); }
.status-grid span, .table-row small { display: block; margin-bottom: 6px; color: var(--muted); font-size: .74rem; }
.good { color: var(--success); }
.bad { color: var(--danger); }
.table-row { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.table-row:last-child { border: 0; }
.invite-result { display: grid; gap: 10px; padding: 16px; background: var(--cyan); }
.plans-admin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 22px; background: var(--ink); }
.plan-admin { padding: 18px; background: var(--white); }
.plan-admin label { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.plan-admin label input { width: auto; height: auto; }
.order { padding: 18px 0; border-bottom: 1px solid var(--line); }
.order-head { display: flex; justify-content: space-between; gap: 15px; }
.badge { padding: 5px 8px; background: var(--cyan); font-size: .7rem; font-weight: 800; }
.commerce-settings summary { cursor: pointer; font-weight: 800; }
.commerce-settings[open] summary { margin-bottom: 18px; }
dialog { width: min(94vw, 620px); padding: 0; border: 3px solid var(--ink); border-radius: 6px; }
dialog::backdrop { background: oklch(10% 0.01 30 / .7); }
.dialog-shell { position: relative; padding: 32px; }
.dialog-close { position: absolute; top: 10px; right: 15px; min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 1.5rem; }
.dialog-shell h2 { margin: 0 0 8px; font-size: 1.7rem; }
.dialog-shell p { color: var(--muted); line-height: 1.55; }
.payment-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-choices button { height: 64px; border: 1px solid var(--ink); background: var(--white); border-radius: 4px; font-weight: 800; }
.payment-choices button:hover { background: var(--cyan); }
.crypto-detail { margin-top: 18px; padding: 18px; background: var(--base-2); }
.crypto-detail code { display: block; margin: 8px 0; overflow-wrap: anywhere; font-size: .76rem; }
footer { min-height: 92px; padding: 25px max(28px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: oklch(76% 0.005 30); font-size: .76rem; }

@media (max-width: 940px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 11ch; }
  .product-window { width: min(100%, 680px); }
  .section-heading, .ownership-band { grid-template-columns: 1fr; }
  .route-options article { grid-template-columns: 120px minmax(180px, .65fr) 1fr; }
  .plans, .plans-admin { grid-template-columns: 1fr; }
  .plan { min-height: 0; grid-template-columns: 120px 1fr 1fr; grid-template-rows: auto auto; align-items: start; }
  .plan .button { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { height: 66px; padding: 0 16px; }
  nav { gap: 0; }
  nav a { padding: 0 9px; font-size: .78rem; }
  nav a:nth-child(2), nav a:nth-child(3) { display: none; }
  .hero { min-height: calc(100dvh - 108px); padding: 38px 18px 24px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 3.75rem); }
  .hero-copy > p:not(.hero-kicker) { margin: 22px 0; }
  .actions { align-items: stretch; display: grid; }
  .text-link { justify-content: space-between; }
  .hero-facts, .product-window { display: none; }
  .product-window::before { inset: -16px 25% 60% -12px; }
  .dispatch-label { min-height: 38px; }
  .window-body { min-height: 260px; grid-template-columns: 46px 1fr; }
  .window-nav { padding: 12px 8px; }
  .window-nav b { width: 28px; height: 28px; }
  .window-nav span { width: 22px; }
  .window-main { padding: 16px 12px; }
  .window-title { align-items: start; }
  .window-main h3 { font-size: .98rem; }
  .route-state { max-width: 74px; text-align: center; }
  .quality { margin: 16px 0 8px; }
  .quality div { padding: 11px 5px; }
  .quality strong { font-size: 1rem; }
  .recipient { min-height: 46px; grid-template-columns: minmax(0, 1fr) 30px 48px; gap: 8px; font-size: .62rem; }
  .score { width: 27px; height: 27px; }
  .dispatch-strip { min-height: 56px; padding: 0 18px; justify-content: center; gap: 6px; overflow: hidden; }
  .dispatch-strip span { white-space: nowrap; }
  .dispatch-strip i { width: 6px; }
  .mobile-preview { display: block; margin: 0; padding: 22px 18px; background: var(--cyan); border-bottom: 4px solid var(--ink); }
  .mobile-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; font-size: .72rem; }
  .mobile-preview > div span { font-weight: 800; text-transform: uppercase; }
  .mobile-preview > div strong { padding: 6px 8px; background: var(--ink); color: var(--white); }
  .mobile-preview dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-block: 1px solid var(--ink); }
  .mobile-preview dl div { padding: 14px 6px; border-right: 1px solid var(--ink); }
  .mobile-preview dl div:last-child { border: 0; }
  .mobile-preview dt { font-size: .65rem; }
  .mobile-preview dd { margin: 5px 0 0; font-size: 1.2rem; font-weight: 800; }
  .mobile-preview figcaption { padding-top: 12px; font-size: .7rem; }
  .section { padding: 72px 18px; }
  .section-heading { gap: 24px; margin-bottom: 40px; }
  .section-heading h2, .ownership-band h2 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .step { grid-template-columns: 52px 1fr; gap: 12px; }
  .ownership-band { padding: 68px 18px; gap: 40px; }
  .route-options article { grid-template-columns: 1fr; gap: 12px; }
  .plan { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
  .plan .button { grid-column: 1; }
  .account-page, .status-page, .admin-page { padding: 56px 18px; }
  .access-shell, .download-band, .status-grid, .admin-login, .license-form, .device-list li, .purchase { grid-template-columns: 1fr; }
  .admin-login .button { width: 100%; }
  .download-band { align-items: stretch; }
  .status-grid { gap: 8px; background: transparent; border: 0; }
  .status-grid article { border: 1px solid var(--ink); }
  .payment-choices { grid-template-columns: 1fr; }
  footer { display: grid; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
