/* Poof — poof.themit.ca. Apple's system font on Apple devices, Inter everywhere else. */
:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #707075;
  --line: rgba(0, 0, 0, 0.08);
  --ink: #1d1d1f;
  --indigo: #3d3a8f;
  --cyan: #2fd0f0;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; border-radius: 8px; }

.wrap { width: min(1080px, 100% - 44px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 44px); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 13px; }
.nav-links a { color: var(--text); opacity: 0.8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0;
  font: 500 17px/1 var(--font); letter-spacing: -0.022em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.button:hover { text-decoration: none; }
.button:active { transform: scale(0.98); }
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: #000; }
.button.secondary { background: rgba(0, 0, 0, 0.06); color: var(--text); }
.button.secondary:hover { background: rgba(0, 0, 0, 0.1); }
.button.small { min-height: 32px; padding: 0 14px; font-size: 13px; }
.button[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.button svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 76px 0 28px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1;
  background: radial-gradient(48% 55% at 50% 40%, rgba(61, 58, 143, 0.13), transparent 70%),
              radial-gradient(30% 40% at 70% 30%, rgba(47, 208, 240, 0.12), transparent 70%);
}
.app-icon { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 12px 24px rgba(40, 36, 120, 0.25)); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--indigo); margin: 0 0 10px; letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }
h1 {
  font: 700 clamp(46px, 7.4vw, 84px)/1.03 var(--display);
  letter-spacing: -0.045em; margin: 0 auto; max-width: 12ch;
}
h1 .soft { color: var(--faint); }
.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.4; color: var(--muted); max-width: 36ch; margin: 22px auto 30px; letter-spacing: -0.02em; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--faint); margin: 16px 0 0; }

/* The call window */
.stage { padding: 40px 0 0; }
.window {
  background: #e8e8ed; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 30px 80px -20px rgba(0, 0, 0, 0.3), 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}
.titlebar { display: flex; align-items: center; height: 38px; padding: 0 14px; background: linear-gradient(#f2f2f5, #e6e6eb); border-bottom: 1px solid rgba(0, 0, 0, 0.08); position: relative; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.titlebar .title { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: #4a4a4f; pointer-events: none; }
.screen { position: relative; aspect-ratio: 16 / 9; background: #ddd; }
.screen video { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 980px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; transition: background 0.3s; }
.badge.gone .dot { background: #ff9f0a; }
.sound-toggle {
  position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px;
  padding: 8px 13px; border: 0; border-radius: 980px; font: 600 13px var(--font); color: #fff; cursor: pointer;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sound-toggle svg { width: 16px; height: 16px; }
.sound-toggle[aria-pressed="true"] { background: rgba(255, 255, 255, 0.9); color: var(--text); }

.segmented {
  display: inline-flex; padding: 3px; margin: 26px auto 0; border-radius: 980px;
  background: rgba(0, 0, 0, 0.06);
}
.segmented button {
  border: 0; background: transparent; padding: 9px 22px; border-radius: 980px;
  font: 500 15px var(--font); color: var(--text); cursor: pointer; letter-spacing: -0.01em;
  transition: background 0.2s, box-shadow 0.2s;
}
.segmented button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-weight: 600; }
.effect-caption { color: var(--muted); font-size: 15px; min-height: 24px; margin: 12px 0 0; }
.center { text-align: center; }

/* Sections */
section { padding: 110px 0 0; }
.section-head { text-align: center; margin-bottom: 44px; }
h2 { font: 700 clamp(34px, 5vw, 56px)/1.07 var(--display); letter-spacing: -0.04em; margin: 0 auto 14px; max-width: 18ch; }
.section-head p { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 auto; }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: 0 0 0 1px var(--line); }
.card h3 { font-size: 21px; letter-spacing: -0.03em; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Sounds */
.sounds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sound {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 12px 22px;
  border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  font: 600 16px var(--font); color: var(--text); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.sound:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(0, 0, 0, 0.2); }
.sound .play {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #4b47a8, #2a2870); color: #fff;
}
.sound .play svg { width: 20px; height: 20px; }
.sound .tag { font-size: 12px; font-weight: 500; color: var(--faint); margin-top: -8px; }
.sound.playing .play { background: linear-gradient(145deg, #2fd0f0, #1a9cc0); }
.bars { display: flex; gap: 3px; align-items: center; height: 20px; }
.bars i { width: 3px; height: 6px; border-radius: 2px; background: #fff; }
.sound.playing .bars i { animation: bar 0.6s ease-in-out infinite alternate; }
.sound.playing .bars i:nth-child(2) { animation-delay: -0.2s; }
.sound.playing .bars i:nth-child(3) { animation-delay: -0.4s; }
@keyframes bar { to { height: 18px; } }

/* Gestures */
.gesture { text-align: center; padding: 38px 28px 32px; }
.gesture .emoji { font-size: 64px; line-height: 1; height: 72px; margin-bottom: 18px; display: flex; justify-content: center; align-items: center; gap: 2px; }
.gesture.animate .emoji span { display: inline-block; }
.gesture:nth-child(1) .emoji span { animation: salute 2.4s ease-in-out infinite; transform-origin: 70% 80%; }
.gesture:nth-child(2) .emoji span { animation: snap 1.6s ease-in-out infinite; }
.gesture:nth-child(3) .emoji span:first-child { animation: punch 1.8s ease-in-out infinite; }
@keyframes salute { 0%, 55%, 100% { transform: rotate(0); } 65%, 85% { transform: rotate(-12deg); } }
@keyframes snap { 0%, 60%, 100% { transform: scale(1); } 68% { transform: scale(1.18) rotate(-6deg); } 76% { transform: scale(0.96); } }
@keyframes punch { 0%, 50%, 100% { transform: translateX(-10px); } 62% { transform: translateX(8px); } 70% { transform: translateX(2px); } }
@media (prefers-reduced-motion: reduce) { .gesture .emoji span, .sound.playing .bars i { animation: none !important; } }

.pill { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 2px 8px; border-radius: 980px; font-size: 12px; font-weight: 600; letter-spacing: 0; background: rgba(0, 0, 0, 0.06); color: var(--muted); }
.pill.pro { background: rgba(61, 58, 143, 0.1); color: var(--indigo); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 26px; left: 30px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--ink);
}

/* Privacy band */
.privacy-band {
  margin-top: 110px; padding: 72px 0; text-align: center; color: #f5f5f7;
  background: radial-gradient(70% 120% at 50% 0%, #3d3a8f, #16153a 70%);
}
.privacy-band h2 { color: #fff; }
.privacy-band p { color: rgba(245, 245, 247, 0.72); font-size: 19px; max-width: 46ch; margin: 0 auto; }
.privacy-band .lock { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--cyan); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { padding: 36px; display: flex; flex-direction: column; }
.plan .name { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.plan .price { font: 700 48px/1 var(--display); letter-spacing: -0.04em; margin: 0 0 4px; }
.plan .price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--indigo); font-weight: 700; }
.plan.pro { box-shadow: 0 0 0 2px var(--indigo), 0 24px 60px -28px rgba(0, 0, 0, 0.3); }
.plan.pro .name { color: var(--indigo); }
.plans-fine { text-align: center; font-size: 13px; color: var(--faint); margin: 22px auto 0; max-width: 60ch; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; letter-spacing: -0.025em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--faint); font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final call to action and footer */
.closer { text-align: center; padding: 120px 0 100px; }
.closer img { width: 80px; height: 80px; margin: 0 auto 20px; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 12px; color: var(--faint); }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); }

/* Text pages (thanks, legal) */
.page { padding: 70px 0 90px; }
.page h1 { font-size: clamp(36px, 5vw, 48px); max-width: none; text-align: left; margin-bottom: 8px; }
.page h2 { font-size: 24px; text-align: left; margin: 36px 0 8px; max-width: none; letter-spacing: -0.03em; }
.page p, .page li { color: #3a3a3c; }
.page .updated { color: var(--faint); font-size: 14px; margin: 0 0 28px; }
.key {
  font: 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 14px; padding: 18px; margin: 18px 0;
}
.notice { background: #fff8e6; border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .grid.three { grid-template-columns: 1fr; }
  .sounds { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .button { margin-left: auto; }
}
@media (max-width: 520px) {
  .sounds { grid-template-columns: repeat(2, 1fr); }
  .segmented button { padding: 9px 16px; }
  section { padding-top: 84px; }
}
