/* PillNod landing page — the app's Calm Blue theme, its mint accent, and Atkinson Hyperlegible Next. */

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('../fonts/AtkinsonHyperlegibleNext-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('../fonts/AtkinsonHyperlegibleNext-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('../fonts/AtkinsonHyperlegibleNext-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  /* App theme: Calm Blue (src/ui/theme.ts) + the logo's mint. */
  --primary: #0a4fa3;
  --primary-2: #2f7fd6;
  --primary-pressed: #083f82;
  --tint: #e3edf9;
  --on-tint: #0a3a78;
  --mint: #5fd3a5;
  --mint-deep: #00704f;
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-alt: #f4f5f6;
  --divider: #e7e9ec;
  --border: #c9ced6;
  --text: #1a1d21;
  --muted: #454b54;
  --subtle: #5b626c;
  --ink: #061328;
  --ink-2: #0b2147;
  --on-ink: #eef3fb;
  --on-ink-muted: #a9b8d0;

  --radius: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 19, 40, 0.06), 0 4px 14px rgba(6, 19, 40, 0.05);
  --shadow: 0 20px 50px -20px rgba(6, 19, 40, 0.35);
  --shadow-lg: 0 60px 120px -40px rgba(6, 19, 40, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --font: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 10px;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container-narrow {
  max-width: 860px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--mint);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 1.04rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.btn::after {
  /* sheen on hover */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn span[aria-hidden] {
  transition: transform 0.35s var(--ease);
}
.btn:hover span[aria-hidden] {
  transform: translateX(5px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(10, 79, 163, 0.8);
}
.btn-primary:hover {
  background: var(--primary-pressed);
}
.btn-mint {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 14px 34px -12px rgba(95, 211, 165, 0.75);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-ink);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-outline,
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.96rem;
}
.btn-lg {
  min-height: 60px;
  padding: 0 32px;
  font-size: 1.08rem;
}
.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--on-ink);
  transition:
    background-color 0.4s,
    box-shadow 0.4s,
    color 0.4s,
    transform 0.4s var(--ease);
}
.site-header.scrolled {
  color: var(--text);
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 1px 0 rgba(6, 19, 40, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.22rem;
  color: inherit;
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: inherit;
  opacity: 0.82;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Device (phone mock-up) ---------- */
.device {
  --w: 280px;
  position: relative;
  width: var(--w);
  aspect-ratio: 1080 / 2400;
  padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.16);
  background: linear-gradient(145deg, #2a3242, #0b0f16 45%, #1b2230);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 4px #05070b,
    var(--shadow-lg);
  flex: none;
}
.device::before,
.device::after {
  /* side buttons */
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: #1b2230;
}
.device::before {
  right: -3px;
  top: 22%;
  height: 12%;
}
.device::after {
  left: -3px;
  top: 18%;
  height: 7%;
}
.device-screen {
  /* A clean phone top with a notch above the app (the screenshots have no status bar). */
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.12);
  padding-top: calc(var(--w) * 0.09);
  background: #fafaf7;
}
.device-screen.is-dark {
  background: #101418;
}
.device-screen::before {
  /* the notch */
  content: '';
  position: absolute;
  top: calc(var(--w) * 0.03);
  left: 50%;
  width: 30%;
  height: calc(var(--w) * 0.035);
  min-height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0f16;
  z-index: 2;
}
.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.device-screen::after {
  /* glass reflection */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 32%);
  z-index: 3;
}
.device-xs {
  --w: 210px;
}
.device-sm {
  --w: 240px;
}
.device-md {
  --w: 300px;
}
.device-lg {
  --w: 320px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 108px 0 36px;
  background: radial-gradient(120% 90% at 70% 0%, var(--ink-2) 0%, var(--ink) 60%);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::after {
  /* cursor spotlight */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(95, 211, 165, 0.12), transparent 60%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
/* Soft, still glows: depth without anything moving. */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
}
.orb-1 {
  width: 520px;
  height: 520px;
  background: #1a5fc4;
  top: -140px;
  right: -80px;
}
.orb-2 {
  width: 380px;
  height: 380px;
  background: #1fa57a;
  bottom: -120px;
  right: 30%;
  opacity: 0.45;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #3a2c9e;
  top: 30%;
  left: -120px;
  opacity: 0.4;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-ink);
  backdrop-filter: blur(8px);
}
/* The page's one subtle loop. */
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(95, 211, 165, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(95, 211, 165, 0);
  }
}
.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 700;
  margin-top: 22px;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-title em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, #8ec1ff 0%, var(--mint) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  color: var(--on-ink-muted);
  margin-top: 22px;
  max-width: 540px;
}
.cta-form.hero-form {
  max-width: 540px;
  margin: 30px 0 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 18px;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
}
.demo-link:hover {
  color: var(--mint);
}
.demo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background-color 0.25s;
}
.demo-link:hover .demo-icon {
  background: var(--mint);
}
.demo-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  margin-left: 2px;
}
.demo-link:hover .demo-icon svg {
  fill: var(--ink);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Not links yet: grayed and labeled "Launching soon" so nobody taps and hits nothing. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.62);
  padding: 7px 14px 7px 11px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  cursor: default;
  user-select: none;
}
.store-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.store-badge small {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero-stage {
  position: relative;
  height: 600px;
  perspective: 1400px;
}
.device-hero-front {
  --w: 280px;
  position: absolute;
  left: 8%;
  top: 30px;
  z-index: 2;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg);
}
.device-hero-back {
  --w: 250px;
  position: absolute;
  right: 2%;
  top: -10px;
  transform: rotateY(-22deg) rotateX(8deg) rotateZ(4deg);
  opacity: 0.92;
}
.toast {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.toast strong {
  display: block;
  font-size: 0.95rem;
}
.toast small {
  display: block;
  color: var(--subtle);
  font-size: 0.8rem;
}
.toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.toast-green {
  background: #d3f0e2;
  color: var(--mint-deep);
}
.toast-blue {
  background: var(--tint);
}
.toast-amber {
  background: #fff4d1;
}
.toast-1 {
  right: -10px;
  bottom: 120px;
}
.toast-2 {
  left: -20px;
  top: 90px;
}
.toast-3 {
  left: 22%;
  bottom: 10px;
}

/* Four promises, still and readable (this replaces the scrolling ticker). */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin-top: 36px;
  margin-bottom: 0;
}
.trust-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--on-ink);
  text-align: center;
}
.trust-row span {
  font-size: 1.15rem;
}

/* ---------- The problem ---------- */
.problem {
  padding: clamp(72px, 8vw, 96px) 0;
}
.statement-text {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 1000px;
}
.statement-text em {
  font-style: normal;
  color: var(--primary);
}
.nods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.nods li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--muted);
}
.nods span {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint);
  font-size: 1.25rem;
}

/* ---------- How it works ---------- */
.how {
  position: relative;
  padding: 90px 0 76px;
  background: var(--ink);
  color: var(--on-ink);
  overflow: clip;
  isolation: isolate;
}
.how::before {
  content: '';
  position: absolute;
  width: 760px;
  height: 760px;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 127, 214, 0.28), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.how .section-head {
  margin-bottom: 44px;
}
.how .section-head h2 {
  color: #fff;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  padding: 34px 26px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.device-step {
  --w: min(190px, 100%);
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  position: relative;
  z-index: 4;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--ink);
}
.step h3 {
  color: #fff;
  margin: 18px 0 10px;
}
.step p {
  color: var(--on-ink-muted);
  max-width: 320px;
}
.how-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 36px auto 0;
  color: var(--on-ink-muted);
  font-size: 0.98rem;
  text-align: center;
}
.how-note span {
  color: var(--mint);
  font-weight: 700;
}
.how-setup {
  margin-top: 14px;
  text-align: center;
  color: var(--on-ink);
  font-weight: 600;
}
.how-setup a {
  color: var(--mint);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.how-setup a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Built for Mom, made for you ---------- */
.duo {
  padding: 100px 0 80px;
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.duo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 40px 0;
  border-radius: 34px;
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 127, 214, 0.16), transparent 50%),
    linear-gradient(170deg, var(--surface), var(--tint));
}
.duo-mom {
  background:
    radial-gradient(circle at 100% 0%, rgba(95, 211, 165, 0.28), transparent 50%),
    linear-gradient(170deg, var(--surface), #e6f6ee);
}
.duo-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--on-tint);
}
.duo-tag-mom {
  background: #d3f0e2;
  color: var(--mint-deep);
}
.duo-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 18px 0 12px;
}
.duo-card > p {
  color: var(--muted);
  font-size: 1.1rem;
}
.duo-card .ticks {
  margin-top: 22px;
}
.duo-phone {
  --w: 250px;
  align-self: center;
  margin: 32px 0 -170px;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.status-chips .st {
  min-width: 0;
  font-size: 0.84rem;
  padding: 5px 10px;
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 44px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-light {
  color: var(--mint);
}
.section-lead {
  text-wrap: balance;
  color: var(--muted);
  font-size: 1.18rem;
  margin-top: 20px;
}

/* ---------- Watch (promo video) ---------- */
.watch {
  position: relative;
  padding: 100px 0;
  background: radial-gradient(110% 90% at 80% 20%, var(--ink-2), var(--ink) 65%);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.watch::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(500px circle at var(--mx, 75%) var(--my, 40%), rgba(95, 211, 165, 0.12), transparent 60%);
  pointer-events: none;
}
.watch-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.watch-copy h2 {
  color: #fff;
}
.watch-lead {
  color: var(--on-ink-muted);
  font-size: 1.18rem;
  margin-top: 22px;
  max-width: 540px;
}
.watch .ticks li {
  color: var(--on-ink);
}
.watch-copy .btn {
  margin-top: 34px;
}
.watch-media {
  display: flex;
  justify-content: center;
  position: relative;
}
.watch-media::before {
  content: '';
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 127, 214, 0.45), rgba(95, 211, 165, 0.15) 45%, transparent 68%);
  z-index: -1;
}
.video-frame {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a3242, #0b0f16 45%, #1b2230);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    inset 0 0 0 4px #05070b,
    0 60px 120px -30px rgba(0, 0, 0, 0.75),
    0 0 80px -20px rgba(95, 211, 165, 0.35);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 37px;
  background: #061328;
  display: block;
}
.video-play {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font: 700 0.98rem var(--font);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s;
}
.video-play:hover {
  transform: translateX(-50%) scale(1.05);
}
.video-play-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
}
.video-play-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(95, 211, 165, 0.7);
  opacity: 0.6;
}
.video-play-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
  margin-left: 2px;
}
.video-time {
  color: var(--subtle);
  font-weight: 600;
}
.video-frame.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 1080px) {
  .watch-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .watch-lead {
    margin-inline: auto;
  }
  .watch-points {
    display: inline-grid;
    text-align: left;
  }
}

/* ---------- Ticks and status chips ---------- */
.ticks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--muted);
}
.ticks li::before {
  content: '';
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23061328' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E")
      center / 15px no-repeat,
    var(--mint);
}
.status-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}
.status-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  min-width: 190px;
}
.st-green {
  background: #d3f0e2;
  color: var(--mint-deep);
}
.st-amber {
  background: #fff4d1;
  color: #6b4e00;
  border: 1.5px solid #b88a00;
}
.st-dash {
  border: 1.5px dashed #5b626c;
  color: var(--text);
}
.st-red {
  background: #b3261e;
  color: #fff;
}
.st-plain {
  color: var(--muted);
  padding-left: 0;
}

/* ---------- Privacy ---------- */
.privacy {
  padding: 90px 0 80px;
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.p-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.p-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.p-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.p-card:hover::after {
  transform: scaleX(1);
}
.p-big {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--primary), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p-unit {
  margin-left: 8px;
  font-weight: 700;
  color: var(--subtle);
}
.p-card h3 {
  margin: 20px 0 8px;
  font-size: 1.3rem;
}
.p-card p {
  color: var(--muted);
}

/* Privacy: the two answers US families ask first. */
.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.answer {
  display: grid;
  align-content: start;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid rgba(10, 79, 163, 0.12);
}
.answer::before {
  content: '?';
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.answer h3 {
  font-size: 1.18rem;
  margin: 6px 0 8px;
}
.answer p {
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.pricing-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg), var(--tint) 60%, var(--bg));
}
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 26px;
}
.plan {
  position: relative;
  padding: 40px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--divider);
  display: grid;
  gap: 22px;
  align-content: start;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.plan h3 {
  font-size: 1.4rem;
}
.plan-featured {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--primary), var(--mint)) border-box;
  border: 2px solid transparent;
}
.plan-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(90deg, var(--primary), #1fa57a);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}
.price {
  display: grid;
}
.price strong {
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price span {
  color: var(--subtle);
}
.plan .ticks {
  margin: 0;
}

.price strong small {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--subtle);
  margin-left: 4px;
}
.price strong small.price-pre {
  margin: 0;
}
.pricing-note {
  text-align: center;
  color: var(--subtle);
  margin-top: 28px;
  font-weight: 600;
}

/* ---------- Why we built it ---------- */
.founder {
  margin: 0 0 60px;
  padding: 40px 44px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.founder::before {
  content: '“';
  position: absolute;
  top: -34px;
  left: 36px;
  font-size: 6rem;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(120deg, var(--primary), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.founder blockquote {
  margin: 0;
}
.founder blockquote p {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}
/* ---------- FAQ ---------- */
.faq-section {
  padding: 90px 0 96px;
}
.faq {
  display: grid;
  gap: 14px;
}
.faq details {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--divider);
  padding: 0 28px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.faq details[open] {
  border-color: rgba(10, 79, 163, 0.35);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 44px 19px 0;
  font-weight: 700;
  font-size: 1.15rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background:
    linear-gradient(var(--primary), var(--primary)) center / 14px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center / 2px 14px no-repeat,
    var(--tint);
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat,
    var(--mint);
}
.faq-body p {
  color: var(--muted);
  padding-bottom: 24px;
}
.faq-body p:has(+ .faq-steps) {
  padding-bottom: 10px;
}
.faq-steps {
  margin: 0;
  padding: 0 0 24px 22px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.faq-steps strong {
  color: var(--text);
}
.faq details[open] .faq-body {
  animation: fade-up 0.5s var(--ease);
}

/* ---------- CTA ---------- */
.cta {
  margin-top: 64px;
}
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(48px, 6vw, 76px) clamp(24px, 6vw, 80px);
  border-radius: 44px;
  background: radial-gradient(120% 120% at 50% 0%, var(--ink-2), var(--ink));
  color: var(--on-ink);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 {
  color: #fff;
  max-width: 760px;
  margin: 0 auto;
}
.cta-card > p {
  text-wrap: balance;
  color: var(--on-ink-muted);
  font-size: 1.16rem;
  margin: 18px auto 0;
  max-width: 560px;
}
.cta-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.cta-orbs span:first-child {
  width: 360px;
  height: 360px;
  background: rgba(95, 211, 165, 0.5);
  left: -100px;
  bottom: -140px;
}
.cta-orbs span:last-child {
  width: 420px;
  height: 420px;
  background: rgba(47, 127, 214, 0.6);
  right: -120px;
  top: -160px;
}
.cta-form {
  max-width: 560px;
  margin: 36px auto 0;
}
.cta-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.cta-field:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(95, 211, 165, 0.18);
}
.cta-field .btn {
  flex: none;
}
.cta-form input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 22px;
  font: 400 1.05rem var(--font);
}
.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.cta-form input:focus {
  outline: none;
}
/* Chrome autofill paints a light box: keep the dark field and white text. */
.cta-form input:-webkit-autofill,
.cta-form input:-webkit-autofill:hover,
.cta-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 99999s ease-out 0s;
  box-shadow: 0 0 0 1000px transparent inset;
}
.cta-form .form-status {
  color: var(--mint);
  margin-top: 12px;
  min-height: 1.5em;
}
.cta-form .form-status:empty {
  margin-top: 0;
}

.form-status {
  font-weight: 700;
  min-height: 1.5em;
}
.form-status.ok {
  color: var(--mint-deep);
}
.form-status.error {
  color: #b3261e;
}
.cta-form .form-status.error {
  color: #ffb4ab;
}/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 64px 0 32px;
  overflow: hidden;
}
.footer-giant {
  font-size: clamp(4rem, 15vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.01));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 32px;
  white-space: nowrap;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.brand-light {
  color: #fff;
}
.footer-tag {
  margin-top: 12px;
  max-width: 340px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a,
.footer-legal a {
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--mint);
}
.footer-legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

/* ---------- Simple pages (privacy, terms, 404) ---------- */
.page {
  padding: 140px 0 80px;
}
.page h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.page h2 {
  font-size: 1.45rem;
  margin: 40px 0 12px;
}
.page p,
.page li {
  color: var(--muted);
}
.page .updated {
  color: var(--subtle);
}

.footer-help {
  margin-top: 14px;
}
.footer-help a {
  color: var(--mint);
  font-weight: 700;
}

/* ---------- One short fade per section (only with JS; never under reduce motion) ---------- */
.js .fade {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.js .fade.in {
  opacity: 1;
  transform: none;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero {
    padding-top: 112px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead,
  .cta-form.hero-form {
    margin-inline: auto;
  }
  .hero-meta {
    justify-content: center;
  }
  .hero-stage {
    height: 560px;
    max-width: 560px;
    width: 100%;
    margin: 10px auto 0;
  }
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .privacy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .duo-card {
    padding: 32px 28px 0;
  }
  .step {
    padding: 28px 18px;
  }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px 20px 28px;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 30px 40px -30px rgba(6, 19, 40, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      opacity 0.35s,
      visibility 0.35s;
  }
  .nav-menu.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    gap: 2px;
  }
  .nav-links a {
    display: block;
    padding: 12px 4px;
    font-size: 1.12rem;
  }
  .steps,
  .nods,
  .duo-grid,
  .answers {
    grid-template-columns: 1fr;
  }
  .steps {
    max-width: 440px;
    margin-inline: auto;
  }
  .duo-grid {
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  /* Phones: headline, email field and button all fit on the first screen. */
  .hero {
    padding: 92px 0 32px;
    min-height: 0;
  }
  .pill-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .hero-title {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
    margin-top: 16px;
  }
  .hero-lead {
    font-size: 1.02rem;
    margin-top: 14px;
  }
  .cta-form.hero-form {
    margin-top: 20px;
  }
  .hero-stage {
    height: 450px;
  }
  .device-hero-front {
    --w: 200px;
    left: 4%;
  }
  .device-hero-back {
    --w: 180px;
  }
  .toast {
    padding: 8px 12px 8px 8px;
    gap: 8px;
  }
  .toast strong {
    font-size: 0.82rem;
  }
  .toast small {
    font-size: 0.7rem;
  }
  .toast-icon {
    width: 30px;
    height: 30px;
  }
  .toast-2 {
    left: 0;
  }
  .toast-1 {
    right: 0;
  }
  .trust-row {
    margin-top: 28px;
    gap: 8px;
  }
  .trust-row li {
    font-size: 0.86rem;
    padding: 12px 10px;
    gap: 8px;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .privacy-grid {
    gap: 12px;
  }
  .p-card {
    padding: 22px 18px;
  }
  .p-big {
    font-size: 2.6rem;
  }
  .p-unit {
    margin-left: 4px;
  }
  .p-card h3 {
    margin-top: 14px;
    font-size: 1.08rem;
  }
  .p-card p {
    font-size: 0.94rem;
  }
  /* Steps become compact rows: a small phone beside the words. */
  .steps {
    gap: 14px;
  }
  .step {
    grid-template-columns: 104px 1fr;
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: 18px;
    justify-items: start;
    text-align: left;
    padding: 18px;
  }
  .device-step {
    --w: 104px;
    grid-row: 1 / 6;
  }
  .step-num {
    grid-row: 2;
  }
  .step h3 {
    grid-row: 3;
  }
  .step p {
    grid-row: 4;
  }
  .step-num {
    width: 34px;
    height: 34px;
    margin-top: 0;
    font-size: 1rem;
    box-shadow: none;
  }
  .step h3 {
    font-size: 1.14rem;
    margin: 10px 0 6px;
  }
  .step p {
    font-size: 0.96rem;
  }
  .plan {
    padding: 26px 22px;
  }
  .how,
  .duo,
  .privacy,
  .pricing-section,
  .faq-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .duo-phone {
    --w: 210px;
  }
  .answer {
    padding: 22px;
  }
  .founder {
    padding: 32px 24px;
    margin-bottom: 80px;
  }
  .cta {
    margin-top: 80px;
  }
  .cta-field {
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
  }
  .cta-field input {
    text-align: center;
  }
}

/* ---------- Reduce motion: everything still ---------- */
/* ---------- Contact us ---------- */
.contact-section {
  padding: 40px 0 110px;
}
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 24px;
  box-shadow: 0 24px 50px -30px rgba(6, 19, 40, 0.35);
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}
.contact-form .optional {
  font-weight: 400;
  color: var(--subtle);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: 400 1.05rem var(--font);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--primary-2);
  outline-offset: 2px;
  border-color: var(--primary);
}
.contact-form [aria-invalid='true'] {
  border-color: #b3261e;
}
.contact-form .btn {
  justify-self: start;
}
.contact-form .form-status.error {
  color: #b3261e;
}
/* Hidden from people and screen readers; only bots fill it in. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 22px 18px;
  }
  .contact-form .btn {
    justify-self: stretch;
  }
}

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

/* ---------- Toasts (form results) ---------- */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  display: grid;
  gap: 10px;
  width: min(440px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.note {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 16px 18px;
  border-radius: 20px;
  background: rgba(10, 20, 40, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  pointer-events: auto;
  animation: note-in 0.55s var(--ease) both;
}
.note.out {
  animation: note-out 0.4s var(--ease) both;
}
.note-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
}
.note-ok .note-icon {
  background: var(--mint);
  color: var(--ink);
  animation: pop 0.6s var(--ease) 0.15s both;
}
.note-error .note-icon {
  background: #ffb4ab;
  color: #410002;
}
.note strong {
  display: block;
  font-size: 1.02rem;
}
.note .note-text {
  display: block;
  margin-top: 2px;
  color: #c9d4e6;
  font-size: 0.94rem;
}
.note-close {
  border: 0;
  background: transparent;
  color: #c9d4e6;
  font-size: 1.3rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}
.note-close:hover {
  background: rgba(255, 255, 255, 0.1);
}
.note-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--mint), var(--primary-2));
  animation: note-bar 5s linear both;
}
.note-error .note-bar {
  background: #ffb4ab;
}
@keyframes note-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
}
@keyframes note-out {
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
}
@keyframes pop {
  from {
    transform: scale(0);
  }
  60% {
    transform: scale(1.2);
  }
}
@keyframes note-bar {
  to {
    transform: scaleX(0);
  }
}
.btn.is-sent {
  background: var(--mint);
  color: var(--ink);
}
.btn.is-busy {
  pointer-events: none;
  opacity: 0.75;
}
