:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.09);
  --button: #1d1d1f;
  --button-text: #ffffff;
  --blue: #0a7aff;
  --green: #28a745;
  --nav: rgba(255, 255, 255, 0.78);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 50px -18px rgba(0, 0, 0, 0.18);
  --radius: 20px;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img, svg { display: block; }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.022em; line-height: 1.08; }
h1 { font-size: clamp(42px, 7.2vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 750; letter-spacing: -0.032em; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.012em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color 0.15s ease; }
.links a:hover { color: var(--text); }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.button:hover { opacity: 0.86; }
.button:active { transform: scale(0.98); }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button.ghost:hover { opacity: 1; background: var(--bg-soft); }
.button.small { height: 36px; padding: 0 16px; font-size: 14px; }

/* Hero */

.hero { padding: clamp(56px, 9vw, 104px) 0 0; text-align: center; }
.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.lede { max-width: 680px; margin: 24px auto 0; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.fine { font-size: 14px; color: var(--faint); margin: 18px 0 0; }

/* The app, drawn */

.window {
  margin: clamp(48px, 7vw, 72px) auto 0;
  max-width: 1040px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-align: left;
}
.titlebar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.segmented { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--bg-soft); font-size: 12px; }
.segmented span { padding: 3px 13px; border-radius: 6px; color: var(--muted); }
.segmented .on { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14); }
.export { justify-self: end; padding: 5px 13px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; }

.canvas { position: relative; padding: 38px 38px 104px; background: var(--bg-soft); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }

.shot {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1290 / 2796;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.4);
}
.copy { position: absolute; inset: 8cqw 5cqw auto; text-align: center; }
.copy p {
  margin: 0;
  font-family: var(--display);
  font-size: 10.5cqw;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #1d1d1f;
}
.copy p em { font-style: normal; color: var(--tint); }
.copy small { display: block; margin-top: 3cqw; font-size: 4.7cqw; font-weight: 600; line-height: 1.25; color: rgba(29, 29, 31, 0.6); }
.phone {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 23%;
  aspect-ratio: 1290 / 2796;
  padding: 2.4cqw;
  border-radius: 13cqw;
  background: #121214;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.5);
}
.screen { position: relative; height: 100%; padding: 15cqw 6cqw 0; border-radius: 10.8cqw; background: #fff; overflow: hidden; }
.island { position: absolute; top: 3.6cqw; left: 50%; width: 22cqw; height: 6.4cqw; transform: translateX(-50%); border-radius: 99px; background: #121214; }
.screen .title { font-family: var(--display); font-size: 6.6cqw; font-weight: 800; letter-spacing: -0.02em; color: #1d1d1f; }
.row { display: flex; align-items: center; gap: 3cqw; height: 10.5cqw; margin-top: 3cqw; padding: 0 3.4cqw; border-radius: 3.4cqw; background: #f2f2f5; }
.row b { flex: none; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; border: 0.9cqw solid var(--tint); }
.row b.done { background: var(--tint); }
.row i { flex: 1; height: 2.4cqw; border-radius: 99px; background: #d8d8de; }
.row i.short { flex: none; width: 45%; margin-right: auto; }
.toggle { position: relative; flex: none; width: 9.4cqw; height: 5.6cqw; margin-left: auto; border-radius: 99px; background: #3a3a3c; }
.toggle::after { content: ""; position: absolute; top: 0.6cqw; left: 0.6cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #fff; }
.toggle.on { background: var(--tint); }
.toggle.on::after { left: auto; right: 0.6cqw; }
.card { margin-top: 4cqw; padding: 4.6cqw; border-radius: 4cqw; background: var(--tint); }
.card i { display: block; width: 70%; height: 2.8cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.9); }
.card i.short { width: 42%; margin-top: 2.4cqw; background: rgba(255, 255, 255, 0.6); }
.progress { height: 3cqw; margin-top: 5cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.35); }
.progress span { display: block; height: 100%; border-radius: 99px; background: #fff; }
.bars { display: flex; align-items: flex-end; gap: 2.6cqw; height: 42cqw; margin-top: 7cqw; padding: 4cqw; border-radius: 4cqw; background: #f2f2f5; }
.bars i { flex: 1; border-radius: 1.6cqw; background: var(--tint); opacity: 0.9; }
.ring { display: grid; place-items: center; width: 52cqw; aspect-ratio: 1; margin: 9cqw auto 0; border-radius: 50%; background: conic-gradient(var(--tint) 0 72%, #ececf0 0); }
.ring span { display: grid; place-items: center; width: 40cqw; aspect-ratio: 1; border-radius: 50%; background: #fff; font-family: var(--display); font-size: 8.4cqw; font-weight: 800; letter-spacing: -0.02em; color: #1d1d1f; }
.pill { width: 60%; height: 8.6cqw; margin: 7cqw auto 4cqw; border-radius: 99px; background: var(--tint); }

.s1 { --tint: #ff6a3d; background: linear-gradient(180deg, #ffeadb, #ffc8a6); }
.s2 { --tint: #2f6bff; background: linear-gradient(180deg, #e1edff, #b3cfff); }
.s3 { --tint: #10a36a; background: linear-gradient(180deg, #e3f8eb, #b7ecd0); }
.s4 { --tint: #b79cff; background: linear-gradient(180deg, #2b2640, #141220); }
.s4 .copy p { color: #fff; }
.s4 .copy small { color: rgba(255, 255, 255, 0.66); }
.s4 .phone { background: #3a3a3e; }
.s4 .screen { background: #1c1c1e; }
.s4 .screen .title { color: #fff; }
.s4 .row { background: #2c2c2e; }
.s4 .row i { background: #48484a; }

.bar {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(580px, calc(100% - 40px));
  padding: 9px 9px 9px 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 14px 34px -12px rgba(0, 0, 0, 0.3);
  font-size: 15px;
}
.bar .spark { color: var(--faint); font-size: 15px; }
.bar .prompt { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar .prompt::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--blue);
  animation: caret 1.1s steps(1) infinite;
}
.bar .send { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; }
.bar .send svg { width: 15px; height: 15px; }

@keyframes caret { 50% { opacity: 0; } }

/* Sections */

.section { padding: clamp(80px, 11vw, 136px) 0 0; }
.section-head { max-width: 700px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.kicker { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--blue); }
.section-head > p:last-child { margin: 16px 0 0; font-size: 19px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; border-radius: var(--radius); background: var(--bg-soft); }
.step .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 700; }
.step h3 { margin: 20px 0 8px; }
.step p { margin: 0; font-size: 16px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.feature .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
.feature .icon svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 18px 0 8px; }
.feature p { margin: 0; font-size: 16px; color: var(--muted); }

/* Pricing */

.price-card { max-width: 480px; margin: 0 auto; padding: clamp(28px, 4vw, 40px); border-radius: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--lift); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); font-size: 13px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.price b { font-family: var(--display); font-size: 60px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price span { color: var(--muted); font-size: 17px; }
.price s { color: var(--faint); font-size: 22px; font-weight: 600; }
.price-note { margin: 0; font-size: 15px; color: var(--muted); }
.includes { display: grid; gap: 12px; margin: 26px 0 30px; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); }
.includes li { position: relative; padding-left: 30px; font-size: 16px; }
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.price-card .button { width: 100%; }
.price-card .fine { text-align: center; }

/* FAQ */

.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; line-height: 1; color: var(--faint); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 2px 24px; max-width: 680px; color: var(--muted); }

/* Last call */

.cta { margin-top: clamp(80px, 11vw, 136px); padding: clamp(56px, 8vw, 88px) 24px; border-radius: 28px; background: var(--bg-soft); text-align: center; }
.cta p { margin: 14px auto 30px; max-width: 520px; font-size: 19px; color: var(--muted); }

/* Footer */

footer { margin-top: clamp(72px, 9vw, 112px); padding: 36px 0 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-top .brand { font-size: 17px; color: var(--text); }
.footer-top .mark { width: 30px; height: 30px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-fine { margin-top: 24px; font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.footer-fine p { margin: 0 0 4px; }

/* Legal pages */

.legal { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) 0 0; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); letter-spacing: -0.035em; }
.legal .updated { margin: 12px 0 36px; color: var(--faint); font-size: 15px; }
.legal .summary { padding: 20px 22px; border-radius: 16px; background: var(--bg-soft); }
.legal h2 { margin: 40px 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.legal p, .legal li { font-size: 16.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--blue); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.back { margin-left: auto; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }

/* Smaller screens */

@media (max-width: 900px) {
  .links { display: none; }
  .nav-inner .button { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .canvas { padding: 22px 22px 92px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot:nth-child(n + 3) { display: none; }
  .segmented span:not(.on) { display: none; }
  .bar { bottom: 24px; font-size: 14px; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; gap: 36px; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar .prompt::after { animation: none; }
  .button, .faq summary::after { transition: none; }
}
