/* RapidRoutines marketing site. One sheet for every page. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sunken: #0f0f10;
  --canvas: #141415;
  --surface: #19191b;
  --raised: #212123;
  --raised-2: #2a2a2d;
  --line: rgb(237 237 237 / 0.08);
  --line-strong: rgb(237 237 237 / 0.14);
  --fg: #ededed;
  --fg-2: #a1a1a6;
  --fg-3: #85858b;
  --accent: #4a9fd4;
  --accent-strong: #6db3e0;
  --positive: #4cc38a;
  --caution: #e2a336;
  --negative: #e5484d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: rgb(74 159 212 / 0.35);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--fg);
  color: var(--canvas);
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--fg-3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font: 500 15px/1 var(--sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--fg);
  color: var(--canvas);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5);
}
.btn-primary:hover {
  background: #fff;
}
.btn-secondary {
  background: var(--raised);
  border-color: var(--line);
  color: var(--fg);
}
.btn-secondary:hover {
  border-color: var(--line-strong);
  background: var(--raised-2);
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 8px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-2);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.link-arrow:hover {
  color: var(--fg);
}
.link-arrow svg {
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgb(20 20 21 / 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 22px;
  height: 22px;
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 14px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}
.nav-links a[aria-current="page"] {
  background: var(--raised);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-actions .signin {
  padding: 6px 10px;
  color: var(--fg-2);
  font-size: 14px;
}
.nav-actions .signin:hover {
  color: var(--fg);
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.menu-btn svg {
  margin: auto;
}
.mobile-menu {
  display: none;
}
@media (max-width: 860px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .mobile-menu.open {
    display: block;
    border-top: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .mobile-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--fg-2);
  }
  .mobile-menu .btn {
    width: 100%;
    margin-top: 16px;
    color: var(--canvas);
    border: 0;
  }
}

/* Sections */
section {
  position: relative;
}
.section {
  padding: 120px 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2,
.h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.section-head p {
  margin-top: 16px;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1.55;
}
.kicker-num {
  display: block;
  margin-bottom: 16px;
  color: var(--fg-3);
  font: 400 13px/1 var(--mono);
}

/* Hero */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100svh - 64px - 168px);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero .lede {
  margin-top: 24px;
  max-width: 34rem;
  color: var(--fg-2);
  font-size: 19px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 14px;
}
.hero-facts b {
  color: var(--fg);
  font: 500 14px var(--mono);
  margin-right: 6px;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero {
    padding-top: 48px;
  }
}

/* Phone */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat;
  opacity: 0.6;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent);
  mask: radial-gradient(closest-side, #000 40%, transparent);
}
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(160deg, #3a3a3e, #1c1c1e 40%, #29292c);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.06),
    0 40px 80px -20px rgb(0 0 0 / 0.7),
    inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 150px;
  width: 3px;
  height: 64px;
  border-radius: 0 3px 3px 0;
  background: #2a2a2d;
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: #0b0b0c;
  display: flex;
  flex-direction: column;
}
.island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
  z-index: 3;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 18px 10px;
  font-size: 12px;
  color: var(--fg-2);
}
.app-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-bar .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--negative);
}
.cam {
  position: relative;
  flex: 1;
  margin: 0 10px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 110%, #1b1d20, transparent 60%),
    linear-gradient(#141518, #0d0e10);
}
.cam svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.count {
  font: 500 56px/0.9 var(--mono);
  letter-spacing: -0.04em;
}
.count small {
  font-size: 20px;
  color: var(--fg-3);
  letter-spacing: 0;
}
.hud-label {
  font-size: 11px;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.score {
  position: relative;
  width: 52px;
  height: 52px;
}
.score svg {
  position: static;
  transform: rotate(-90deg);
}
.score span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 500 15px var(--mono);
}
.cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgb(15 15 16 / 0.85);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  white-space: nowrap;
  transform: translate(-50%, 8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cue.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.cue i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--positive);
  vertical-align: 1px;
}
.app-foot {
  padding: 14px 18px 26px;
}
.bar {
  height: 4px;
  border-radius: 4px;
  background: var(--raised);
  overflow: hidden;
}
.bar > div {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.app-foot .row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--fg-3);
}
.reps {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 28px;
  margin-top: 12px;
}
.reps i {
  flex: 1;
  border-radius: 2px;
  background: var(--raised-2);
  transform-origin: bottom;
  transition: background-color 0.3s var(--ease);
}
.reps i.on {
  background: #3a88bd;
}
.reps i.on.last {
  background: var(--accent-strong);
}
.float-card {
  position: absolute;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgb(25 25 27 / 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.6);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--fg-2);
}
.float-card strong {
  display: block;
  margin-top: 2px;
  color: var(--fg);
  font: 500 18px var(--mono);
}
.float-card.a {
  left: 0;
  top: 22%;
}
.float-card.b {
  right: 0;
  bottom: 20%;
}
@media (max-width: 560px) {
  .float-card {
    display: none;
  }
  .stage {
    min-height: 0;
  }
  .phone {
    width: 260px;
  }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.step .vis {
  height: 200px;
  border-bottom: 1px solid var(--line);
  background: var(--sunken);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.step .txt {
  padding: 24px;
}
.step h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 8px;
  color: var(--fg-2);
  font-size: 15px;
}
.step .num {
  color: var(--fg-3);
  font: 400 13px var(--mono);
  margin-bottom: 12px;
  display: block;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Tools bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.tile:hover {
  border-color: var(--line-strong);
}
.tile.wide {
  grid-column: span 3;
}
.tile.xl {
  grid-column: span 4;
}
.tile .vis {
  position: relative;
  height: 220px;
  background: var(--sunken);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.tile .vis svg {
  width: 100%;
  height: 100%;
}
.tile .txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  flex: 1;
}
.tile h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tile p {
  color: var(--fg-2);
  font-size: 15px;
  flex: 1;
}
.tile .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  color: var(--fg-3);
  font: 400 13px var(--mono);
}
@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile,
  .tile.wide,
  .tile.xl {
    grid-column: span 2;
  }
}
@media (min-width: 640px) and (max-width: 960px) {
  .tile {
    grid-column: span 1;
  }
}

/* Privacy */
.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.flow {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 32px;
}
.flow svg {
  width: 100%;
  height: auto;
}
.checks {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}
.checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: var(--fg-2);
  font-size: 15px;
}
.checks svg {
  margin-top: 4px;
  color: var(--accent);
}
.checks b {
  color: var(--fg);
  font-weight: 500;
}
@media (max-width: 900px) {
  .privacy {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Numbers */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.numbers div {
  background: var(--surface);
  padding: 28px 28px 24px;
}
.numbers strong {
  display: block;
  font: 500 44px/1 var(--mono);
  letter-spacing: -0.03em;
}
.numbers span {
  display: block;
  margin-top: 12px;
  color: var(--fg-3);
  font-size: 14px;
}
@media (max-width: 760px) {
  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.quote blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.quote blockquote mark {
  background: none;
  color: var(--accent-strong);
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-2);
  font-size: 14px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--raised-2);
  color: var(--fg);
  font: 500 13px var(--mono);
}
@media (max-width: 760px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex-shrink: 0;
  color: var(--fg-3);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 48px 24px 0;
  color: var(--fg-2);
  max-width: 72ch;
}
.faq .answer p + p {
  margin-top: 12px;
}
.faq .answer a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

/* CTA */
.cta {
  text-align: center;
  padding: 128px 0;
}
.cta h2 {
  max-width: 18ch;
  margin: 0 auto;
}
.cta p {
  margin: 20px auto 0;
  max-width: 34rem;
  color: var(--fg-2);
  font-size: 18px;
}
.cta .hero-actions {
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 96px 0 64px;
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.page-hero p {
  margin-top: 20px;
  max-width: 40rem;
  color: var(--fg-2);
  font-size: 19px;
}

/* About */
.prose {
  max-width: 44rem;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1.7;
}
.prose p + p {
  margin-top: 20px;
}
.prose strong {
  color: var(--fg);
  font-weight: 500;
}
.split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
}
.split h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 16px;
}
.person {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.2);
}
.person div {
  padding: 18px 20px;
}
.person h3 {
  font-size: 17px;
  font-weight: 500;
}
.person p {
  margin-top: 2px;
  color: var(--fg-3);
  font-size: 14px;
}
@media (max-width: 560px) {
  .people {
    grid-template-columns: 1fr 1fr;
  }
}
.timeline {
  border-left: 1px solid var(--line-strong);
  margin-left: 6px;
}
.timeline li {
  position: relative;
  padding: 0 0 32px 28px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--fg-3);
}
.timeline li:last-child::before {
  background: var(--accent);
  border-color: var(--accent);
}
.timeline h3 {
  font-size: 16px;
  font-weight: 500;
}
.timeline p {
  margin-top: 4px;
  color: var(--fg-2);
  font-size: 15px;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.values div {
  background: var(--surface);
  padding: 28px;
}
.values h3 {
  font-size: 16px;
  font-weight: 500;
}
.values p {
  margin-top: 8px;
  color: var(--fg-2);
  font-size: 15px;
}
@media (max-width: 860px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
}
.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-2);
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--fg);
  font: 400 15px var(--sans);
  transition: border-color 0.2s var(--ease);
}
.form input:hover,
.form textarea:hover {
  border-color: var(--line-strong);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form textarea {
  min-height: 160px;
  resize: vertical;
}
.form .status {
  min-height: 1.5em;
  font-size: 14px;
  color: var(--fg-2);
}
.form .status.ok {
  color: var(--positive);
}
.form .status.err {
  color: var(--negative);
}
.channels {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}
.channels a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  transition: background-color 0.2s var(--ease);
}
.channels a:hover {
  background: var(--raised);
}
.channels span {
  color: var(--fg-3);
  font-size: 13px;
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  color: var(--fg-3);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.foot-grid h2 {
  margin-bottom: 14px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
}
.foot-grid li + li {
  margin-top: 10px;
}
.foot-grid a:hover {
  color: var(--fg);
}
.foot-grid .brand {
  color: var(--fg);
}
.foot-grid .about {
  margin-top: 14px;
  max-width: 28ch;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.in .draw,
.draw.in {
  animation: draw 1.6s var(--ease) forwards;
  animation-delay: var(--d, 0.2s);
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .draw {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

/* Small product visuals */
.grow {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
}
.in .grow {
  animation: grow-y 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes grow-y {
  to {
    transform: none;
  }
}
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 78%;
  height: 120px;
  border-bottom: 1px solid var(--line-strong);
}
.mini-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #3a88bd;
}
.mini-bars i:nth-child(6) {
  background: var(--caution);
}
.mini-cap {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--fg-3);
  font-size: 12px;
}
.week {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 32px 18px;
}
.wd {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(33 33 35 / 0.5);
  font-size: 11px;
  color: var(--fg-3);
}
.wd.rest {
  background: none;
  border-style: dashed;
}
.wd b {
  font-weight: 400;
  color: var(--fg-2);
  line-height: 1.3;
}
.wd i {
  color: var(--accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.wd.done i {
  opacity: 1;
  transform: none;
}
.wd.done {
  border-color: rgb(74 159 212 / 0.35);
}
.wd i svg {
  width: 14px;
  height: 14px;
}
.chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  font-size: 13px;
  line-height: 1.45;
}
.chat p {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
}
.chat .me {
  align-self: flex-end;
  background: var(--raised-2);
}
.chat .bot {
  color: var(--fg-2);
  border: 1px solid var(--line);
}
.tree {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px 32px;
}
.tr {
  display: grid;
  grid-template-columns: 72px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--fg-2);
}
.tr div {
  height: 6px;
  border-radius: 6px;
  background: var(--raised);
  overflow: hidden;
}
.tr i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: var(--accent);
}
.tr b {
  font-weight: 400;
  color: var(--fg-3);
  text-align: right;
}
@media (prefers-reduced-motion: reduce) {
  .grow {
    transform: none;
  }
  .chat p,
  .wd i {
    opacity: 1;
    transform: none;
  }
}
.float-card {
  z-index: 2;
}
.mini-bars {
  margin-bottom: 28px;
  width: 72%;
}
.mini-cap {
  bottom: 16px;
}
.week {
  padding: 40px 20px;
  gap: 8px;
}
.wd {
  align-items: center;
  padding: 10px 0;
  font-family: var(--mono);
}
.wd b {
  font-size: 15px;
  color: var(--fg);
}
figure.quote {
  margin: 0;
}

/* Phase 4: coach loop visuals, notes tile, full-width tile, testimonial clips */
.step .say {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgb(33 33 35 / 0.9);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 12px;
}
.mini-bars.fade i:nth-child(n + 8) {
  background: var(--caution);
}
.mini-bars.fade i:nth-child(6) {
  background: #3a88bd;
}
.cmp {
  width: 78%;
  display: grid;
  gap: 2px;
  font-size: 13px;
}
.cmp p {
  display: grid;
  grid-template-columns: 1fr auto 40px;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
}
.cmp p b {
  font-weight: 400;
  color: var(--fg);
}
.cmp p em {
  font-style: normal;
  text-align: right;
  color: var(--positive);
}
.cmp .cmp-h {
  display: block;
  border-top: 0;
  padding: 0 0 6px;
  font-family: var(--sans, inherit);
  color: var(--fg-2);
}
.notes {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0;
  padding: 20px 22px;
  list-style: none;
}
.notes li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-3);
  opacity: 0;
  transform: translateY(8px);
}
.notes b {
  display: block;
  font-weight: 400;
  color: var(--fg);
}
.notes .dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--positive);
}
.notes .dot.watch {
  background: var(--caution);
}
.tile.full {
  grid-column: span 6;
}
.tile.full .vis {
  height: 200px;
}
@media (max-width: 960px) {
  .tile.full {
    grid-column: span 2;
  }
}
.clips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.clip {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.clip-media {
  position: relative;
  background: var(--sunken);
  aspect-ratio: 5 / 4;
}
.clip video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
.clip-toggle {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(237 237 237 / 0.16);
  border-radius: 8px;
  background: rgb(20 20 21 / 0.7);
  color: var(--fg);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.clip-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.clip-toggle .i-play,
.clip-toggle.paused .i-pause {
  display: none;
}
.clip-toggle.paused .i-play {
  display: block;
}
.clip figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 22px 20px;
}
.clip figcaption b {
  font-weight: 500;
  color: var(--fg);
}
.clip figcaption span {
  color: var(--fg-2);
  font-size: 14px;
}
.clips-note {
  margin-top: 12px;
  color: var(--fg-3);
  font-size: 13px;
}
@media (max-width: 760px) {
  .clips {
    grid-template-columns: 1fr;
  }
  .step .say {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .notes li {
    opacity: 1;
    transform: none;
  }
}
.step .vis:has(.say) svg {
  height: 150px;
  margin-top: 44px;
}
.mini-cap span {
  white-space: nowrap;
}
