/* Hootworth marketing page. Colors come from the Hootworth UI kit (Figma: Full UI Mockup → Foundations).
   The site itself stays mostly white and neutral so the app's warm cream screens stand out. */

:root {
  /* Site neutrals */
  --bg: #ffffff;
  --bg-soft: #f8f7f4;
  --ink: #282a28;
  --muted: #65635e;
  --line: #e9e5de;
  --line-strong: #d9d2c8;

  /* Brand (from the kit) */
  --accent: #2f654f;
  --button: #39725b;
  --tint: #e5eee7;
  --gold: #d09e47;
  --owl: #24462e;

  /* App surfaces (used only inside product mockups) */
  --app-page: #f3f0ea;
  --app-surface: #fffdfa;
  --app-nested: #ece7df;
  --app-border: #d9d2c8;
  --success: #276345;
  --success-bg: #e5f0e8;
  --warning: #80530e;
  --warning-bg: #fbf0d8;
  --danger: #aa3541;
  --danger-bg: #f9e7e9;
  --info: #345e92;
  --info-bg: #e6eef8;
  --support: #854c33;
  --support-tint: #f3e6db;

  --radius-lg: 28px;
  --shadow-soft: 0 1px 2px rgba(40, 42, 40, .04), 0 12px 32px -16px rgba(40, 42, 40, .18);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
section[id], main[id] { scroll-margin-top: 80px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

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

:focus-visible { outline: 3px solid rgba(47, 101, 79, .4); outline-offset: 3px; border-radius: 8px; }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Owl mascot ---------- */
.owl { display: inline-block; line-height: 0; }
.owl svg { width: 100%; height: auto; overflow: visible; }
.owl-pupil { transition: transform .22s ease-out; }
.owl-eye { transform-box: fill-box; transform-origin: center; }
.owl.is-blinking .owl-eye { animation: blink .19s ease-in-out; }
@keyframes blink { 50% { transform: scaleY(.08); } }
.owl-sparkle { transform-box: fill-box; transform-origin: center; animation: sparkle 3.2s ease-in-out infinite; }
@keyframes sparkle { 0%, 100% { transform: scale(.75) rotate(0); opacity: .7; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--button); color: #fff;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 1px rgba(36, 70, 46, .12), 0 8px 20px -10px rgba(47, 101, 79, .7);
  transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 1px 1px rgba(36, 70, 46, .12), 0 12px 24px -10px rgba(47, 101, 79, .75); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--tint); border-color: #c9dccf; box-shadow: none; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--large { min-height: 56px; padding: 16px 30px; font-size: 18px; }
.btn--block { width: 100%; }
.diamond {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  background: var(--gold); border-radius: 2px; pointer-events: none; opacity: 0;
}
.link-quiet { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.link-quiet:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -18px rgba(40, 42, 40, .35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.owl--mark { width: 40px; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--owl); }
.site-nav { display: flex; gap: 28px; margin-left: 20px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* ---------- Shared type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; position: relative; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__lede { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.quotes .reveal:nth-child(2), .guide-grid .reveal:nth-child(2), .plans .reveal:nth-child(2) { transition-delay: .08s; }
.quotes .reveal:nth-child(3), .guide-grid .reveal:nth-child(3) { transition-delay: .16s; }
.guide-grid .reveal:nth-child(4) { transition-delay: .08s; }
.guide-grid .reveal:nth-child(5) { transition-delay: .16s; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--tint); color: var(--accent); font-size: 14px; font-weight: 600;
}
.pill__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.hero__title {
  margin-top: 22px;
  font-size: clamp(42px, 5.6vw, 66px); line-height: 1.03; letter-spacing: -.04em; font-weight: 800;
}
.underline-gold { position: relative; white-space: nowrap; }
.underline-gold::after {
  content: ""; position: absolute; left: -1%; right: -2%; bottom: -.1em; height: .26em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C70 5 170 4 296 9' stroke='%23D09E47' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .9s .45s cubic-bezier(.6, .1, .2, 1);
}
.hero__title { position: relative; z-index: 0; }
.reveal.is-in .underline-gold::after, html:not(.js) .underline-gold::after { transform: scaleX(1); }
.hero__lede { margin-top: 22px; max-width: 540px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%232F654F' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px;
}
.hero .reveal:nth-child(2) { transition-delay: .06s; }
.hero .reveal:nth-child(3) { transition-delay: .12s; }
.hero .reveal:nth-child(4) { transition-delay: .18s; }
.hero .reveal:nth-child(5) { transition-delay: .24s; }

.hero__visual { position: relative; display: flex; justify-content: center; padding-top: 84px; }
.hero__visual::before {
  content: ""; position: absolute; width: 560px; height: 560px; left: 50%; top: 54%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, #eef4f0 0%, rgba(238, 244, 240, .6) 55%, rgba(255, 255, 255, 0) 100%);
}

/* Phone mockup: the app is laid out at its real 390×844 size, then scaled. */
.phone { --ps: .78; position: relative; width: calc(390px * var(--ps) + 22px); height: calc(844px * var(--ps) + 22px); }
.phone__frame {
  position: relative; width: 100%; height: 100%; padding: 11px;
  border-radius: 48px; background: #1d201d;
  box-shadow: 0 50px 80px -40px rgba(36, 70, 46, .45), 0 24px 40px -24px rgba(0, 0, 0, .35), inset 0 0 0 1.5px #3a3d39;
}
.phone__frame::before {
  content: ""; position: absolute; z-index: 3; top: 20px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; border-radius: 999px; background: #1d201d;
}
.app {
  position: relative; width: 390px; height: 844px; overflow: hidden;
  transform: scale(var(--ps)); transform-origin: top left;
  border-radius: calc(38px / var(--ps));
  background: var(--app-page); color: var(--ink);
  padding: 16px 24px 0; font-size: 14px; line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.app p { margin: 0; }
.app__status { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 12px; font-size: 16px; font-weight: 600; }
.app__status-icons { display: inline-flex; gap: 5px; align-items: flex-end; }
.app__status-icons i { display: block; width: 5px; background: var(--ink); border-radius: 1px; }
.app__status-icons i:nth-child(1) { height: 6px; }
.app__status-icons i:nth-child(2) { height: 9px; }
.app__status-icons i:nth-child(3) { width: 22px; height: 11px; border-radius: 3px; }
.app__greet { margin-top: 18px !important; font-size: 13px; color: var(--muted); }
.app__title { font-size: 25px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px !important; }
.app-card { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 18px; }
.app-period { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 14px 16px; }
.app-period .icon { font-size: 18px; color: var(--muted); }
.app-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.app-strong { font-size: 15px; font-weight: 600; }
.app-sub { font-size: 12.5px; }
.app-meta { font-size: 12px; color: var(--muted); }
.app-money { font-size: 15px; font-weight: 500; }
.app-money--accent { color: var(--accent); font-weight: 600; font-size: 13px; }
.app-remaining { margin-top: 12px; padding: 18px; background: var(--tint); border-color: #cfdfd3; }
.app-remaining__label { font-size: 13px; font-weight: 600; color: var(--accent); }
.app-remaining__value { font-size: 42px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin-top: 6px !important; }
.app-progress { height: 8px; margin: 12px 0 10px; border-radius: 999px; background: #dfe6e0; overflow: hidden; }
.app-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 1.4s var(--ease-out); }
.app-remaining__foot { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.app-tile { padding: 12px 14px; border-radius: 16px; }
.app-tile p:first-child { font-size: 13px; font-weight: 600; }
.app-tile p:last-child { font-size: 17px; font-weight: 500; margin-top: 2px; }
.app-tile--info { background: var(--info-bg); } .app-tile--info p:first-child { color: var(--info); }
.app-tile--support { background: var(--support-tint); } .app-tile--support p:first-child { color: var(--support); }
.app-tile--success { background: var(--success-bg); } .app-tile--success p:first-child { color: var(--success); }
.app-tile--danger { background: var(--danger-bg); } .app-tile--danger p:first-child { color: var(--danger); }
.app__section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 10px; font-size: 17px; font-weight: 600; }
.app-link { font-size: 13px; color: var(--accent); }
.app-bills { display: grid; gap: 0; margin: 0 -8px; }
.app-bill {
  display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px;
  background: var(--app-surface); border-left: 3px solid var(--button); border-bottom: 1px solid var(--app-border);
}
.js .app-bill { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.js .app-bill.is-in { opacity: 1; transform: none; }
.app-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 92px; padding: 10px 6px 18px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: start;
  background: var(--app-surface); border-top: 1px solid var(--app-border);
  font-size: 12px; color: var(--muted);
}
.app-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.app-tabbar .icon { font-size: 22px; stroke-width: 1.8; }
.app-tabbar .is-active { color: var(--accent); font-weight: 600; }
.app-tabbar__add {
  width: 58px; height: 58px; margin: -6px auto 0; border-radius: 50%; justify-content: center;
  background: var(--button); color: #fff; box-shadow: 0 8px 16px -8px rgba(47, 101, 79, .8);
}
.app-tabbar__add .icon { font-size: 26px; stroke-width: 2.2; }

.owl--perch { position: absolute; z-index: 4; width: 118px; top: -92px; right: 22px; animation: perch 5s ease-in-out infinite; }
@keyframes perch { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-1.5deg); } }
.owl--perch .owl-burst { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.float-card {
  position: absolute; z-index: 5; left: -150px; bottom: 262px; width: 182px;
  padding: 14px 16px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  animation: floaty 6s ease-in-out infinite;
  font-variant-numeric: tabular-nums;
}
.float-card__label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.float-card__value { margin-top: 4px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; }
.float-card__sub { font-size: 13px; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Pay schedules band ---------- */
.schedules { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.schedules__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding: 22px 24px; }
.schedules__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.schedules__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.schedules__list li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.schedules__list li::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Problem ---------- */
.owl--section { width: 92px; margin-bottom: 18px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.quote::before {
  content: "“"; display: block; height: 30px; margin-bottom: 8px;
  font-size: 64px; line-height: 1; font-weight: 700; color: var(--gold);
}
.quote blockquote { font-size: 18.5px; line-height: 1.5; color: var(--muted); }
.quote strong { color: var(--ink); font-weight: 650; }

/* ---------- Features ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.feature--flip .feature__copy { order: 2; }
.kicker { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.feature h3 { font-size: clamp(27px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.feature__copy > p:not(.kicker):not(.detail) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.detail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 600;
}
.detail__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); flex: none; }

.demo {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--app-page); border: 1px solid #e4ded4;
  font-variant-numeric: tabular-nums;
}
.replay {
  position: absolute; bottom: -46px; right: 6px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border: 1px solid var(--app-border); border-radius: 999px; background: var(--app-surface);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  opacity: .8; transition: opacity .2s, color .2s;
}
.replay::before { content: "↻"; font-size: 14px; line-height: 1; }
.replay:hover { opacity: 1; color: var(--accent); }

.chip {
  display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: baseline;
  width: 172px; padding: 8px 12px 8px 12px;
  background: var(--app-surface); border: 1px solid var(--app-border); border-left: 3px solid var(--button);
  border-radius: 10px; box-shadow: 0 1px 2px rgba(36, 70, 46, .08);
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.chip b { font-weight: 600; text-align: right; }
.chip i { grid-column: 1 / -1; font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.chip .icon--pin { position: absolute; right: -7px; top: -7px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold); stroke: #fff; stroke-width: 2.4; }
.chip--pinned { position: relative; }
.paycol__slots .chip { width: 100%; }

.demo__tray { position: relative; height: 178px; }
.demo__tray::before {
  content: "Bills to plan"; position: absolute; left: 0; top: -6px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.demo__tray .chip { position: absolute; width: calc(33% - 6px); }
.demo__tray .chip { padding: 8px 10px; column-gap: 8px; font-size: 13px; }
.demo__done {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--success);
  opacity: 0; transform: scale(.94); transition: opacity .4s, transform .5s var(--ease-out); pointer-events: none;
}
.owl--tiny { width: 54px; }
.demo--assign.is-done .demo__done { opacity: 1; transform: none; }
.demo--assign.is-done .demo__tray::before { opacity: 0; }
.demo__tray .chip[data-pos="1"] { left: 0; top: 28px; transform: rotate(-3deg); }
.demo__tray .chip[data-pos="2"] { left: 34%; top: 22px; transform: rotate(2.5deg); }
.demo__tray .chip[data-pos="3"] { left: 67.5%; top: 30px; transform: rotate(-2deg); }
.demo__tray .chip[data-pos="4"] { left: 2%; top: 82px; transform: rotate(2deg); }
.demo__tray .chip[data-pos="5"] { left: 35%; top: 80px; transform: rotate(-3deg); }
.demo__tray .chip[data-pos="6"] { left: 66.5%; top: 86px; transform: rotate(3deg); }
.demo__tray .chip[data-pos="7"] { left: 18%; top: 132px; transform: rotate(-1.5deg); }

.demo__cols { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 0 14px; }
.demo--assign .demo__cols { margin-top: 16px; }
.paycol { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 12px; border-radius: 18px; background: rgba(255, 253, 250, .55); border: 1.5px dashed var(--app-border); }
.paycol__head { display: flex; flex-direction: column; gap: 1px; padding: 2px 4px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.paycol__head b { color: var(--accent); font-size: 16px; }
.paycol__head em { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--warning-bg); color: var(--warning); font-style: normal; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.paycol__slots { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 236px; }
.demo--smart .paycol__slots { min-height: 176px; }
.demo--smart .chip { grid-template-columns: 1fr auto; }
.paycol__foot {
  margin-top: 10px; padding: 7px 10px; border-radius: 10px; font-size: 13px; color: var(--muted);
  background: var(--app-nested); display: flex; justify-content: space-between; gap: 8px;
}
.paycol__foot b { color: var(--ink); font-weight: 600; }
.demo--assign .paycol__foot { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease-out); }
.demo--assign .paycol__foot.is-shown { opacity: 1; transform: none; }
.paycol__foot.is-short { background: var(--danger-bg); color: var(--danger); }
.paycol__foot.is-short b { color: var(--danger); }
.paycol__foot.is-ok { background: var(--success-bg); color: var(--success); }
.paycol__foot.is-ok b { color: var(--success); }
.paycol__foot.is-fresh { animation: fresh .7s ease; }
@keyframes fresh { 0% { transform: scale(.96); } 50% { transform: scale(1.03); } 100% { transform: none; } }
.chip.is-moved { background: var(--warning-bg); border-left-color: var(--gold); transition: background-color .8s .6s, border-color .8s .6s; }

.smart-bar {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 14px;
  border-radius: 14px; background: var(--app-surface); border: 1px solid var(--app-border);
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out);
}
.smart-bar.is-shown { opacity: 1; transform: none; }
.smart-bar > .icon { font-size: 20px; color: var(--gold); stroke-width: 1.8; }
.smart-bar__btn { margin-left: auto; padding: 6px 14px; border-radius: 999px; background: var(--button); color: #fff; font-size: 13px; transition: transform .15s, background-color .2s; }
.smart-bar__btn.is-pressed { transform: scale(.94); background: var(--accent); }
.smart-bar.is-done { color: var(--success); }
.smart-bar.is-done .smart-bar__btn { background: var(--success-bg); color: var(--success); transform: none; }

.demo--left { display: grid; gap: 14px; }
.left-card { padding: 22px; border-radius: 20px; background: var(--tint); border: 1px solid #cfdfd3; }
.left-card__value { font-size: clamp(38px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-top: 6px; }
.left-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app-tile--transfer { background: var(--app-nested); transition: background-color .4s; }
.app-tile--transfer p { color: var(--muted); transition: color .4s; }
.app-tile--transfer.is-alert { background: var(--danger-bg); animation: alert .9s ease; }
.app-tile--transfer.is-alert p { color: var(--danger); }
@keyframes alert { 0% { box-shadow: 0 0 0 0 rgba(170, 53, 65, .45); transform: scale(1); } 30% { transform: scale(1.05); } 100% { box-shadow: 0 0 0 16px rgba(170, 53, 65, 0); transform: scale(1); } }

/* ---------- How it works ---------- */
.steps { position: relative; padding-top: 118px; }
.owl--hopper {
  position: absolute; left: 0; top: 0; width: 100px; opacity: 0;
  transition: transform .7s cubic-bezier(.35, .9, .3, 1), opacity .4s;
}
.owl--hopper.is-ready { opacity: 1; }
.owl--hopper.is-hopping svg { animation: hop .7s cubic-bezier(.35, .9, .3, 1); }
@keyframes hop {
  0% { transform: translateY(0) scale(1, 1); }
  20% { transform: translateY(0) scale(1.06, .92); }
  55% { transform: translateY(-26px) scale(.96, 1.05); }
  85% { transform: translateY(0) scale(1.05, .95); }
  100% { transform: translateY(0) scale(1, 1); }
}
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps__list::before {
  content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%); background-size: 12px 2px;
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong); color: var(--muted);
  font-size: 19px; font-weight: 700; transition: all .45s var(--ease-out);
}
.step.is-done .step__num { background: var(--tint); border-color: #c9dccf; color: var(--accent); }
.step.is-active .step__num { background: var(--button); border-color: var(--button); color: #fff; transform: scale(1.08); box-shadow: 0 10px 20px -10px rgba(47, 101, 79, .8); }
.step h3 { margin-top: 18px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.step p { margin: 6px auto 0; max-width: 240px; font-size: 16px; color: var(--muted); }
.how__cta { margin-top: 56px; text-align: center; }

/* ---------- Guides ---------- */
.guides .section-head { max-width: none; padding-right: 160px; }
.owl--peek { position: absolute; right: 0; bottom: -36px; width: 120px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide { padding: 26px; border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.guide--wide { grid-column: span 2; }
.guide__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--accent); font-size: 21px; }
.guide h3 { margin-top: 16px; font-size: 18.5px; font-weight: 700; letter-spacing: -.015em; }
.guide > p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.guide strong { color: var(--ink); font-weight: 600; }
.tabs__list { display: inline-flex; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.tabs__list [role="tab"] { border: 0; background: transparent; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--button); color: #fff; }
.guide__steps { margin-top: 16px; display: grid; gap: 10px; counter-reset: g; }
.guide__steps li { position: relative; padding-left: 38px; min-height: 26px; font-size: 16px; color: var(--muted); counter-increment: g; }
.guide__steps li::before {
  content: counter(g); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-strong); color: var(--accent); font-size: 13px; font-weight: 700;
}
.swipe { position: relative; height: 58px; margin-top: 18px; border-radius: 12px; overflow: hidden; background: var(--success-bg); }
.swipe__under { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; padding-left: 16px; color: var(--success); font-size: 14px; font-weight: 700; }
.swipe__row {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
  background: var(--app-surface); border: 1px solid var(--app-border); border-left: 3px solid var(--button); border-radius: 12px;
  font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  animation: swipe 4.2s var(--ease-out) infinite;
}
.swipe__row small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.swipe__row b { font-weight: 500; }
@keyframes swipe {
  0%, 18% { transform: translateX(0); }
  38%, 62% { transform: translateX(96px); }
  82%, 100% { transform: translateX(0); }
}
.guide--household { display: flex; flex-direction: column; }
.owl--pair { width: 86px; }
.guide--household h3 { margin-top: 12px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.plan--featured { border: 2px solid var(--button); box-shadow: 0 30px 60px -36px rgba(47, 101, 79, .55); }
.plan__badge {
  position: absolute; top: -14px; left: 30px; padding: 4px 12px; border-radius: 999px;
  background: var(--warning-bg); color: var(--warning); border: 1px solid #edd29c; font-size: 13px; font-weight: 700;
}
.plan h3 { font-size: 20px; font-weight: 700; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.plan__price b { font-size: 46px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); font-size: 15.5px; }
.plan__list { display: grid; gap: 12px; align-content: start; margin: 24px 0 30px; flex: 1; }
.plan__list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.plan__list li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; transform: translateY(3px);
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%232F654F' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 11px;
}
.pricing__note { margin-top: 28px; text-align: center; font-size: 15.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq .section-head { position: sticky; top: 104px; margin-bottom: 0; }
.owl--faq { width: 120px; margin-top: 32px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%232F654F' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 14px;
  border: 1px solid var(--line); transition: transform .3s var(--ease-out), background-color .2s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--tint); }
.faq__list summary:hover { color: var(--accent); }
.faq__list details p { padding: 0 48px 24px 4px; font-size: 16.5px; color: var(--muted); }
.faq__list details[open] p { animation: faqIn .35s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Final CTA ---------- */
.final { padding-top: 24px; }
.final__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 64px 32px 60px; border-radius: 36px; background: var(--bg-soft); border: 1px solid var(--line);
}
.owl--final { width: 124px; margin-bottom: 20px; }
.final__inner.is-in .owl--final { animation: pop .9s .2s cubic-bezier(.3, 1.6, .5, 1) both; }
.final__inner.is-in .owl--final .owl-burst { animation: twinkle 2.4s 1s ease-in-out infinite; }
@keyframes pop { 0% { transform: translateY(18px) scale(.85); } 100% { transform: none; } }
.final h2 { max-width: 640px; font-size: clamp(32px, 4.2vw, 50px); }
.final__inner > p:not(.final__fine) { margin-top: 16px; max-width: 520px; font-size: 18.5px; color: var(--muted); }
.final .btn { margin-top: 30px; }
.final__fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 48px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.brand--footer .owl--mark { width: 34px; }
.brand--footer .brand__name { font-size: 17px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-footer__nav a:hover { color: var(--ink); }
.site-footer__fine { margin-left: auto; font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (min-width: 961px) and (max-width: 1180px) {
  .float-card { display: none; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { max-width: 640px; }
  .hero__visual { padding-top: 96px; }
  .float-card { left: -150px; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 36px; }
  .feature--flip .feature__copy { order: 0; }
  .feature__copy { max-width: 620px; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide--wide { grid-column: span 2; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq .section-head { position: relative; top: 0; padding-right: 130px; }
  .owl--faq { position: absolute; right: 0; top: 0; width: 100px; margin: 0; }
}
@media (max-width: 759px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero__lede { font-size: 17.5px; }
  .float-card { left: -112px; bottom: 250px; width: 160px; padding: 12px 14px; }
  .float-card__value { font-size: 21px; }
  .feature + .feature { margin-top: 80px; }
  .demo { padding: 20px 16px; border-radius: 22px; }
  .steps { padding-top: 0; }
  .steps__list { grid-template-columns: 1fr; gap: 28px; padding-right: 88px; }
  .steps__list::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--line-strong) 50%, transparent 50%); background-size: 2px 12px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; }
  .step__num { grid-row: span 2; }
  .step h3 { margin-top: 4px; }
  .step p { margin: 4px 0 0; }
  .owl--hopper { width: 76px; }
  .guides .section-head { padding-right: 96px; }
  .owl--peek { top: 2px; right: -6px; bottom: auto; width: 84px; }
  .detail { border-radius: 16px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide--wide { grid-column: auto; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .faq .section-head { padding-right: 100px; }
  .owl--faq { width: 84px; }
  .faq__list details p { padding-right: 8px; }
  .final__inner { padding: 48px 20px; border-radius: 28px; }
  .site-footer__fine { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .phone { --ps: .7; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__title { font-size: 40px; }
  .underline-gold { white-space: normal; }
  .float-card { display: none; }
  .owl--perch { width: 100px; top: -78px; }
  .left-tiles { grid-template-columns: 1fr 1fr; }
  .left-tiles .app-tile--transfer { grid-column: span 2; }
  .chip, .demo__tray .chip { padding: 7px 8px; column-gap: 6px; font-size: 12.5px; }
  .chip i { font-size: 11px; }
  .demo__tray { height: 232px; }
  .demo__tray .chip { width: 46%; }
  .demo__tray .chip[data-pos="1"] { left: 0; top: 26px; }
  .demo__tray .chip[data-pos="2"] { left: 52%; top: 24px; }
  .demo__tray .chip[data-pos="3"] { left: 2%; top: 78px; }
  .demo__tray .chip[data-pos="4"] { left: 51%; top: 80px; }
  .demo__tray .chip[data-pos="5"] { left: 1%; top: 130px; }
  .demo__tray .chip[data-pos="6"] { left: 52%; top: 132px; }
  .demo__tray .chip[data-pos="7"] { left: 25%; top: 182px; }
  .paycol { padding: 8px; }
  .paycol__head { flex-direction: column; gap: 0; padding: 2px 2px 8px; font-size: 12.5px; }
  .paycol__slots { min-height: 256px; }
  .demo--smart .paycol__slots { min-height: 200px; }
  .paycol__foot { flex-direction: column; gap: 0; font-size: 12px; }
  .site-header__actions { gap: 14px; }
  .brand__name { font-size: 18px; }
}

@media (max-width: 380px) {
  .site-header__actions .link-quiet { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .replay { display: none; }
}

/* ---------- Legal & contact pages ---------- */
.legal-page { padding: 56px 0 96px; }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.legal__meta { margin-top: 10px; color: var(--muted); font-size: 15px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal__toc a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none;
}
.legal__toc a:hover { background: var(--tint); }
.legal h2 { margin-top: 44px; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; }
.legal h3 { margin-top: 28px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { color: #44463f; font-size: 16.5px; line-height: 1.7; }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.legal li { margin-top: 6px; }
.legal li::marker { color: var(--gold); }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal__caps { text-transform: uppercase; font-size: 14.5px !important; letter-spacing: .02em; }
.legal__part { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal__part-title { margin-top: 0 !important; font-size: 28px !important; letter-spacing: -.025em !important; }
section[id].legal__part, #terms { scroll-margin-top: 88px; }
.site-footer__nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.owl--contact { width: 110px; margin-bottom: 18px; }
.contact h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.contact__lede { margin: 16px 0 30px; max-width: 540px; font-size: 18.5px; color: var(--muted); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; width: 100%; text-align: left; }
.contact__card { padding: 26px; border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.contact__card h2 { font-size: 18.5px; font-weight: 700; letter-spacing: -.015em; }
.contact__card p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.contact__card a { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 759px) {
  .legal-page { padding: 40px 0 72px; }
  .contact__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .contact .btn--large { font-size: 16px; padding: 14px 20px; }
}
.legal p.eyebrow { margin-top: 0; color: var(--accent); font-size: 13px; line-height: 1.6; }
.legal p.legal__meta { color: var(--muted); font-size: 15px; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact__actions .btn--ghost { min-width: 172px; }
.contact__status { min-height: 24px; margin-top: 12px; font-size: 14.5px; color: var(--success); }
@media (max-width: 520px) { .contact__actions .btn { flex: 1 1 100%; } }

/* Brand display face: Baloo 2 Extra Bold for the wordmark and the hero headline. */
.brand__name, .hero__title { font-family: "Baloo 2", Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; }
.brand__name { font-size: 22px; letter-spacing: -.01em; line-height: 1; }
.brand--footer .brand__name { font-size: 19px; }
.hero__title { letter-spacing: -.02em; line-height: 1.02; }
@media (max-width: 759px) { .brand__name { font-size: 21px; } }
.hero__title .underline-gold::after { bottom: .1em; }
.hero__title { font-size: clamp(46px, 6.1vw, 72px); line-height: .92; }
@media (max-width: 520px) { .hero__title { font-size: 44px; } }
/* Headline breaks after "planned" and "payday." at every width. */
.hero__line { display: block; }
.hero__title { text-wrap: wrap; }
.hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero__title { font-size: clamp(34px, 10.8vw, 42px); } }
