/* outwithout.app: the app's 14 Oct 2026 tokens (out-app/src/ui/theme.ts `ui`, `uiRadius`, `uiType`), Figtree only. */
:root {
  --bg: #f3f8f6;
  --card: #ffffff;
  --sunk: #e7f0ee;
  --ink: #16343c;
  --mid: #56707a;
  --soft: #8ea1a7;
  --primary: #1e7a85;
  --primary-pressed: #17646d;
  --primary-tint: #d7eef0;
  --teal: #38bdd2;
  --teal-deep: #1a6f79;
  --teal-tint: #d8f2f6;
  --lime: #ddf06a;
  --lime-deep: #6d7d0e;
  --lime-tint: #f1f8cc;
  --orange: #f07a24;
  --error: #a63a1f;
  --error-tint: #ffe6d6;
  --hairline: rgba(22, 52, 60, 0.1);
  --shadow: 0 4px 10px rgba(27, 74, 82, 0.07);
  --shadow-lift: 0 14px 34px rgba(27, 74, 82, 0.14);
  --r-card: 22px;
  --r-tile: 16px;
  --r-button: 30px;
  --gutter: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 600 16px/1.45 Figtree, ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* the "out" wordmark, from the app's own mark */
.mark {
  display: block; width: 62px; aspect-ratio: 415 / 174; background: var(--primary);
  -webkit-mask: url(/img/out-mark.png) center / contain no-repeat; mask: url(/img/out-mark.png) center / contain no-repeat;
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 248, 246, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled { border-bottom-color: var(--hairline); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: block; padding: 6px 0; border-radius: 8px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--mid); font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: 999px; transition: background-color 0.15s, color 0.15s;
}
.nav a:hover { background: var(--sunk); color: var(--ink); }
.top-cta {
  margin-left: auto; text-decoration: none; font-weight: 800; font-size: 15px;
  background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px;
}
.top-cta:hover { background: #0e252b; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: var(--r-button);
  font: 800 18px/1.2 Figtree, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, transform 0.15s var(--ease), box-shadow 0.15s;
}
.btn .arr { width: 20px; height: 20px; transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn.primary { width: 100%; background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(30, 122, 133, 0.28); }
.btn.primary:hover { background: var(--primary-pressed); }
.btn.quiet { min-height: 46px; padding: 0 20px; font-size: 16px; background: var(--primary-tint); color: var(--teal-deep); }
.btn.quiet:hover { background: #c6e6e9; }
.btn.light { background: #fff; color: var(--ink); white-space: nowrap; }
.btn.light:hover { background: var(--lime-tint); }

/* ---------- hero ---------- */
.hero { padding: 8px 0 40px; }
.hero-in { display: grid; gap: 18px; }
.hero-art .panel {
  position: relative; height: 176px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #38bdd2 0%, #7fd6b4 55%, #ddf06a 100%);
}
.hero-art .panel::after { /* a soft path for him to walk on */
  content: ''; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 110px;
  background: rgba(255, 255, 255, 0.28); border-radius: 50%;
}
.otto {
  position: absolute; z-index: 1; left: 50%; bottom: 8px; width: 138px; height: auto;
  transform: translateX(-30%);
  animation: breathe 4.2s var(--ease) infinite;
  filter: drop-shadow(0 8px 10px rgba(22, 52, 60, 0.16));
}
@keyframes breathe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }

.float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 8px; border-radius: 999px; white-space: nowrap;
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow-lift);
}
.float img { width: 24px; height: 24px; }
.float svg { width: 20px; height: 20px; color: var(--primary); }
.f-points { left: 14px; top: 18px; background: var(--lime); color: var(--ink); }
.f-route { left: 14px; bottom: 18px; background: #fff; color: var(--ink); padding-left: 11px; }

.hero-copy { display: grid; gap: 14px; }
.kicker {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em; color: var(--teal-deep);
  background: var(--teal-tint); padding: 6px 12px; border-radius: 999px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(56, 189, 210, 0.25); }
h1 { font-weight: 800; font-size: clamp(36px, 10.4vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
h1 span { display: block; color: var(--primary); }
.lede { color: var(--mid); font-size: 17px; line-height: 1.45; max-width: 34em; }

/* the sign-up */
.signup { margin-top: 6px; max-width: 480px; outline: none; }
.join { display: grid; gap: 12px; }
.join input[type='email'] {
  width: 100%; height: 56px; padding: 0 18px;
  font: 700 17px Figtree, system-ui, sans-serif; color: var(--ink);
  background: var(--card); border: 2px solid var(--hairline); border-radius: var(--r-tile);
  box-shadow: var(--shadow); transition: border-color 0.15s, box-shadow 0.15s;
}
.join input[type='email']::placeholder { color: var(--soft); }
.join input[type='email']:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(56, 189, 210, 0.22); }
.join input[aria-invalid='true'] { border-color: var(--error); }

.platform { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.platform legend { float: left; font-size: 14px; font-weight: 700; color: var(--mid); margin-right: 2px; }
.platform legend span { color: var(--soft); font-weight: 600; }
.seg { display: flex; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--card); border: 2px solid var(--hairline);
  font-weight: 800; font-size: 15px; color: var(--ink); transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.seg span svg { width: 0; height: 16px; opacity: 0; transition: width 0.18s var(--ease), opacity 0.18s; }
.seg label:hover span { border-color: rgba(30, 122, 133, 0.35); }
.seg input:checked + span { background: var(--primary-tint); border-color: var(--primary); color: var(--teal-deep); }
.seg input:checked + span svg { width: 16px; opacity: 1; }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.join .btn .spin {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite;
}
.join.busy .btn { cursor: progress; }
.join.busy .btn .spin { display: block; }
.join.busy .btn .arr { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.note { font-size: 13px; color: var(--mid); }
.error {
  font-size: 14px; font-weight: 700; color: var(--error);
  background: var(--error-tint); padding: 10px 14px; border-radius: 12px;
}

.done {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  background: var(--card); border-radius: var(--r-card); padding: 18px 18px 18px 14px; box-shadow: var(--shadow-lift);
  border: 2px solid var(--primary-tint);
  animation: rise 0.35s var(--ease) both;
}
.done[hidden] { display: none; }
.done img { width: 92px; height: auto; }
.done-title { font-size: 22px; font-weight: 800; line-height: 1.15; outline: none; }
.done-body { color: var(--mid); font-size: 15px; margin: 6px 0 12px; overflow-wrap: anywhere; }
.done-body b { color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.proof { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.proof li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--mid); }
.proof svg { width: 18px; height: 18px; padding: 3px; color: #fff; background: var(--teal); border-radius: 50%; }

/* ---------- sections ---------- */
section { position: relative; }
.how, .screens, .faq { padding: 56px 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
h2 { font-weight: 800; font-size: clamp(28px, 7.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; max-width: 18em; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.step {
  position: relative; background: var(--card); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 4px; align-items: start;
}
.step .tile { grid-row: span 2; }
.step h3 { font-size: 20px; font-weight: 800; line-height: 1.25; padding: 2px 34px 0 0; }
.step p { color: var(--mid); font-size: 15px; }
.num {
  position: absolute; top: 14px; right: 18px; font-size: 40px; font-weight: 800; line-height: 1;
  color: var(--sunk);
}
.tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-tile); }
.tile svg { width: 28px; height: 28px; }
.tile.teal { background: var(--primary-tint); color: var(--primary); }
.tile.blue { background: var(--teal-tint); color: var(--teal-deep); }
.tile.lime { background: var(--lime); color: var(--ink); }
.tile.white { background: #fff; color: var(--primary); }

/* screens: a sideways scroller on phones, a row on desktop */
.screens { background: linear-gradient(180deg, var(--bg) 0%, #e2f1f0 45%, var(--bg) 100%); }
.shots {
  list-style: none; margin: 28px 0 0; padding: 6px var(--gutter) 20px;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.shots li { flex: 0 0 auto; width: min(62vw, 250px); scroll-snap-align: start; }
.shots figure { position: relative; margin: 0; }
.phone {
  background: var(--ink); padding: 7px; border-radius: 34px; box-shadow: var(--shadow-lift);
}
.phone img { width: 100%; height: auto; border-radius: 27px; background: #fff; }
figcaption { margin-top: 14px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.f-shot { right: -8px; top: auto; bottom: 30%; background: var(--lime); color: var(--ink); font-size: 16px; }

/* businesses */
.biz { padding: 8px 0; }
.biz-card {
  display: grid; gap: 18px; align-items: center;
  background: var(--primary); color: #fff; border-radius: 28px; padding: 26px 22px;
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(221, 240, 106, 0.28) 0%, rgba(221, 240, 106, 0) 55%);
}
.biz-card h2 { font-size: clamp(24px, 6vw, 32px); color: #fff; }
.biz-card p { color: rgba(255, 255, 255, 0.86); margin-top: 8px; max-width: 34em; }
.biz-card .btn { justify-self: start; }

/* FAQ */
.faq-in { display: grid; gap: 24px; }
.qs { display: grid; gap: 10px; }
details { background: var(--card); border-radius: var(--r-tile); box-shadow: var(--shadow); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 20px; font-size: 17px; font-weight: 800; border-radius: var(--r-tile);
}
summary::-webkit-details-marker { display: none; }
summary svg {
  flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%;
  background: var(--sunk); color: var(--primary); transition: transform 0.25s var(--ease), background-color 0.15s;
}
details[open] summary svg { transform: rotate(45deg); background: var(--primary-tint); }
details p { padding: 0 20px 20px; color: var(--mid); font-size: 15px; max-width: 40em; }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 44px 0 calc(32px + env(safe-area-inset-bottom)); margin-top: 24px; }
.foot-in { display: grid; gap: 28px; font-size: 14px; }
.foot .mark { background: #fff; width: 70px; }
.foot-brand p { margin-top: 10px; font-weight: 700; color: #fff; }
.foot-privacy h2 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: 0; }
.foot-privacy p + p { margin-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.foot-links a { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.3); }
.foot-links a:hover { border-bottom-color: var(--lime); }
.foot-links span { color: rgba(255, 255, 255, 0.6); }

/* ---------- larger phones / tablets ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-art .panel { height: 220px; }
  .otto { width: 186px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; padding: 24px; row-gap: 8px; }
  .step .tile { grid-row: auto; margin-bottom: 10px; }
  .biz-card { grid-template-columns: auto 1fr auto; padding: 28px 32px; gap: 24px; }
  .biz-card .btn { justify-self: end; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  html { scroll-padding-top: 84px; }
  .top-in { height: 72px; }
  .mark { width: 70px; }
  .nav { display: flex; }
  .top-cta { margin-left: 8px; }

  .hero { padding: 32px 0 72px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .hero-art { order: 2; }
  .hero-art .panel { height: 560px; border-radius: 40px; }
  .hero-art .panel::after { bottom: -90px; height: 200px; }
  .otto { width: 400px; bottom: 34px; transform: translateX(-50%); }
  .f-points { left: 28px; top: auto; bottom: 30px; font-size: 18px; padding: 10px 18px 10px 10px; }
  .f-points img { width: 32px; height: 32px; }
  .f-route { left: 28px; top: 32px; bottom: auto; font-size: 17px; padding: 11px 18px 11px 14px; }
  .f-route svg { width: 22px; height: 22px; }
  .hero-copy { gap: 20px; }
  .lede { font-size: 20px; }
  .join { grid-template-columns: 1fr auto; column-gap: 10px; }
  .join input[type='email'] { grid-column: 1; grid-row: 1; height: 60px; }
  .join .btn.primary { grid-column: 2; grid-row: 1; width: auto; min-height: 60px; }
  .join .platform, .join .error, .join .note { grid-column: 1 / -1; }
  .signup { max-width: 540px; }

  .how, .screens, .faq { padding: 96px 0; }
  .steps { gap: 20px; margin-top: 40px; }
  .step { padding: 30px; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 16px; }

  .shots {
    max-width: 1180px; margin: 44px auto 0; padding: 6px var(--gutter) 10px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; overflow: visible;
  }
  .shots li { width: auto; }
  .shots li:nth-child(even) { margin-top: 40px; }
  .screens h2 { max-width: 24em; }
  .f-shot { right: -18px; font-size: 18px; padding: 10px 18px 10px 10px; }
  .f-shot img { width: 30px; height: 30px; }
  figcaption { font-size: 18px; }

  .biz { padding: 24px 0; }
  .biz-card { padding: 36px 44px; border-radius: 34px; }

  .faq-in { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
  summary { padding: 22px 22px 22px 26px; font-size: 19px; }
  details p { padding: 0 26px 24px; font-size: 16px; }

  .foot { padding: 60px 0 48px; }
  .foot-in { grid-template-columns: 1fr 1.6fr; column-gap: 56px; }
  .foot-links { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
}

@media (hover: hover) {
  .step, .shots .phone { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
  .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
}

/* reduce motion: nothing moves, fades only */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .done { animation: fade 0.2s linear both !important; animation-duration: 0.2s !important; }
  .join.busy .btn .spin { animation: none; border-top-color: rgba(255, 255, 255, 0.35); border-color: #fff; opacity: 0.8; }
  .step:hover { transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
