:root {
  --electric: #0054ff;
  --electric-hover: #0045d1;
  --night: #07090c;
  --night-raised: #0c1118;
  --ink: #1d252c;
  --paper: #f4f2ed;
  --panel: #ffffff;
  --muted: #5b6670;
  --steel: #334e5c;
  --line: rgba(7, 9, 12, 0.12);
  --line-dark: rgba(244, 242, 237, 0.16);
  --ready: #2f8754;
  --process: #f3b329;
  --hold: #b83d31;
  --font: Arial, Helvetica, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(29, 37, 44, 0.06), 0 8px 24px rgba(29, 37, 44, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--text-base); line-height: 1.6; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--night); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--electric); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 2 * clamp(var(--space-4), 4vw, var(--space-12))); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: var(--space-2); background: var(--panel); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }

.eyebrow { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--electric); margin-bottom: var(--space-4); }
.eyebrow.on-dark { color: #7fa6ff; }
.fine { font-size: var(--text-xs); color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-6);
  border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; white-space: nowrap; }
.btn-sm { min-height: 44px; padding: 0 var(--space-5); }
.btn-primary { background: var(--electric); color: #fff; }
.btn-primary:hover { background: var(--electric-hover); }
.btn-ghost { border-color: var(--night); color: var(--night); background: transparent; }
.btn-ghost:hover { background: var(--night); color: var(--paper); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 237, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: var(--space-8); min-height: 72px; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: var(--text-sm); padding: var(--space-3) 0; }
.nav-links a:hover { color: var(--electric); }
.site-header nav { margin-left: auto; }

/* Hero */
.hero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) clamp(var(--space-12), 7vw, var(--space-24)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.hero h1 { font-size: var(--text-3xl); font-weight: 700; letter-spacing: -0.03em; max-width: 12ch; }
.lede { margin-top: var(--space-6); font-size: var(--text-base); color: var(--steel); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-8) 0 var(--space-5); }
.hero-photo { margin: 0; margin-right: calc(-1 * max(0px, (100vw - 1200px) / 2)); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }

/* Board illustration */
.board-section { background: var(--panel); padding-block: clamp(var(--space-16), 8vw, var(--space-24)); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: end; margin-bottom: var(--space-10); }
.section-head h2 { font-size: var(--text-xl); max-width: 18ch; }
.section-head p { color: var(--steel); max-width: 56ch; }
.board { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.board-top { display: flex; align-items: center; gap: var(--space-4); background: var(--night); color: var(--paper); padding: var(--space-3) var(--space-5);
  border-bottom: 3px solid var(--electric); font-size: var(--text-xs); }
.board-top img { width: 120px; }
.board-shop { font-weight: 700; color: #fff; }
.board-week { margin-left: auto; color: #b9c2cb; }
.lanes { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: var(--space-3); padding: var(--space-4); overflow-x: auto; }
.lane { background: var(--panel); border: 1px solid #c9d3de; border-radius: var(--radius-md); padding: var(--space-3); min-height: 280px; }
.lane h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: var(--electric);
  margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-3); padding: var(--space-2) var(--space-3); border-radius: 7px 7px 0 0; }
.card { position: relative; display: grid; gap: 2px; background: var(--panel); border: 1px solid #b6c5d6; border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3) var(--space-2) var(--space-8); margin-bottom: var(--space-2); font-size: var(--text-xs); line-height: 1.35; }
.card::before { content: ""; position: absolute; left: var(--space-3); top: 0.8em; width: 10px; height: 10px; border-radius: 50%; }
.card b { color: var(--night); font-size: var(--text-sm); }
.card span { color: var(--ink); }
.card em { font-style: normal; color: var(--muted); }
.card.ready::before, .dot.ready { background: var(--ready); }
.card.process::before, .dot.process { background: var(--process); }
.card.hold::before, .dot.hold { background: var(--hold); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); list-style: none; margin: 0; padding: var(--space-3) var(--space-5) var(--space-4);
  font-size: var(--text-xs); color: var(--ink); border-top: 1px solid var(--line); background: var(--panel); }
.legend li { display: flex; align-items: center; gap: var(--space-2); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }

/* Steps */
.how { padding-block: clamp(var(--space-16), 9vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-20)); }
.how h2 { font-size: var(--text-xl); max-width: 20ch; margin-bottom: var(--space-10); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-size: var(--text-xl); font-weight: 700; color: var(--electric); line-height: 1; }
.steps h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.steps p { color: var(--steel); max-width: 64ch; }

/* Split rows */
.split { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }
.split-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.split-reverse .split-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split-copy h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); max-width: 18ch; }
.split-copy > p { color: var(--steel); max-width: 52ch; }
.ticks { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.ticks li { position: relative; padding-left: var(--space-6); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 7px; height: 12px; border: solid var(--electric);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Security */
.security { background: var(--night); color: #d6dbe0; padding-block: clamp(var(--space-16), 9vw, var(--space-32)); margin-top: clamp(var(--space-10), 5vw, var(--space-16)); }
.security-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--space-8), 6vw, var(--space-20)); }
.security h2 { color: #fff; font-size: var(--text-xl); margin-bottom: var(--space-5); max-width: 18ch; }
.security-grid > div > p:last-child { max-width: 48ch; }
.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.controls > div { padding: var(--space-5) var(--space-5) var(--space-5) 0; border-bottom: 1px solid var(--line-dark); }
.controls > div:nth-child(odd) { padding-right: var(--space-8); }
.controls dt { color: #fff; font-weight: 700; margin-bottom: var(--space-1); }
.controls dd { margin: 0; font-size: var(--text-sm); color: #b9c2cb; }
.disclaimer { grid-column: 1 / -1; font-size: var(--text-sm); color: #b9c2cb; border-top: 1px solid var(--line-dark); padding-top: var(--space-6); max-width: 90ch; }

/* Pricing */
.pricing { padding-block: clamp(var(--space-16), 9vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-20)); }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-6); margin-bottom: var(--space-10); }
.pricing h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.pricing-head p { color: var(--steel); }
.toggle { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-1); }
.toggle button { font: inherit; font-size: var(--text-sm); font-weight: 700; min-height: 44px; padding: 0 var(--space-5); border: 0; border-radius: 6px;
  background: transparent; color: var(--ink); cursor: pointer; }
.toggle button span { font-weight: 400; color: var(--ready); }
.toggle button[aria-pressed="true"] { background: var(--night); color: #fff; }
.toggle button[aria-pressed="true"] span { color: #8fd3aa; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); }
.plan-featured { border: 2px solid var(--electric); box-shadow: var(--shadow); }
.badge { align-self: flex-start; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  background: var(--electric); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); margin-bottom: var(--space-4); }
.badge-dark { background: var(--night); }
.plan:not(:has(.badge)) h3 { margin-top: calc(var(--text-xs) * 1.6 + var(--space-2) + var(--space-4)); }
.plan h3 { font-size: var(--text-lg); }
.plan-for { color: var(--steel); font-size: var(--text-sm); margin-top: var(--space-2); min-height: 3em; }
.price { margin-top: var(--space-6); color: var(--night); }
.price .amount { font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.02em; }
.price .unit { color: var(--muted); font-size: var(--text-sm); }
.price-note { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-1); }
.plan .ticks { margin-bottom: var(--space-8); font-size: var(--text-sm); }
.plan .btn { margin-top: auto; }
.pricing-fine { margin-top: var(--space-6); }

/* FAQ */
.faq { background: var(--panel); border-top: 1px solid var(--line); padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-12); }
.faq h2 { font-size: var(--text-xl); max-width: 12ch; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--night); padding: var(--space-5) var(--space-10) var(--space-5) 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%); font-size: var(--text-lg); color: var(--electric); font-weight: 400; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding-bottom: var(--space-6); color: var(--steel); max-width: 64ch; }

/* CTA + footer */
.cta { background: var(--electric); padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.cta h2 { color: #fff; font-size: var(--text-xl); }
.cta .btn-primary { background: var(--night); }
.cta .btn-primary:hover { background: #000; }
.site-footer { background: var(--night); color: #b9c2cb; padding-block: var(--space-10); font-size: var(--text-sm); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); }
.footer-row a { color: #fff; }
.footer-row .copy { margin-left: auto; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .section-head, .split-grid, .split-reverse .split-grid, .security-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-photo { margin-right: 0; }
  .hero-photo img { border-radius: var(--radius-lg); }
  .split-reverse .split-photo { order: -1; }
  .plans { grid-template-columns: 1fr; }
  .plan:not(:has(.badge)) h3 { margin-top: 0; }
  .plan-for { min-height: 0; }
}
@media (max-width: 600px) {
  .header-row { gap: var(--space-4); min-height: 64px; }
  .brand img { width: 128px; }
  .site-header .btn-sm { padding: 0 var(--space-4); }
  .steps li { grid-template-columns: 1fr; gap: var(--space-3); }
  .controls { grid-template-columns: 1fr; }
  .controls > div:nth-child(odd) { padding-right: 0; }
  .board-week { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-row .copy { margin-left: 0; }
}

/* Cards as links to prints */
a.card { color: inherit; text-decoration: none; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
a.card:hover { border-color: var(--electric); box-shadow: 0 2px 8px rgba(0, 84, 255, 0.15); }
.lanes { grid-template-columns: repeat(6, minmax(160px, 1fr)); }
.lane { min-height: 230px; }
.board-note { margin-top: var(--space-4); }

/* Prints */
.prints { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.print { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 96px; }
.print:target { outline: 3px solid var(--electric); outline-offset: 2px; }
.print img { width: 100%; aspect-ratio: 772 / 485; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.print figcaption { padding: var(--space-4) var(--space-5) var(--space-5); font-size: var(--text-sm); }
.print figcaption > b { color: var(--night); }
.print figcaption > span { color: var(--steel); }
.print dl { margin: var(--space-3) 0 0; display: grid; gap: var(--space-1); font-size: var(--text-xs); }
.print dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-2); }
.print dt { color: var(--muted); }
.print dd { margin: 0; color: var(--ink); }
@media (max-width: 960px) { .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .print-grid { grid-template-columns: 1fr; } }
.card span strong { color: var(--steel); font-weight: 700; }
.prints .print-grid + .fine { margin-top: var(--space-4); }
