/* =========================================================================
   Wingman Focus — Landing v2
   Hero w/ half-cropped phone · feature block grid · scrollytelling day
   Built on tokens.css
   ========================================================================= */

:root {
  --im-recv: #E9E9EB;
  --im-recv-ink: #000;
  --im-sent-top: #2A9BFF;
  --im-sent-bot: #0A84FF;
  --im-sent-ink: #FFFFFF;
  --im-stamp: #8E8E93;
  --im-hair: #E6E6EA;
  --sms-green: #34C759;

  /* blue-only accent set (no purple) */
  --wm-grad-blue: linear-gradient(135deg, #0E5FA2 0%, #3E8BFF 100%);
  --wm-grad-blue-deep: linear-gradient(135deg, #0E5FA2 0%, #1F6FEB 100%);

  --site-maxw: 1160px;
  --site-gutter: clamp(20px, 5vw, 56px);
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--wm-font-sans);
  background: var(--wm-bg);
  color: var(--wm-fg);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--wm-primary); text-decoration: none; }
a:hover { color: var(--wm-primary-strong); }
img { display: block; max-width: 100%; }
::selection { background: var(--wm-primary); color: #fff; }

:focus-visible { outline: 2.5px solid var(--wm-accent-screen); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: var(--wm-r-pill); }

.wrap { width: 100%; max-width: var(--site-maxw); margin: 0 auto; padding-inline: var(--site-gutter); }

/* Material Symbols helper */
.mi {
  font-family: var(--wm-font-icon);
  font-weight: normal; font-style: normal; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap;
  -webkit-font-smoothing: antialiased; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  display: inline-block; vertical-align: middle;
}
.mi.fill { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
/* while the icon font loads, hide the raw ligature text and hold the final 1em box */
.icons-loading .mi { visibility: hidden; max-width: 1em; overflow: hidden; }

/* iMessage app icon (green squircle + white bubble) */
.imsg-ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }

/* ------------------------------------------------------------------ type */
h1, h2, h3 { color: var(--wm-slate-900); letter-spacing: -0.4px; line-height: 1.12; }
.display { font-size: clamp(42px, 6.6vw, 80px); font-weight: 800; letter-spacing: -2.2px; line-height: 0.98; }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.06; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--wm-fg-muted); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--wm-primary); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .mi { font-size: 16px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --_pad-y: 13px; --_pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--wm-font-sans); font-size: 15px; font-weight: 700; letter-spacing: 0.1px;
  padding: var(--_pad-y) var(--_pad-x); border-radius: var(--wm-r-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--wm-dur-base) var(--wm-ease-out), box-shadow var(--wm-dur-base) var(--wm-ease-out),
              background var(--wm-dur-base) var(--wm-ease-out);
}
.btn .mi { font-size: 20px; }
.btn-primary { background: var(--wm-primary); color: #fff; box-shadow: var(--wm-shadow-cta); }
.btn-primary:hover { background: var(--wm-primary-strong); transform: translateY(-1px); color: #fff; }
.btn-grad { background: var(--wm-grad-blue); color: #fff; box-shadow: var(--wm-shadow-cta); }
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(14,95,162,0.5); color: #fff; }
.btn-light { background: #fff; color: var(--wm-primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.24); color: var(--wm-primary); }
.btn-outline { background: rgba(255,255,255,0.75); border-color: var(--wm-slate-200); color: var(--wm-slate-800); }
.btn-outline:hover { background: #fff; color: var(--wm-slate-900); transform: translateY(-1px); box-shadow: var(--wm-shadow-card); }
.btn-lg { --_pad-y: 17px; --_pad-x: 32px; font-size: 16.5px; }
.btn-lg .mi { font-size: 22px; }
.btn-lg .imsg-ic { width: 23px; height: 23px; }
.btn-sm { --_pad-y: 9px; --_pad-x: 16px; font-size: 14px; }
.btn-sm .imsg-ic { width: 18px; height: 18px; }

.num-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.3);
  padding: 11px 16px; border-radius: var(--wm-r-pill); cursor: pointer;
  font-family: var(--wm-font-sans);
  transition: background var(--wm-dur-fast);
}
.num-chip:hover { background: rgba(255,255,255,0.2); }
.num-chip .mi { font-size: 18px; }
.num-chip.on-light { background: #fff; border-color: var(--wm-slate-200); color: var(--wm-slate-700); }
.num-chip.on-light:hover { background: var(--wm-slate-50); }
.num-chip.on-light .mi { color: var(--wm-slate-400); }

/* ------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background var(--wm-dur-base), border-color var(--wm-dur-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248,250,252,0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(226,232,240,0.6);
}
/* 1fr | auto | 1fr keeps the links at true viewport center even though the
   brand and the button group have different widths; columns are pinned so
   hiding .nav-links on mobile doesn't let .nav-right auto-place mid-bar */
.nav-in { height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-in .brand { grid-column: 1; justify-self: start; }
.nav-in .nav-links { grid-column: 2; justify-self: center; }
.nav-in .nav-right { grid-column: 3; justify-self: end; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.4px; color: var(--wm-slate-900); }
.brand:hover { color: var(--wm-slate-900); }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--wm-fg-muted); transition: color var(--wm-dur-fast); }
.nav-links a:hover { color: var(--wm-slate-900); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  /* slides under the transparent sticky nav so the ridge photo runs to the
     very top of the viewport instead of stopping at the nav's bottom edge */
  margin-top: calc(-1 * var(--nav-h));
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + clamp(24px, 4vh, 48px));
  /* aerial ridge photo: Paul Pastourmatzis via Unsplash (Unsplash License —
     free commercial use). Washed toward the slate canvas so text stays
     primary; the fade to solid bg reads as mist and hands off cleanly into
     the dark features section. */
  background:
    linear-gradient(180deg,
      rgba(248,250,252,0.9) 0%,
      rgba(248,250,252,0.62) 30%,
      rgba(248,250,252,0.34) 62%,
      #F8FAFC 96%),
    url("hero-ridges.jpg") center / cover no-repeat;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2px;
  color: var(--wm-slate-700); background: var(--wm-surface);
  border: 1px solid var(--wm-slate-200);
  padding: 8px 16px 8px 13px; border-radius: var(--wm-r-pill);
  box-shadow: var(--wm-shadow-card);
  margin-bottom: clamp(16px, 2.4vh, 26px);
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--sms-green); box-shadow: 0 0 0 0 rgba(52,199,89,0.5); animation: livedot 2.4s infinite; }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,0.5);} 70%{ box-shadow: 0 0 0 7px rgba(52,199,89,0);} 100%{ box-shadow:0 0 0 0 rgba(52,199,89,0);} }
.hero-pill b { font-weight: 700; color: var(--wm-slate-800); }
.hero-pill .sep { color: var(--wm-slate-300); }

.hero h1 { margin-bottom: clamp(18px, 2.8vh, 28px); }
.hero h1 .grad { background: var(--wm-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* phone — always bleeds off the bottom of the viewport */
.hero-phone {
  position: relative; flex: 1; width: 100%;
  margin-top: clamp(20px, 3.5vh, 40px);
  min-height: 250px;
  container-type: size;
}
.hero-phone::before {
  content: ""; position: absolute; left: 50%; top: -10%; transform: translateX(-50%);
  width: min(760px, 92vw); aspect-ratio: 1.5;
  background: radial-gradient(circle, rgba(62,139,255,0.20) 0%, rgba(62,139,255,0) 70%);
  pointer-events: none;
}
.hero-phone .phone {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  /* width derived from available height so the bottom always overflows the fold */
  width: clamp(336px, calc((100cqh + 110px) * 0.4848), 560px);
  max-width: 92vw;
}

/* ------------------------------------------------------- iPhone device frame */
.phone {
  position: relative; z-index: 1;
  width: var(--phone-w, 336px); aspect-ratio: 320 / 660; flex: none;
  /* titanium band */
  background: linear-gradient(150deg, #494c54 0%, #1e1f24 26%, #2c2e35 52%, #16171b 76%, #41444c 100%);
  border-radius: 58px; padding: 3.5px;
  box-shadow: 0 40px 90px -30px rgba(15,23,42,0.55), 0 2px 6px rgba(15,23,42,0.25);
}
.phone-in {
  height: 100%; background: #050506; border-radius: 54.5px; padding: 9px;
  box-shadow: inset 0 0 2px 1px rgba(255,255,255,0.06);
}
.phone .screen {
  position: relative; height: 100%; border-radius: 46px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
/* side buttons */
.ip-side { position: absolute; background: linear-gradient(90deg, #3a3d44, #23252b); border-radius: 3px; width: 3.5px; z-index: 0; }
.ip-side.action { left: -3px; top: 15.5%; height: 22px; }
.ip-side.vol-up { left: -3px; top: 22%; height: 36px; }
.ip-side.vol-dn { left: -3px; top: 28.5%; height: 36px; }
.ip-side.pwr { right: -3px; top: 24%; height: 58px; }
/* dynamic island */
.ip-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 31%; max-width: 108px; height: 27px; background: #000; border-radius: 99px; z-index: 9;
}
.ip-island::after {
  content: ""; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #1e2438 0%, #05060a 60%);
}
/* status bar — time + radios vertically centered on the island's axis */
.ip-status {
  flex: none; height: 47px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 25px 0 30px; color: #000; z-index: 5; position: relative;
}
.ip-time { font-size: 14.5px; font-weight: 700; letter-spacing: -0.2px; font-variant-numeric: tabular-nums; line-height: 1; }
.ip-icons { width: 62px; height: 13px; display: block; flex: none; }
/* home indicator */
.ip-home {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 37%; max-width: 122px; height: 5px; border-radius: 99px; background: #000; opacity: 0.85; z-index: 9;
}

/* floating identity (no nav bar) — brand avatar with white ring + name pill
   overlapping its bottom edge; conversation area runs edge to edge */
.im-id { position: relative; z-index: 6; flex: none; display: flex; flex-direction: column; align-items: center; margin: 2px 0 -2px; }
.im-id .av {
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--wm-grad-blue); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(14,95,162,0.32);
}
.im-id .av img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.im-id .tag {
  position: relative; z-index: 1; margin-top: -9px;
  background: #fff; border-radius: 999px; padding: 4px 13px;
  font-size: 12px; font-weight: 700; color: #111;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.im-body { flex: 1; overflow: hidden; padding: 10px 12px 6px; background: #fff; }

.im-input {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 20px;
  background: #fff;
}
.im-input .plus { width: 30px; height: 30px; flex: none; border-radius: 999px; background: var(--im-recv); display: flex; align-items: center; justify-content: center; }
.im-input .plus .mi { font-size: 18px; color: #6b6b70; }
.im-input .field { flex: 1; border: 1.5px solid var(--im-hair); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: var(--im-stamp); text-align: left; }
.im-input .send { width: 30px; height: 30px; flex: none; border-radius: 999px; background: var(--im-sent-bot); display: flex; align-items: center; justify-content: center; }
.im-input .send .mi { color: #fff; font-size: 18px; }

/* --------------------------------------------------------- iMessage bubbles */
.thread { display: flex; flex-direction: column; gap: 2px; }
.bubble {
  max-width: 84%; width: fit-content; padding: 8px 13px; border-radius: 19px;
  font-size: 14.5px; line-height: 1.34; word-wrap: break-word; text-align: left;
}
.bubble.recv { background: var(--im-recv); color: var(--im-recv-ink); align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble.sent { background: linear-gradient(180deg, var(--im-sent-top), var(--im-sent-bot)); color: var(--im-sent-ink); align-self: flex-end; border-bottom-right-radius: 5px; }
.bubble.sent + .bubble.recv, .bubble.recv + .bubble.sent,
.attach + .bubble.recv, .bubble.sent + .attach { margin-top: 9px; }
.daystamp { align-self: center; font-size: 11px; font-weight: 600; color: var(--im-stamp); margin: 6px 0; }
.daystamp b { color: #6b6b70; font-weight: 700; }
.delivered { align-self: flex-end; font-size: 10.5px; font-weight: 600; color: var(--im-stamp); margin: 2px 3px 3px; }

/* hero thread — looping live chat (driven by v2.js) */
.hero .thread { transition: opacity 0.4s ease, transform 0.5s var(--wm-ease-out); will-change: transform; }
.hero .thread.swap { opacity: 0; }

/* the hero phone is cropped at the fold, so the thread translates up as
   messages arrive (chat-style). The identity floats OVER the conversation:
   outgoing lines slide up behind the semi-transparent avatar + name pill and
   dissolve under a frosted strip that tops out at the status bar / island. */
.hero .im-id { position: absolute; top: 49px; left: 0; right: 0; margin: 0; }
.hero .im-id .av { opacity: 0.9; }
.hero .im-id .tag {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
/* conversation area now runs from the status bar down; padding keeps new
   conversations starting below the floating identity */
.hero .im-body { position: relative; padding-top: 94px; }
.hero .im-body::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 104px; z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
}
.hero .thread .msg-anim { opacity: 0; transform: translateY(12px) scale(0.97); transition: opacity 0.45s var(--wm-ease-out), transform 0.45s var(--wm-ease-out); }
.hero .thread .msg-anim.on { opacity: 1; transform: none; }
.hero .thread .bubble.sent.msg-anim { transform-origin: 100% 100%; }
.hero .thread .bubble.recv.msg-anim { transform-origin: 0 100%; }

/* iMessage typing indicator */
.bubble.typing { display: inline-flex; align-items: center; gap: 4px; padding: 11px 14px; }
.bubble.typing .td { width: 7px; height: 7px; border-radius: 999px; background: #9B9BA1; animation: tdpulse 1.2s ease-in-out infinite; }
.bubble.typing .td:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing .td:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdpulse { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* recap card inside a thread (attachment-style) */
.recap-card {
  align-self: flex-start; width: 88%;
  background: #fff; border: 1px solid var(--im-hair); border-radius: 16px;
  padding: 12px 13px; box-shadow: var(--wm-shadow-card);
}
.recap-card .rc-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--wm-fg-faint); margin-bottom: 9px; }
.recap-card .rc-head .mi { font-size: 15px; color: var(--wm-primary); }
.recap-card .rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recap-card .rc-stat { background: var(--wm-slate-50); border: 1px solid var(--wm-slate-100); border-radius: 10px; padding: 8px 10px; }
.recap-card .rc-stat .v { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; color: var(--wm-slate-900); }
.recap-card .rc-stat .v.up { color: var(--wm-success-strong); }
.recap-card .rc-stat .k { font-size: 10.5px; font-weight: 600; color: var(--wm-fg-muted); margin-top: 1px; }
.recap-card .rc-streak { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding: 7px 10px; border-radius: 10px; background: var(--wm-warning-soft); font-size: 12px; font-weight: 700; color: #92600A; }
.recap-card .rc-streak .mi { font-size: 16px; color: var(--wm-warning); }

/* ================================================================ features (bento) */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .h2 { margin-bottom: 14px; }

.features-sec { background: var(--wm-slate-900); }
.features-sec .h2 { color: #fff; }
.features-sec .section-head .lead { color: rgba(255,255,255,0.55); }
.features-sec .section-head { margin-bottom: clamp(30px, 4vw, 48px); }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bcard {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--wm-ease-out), box-shadow 0.45s var(--wm-ease-out);
}
.bcard:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 24px 48px -20px rgba(2,12,27,0.55);
}
.sp2 { grid-column: span 2; }
.sp3 { grid-column: span 3; }
.sp4 { grid-column: span 4; }

.bcard h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 8px; }
.bcard .b-desc { font-size: 15px; line-height: 1.5; max-width: 52ch; }
.b-ink h3 { color: #fff; }
.b-ink .b-desc { color: rgba(255,255,255,0.78); }
.b-paper h3 { color: var(--wm-slate-900); }
.b-paper .b-desc { color: var(--wm-fg-muted); }

/* card tones — blue family only */
.c-royal { background: var(--wm-primary); }
.c-mist  { background: var(--wm-primary-soft); }
.c-sky   { background: var(--wm-accent-screen); }
.c-slate { background: var(--wm-slate-800); border: 1px solid rgba(255,255,255,0.07); }
.c-navy  { background: #0B3557; }
.c-paper { background: var(--wm-slate-100); }

.b-chip { width: 40px; height: 40px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center; }
.b-chip .mi { font-size: 21px; }
.b-ink .b-chip { background: rgba(255,255,255,0.16); color: #fff; }
.b-paper .b-chip { background: rgba(15,23,42,0.07); color: var(--wm-slate-700); }

.b-link { margin-top: 16px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; width: fit-content; }
.b-link .mi { font-size: 17px; transition: transform var(--wm-dur-fast) var(--wm-ease-out); }
.b-link:hover .mi { transform: translateX(3px); }

/* A — monitoring: thought-bubble blob, text bottom */
.b-blob {
  position: relative; margin: auto; width: 104px; height: 96px; border-radius: 34px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -14px rgba(3,20,38,0.45);
  transition: transform 0.5s var(--wm-ease-out);
}
.bcard:hover .b-blob { transform: translateY(-5px) rotate(-3deg) scale(1.05); }
.b-blob > .mi { font-size: 44px; color: var(--wm-primary); }
.b-blob::after {
  content: ""; position: absolute; left: -13px; bottom: -9px;
  width: 17px; height: 17px; border-radius: 999px; background: #fff;
}
.b-blob .b-live {
  position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--sms-green); border: 3.5px solid var(--wm-primary);
}
.bcard h3.b-bottom { margin-top: auto; }

/* B — intervention: floating verdicts center */
.b-mid {
  align-self: center; width: min(400px, 100%);
  margin-block: auto; padding-block: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.verdict { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px -14px rgba(14,60,105,0.35); transition: transform 0.5s var(--wm-ease-out); }
.bcard:hover .verdict.ok { transform: translateX(-7px) rotate(-0.5deg); }
.bcard:hover .verdict.flag { transform: translateX(7px) rotate(0.5deg); }
.verdict .v-app { flex: 1; min-width: 0; }
.verdict .v-name { font-size: 13.5px; font-weight: 700; color: var(--wm-slate-800); }
.verdict .v-time { font-size: 12px; color: var(--wm-fg-muted); margin-top: 1px; }
.verdict .v-chip { flex: none; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.verdict .v-chip .mi { font-size: 13px; }
.verdict.ok .v-chip { background: var(--wm-slate-100); color: var(--wm-slate-500); }
.verdict.flag .v-chip { background: var(--wm-warning-soft); color: #92600A; }

/* C — plan: sample schedule with auto-block indicators */
.sched { margin-block: auto; padding-block: 18px; display: flex; flex-direction: column; gap: 9px; }
.sched-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 13px; padding: 9px 13px;
  transition: transform 0.5s var(--wm-ease-out) calc(var(--i, 0) * 60ms);
}
.bcard:hover .sched-row { transform: translateX(6px); }
.sched-row.blocked { background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.42); }
.sched-time { flex: none; width: 42px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.75); }
.sched-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-block {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  background: #fff; color: var(--wm-primary); padding: 4px 9px; border-radius: 999px;
}
.sched-block .mi { font-size: 12px; }

/* D — session: sent-bubble stack */
.d-bubs { margin-block: auto; padding-block: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.d-bub {
  background: linear-gradient(180deg, var(--im-sent-top), var(--im-sent-bot)); color: #fff;
  font-size: 14.5px; font-weight: 500; padding: 9px 15px; border-radius: 19px;
  transition: transform 0.5s var(--wm-ease-out) calc(var(--i, 0) * 70ms);
}
.bcard:hover .d-bub { transform: translateX(6px); }

/* E — blocks: big glyph */
.b-glyph { margin: auto; font-size: 92px; color: rgba(255,255,255,0.85); font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48; transition: transform 0.5s var(--wm-ease-out); }
.bcard:hover .b-glyph { transform: rotate(-8deg) scale(1.08); }

/* F — CTA: messages-in-a-thought-bubble */
.b-think {
  position: relative; margin: auto; width: 118px; height: 108px; border-radius: 38px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -18px rgba(15,23,42,0.3);
}
.b-think .imsg-ic { width: 52px; height: 52px; }
.b-think::after { content: ""; position: absolute; left: -14px; bottom: -8px; width: 18px; height: 18px; border-radius: 999px; background: #fff; box-shadow: 0 8px 18px -8px rgba(15,23,42,0.25); }
.b-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* F — cross-platform device tiles */
.b-devices { margin-block: auto; align-self: center; display: flex; gap: 14px; padding-block: 26px; }
.b-dev {
  width: 86px; height: 86px; border-radius: 22px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: 0 14px 32px -16px rgba(15,23,42,0.28);
  transition: transform 0.5s var(--wm-ease-out) calc(var(--i, 0) * 60ms);
}
.bcard:hover .b-dev { transform: translateY(-6px); }
.bcard:hover .b-dev:nth-child(2) { transform: translateY(-10px); }
.b-dev .mi { font-size: 30px; color: var(--wm-primary); }
.b-dev small { font-size: 11px; font-weight: 700; color: var(--wm-fg-muted); }

/* row proportions */
.c-royal { min-height: 360px; }
.c-navy { min-height: 320px; }
.c-paper { min-height: 340px; }
@media (min-width: 961px) {
  .c-royal, .c-mist { min-height: 430px; }
  .c-sky, .c-slate { min-height: 390px; }
  .c-navy, .c-paper { min-height: 330px; }
}

/* sess card — still used by the mobile day scenes */
.sess { text-align: center; }
.sess .s-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--wm-accent-task); background: #E4EEFD; padding: 5px 12px; border-radius: 999px; }
.sess .s-pill .mi { font-size: 13px; }
.sess .s-task { font-size: 15.5px; font-weight: 800; letter-spacing: -0.3px; color: var(--wm-slate-900); margin-top: 10px; }
.sess .s-ring { position: relative; width: 138px; height: 138px; margin: 14px auto 2px; }
.sess .s-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sess .s-ring .bg { stroke: var(--wm-slate-200); }
.sess .s-ring .fg { stroke: var(--wm-accent-task); stroke-linecap: round; }
.sess .s-ring .s-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sess .s-ring .s-rem { font-size: 22px; font-weight: 800; letter-spacing: -0.6px; color: var(--wm-slate-900); font-variant-numeric: tabular-nums; }
.sess .s-ring .s-lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--wm-fg-faint); margin-top: 2px; }
.sess .s-apps { display: flex; justify-content: center; gap: 7px; margin-top: 10px; flex-wrap: wrap; }
.sess .s-apps .chip { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--wm-primary-soft); color: var(--wm-primary); }

/* ======================================================= day with wingman */
.day { position: relative; color: #fff; }
/* sky is a sticky viewport-sized layer so the light (and sun) stay in view */
.day-bg { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; overflow: hidden; z-index: 0; }
.day-bg span { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.day-bg .sky-predawn { background: linear-gradient(180deg, #04060D 0%, #0A1226 45%, #1B2C4E 80%, #2E4470 100%); opacity: 1; }
.day-bg .sky-dawn   { background: linear-gradient(180deg, #0F1B38 0%, #27406E 38%, #4A6899 64%, #C08262 88%, #E8B48C 100%); }
.day-bg .sky-midday { background: linear-gradient(180deg, #124A80 0%, #2470B4 48%, #5FA3DC 100%); }
.day-bg .sky-golden { background: linear-gradient(180deg, #1B3255 0%, #3D5E8C 50%, #B07E4C 86%, #D9A054 100%); }
.day-bg .sky-dusk   { background: linear-gradient(180deg, #0C1630 0%, #24406E 48%, #8A5B4E 82%, #C1764B 100%); }
.day-bg .sky-night  { background: linear-gradient(180deg, #05070F 0%, #0B1224 52%, #16223E 100%); }
.day[data-scene="s1"] .sky-dawn, .day[data-scene="s2"] .sky-midday, .day[data-scene="s3"] .sky-golden,
.day[data-scene="s4"] .sky-dusk, .day[data-scene="s5"] .sky-night { opacity: 1; }
.day[data-scene="s1"] .sky-predawn, .day[data-scene="s2"] .sky-predawn, .day[data-scene="s3"] .sky-predawn,
.day[data-scene="s4"] .sky-predawn, .day[data-scene="s5"] .sky-predawn { opacity: 0; }

/* the moon (pre-dawn), then the sun, tracks across the sticky sky */
.day-bg .orb {
  position: absolute; left: 0; top: 0; width: 34vmin; height: 34vmin;
  margin: -17vmin 0 0 -17vmin; border-radius: 50%;
  filter: blur(52px);
  background: #C7D8F0; opacity: 0.4;
  transition: transform 1.3s ease-in-out, background-color 1.3s ease, opacity 1.3s ease;
  transform: translate(78vw, 16svh) scale(0.55);
}
.day[data-scene="s1"] .orb { transform: translate(16vw, 78svh) scale(1); background: #FFB27A; opacity: 0.55; }
.day[data-scene="s2"] .orb { transform: translate(50vw, 12svh) scale(1.25); background: #FFE9BE; opacity: 0.7; }
.day[data-scene="s3"] .orb { transform: translate(70vw, 46svh) scale(1.05); background: #FFC272; opacity: 0.62; }
.day[data-scene="s4"] .orb { transform: translate(80vw, 76svh) scale(0.85); background: #FF9A5C; opacity: 0.55; }
.day[data-scene="s5"] .orb { transform: translate(20vw, 14svh) scale(0.5); background: #C7D8F0; opacity: 0.5; filter: blur(40px); }

/* stars — only out at dawn and night */
.day-bg .stars {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(255,255,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 28%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 8%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 20%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 6%, rgba(255,255,255,0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 24%, rgba(255,255,255,0.65) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 76% 14%, rgba(255,255,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 87% 30%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 9%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 15% 42%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 41% 38%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 44%, rgba(255,255,255,0.5) 50%, transparent 51%);
}
.day[data-scene="s0"] .stars { opacity: 0.85; }
.day[data-scene="s1"] .stars { opacity: 0.35; }
.day[data-scene="s5"] .stars { opacity: 0.9; }

/* intro — a full-viewport title page inside the transition */
.day-intro {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-block: 60px;
}
.day-intro .eyebrow { color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.day-intro .h2 { color: #fff; font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -1.6px; margin-bottom: 16px; }
.day-intro .lead { color: rgba(255,255,255,0.78); max-width: 480px; margin: 0 auto; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%;
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; color: #fff;
  animation: cuebob 2.6s ease-in-out infinite;
}
.scroll-cue .mi { font-size: 22px; }
@keyframes cuebob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

.day-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px); align-items: start;
}
.day-steps { display: flex; flex-direction: column; }
.step { min-height: 94svh; display: flex; flex-direction: column; justify-content: center; padding-block: 12vh; }
.step-time {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px;
  color: #fff; background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.26);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.step-time .mi { font-size: 17px; }
.step h3 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.9px; margin-bottom: 12px; }
.step p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: rgba(255,255,255,0.8); max-width: 400px; text-wrap: pretty; }

/* desktop: dim + settle inactive steps so the active scene carries the focus */
@media (min-width: 961px) {
  .step { opacity: 0.3; transform: translateY(14px); transition: opacity 0.6s var(--wm-ease-out), transform 0.6s var(--wm-ease-out); }
  .step.active { opacity: 1; transform: none; }
  .day-intro > .wrap { transition: opacity 0.6s var(--wm-ease-out); }
  .day-intro:not(.active) > .wrap { opacity: 0.25; }
}

/* inline chat card — mobile only */
.step-demo { display: none; margin-top: 24px; }
.step-demo .sd-card { background: #fff; border-radius: var(--wm-r-xl); padding: 14px 13px; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.5); max-width: 420px; }
.step-demo .sd-card.demo { border: none; margin-top: 0; }

/* sticky phone — sits below the nav and sizes to the remaining height */
.day-stage {
  position: sticky; top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 20px 0;
}
.day-phone {
  --phone-w: clamp(250px, min(78vw, calc((100svh - 136px) * 0.4848)), 330px);
  transition: opacity 0.8s var(--wm-ease-out), transform 0.8s var(--wm-ease-out);
}
.day[data-scene="s0"] .day-phone { opacity: 0; transform: translateY(70px); }
.day-phone .pscreens { position: relative; height: 100%; }
.pscreen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: #fff; opacity: 0;
  transform: translateY(40px) rotate(2deg) scale(0.96);
  transform-origin: 50% 80%;
  transition: opacity 0.7s var(--wm-ease-out), transform 0.7s var(--wm-ease-out);
  pointer-events: none;
}
.pscreen.past { transform: translateY(-40px) rotate(-2deg) scale(0.96); }
.day[data-scene="s1"] .pscreen[data-s="s1"], .day[data-scene="s2"] .pscreen[data-s="s2"],
.day[data-scene="s3"] .pscreen[data-s="s3"], .day[data-scene="s4"] .pscreen[data-s="s4"],
.day[data-scene="s5"] .pscreen[data-s="s5"] { opacity: 1; transform: none; }
.pscreen .im-body { padding-bottom: 12px; }

/* focus-session screen (scene 4) */
.lock-screen { background: linear-gradient(180deg, #F8FAFC 0%, #EEF3F9 100%); }
.lock-body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 22px 34px; }
.lock-body .s-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--wm-accent-task); background: #E4EEFD; padding: 5px 12px; border-radius: 999px; }
.lock-body .s-pill .mi { font-size: 13px; }
.lock-body .l-task { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; color: var(--wm-slate-900); margin-top: 12px; }
.lock-body .l-sub { font-size: 12px; color: var(--wm-fg-muted); margin-top: 3px; }
.lock-body .s-ring { position: relative; width: 164px; height: 164px; margin: 20px auto 6px; }
.lock-body .s-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lock-body .s-ring .bg { stroke: #E2E8F0; }
.lock-body .s-ring .fg { stroke: var(--wm-accent-task); stroke-linecap: round; }
.lock-body .s-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lock-body .s-rem { font-size: 27px; font-weight: 800; letter-spacing: -0.8px; color: var(--wm-slate-900); font-variant-numeric: tabular-nums; }
.lock-body .s-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--wm-fg-faint); margin-top: 3px; }
.lock-body .l-locked { width: 100%; margin-top: 16px; background: #fff; border: 1px solid var(--wm-slate-100); border-radius: 14px; padding: 11px 13px; text-align: left; }
.lock-body .l-locked .k { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--wm-fg-faint); margin-bottom: 7px; }
.lock-body .l-locked .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lock-body .l-locked .chip { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--wm-primary-soft); color: var(--wm-primary); }
.lock-body .l-locked .chip.off { background: var(--wm-slate-100); color: var(--wm-slate-400); text-decoration: line-through; }
.lock-body .l-note { margin-top: auto; font-size: 11px; color: var(--wm-fg-faint); display: inline-flex; align-items: center; gap: 5px; }
.lock-body .l-note .mi { font-size: 14px; }

/* ================================================================= end cap */
.endcap { position: relative; z-index: 2; text-align: center; padding: clamp(30px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); }
.endcap .h2 { color: #fff; margin-bottom: 14px; }
.endcap p { color: rgba(255,255,255,0.78); max-width: 440px; margin: 0 auto 30px; font-size: clamp(16px, 1.5vw, 18.5px); }
.endcap .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.endcap .fine { margin-top: 22px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); }

/* ==================================================================== FAQ */
/* positioned above the day section's sticky sky, which otherwise paints over
   following content while the day section scrolls out */
.faq-sec { position: relative; z-index: 3; background: var(--wm-bg); }
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--wm-surface); border: 1px solid var(--wm-slate-100);
  border-radius: var(--wm-r-lg); overflow: hidden;
  transition: border-color var(--wm-dur-base), box-shadow var(--wm-dur-base);
}
.faq.open { border-color: var(--wm-slate-200); box-shadow: var(--wm-shadow-card); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--wm-font-sans); font-size: 16.5px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--wm-slate-900); padding: 18px 20px;
}
.faq-q .ico {
  flex: none; font-size: 20px; color: var(--wm-fg-faint);
  transition: transform 0.35s var(--wm-ease-out), color var(--wm-dur-fast);
}
.faq.open .faq-q .ico { transform: rotate(45deg); color: var(--wm-primary); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--wm-ease-out); }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; padding: 0 20px; }
.faq-a-in p { font-size: 15px; line-height: 1.6; color: var(--wm-fg-muted); margin-bottom: 12px; max-width: 62ch; }
.faq.open .faq-a-in { padding-bottom: 10px; }
.faq-a-in b { color: var(--wm-slate-800); font-weight: 700; }

/* ================================================================== footer */
.footer { position: relative; z-index: 3; background: var(--wm-bg); border-top: 1px solid var(--wm-slate-200); padding: 34px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 16px; }
.footer .brand img { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--wm-fg-muted); }
.footer-links a:hover { color: var(--wm-primary); }
.footer .copy { font-size: 13px; color: var(--wm-fg-faint); }

/* ================================================================= reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--wm-ease-out), transform 0.7s var(--wm-ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .day-bg span, .day-bg .orb, .day-bg .stars, .pscreen, .step, .day-intro > .wrap, .day-phone, .faq-a, .faq-q .ico { transition: none !important; }
  .step { opacity: 1 !important; transform: none !important; }
  .hero-pill .dot, .scroll-cue { animation: none !important; }
  .bcard, .bcard * { transition: none !important; }
  .bcard:hover, .bcard:hover * { transform: none !important; }
}

/* ============================================================= responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { height: auto; min-height: 0; }
  .hero-phone { flex: none; min-height: 0; height: clamp(300px, 52vh, 430px); container-type: normal; }
  .hero-phone .phone { width: min(88vw, 344px); }
  .bento { grid-template-columns: 1fr; }
  .bcard { grid-column: auto; }
  .day-grid { grid-template-columns: 1fr; }
  .day-stage { display: none; }
  .step { min-height: 0; padding-block: clamp(48px, 9vh, 84px); justify-content: flex-start; }
  .step-demo { display: block; }
  .endcap { padding-top: 10px; }
}
@media (max-width: 560px) {
  .hero-pill { font-size: 12px; }
  .endcap .actions { flex-direction: column; align-items: stretch; }
  .blocks { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
}
