:root {
  --burg-900: #33001a;
  --burg-800: #4c0026;
  --burg: #660033;
  --burg-600: #8a1048;
  --burg-300: #cf9bb3;
  --cream: #fffaf7;
  --paper: #ffffff;
  --ink: #190811;
  --ink-2: #3d2530;
  --muted: #715c65;
  --line: #f1e4df;
  --sand: #e8c4a0;
  --ok: #2f9e57;
  --alert: #ac1e1e;

  --sh-sm: 0 1px 2px rgba(25, 8, 17, 0.05), 0 6px 16px -10px rgba(25, 8, 17, 0.16);
  --sh-md: 0 2px 4px rgba(25, 8, 17, 0.04), 0 18px 40px -22px rgba(25, 8, 17, 0.24);
  --sh-lg: 0 40px 90px -45px rgba(51, 0, 26, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* App logos rendered as masks so they can be tinted */
.applogo {
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
  flex: none;
}

/* Scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--burg), var(--burg-600), var(--sand));
  z-index: 90;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(255, 250, 247, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.4s var(--ease);
}
.nav.solid .brand { color: var(--ink); }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 18px -8px rgba(51, 0, 26, 0.7);
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.93rem; font-weight: 500; }
.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.3s; }
.nav.solid .nav-links a { color: var(--muted); }
.nav-links a:hover, .nav.solid .nav-links a:hover { color: var(--sand); }
.nav.solid .nav-links a:hover { color: var(--burg); }

.btn-nav {
  background: #fff;
  color: var(--burg);
  box-shadow: 0 8px 22px -14px rgba(51, 0, 26, 0.55);
}
.btn-nav:hover { background: #fff; color: var(--burg-600); }
.nav.solid .btn-nav { border: 1px solid var(--burg); box-shadow: none; }

/* Official App Store badge. Do not restyle the artwork. */
.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex: none;
}
.store-badge img {
  height: 44px;
  width: auto;
  display: block;
}
.store-badge.lg img { height: 52px; }
.store-badge.sm img { height: 36px; }
.nav-store {
  padding: 5px 7px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.nav.solid .nav-store {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.nav-store img,
.mobile-cta .store-badge img { height: 34px; }
.nav-store .badge-on-light { display: none; }
.nav.solid .nav-store .badge-on-dark { display: none; }
.nav.solid .nav-store .badge-on-light { display: block; }

.store-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.store-lockup .store-badge {
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-textlink {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 2px;
  margin-left: 4px;
}
.hero-textlink:hover { color: #fff; border-bottom-color: #fff; }
.band .store-lockup { align-items: center; }
.band .store-lockup .store-badge {
  background: rgba(0, 0, 0, 0.28);
}

/* Buttons */
.btn {
  --btn-bg: var(--burg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 13px 22px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--burg-600), var(--burg));
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(102, 0, 51, 0.8);
}
.btn-primary:hover { box-shadow: 0 18px 34px -14px rgba(102, 0, 51, 0.85); }
.btn-light { background: #fff; color: var(--burg); box-shadow: var(--sh-sm); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost { background: #fff; color: var(--burg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--burg); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1.05em; height: 1.05em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* HERO */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(70% 55% at 78% 8%, rgba(232, 196, 160, 0.22), transparent 60%),
    radial-gradient(60% 50% at 12% 92%, rgba(138, 16, 72, 0.55), transparent 65%),
    linear-gradient(170deg, var(--burg-900) 0%, var(--burg) 52%, var(--burg-800) 100%);
  color: #fff;
  padding: 152px 0 108px;
  overflow: hidden;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(75% 60% at 50% 20%, #000, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 7px 15px 7px 11px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 4px rgba(232, 196, 160, 0.22);
}
.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  margin-bottom: 22px;
  color: #fff;
}
.hero .lede {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 32px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-actions .store-badge {
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-fine { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.hero-blocked {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 500;
}
.hero-blocked .row { display: flex; gap: 16px; color: rgba(255, 255, 255, 0.75); }
.hero-blocked .applogo { width: 19px; height: 19px; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 196, 160, 0.35), transparent);
  filter: blur(20px);
}
.float {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 15px;
  padding: 11px 14px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  animation: bob 7s var(--ease) infinite alternate;
  z-index: 3;
}
.float small { display: block; font-weight: 500; font-size: 0.68rem; color: var(--muted); }
.float .badge-i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.float.f1 { top: 44px; left: -6px; animation-delay: -1.2s; }
.float.f2 { bottom: 128px; right: -14px; animation-delay: -3.4s; }
.float.f3 { bottom: 34px; left: 8px; animation-delay: -5.1s; }
@keyframes bob {
  from { transform: translateY(-7px); }
  to { transform: translateY(9px); }
}

/* Device */
.device {
  position: relative;
  width: 100%;
  max-width: 288px;
  background: linear-gradient(155deg, #4a3038, #1c1014 45%, #3a2028);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(255, 255, 255, 0.09) inset;
  z-index: 2;
}
.device.tilt { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); }
.screen {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  aspect-ratio: 9 / 19.2;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  text-align: left;
  line-height: 1.45;
}
.notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 20px;
  border-radius: 99px;
  background: #100a0c;
  z-index: 6;
}
.screen.light { background: #f4efee; color: var(--ink); }
.screen.paper { background: #fff; color: var(--ink); }
.screen.brand-bg { background: linear-gradient(175deg, var(--burg-800), var(--burg) 60%, var(--burg-900)); color: #fff; }
.screen.dark { background: #100c0b; color: #fff; }
.pad { padding: 40px 15px 14px; flex: 1; display: flex; flex-direction: column; min-height: 0; }

/* In-app screen bits */
.s-greet { color: #9b8189; font-size: 10px; font-weight: 500; margin-bottom: 10px; }
.s-greet b { display: block; color: var(--burg); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.s-card {
  border-radius: 16px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  color: #fff;
}
.s-card.alert { background: linear-gradient(135deg, #c02525, var(--alert)); box-shadow: 0 12px 22px -16px rgba(172, 30, 30, 0.9); }
.s-card.good { background: linear-gradient(135deg, #38b562, #2a8f4b); box-shadow: 0 12px 22px -16px rgba(47, 158, 87, 0.9); }
.s-card img { width: 26px; height: 26px; }
.s-card .icon { width: 24px; height: 24px; }
.s-card strong { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: -0.015em; }
.s-card span { font-size: 10px; opacity: 0.92; font-weight: 400; }
.s-row { display: flex; gap: 9px; margin-bottom: 11px; }
.s-cta {
  flex: 1;
  background: linear-gradient(180deg, var(--burg-600), var(--burg));
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  box-shadow: 0 6px 14px -10px rgba(102, 0, 51, 0.8);
}
.s-cta.done { background: linear-gradient(180deg, #38b562, #2a8f4b); }
.s-cta.bar {
  flex: none;
  align-self: stretch;
  margin: 8px 18px 6px;
  padding: 8px 12px;
  font-size: 10px;
}
.s-token {
  width: 38px;
  height: 38px;
  flex: none;
  align-self: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
}
.s-token img { width: 32px; height: 32px; }
.s-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--burg);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.s-tile {
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(25, 8, 17, 0.04);
}
.s-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--burg);
  margin-bottom: 3px;
}
.s-chart { padding-bottom: 10px; }
.s-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin: 8px 0 6px;
}
.s-bars span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 100%;
  font-size: 7px;
  font-weight: 600;
  color: #bcaab0;
}
.s-bars i {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: rgba(102, 0, 51, 0.16);
}
.s-bars .on i { background: var(--burg); }
.s-bars .miss i { background: rgba(172, 30, 30, 0.35); }
.s-bars .today i { background: var(--alert); }
.s-big { font-size: 21px; font-weight: 700; color: var(--burg); letter-spacing: -0.035em; }
.s-sub { font-size: 9px; color: #9b8189; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; }
.s-dot.red { background: var(--alert); box-shadow: 0 0 0 3px rgba(172, 30, 30, 0.18); }
.s-dot.green { background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 158, 87, 0.18); }
.s-tabbar {
  margin-top: auto;
  display: flex;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(25, 8, 17, 0.06);
  padding: 6px 4px 8px;
}
.s-tabbar div { flex: 1; text-align: center; color: #bcaab0; font-size: 7px; font-weight: 500; }
.s-tabbar div.on { color: var(--burg); font-weight: 600; }
.s-tabbar .icon { width: 12px; height: 12px; display: block; margin: 0 auto 2px; }
.s-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 11px;
  padding: 0 8px;
}
.s-center img.mark { width: 62px; }
.s-title { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.s-body { font-size: 10.5px; opacity: 0.85; }
.s-ok {
  background: #fff;
  color: var(--burg);
  border-radius: 999px;
  padding: 7px 22px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 6px;
}

/* Full-screen bed camera */
.screen.cam { background: #1a1412; }
.cam-feed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.cam-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.cam-top {
  padding: 36px 12px 10px;
  background: linear-gradient(180deg, rgba(16, 10, 12, 0.62), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cam-x {
  align-self: flex-start;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 10, 12, 0.55);
  position: relative;
}
.cam-x::before,
.cam-x::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 10px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}
.cam-x::before { transform: rotate(45deg); }
.cam-x::after { transform: rotate(-45deg); }
.cam-top p {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.cam-frame {
  position: relative;
  flex: 1;
  margin: 2px 16px 8px;
}
.cam-frame .c {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255, 255, 255, 0.92);
  border-style: solid;
}
.cam-frame .tl { top: 0; left: 0; border-width: 2.5px 0 0 2.5px; border-radius: 5px 0 0 0; }
.cam-frame .tr { top: 0; right: 0; border-width: 2.5px 2.5px 0 0; border-radius: 0 5px 0 0; }
.cam-frame .bl { bottom: 0; left: 0; border-width: 0 0 2.5px 2.5px; border-radius: 0 0 0 5px; }
.cam-frame .br { bottom: 0; right: 0; border-width: 0 2.5px 2.5px 0; border-radius: 0 0 5px 0; }
.cam-pillow {
  position: absolute;
  top: 6%;
  left: 7%;
  right: 7%;
  height: 30%;
  border: 1.5px dashed var(--sand);
  border-radius: 14px;
  background: rgba(232, 196, 160, 0.14);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
}
.cam-pillow span {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--burg);
  padding: 3px 8px;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(51, 0, 26, 0.35);
}
.cam-bottom {
  padding: 12px 0 18px;
  background: linear-gradient(0deg, rgba(16, 10, 12, 0.55), transparent);
  display: flex;
  justify-content: center;
}
.cam-shutter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.s-check { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; }
.s-check .icon { width: 14px; height: 14px; }
.s-shot {
  margin: 10px 8px;
  flex: 1;
  border-radius: 16px;
  background: #1a1412;
  position: relative;
  overflow: hidden;
}
.s-shot img.bed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 1;
}
.s-shot::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  box-shadow: 0 0 0 40px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 2;
}
.s-shot span {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8.5px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.s-shutter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
  margin: 4px auto 12px;
}
.s-steps { display: grid; gap: 8px; margin-bottom: 12px; }
.s-step { display: flex; gap: 8px; font-size: 10px; color: var(--burg); font-weight: 500; }
.s-step i { width: 6px; height: 6px; border-radius: 2px; background: var(--burg); margin-top: 5px; flex: none; }
.s-days { display: flex; gap: 4px; margin-bottom: 13px; }
.s-days span {
  flex: 1;
  background: var(--burg);
  color: #fff;
  border-radius: 8px;
  font-size: 7.5px;
  font-weight: 600;
  text-align: center;
  padding: 6px 0;
}
.s-days span.off { background: rgba(102, 0, 51, 0.08); color: var(--burg); }
.s-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 13px; }
.s-app { text-align: center; color: var(--burg); font-size: 7px; font-weight: 500; }
.s-app b {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 11px;
  background: rgba(102, 0, 51, 0.07);
  margin-bottom: 4px;
}
.s-app .applogo { width: 17px; height: 17px; }
.s-list { display: grid; gap: 7px; }
.s-listrow {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 10.5px;
  font-weight: 500;
}
.s-listrow .applogo { width: 17px; height: 17px; color: var(--ink); }
.s-listrow .tick {
  margin-left: auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #e0d2d6;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 9px;
}
.s-listrow.on .tick { background: var(--burg); border-color: var(--burg); color: #fff; }
.s-plan {
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 10px 11px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-plan.on { border-color: var(--burg); background: rgba(102, 0, 51, 0.035); }
.s-plan b { font-size: 11px; font-weight: 600; }
.s-plan em { font-style: normal; font-size: 9px; color: #9b8189; display: block; font-weight: 400; }
.s-plan .icon { width: 15px; height: 15px; color: var(--burg); }
.s-menu {
  border-top: 1px solid rgba(25, 8, 17, 0.06);
  padding: 11px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-menu b { font-size: 10.5px; font-weight: 600; }
.s-menu em { font-style: normal; font-size: 8.5px; color: #9b8189; display: block; font-weight: 400; }
.s-menu .icon { width: 11px; height: 11px; color: #bcaab0; }

/* Marquee */
.strip { padding: 34px 0 6px; }
.strip p { text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee ul {
  display: flex;
  gap: 56px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  animation: slide 34s linear infinite;
  align-items: center;
}
.marquee li { display: flex; align-items: center; gap: 11px; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; opacity: 0.55; }
.marquee .applogo { width: 26px; height: 26px; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 108px 0; }
.section.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 44rem; margin-bottom: 52px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burg);
  font-weight: 600;
  margin-bottom: 16px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--burg); opacity: 0.5; }
.head.center .kicker::before { display: none; }
.section h2 { font-size: clamp(2rem, 4.1vw, 3.05rem); font-weight: 700; letter-spacing: -0.038em; margin-bottom: 16px; }
.section h2 em { font-style: normal; color: var(--burg); }
.section h2 .break { display: block; }
.sub { color: var(--muted); font-size: 1.04rem; }

/* Steps + sticky phone */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 38px; align-items: start; }
.track { position: relative; padding-left: 62px; }
.track::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 48px; width: 2px; background: var(--line); }
.track .fill {
  position: absolute;
  left: 21px;
  top: 12px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--burg), var(--burg-600));
}
.step {
  position: relative;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3vh 0;
}
.step:last-of-type { min-height: 48vh; }
.step-hold { height: 32vh; }
.step .n {
  position: absolute;
  left: -62px;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.5s var(--ease);
}
.step.active .n {
  background: linear-gradient(180deg, var(--burg-600), var(--burg));
  border-color: var(--burg);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(102, 0, 51, 0.7);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 32rem; }
.step .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--burg);
  background: rgba(102, 0, 51, 0.07);
  border-radius: 999px;
  padding: 5px 12px;
}
.sticky-phone {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 4;
  min-height: calc(100dvh - 100px);
  padding: 8px 0 24px;
}
.phone-stack {
  position: relative;
  width: min(236px, 30dvh);
}
.sticky-phone .device {
  max-width: 100%;
  padding: 8px;
  border-radius: 36px;
}
.sticky-phone .screen { border-radius: 28px; }
.phone-stack .device { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease); }
.phone-stack .device:first-child { position: relative; }
.phone-stack .device.show { opacity: 1; z-index: 2; }
.phone-cap {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--burg);
  letter-spacing: -0.02em;
  text-align: center;
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #e6d3cd; }
.card .ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(102, 0, 51, 0.07);
  color: var(--burg);
  margin-bottom: 18px;
}
.card .ico .icon { width: 21px; height: 21px; }
.card h3 { font-size: 1.12rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 36px 44px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.card.wide h3 { color: var(--burg); font-size: 1.45rem; }
.card.wide p { color: var(--muted); max-width: 36rem; font-size: 1.02rem; }
.card.wide .ico {
  background: rgba(102, 0, 51, 0.08);
  color: var(--burg);
}
.card.wide img { width: 156px; opacity: 0.95; filter: drop-shadow(0 18px 30px rgba(102, 0, 51, 0.28)); }
.card.dark {
  background: linear-gradient(160deg, var(--burg-800), var(--burg));
  border-color: transparent;
  color: #fff;
}
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255, 255, 255, 0.78); }
.card.dark .ico {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.card.dark:hover { border-color: rgba(255, 255, 255, 0.2); }

/* Gallery */
.gallery {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 0 30px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; flex: none; width: 258px; }
.shot .device { max-width: 258px; }
.shot figcaption { margin-top: 18px; font-size: 0.86rem; color: var(--muted); font-weight: 500; text-align: center; }
.shot figcaption b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.gal-hint { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; }

/* Ledger */
.ledger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.ledger li:last-child { border-bottom: 0; padding-bottom: 0; }
.ledger .icon { width: 19px; height: 19px; margin-top: 3px; }
.card.dark .ledger li { border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.78); }
.ledger.yes .icon { color: var(--ok); }
.card.dark .ledger.no .icon { color: var(--sand); }
.panel-h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.03em; }

/* Pricing */
.toggle {
  display: inline-flex;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 42px;
  box-shadow: var(--sh-sm);
}
.toggle .pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--burg-600), var(--burg));
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
  z-index: 0;
}
.toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.35s;
  white-space: nowrap;
}
.toggle button[aria-selected="true"] { color: #fff; }
.toggle .save { font-size: 0.72rem; font-weight: 700; color: var(--ok); margin-left: 6px; }
.toggle button[aria-selected="true"] .save { color: var(--sand); }

.price-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  border-radius: 28px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.price-card.feature {
  background:
    radial-gradient(80% 70% at 85% 0%, rgba(232, 196, 160, 0.2), transparent 60%),
    linear-gradient(165deg, var(--burg-800), var(--burg) 60%, var(--burg-900));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.price-card.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.tagline { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.72; }
.amount { display: flex; align-items: flex-end; gap: 8px; margin: 14px 0 4px; }
.amount .num { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.amount .per { font-size: 0.95rem; padding-bottom: 8px; opacity: 0.75; }
.price-note { font-size: 0.88rem; opacity: 0.7; margin-bottom: 26px; }
.plan-list { list-style: none; margin: 0 0 30px; padding: 0; }
.plan-list li { position: relative; padding: 8px 0 8px 27px; font-size: 0.96rem; }
.plan-list li .icon { position: absolute; left: 0; top: 12px; width: 17px; height: 17px; }
.price-card.feature .plan-list li { color: rgba(255, 255, 255, 0.82); }
.price-card.feature .plan-list .icon { color: var(--sand); }
.price-card .plan-list .icon { color: var(--ok); }
.trust { display: grid; gap: 14px; margin-top: 26px; }
.trust div { display: flex; gap: 11px; font-size: 0.9rem; color: var(--muted); }
.trust .icon { width: 18px; height: 18px; color: var(--burg); margin-top: 3px; }

/* FAQ */
.faq { max-width: 46rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa button {
  width: 100%;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: left;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  position: relative;
}
.qa button::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -8px;
  border-right: 2px solid var(--burg);
  border-bottom: 2px solid var(--burg);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease);
}
.qa.open button::after { transform: rotate(225deg); margin-top: -3px; }
.qa .a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.qa .a p { color: var(--ink-2); padding-bottom: 24px; max-width: 40rem; }

/* Closing band */
.band {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 76px 34px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(232, 196, 160, 0.25), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(138, 16, 72, 0.6), transparent 60%),
    linear-gradient(160deg, var(--burg-900), var(--burg) 55%, var(--burg-800));
  box-shadow: var(--sh-lg);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.band img.mark { width: 68px; margin: 0 auto 24px; border-radius: 18px; box-shadow: var(--sh-md); }
.band h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.band p { color: rgba(255, 255, 255, 0.78); max-width: 34rem; margin: 0 auto 30px; }
.band p.band-fine {
  margin: 72px auto 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.band-fine a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer .store-badge { margin-top: 18px; }

/* Footer */
.footer { padding: 62px 0 44px; color: var(--muted); font-size: 0.9rem; }
.footer-top { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); }
.footer-cols { display: flex; gap: 64px; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer nav { display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--burg); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.83rem; }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  display: none;
  gap: 10px;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 9px 9px 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--sh-md);
  font-size: 0.86rem;
  font-weight: 600;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.mobile-cta.up { transform: none; }

/* Legal pages */
body.doc { background: var(--paper); }
.doc-hero {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(232, 196, 160, 0.18), transparent 60%),
    linear-gradient(165deg, var(--burg-900), var(--burg));
  color: #fff;
  padding: 142px 0 62px;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
}
.doc-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); font-weight: 700; }
.doc-hero p { color: rgba(255, 255, 255, 0.7); margin-top: 12px; }
.legal { max-width: 46rem; padding: 58px 0 96px; }
.legal h2 { font-size: 1.18rem; margin: 38px 0 10px; color: var(--burg); }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--burg); font-weight: 500; }
.legal .lead { font-size: 1.06rem; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .hero-grid, .steps-grid, .bento, .ledger-grid, .price-grid { grid-template-columns: 1fr; }
  .card.wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px;
  }
  .card.wide img { width: 112px; }
  .sticky-phone { display: none; }
  .step, .step:last-of-type {
    min-height: 0;
    padding: 0 0 26px;
    justify-content: flex-start;
  }
  .step .n { top: -2px; }
  .step-hold { display: none; }
  .hero { padding: 122px 0 76px; }
  .hero-stage { min-height: 520px; margin-top: 24px; }
  .device.tilt { transform: none; }
  .section { padding: 76px 0; }
  .nav-links a:not(.btn):not(.store-badge) { display: none; }
  .mobile-cta { display: flex; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
  .band { padding: 56px 22px; }
  .float.f2 { right: -6px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .price-card { padding: 28px 22px; }
  .track { padding-left: 52px; }
  .step .n { left: -52px; width: 38px; height: 38px; }
  .track::before, .track .fill { left: 18px; }
}

.screen.shotimg { padding: 0; background: #f4efee; }
.screen.shotimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.legal h3 { font-size: 1.02rem; margin: 26px 0 8px; color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 0.94rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(102, 0, 51, 0.14); color: var(--muted); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.legal strong { color: var(--ink-2); }
.faq-more a { color: var(--burg); font-weight: 500; }
