/* Oarka design system.
   Tokens are copied verbatim from "Oarka Design System.html" — ink on
   paper, one kelp accent, Satoshi everywhere. Anything below the token
   blocks is site furniture built on top of them, never a new colour.

   Oarka is the company; Stow is the device. The wordmark in the nav and
   footer is Oarka's; the product copy talks about Stow tags and pads. */

:root {
  /* Ink — warm-fog neutrals (from the wordmark's near-black) */
  --ink-950: oklch(17% 0.006 80);
  --ink-900: oklch(24% 0.007 80);
  --ink-700: oklch(40% 0.009 80);
  --ink-500: oklch(54% 0.01 80);
  --ink-400: oklch(66% 0.01 80);
  --ink-300: oklch(79% 0.008 80);
  --ink-200: oklch(88% 0.006 80);
  --ink-100: oklch(93.5% 0.005 80);
  --ink-50: oklch(96.5% 0.004 80);
  --paper: oklch(99.2% 0.002 80);

  /* Kelp — the accent */
  --kelp-700: oklch(40% 0.085 180);
  --kelp-600: oklch(48% 0.095 180);
  --kelp-500: oklch(55% 0.10 180);
  --kelp-400: oklch(68% 0.09 180);
  --kelp-200: oklch(87% 0.055 180);
  --kelp-100: oklch(93.5% 0.035 180);
  --kelp-50: oklch(97% 0.018 180);

  /* Semantic hues */
  --coral-600: oklch(56% 0.15 27);
  --coral-700: oklch(48% 0.15 27);
  --coral-100: oklch(93% 0.04 27);
  --amber-600: oklch(68% 0.13 70);
  --amber-800: oklch(50% 0.11 70);
  --amber-100: oklch(94% 0.055 85);
  --sea-600: oklch(52% 0.10 235);
  --sea-100: oklch(93% 0.03 235);

  /* Semantic aliases */
  --text-display: var(--ink-950);
  --text-body: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);
  --text-inverse: var(--paper);
  --text-accent: var(--kelp-600);
  --surface-page: var(--paper);
  --surface-card: #fff;
  --surface-sunken: var(--ink-50);
  --surface-inverse: var(--ink-950);
  --surface-accent-soft: var(--kelp-50);
  --border-default: var(--ink-200);
  --border-subtle: var(--ink-100);
  --border-strong: var(--ink-300);
  --accent: var(--kelp-600);
  --accent-hover: var(--kelp-700);
  --accent-soft: var(--kelp-100);
  --danger: var(--coral-600);
  --danger-hover: var(--coral-700);
  --danger-soft: var(--coral-100);
  --warning: var(--amber-600);
  --warning-text: var(--amber-800);
  --warning-soft: var(--amber-100);
  --success: var(--kelp-600);
  --success-soft: var(--kelp-100);
  --info: var(--sea-600);
  --info-soft: var(--sea-100);
  --focus-ring: 0 0 0 3px var(--kelp-200);

  /* Type */
  --font-sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  --text-display-size: 48px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-black: 900;
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-body: 1.55;
  --tracking-display: -0.02em;
  --tracking-tight: -0.01em;
  --tracking-caps: 0.08em;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --gutter: 24px;
  --measure: 64ch;

  /* Shape + motion */
  --radius-control: 6px;
  --radius-card: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgb(17 20 24 / 0.05), 0 3px 10px rgb(17 20 24 / 0.05);
  --shadow-pop: 0 2px 6px rgb(17 20 24 / 0.08), 0 12px 32px rgb(17 20 24 / 0.14);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;

  /* Site-only: the marketing hero runs larger than the 48px doc display,
     on the same -0.02em tracking and 1.1 leading. */
  --text-hero: clamp(40px, 6.4vw, 76px);
  --shell: 1120px;
}

@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; font-style: normal; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; font-style: normal; }

/* ── Base ─────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font: var(--weight-regular) var(--text-base)/var(--leading-body) var(--font-sans);
}
a { color: var(--text-accent); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-control); }
summary::-webkit-details-marker { display: none; }

/* ── Shell ────────────────────────────────────────────────────────── */

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-20); }

.field-label {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  margin: 0;
}

.display {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--text-display);
  margin: 0;
  text-wrap: balance;
}
.h2-lg {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--text-display);
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--text-display);
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  color: var(--text-display);
  margin: 0;
}
.lede { font-size: var(--text-md); color: var(--text-muted); margin: 0; max-width: 54ch; }
.body { margin: 0; max-width: var(--measure); }
.muted { color: var(--text-muted); }

/* ── Controls ─────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font: var(--weight-medium) var(--text-base)/1 var(--font-sans);
  border-radius: var(--radius-control);
  padding: 13px 20px;
  border: 1px solid transparent;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--text-inverse); }
.btn-primary:hover { background: var(--accent-hover); color: var(--text-inverse); }
.btn-secondary { background: var(--surface-card); color: var(--text-body); border-color: var(--border-default); }
.btn-secondary:hover { background: var(--surface-sunken); color: var(--text-body); }
.btn-ghost { background: transparent; color: var(--text-body); }
.btn-ghost:hover { background: var(--surface-sunken); color: var(--text-body); }
.btn-inverse { background: var(--paper); color: var(--ink-950); }
.btn-inverse:hover { background: var(--ink-100); color: var(--ink-950); }
.btn-oncta { background: var(--ink-950); color: var(--paper); }
.btn-oncta:hover { background: var(--paper); color: var(--ink-950); }
.btn-sm { font-size: var(--text-sm); padding: 10px 16px; }
.btn-lg { font-size: var(--text-md); padding: 16px 28px; }
.btn-block { display: block; width: 100%; text-align: center; }

.badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.badge-accent { background: var(--accent-soft); color: var(--kelp-700); }
.badge-quiet { background: var(--surface-sunken); color: var(--text-muted); }

.input {
  font: inherit;
  font-size: var(--text-base);
  padding: 12px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-control);
  background: var(--surface-card);
  color: var(--text-body);
  width: 100%;
}
.input:focus { outline: none; box-shadow: var(--focus-ring); border-color: var(--accent); }

.row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }

/* ── Chrome ───────────────────────────────────────────────────────── */

.topbar {
  background: var(--surface-inverse);
  color: var(--ink-300);
  text-align: center;
  font-size: var(--text-sm);
  padding: 10px var(--space-6);
}
.topbar a { color: var(--kelp-400); text-decoration: underline; text-underline-offset: 2px; }
.topbar a:hover { color: var(--paper); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--surface-page) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.nav-mark { display: flex; align-items: center; }
.nav-mark img { width: 104px; display: block; }
.nav-links { display: flex; gap: var(--space-6); font-size: var(--text-base); font-weight: var(--weight-medium); }
.nav-links a { color: var(--text-body); }
.nav-links a:hover { color: var(--text-accent); }
.nav-actions { display: flex; gap: var(--space-2); align-items: center; }

.site-footer { background: var(--surface-inverse); color: var(--ink-300); padding-block: var(--space-16) var(--space-8); }
.site-footer a { color: var(--ink-300); }
.site-footer a:hover { color: var(--paper); }
.footer-grid { display: flex; justify-content: space-between; gap: var(--space-16); flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); max-width: 300px; }
.footer-brand img { width: 132px; }
.footer-contact { align-self: flex-start; }
.footer-cols { display: flex; gap: var(--space-16); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--text-base); }
.footer-head {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--paper);
}
.footer-base {
  border-top: 1px solid color-mix(in oklab, var(--ink-300) 22%, transparent);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--ink-400);
}
.footer-base a { color: var(--ink-400); }

.inverse { background: var(--surface-inverse); color: var(--ink-300); }
.inverse .h2, .inverse .h2-lg, .inverse .display { color: var(--paper); }

/* ── Page furniture ───────────────────────────────────────────────── */
/* Section order, anchors and composition follow the original Wardli
   storefront one-for-one; only the styling is Oarka's. Where a section
   used to be a text/image pair, the text column simply runs on its own
   measure — the section itself is unchanged. */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  padding-block: var(--space-20) var(--space-12);
}
.hero .display { max-width: 15ch; }
.hero-lede { font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--text-muted); margin: 0; max-width: 52ch; }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.strip {
  display: flex;
  gap: var(--space-4);
  align-items: baseline;
  flex-wrap: wrap;
  padding-block: var(--space-2) var(--space-16);
}

/* Three pillars — Tag. Place. Relax. */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); padding-bottom: var(--space-20); }
.pillar {
  background: var(--surface-accent-soft);
  border: 1px solid var(--kelp-100);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.pillar-word {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--text-display);
}
.pillar-dot { color: var(--accent); }
.pillar .body { color: var(--text-muted); }

.feature-link { font-weight: var(--weight-medium); font-size: var(--text-md); margin-top: var(--space-2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); text-align: center; }
.stat { display: flex; flex-direction: column; gap: var(--space-2); }
.stat-figure {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--paper);
}
.stat-label { font-size: var(--text-base); color: var(--ink-300); }

.why { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.quote {
  margin: 0;
  max-width: 44ch;
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-display);
  text-wrap: balance;
}
.quote-by { display: flex; flex-direction: column; gap: var(--space-1); }
.quote-name { font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--text-body); }

/* Full-bleed accent CTA, as on the original */
.cta { background: var(--accent); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.cta .display { color: var(--paper); max-width: 18ch; }
.cta-lede { margin: 0; font-size: var(--text-md); color: color-mix(in oklab, var(--paper) 88%, transparent); }

.faq { display: flex; flex-direction: column; }
.qa { border-bottom: 1px solid var(--border-subtle); }
.qa:first-of-type { border-top: 1px solid var(--border-subtle); margin-top: var(--space-8); }
.qa-q {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-5);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--text-display);
}
.qa-q:hover { color: var(--text-accent); }
.qa-sign { color: var(--text-accent); font-size: var(--text-lg); transition: transform var(--duration-base) var(--ease-out); }
.qa[open] .qa-sign { transform: rotate(45deg); }
.qa-a { margin: 0 0 var(--space-6); max-width: var(--measure); color: var(--text-muted); }

.signup { background: var(--surface-accent-soft); border-top: 1px solid var(--kelp-100); }
.signup-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.signup-form { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; margin-top: var(--space-2); }
.signup-form .input { width: 320px; }
.signup-msg { margin: 0; font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--kelp-700); }

/* ── Product page ─────────────────────────────────────────────────── */

.crumb { padding-top: var(--space-8); font-size: var(--text-base); color: var(--text-muted); }
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--text-accent); }
.crumb span { color: var(--text-body); }

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 620px;
  padding-block: var(--space-10) var(--space-20);
}
.product .display { font-size: clamp(38px, 5vw, 60px); }
.product-intro { font-size: var(--text-md); color: var(--text-muted); }
.product > .btn-block,
.product > .buy-trust,
.product > .buy-total,
.product > .buy-qty,
.product > .buy-price { width: 100%; }

.buy-price { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; padding-top: var(--space-2); }
.buy-figure {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  color: var(--text-display);
}
.buy-qty { display: flex; align-items: center; gap: var(--space-5); }
.stepper { display: flex; align-items: center; border: 1px solid var(--border-default); border-radius: var(--radius-control); overflow: hidden; }
.stepper button {
  border: none;
  background: var(--surface-card);
  color: var(--text-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  width: 42px; height: 42px;
  line-height: 1;
  transition: background var(--duration-fast) var(--ease-out);
}
.stepper button:hover { background: var(--surface-sunken); }
.stepper-val { min-width: 52px; text-align: center; font-weight: var(--weight-medium); font-size: var(--text-md); color: var(--text-display); }
.buy-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-5);
  margin-top: var(--space-1);
}
.buy-total-figure { font-size: var(--text-xl); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); color: var(--text-display); }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ticks li { position: relative; padding-left: var(--space-6); color: var(--text-muted); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.buy-trust { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-6); margin-top: var(--space-4); font-size: var(--text-sm); }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-16); margin-top: var(--space-8); }
.spec {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
  border-top: 1px solid color-mix(in oklab, var(--ink-300) 22%, transparent);
}
.spec-k { font-size: var(--text-base); color: var(--ink-300); }
.spec-v { font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--paper); text-align: right; }

.inbox { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }

/* ── Prose + confirmation pages ───────────────────────────────────── */

.prose { padding-block: var(--space-16) var(--space-20); display: flex; flex-direction: column; gap: var(--space-4); }
.prose h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text-display);
  margin: var(--space-12) 0 0;
  scroll-margin-top: 96px;
}
.prose p, .prose li { margin: 0; max-width: var(--measure); color: var(--text-muted); }
.prose ul { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }

.note { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; padding-block: var(--space-20); }
.note-tick {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--kelp-700);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}

/* ── Responsive ───────────────────────────────────────────────────── */
/* The original markup opened with a hard `min-width: 1100px`, so the
   site did not work on a phone at all. Removing the image columns meant
   re-doing every grid regardless. */

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-10) var(--space-6); }
  .specs { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .footer-cols { gap: var(--space-8); }
}
@media (max-width: 560px) {
  .section { padding-block: var(--space-12); }
  .hero { padding-block: var(--space-12) var(--space-8); }
  .footer-grid { gap: var(--space-10); }
  .buy-trust { grid-template-columns: 1fr; }
  .signup-form, .signup-form .input, .signup-form .btn { width: 100%; }
}
