:root {
  color-scheme: light dark;
  --bg: #fbf8f6;
  --card: #ffffff;
  --ink: #231a1c;
  --sub: #6e6064;
  --line: #ede5e1;
  --brand: #e4572e;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --green: #047857;
  --green-bg: #d1fae5;
  --rev-bg: #c2410c;
  --rev-ink: #ffffff;
  --rev-tick-bg: #ffffff;
  --rev-tick-ink: #c2410c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16100f;
    --card: #211918;
    --ink: #f3eae6;
    --sub: #a8999a;
    --line: #3a2d2b;
    --brand: #ff8c6b;
    --accent: #ff8c6b;
    --accent-ink: #1f1210;
    --green: #6ee7b7;
    --green-bg: #053b2c;
    --rev-bg: #ff8c6b;
    --rev-ink: #1f1210;
    --rev-tick-bg: #1f1210;
    --rev-tick-ink: #ff8c6b;
  }
}

* {
  box-sizing: border-box;
}

html {
  /* iOS Safari (and Chrome-on-iOS, which is WebKit too) auto-inflates
     small text for readability by default. Doesn't affect the SVG
     lockup (not text), but still worth keeping off site-wide so body
     copy renders at the size actually set, not a silently bumped one. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  color: var(--accent);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  gap: 16px;
}

/* The wordmark is a fixed SVG (real Inter glyph outlines, see
   apps/marketing/brand-source/), not live text -- it renders
   byte-identical on every device/font; width follows from the SVG's own
   baked-in aspect ratio once height is set. Strapline removed
   2026-11-03: height went 32px -> 25.9px with the viewBox trimmed from
   34.74 to 28.07 tall, so the wordmark itself stays the same size. */
.brand {
  display: block;
}

.brand svg {
  display: block;
  height: 25.9px;
  width: auto;
}

/* Reserved for a stick-figure illustration — deliberately empty for now,
   owner to guide direction/placement before anything is drawn in here. */
.figure-slot {
  flex: 1 1 auto;
  min-height: 32px;
}

@media (max-width: 560px) {
  .figure-slot {
    display: none;
  }
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
}

.btn.small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

section {
  padding: 48px 0;
}

/* .wrap's padding shorthand (specificity 0,1,0) beats the rule above, so
   sections had no vertical padding at all. Restore it without touching the
   side gutter. */
section.wrap {
  padding-block: 40px;
}

/* Harbour hero (2026-11-04): navy band behind the header and hero in both
   themes, hero text flush left on the same edge as the logo, phone on the
   right. padding-block (not the padding shorthand) so the .wrap side gutter
   survives -- the shorthand used to wipe it and push the hero and the CTA
   card 20px left of the logo. */
.hero-band {
  background: #2a1a1f;
  color: #f8eeea;
  --ink: #f8eeea;
  --sub: #cdb9b6;
  --brand: #ff8c6b;
  --accent: #ff8c6b;
  --accent-ink: #2a1a1f;
  border-radius: 16px;
  overflow: hidden;
  margin-block: 20px 0;
  margin-inline: max(20px, calc((100% - 960px) / 2));
}

section.hero {
  padding-block: 32px 44px;
  padding-inline: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}

.hero p.sub {
  color: var(--sub);
  font-size: 18px;
  max-width: 520px;
  margin: 0 0 20px;
}

.hero .btn {
  margin-top: 8px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

#never-passes {
  scroll-margin-top: 16px;
}

.badge {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--sub);
  margin: 0 0 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.trust-item p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.faq-item p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

section.cta {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding-block: 40px;
  padding-inline: 24px;
  margin-inline: max(20px, calc((100% - 960px) / 2));
}

section.cta h2 {
  margin-bottom: 12px;
}

section.cta p {
  color: var(--sub);
  margin: 0 0 24px;
}

footer.site {
  padding: 32px 0 48px;
  color: var(--sub);
  font-size: 13px;
  text-align: center;
}

footer.site a {
  color: var(--sub);
}

footer.site .links {
  margin-top: 8px;
}

footer.site .links a {
  margin: 0 8px;
}

/* Keep long prose to a readable measure now the page column is wider. */
.faq-item {
  max-width: 720px;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Hero phone: the app's receive screen, drawn in HTML/SVG ---- */
.phone {
  --ph-bg: #fbf8f6;
  --ph-card: #fff;
  --ph-ink: #231a1c;
  --ph-sub: #6e6064;
  --ph-line: #ede5e1;
  --ph-brand: #e4572e;
  --ph-accent: #c2410c;
  --ph-on-accent: #fff;
  font-size: 11px;
  width: 24em;
  aspect-ratio: 9 / 19;
  flex: none;
  line-height: 1.3;
  color: var(--ph-ink);
}

@media (prefers-color-scheme: dark) {
  .phone {
    --ph-bg: #16100f;
    --ph-card: #211918;
    --ph-ink: #f3eae6;
    --ph-sub: #a8999a;
    --ph-line: #3a2d2b;
    --ph-brand: #ff8c6b;
    --ph-accent: #ff8c6b;
    --ph-on-accent: #1f1210;
  }
}

.ph-bez {
  height: 100%;
  background: #140e10;
  border-radius: 3.6em;
  padding: 0.8em;
  box-shadow: inset 0 0 0 0.15em #33262a, 0 2em 4em rgba(0, 0, 0, 0.3);
}

.ph-scr {
  height: 100%;
  background: var(--ph-bg);
  border-radius: 2.9em;
  overflow: hidden;
  position: relative;
}

.ph-isl {
  position: absolute;
  top: 0.9em;
  left: 50%;
  transform: translateX(-50%);
  width: 7em;
  height: 2em;
  border-radius: 1em;
  background: #140e10;
}

.ph-top {
  padding: 3.6em 1.6em 0.7em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ph-logo {
  height: 1.7em;
  width: auto;
  display: block;
}

.ph-logo path:nth-of-type(1) { fill: var(--ph-ink); }
.ph-logo path:nth-of-type(2) { fill: var(--ph-brand); }

.ph-lo {
  white-space: nowrap;
  font-size: 0.95em;
  border: 1px solid var(--ph-line);
  border-radius: 0.8em;
  padding: 0.45em 0.9em;
  color: var(--ph-sub);
}

.ph-tabs {
  display: flex;
  border-bottom: 1px solid var(--ph-line);
}

.ph-tab {
  flex: 1;
  text-align: center;
  padding: 0.8em 0 0.9em;
  font-size: 1.05em;
  color: var(--ph-sub);
  border-bottom: 2px solid transparent;
}

.ph-tab.ph-cur {
  color: var(--ph-accent);
  border-bottom-color: var(--ph-accent);
  font-weight: 600;
}

.ph-pg {
  padding: 1.6em;
}

.ph-h {
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.8em;
}

.ph-card {
  background: var(--ph-card);
  border: 1px solid var(--ph-line);
  border-radius: 1.2em;
  padding: 1.5em 1.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
  text-align: center;
}

.ph-name {
  font-size: 1.6em;
  font-weight: 700;
}

.ph-amt {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1;
}

.ph-qr {
  width: 13.5em;
  height: 13.5em;
  border-radius: 0.6em;
  display: block;
}

.ph-sub {
  font-size: 1.15em;
  color: var(--ph-sub);
}

.ph-badge {
  display: inline-block;
  border-radius: 99px;
  padding: 0.3em 0.9em;
  font-size: 1.1em;
  font-weight: 700;
  background: var(--ph-line);
  color: var(--ph-sub);
}

/* Phone width: text first, phone cropped under it. */
@media (max-width: 760px) {
  section.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 0;
  }

  .hero-visual {
    height: 418px;
    align-items: flex-start;
    overflow: hidden;
  }

  .phone {
    font-size: 10px;
  }
}

/* ---- 2026-11-04 redesign: header actions, three-line trust strip, icon tabs,
   rotating phone (sell screen <-> curtains deposit QR) ---- */
.header-actions { display: flex; gap: 8px; align-items: center; }
.btn.small.ghost { padding: 7px 15px; }

.ph-tab { display: flex; flex-direction: column; align-items: center; gap: 0.3em; padding: 0.7em 0 0.8em; }
.ph-ti { width: 1.9em; height: 1.9em; display: block; }

.ph-slides { display: grid; }
.ph-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.ph-slide.ph-on { opacity: 1; visibility: visible; }
.ph-form { align-items: stretch; text-align: left; gap: 0.6em; }
.ph-lab { font-size: 1.1em; color: var(--ph-sub); }
.ph-fld { border: 1px solid var(--ph-line); background: var(--ph-bg); border-radius: 0.7em; padding: 0.8em 0.9em; font-size: 1.1em; color: var(--ph-sub); }
.ph-go { background: var(--ph-accent); color: var(--ph-on-accent); border-radius: 0.7em; padding: 0.9em; text-align: center; font-weight: 700; font-size: 1.2em; }
.ph-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6em; margin: 1.2em 0 0.5em; font-size: 1.05em; white-space: nowrap; }
.ph-link { color: var(--ph-accent); font-size: 0.9em; }
.ph-saved { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.ph-saved div { background: var(--ph-card); border: 1px solid var(--ph-line); border-radius: 0.9em; padding: 0.8em 0.9em; font-size: 1.15em; }
.ph-saved small { display: block; color: var(--ph-sub); font-size: 0.9em; }
@media (prefers-reduced-motion: reduce) { .ph-slide { transition: none; } }

/* ---- 2026-11-05: benefit row (was the thin tick strip under the hero).
   Sits under "your money never passes through breeze"; three pills, the
   middle one reversed. ---- */
.benefits {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-block: 32px;
  margin-inline: max(20px, calc((100% - 960px) / 2));
}

.benefits-row {
  list-style: none;
  margin: 0;
  padding: 28px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.benefits-row li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.benefits-row i {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}

.benefits-row i svg {
  width: 16px;
  height: 16px;
}

.benefits-row li.rev {
  background: var(--rev-bg);
  border-color: var(--rev-bg);
  color: var(--rev-ink);
}

.benefits-row li.rev i {
  background: var(--rev-tick-bg);
  color: var(--rev-tick-ink);
}

@media (max-width: 560px) {
  .benefits-row li {
    flex: 1 1 100%;
    border-radius: 14px;
  }
}
