/* Whereabouts marketing site.
   Palette and type are the app's Harbour design system (src/theme/colors.ts, Manrope).
   IBM Plex Mono is the one addition: it is the voice of the transcript, the raw words the parser reads. */
:root {
  --paper: #f4f6f8;
  --card: #ffffff;
  --muted-surface: #e6ebef;
  --ink: #13202a;
  --ink2: #5a6b78;
  --muted: #8797a3;
  --line: #d6dee4;
  --accent: #0e7490;
  --accent-soft: #d8eef4;
  --accent-ink: #0b5e75;
  --accent-bright: #5cc8e0;
  --found: #2e9e5b;
  --found-soft: #dff3e7;
  --found-ink: #1f7a44;
  --warning: #c98b1a;
  --warning-soft: #f7ecd4;
  --warning-ink: #7a5208;
  --danger: #cf4a3f;
  --slate: #3e6a9e;
  --spruce: #3f7a5e;
  --indigo: #5a57ad;
  --plum: #8a4a8c;
  --dune: #8f6e2e;
  --steel: #5f6e7c;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.5; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--warning); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink2); }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink2); max-width: 48ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 246, 248, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; align-items: center; font-weight: 700; font-size: 0.95rem; }
.nav-links a { color: var(--ink2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .btn { padding: 10px 18px; }
.nav-links .btn-ink, .nav-links .btn-ink:hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform 0.25s, opacity 0.25s; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; border-bottom: 0; }
  .nav.open .nav-links { display: flex; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.95rem; border: 0; cursor: pointer; text-decoration: none !important; min-height: 44px; transition: transform 0.15s var(--ease), background 0.2s; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 20px; height: 20px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-badges .btn { min-width: 190px; }
.store-badges small { display: block; font-weight: 500; font-size: 0.7rem; opacity: 0.75; line-height: 1; }
.store-badges .label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn.soon { opacity: 0.55; cursor: default; }
.btn.soon:hover { transform: none; }

/* Hero */
.hero { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 20%, rgba(92, 200, 224, 0.16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.72); }
.hero .eyebrow { color: var(--accent-bright); }
.hero-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin-top: 16px; }
.hero-tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.8); }
.hero-tags li::before { content: "•"; color: var(--accent-bright); margin-right: 7px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; } }

/* Signature: the live parser. Type what you'd say; watch it become chips. */
.demo { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 22px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); }
.demo-label { font-family: var(--mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.demo-input { width: 100%; font-family: var(--mono); font-size: 0.95rem; color: #fff; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-sm); padding: 14px 16px; outline: none; }
.demo-input:focus { border-color: var(--accent-bright); }
.demo-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.examples button { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: rgba(255, 255, 255, 0.8); cursor: pointer; min-height: 34px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.examples button:hover, .examples button[aria-pressed="true"] { background: var(--accent-bright); color: var(--ink); border-color: var(--accent-bright); }
.parsed { margin-top: 18px; display: grid; gap: 12px; }
.parsed .group { display: grid; gap: 6px; }
.parsed .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.parsed .chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 34px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; animation: pop 0.35s var(--ease) both; }
.pchip.item { background: var(--accent-bright); color: var(--ink); border-color: transparent; }
.pchip.container { background: rgba(92, 200, 224, 0.18); border-color: rgba(92, 200, 224, 0.4); }
.pchip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); }
.pchip.new::after { content: "new"; font-family: var(--mono); font-size: 0.62rem; font-weight: 500; opacity: 0.7; letter-spacing: 0.06em; }
.parsed .sep { color: rgba(255, 255, 255, 0.4); font-weight: 800; }
.parsed .empty { color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; }
@keyframes pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
.later { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.16); }
.later .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; }
.found { display: flex; align-items: center; gap: 12px; background: rgba(46, 158, 91, 0.12); border: 1px solid rgba(46, 158, 91, 0.45); border-radius: var(--radius-sm); padding: 12px 14px; }
.found .tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--found); color: #fff; padding: 4px 8px; border-radius: 6px; flex: none; }
.found .t { font-weight: 800; }
.found .s { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.demo-foot { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); margin: 14px 0 0; }

/* Trust marks */
.marks { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 22px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.8rem; color: var(--ink2); }
.marks span::before { content: "✓"; color: var(--found-ink); font-weight: 700; margin-right: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; color: var(--accent-ink); display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink2); margin: 0; font-size: 0.98rem; }
.step .row { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.step .row > div:nth-child(2) { min-width: 0; flex: 1; }
.step .thumb { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--ink); color: #fff; }
.step .thumb svg { width: 22px; height: 22px; }
.step .row .t { font-weight: 800; font-size: 0.95rem; line-height: 1.2; }
.step .row .s { font-size: 0.8rem; color: var(--ink2); }
.step .row .s.mono { color: var(--ink2); }
.crumb { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--ink2); flex-wrap: wrap; }
.crumb .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.crumb b { color: var(--ink); }
.chipstat { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.chipstat.found { background: var(--found-soft); color: var(--found-ink); }
.chipstat.lent { background: var(--warning-soft); color: var(--warning-ink); }
.chipstat.soft { background: var(--accent-soft); color: var(--accent-ink); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mini-chips span { font-size: 0.78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.mini-chips span.place { background: var(--muted-surface); color: var(--ink); }
.mini-chips span.sep { background: transparent; color: var(--muted); padding: 5px 0; }

/* Feature grid */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(19, 32, 42, 0.1); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--ink2); margin: 0; font-size: 0.98rem; }
.card .pro { display: inline-block; margin-left: 8px; vertical-align: middle; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 3px 7px; border-radius: 6px; }

/* Feature rows (alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
.feature-media img { width: min(300px, 70vw); border-radius: 30px; box-shadow: 0 30px 70px rgba(19, 32, 42, 0.2); transition: transform 0.5s var(--ease); }
.feature:hover .feature-media img { transform: translateY(-6px); }
.feature ul { padding-left: 20px; color: var(--ink2); margin: 0 0 1em; }
.feature li { margin-bottom: 8px; }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; } .feature.flip .feature-media { order: 0; } }

/* Screens strip */
.strip { --pad: max(20px, calc((100vw - var(--max)) / 2 + 20px)); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--pad) 28px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; width: 230px; }
.strip img { border-radius: 24px; box-shadow: 0 18px 44px rgba(19, 32, 42, 0.16); }
.strip figcaption { font-size: 0.85rem; font-weight: 700; color: var(--ink2); margin-top: 12px; text-align: center; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.strip-nav button:hover { background: var(--accent-soft); border-color: var(--accent); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 8px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 18px; justify-content: center; margin-top: 36px; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.plan.pro { border: 2px solid var(--ink); }
.plan .badge { position: absolute; top: -13px; right: 22px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding: 9px 0 9px 32px; position: relative; color: var(--ink2); border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--found-soft); color: var(--found-ink); font-size: 0.8rem; font-weight: 800; display: grid; place-items: center; }
.plan .fine { font-size: 0.85rem; color: var(--ink2); margin-top: 16px; }
.plan .btn { width: 100%; margin-top: 20px; }

/* Privacy band */
.band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 200, 224, 0.2), transparent 70%); pointer-events: none; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.72); }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; }
.band li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 0.95rem; }
.band .btn-accent { background: var(--accent-bright); color: var(--ink); }
.band .btn-accent:hover { background: #7dd6ea; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent-ink); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink2); padding-bottom: 16px; margin: 0; }

/* Final CTA */
.cta { text-align: center; padding: 88px 20px; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.035em; max-width: 18ch; margin-inline: auto; }
.cta .store-badges { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--ink2); font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { margin: 0 0 12px; font-size: 0.8rem; font-family: var(--mono); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); }
.foot-grid a { display: block; color: var(--ink2); font-weight: 700; padding: 4px 0; }
.foot-co { font-size: 0.85rem; margin: 0; }
.foot-co a { display: inline; padding: 0; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.78rem; }

/* Prose pages */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink2); }
.prose ul { padding-left: 22px; }
.prose .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2em; font-family: var(--mono); }
.prose strong { color: var(--ink); }
.prose .callout { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 16px 20px; color: var(--ink); }
.prose .callout p { color: var(--ink); margin: 0; }
