/* ListingCue site. Apple-style: full-width blocks in white, light gray and black, with thin white gaps
   between them; San Francisco (the system font) throughout; centered headlines; blue pill buttons. */

:root {
  --ink: #000000;
  --text-dark: #1d1d1f;
  --frost: #f5f5f7;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-on-dark: #2997ff;
  --sky: #2997ff;
  --coral: #ff4d5e;
  --muted: #6e6e73;
  --muted-on-ink: #a1a1a6;
  --line: #d2d2d7;
  --line-on-ink: rgba(255, 255, 255, 0.18);

  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1080px;
  --section: clamp(72px, 9vw, 128px);
  --gap: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font: 400 1.0625rem/1.47 var(--text); letter-spacing: -0.022em;
  color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-on-dark); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--white); color: var(--text-dark); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */

.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.06; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.lede { font-size: clamp(1.2rem, 2.1vw, 1.75rem); line-height: 1.2; letter-spacing: 0.007em; font-weight: 400; text-wrap: balance; }
.prose { max-width: 40em; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }

/* ---------- buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px;
  font: 400 1.0625rem/1 var(--text); letter-spacing: -0.022em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 0.15s ease, color 0.15s ease;
}
.button--light, .button--blue { background: var(--blue); color: #fff; }
.button--light:hover, .button--blue:hover { background: #0077ed; }
.button--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.button--ghost:hover { background: var(--blue); color: #fff; }
.on-dark .button--ghost, .hero .button--ghost, .privacy .button--ghost { border-color: var(--blue-on-dark); color: var(--blue-on-dark); }
.on-dark .button--ghost:hover, .hero .button--ghost:hover, .privacy .button--ghost:hover { background: var(--blue-on-dark); color: #000; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* ---------- header: a slim translucent bar ---------- */

.header { position: sticky; top: 0; z-index: 50; color: #f5f5f7; background: rgba(22, 22, 23, 0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 0.8rem; letter-spacing: -0.01em; }
.nav a { text-decoration: none; opacity: 0.8; }
.nav a:hover { opacity: 1; }
.nav .button { min-height: 28px; padding: 0 12px; font-size: 0.8rem; opacity: 1; }
@media (max-width: 640px) { .nav__link { display: none; } }

/* ---------- blocks ---------- */

main > section { margin-bottom: var(--gap); }
.band, .hero, .privacy, .cta { padding-block: var(--section); text-align: center; }
.band--frost, .band--gray { background: var(--frost); }
.band--ink, .hero, .privacy { background: var(--ink); color: #f5f5f7; }
.block-head { max-width: 46rem; margin-inline: auto; }
.block-head p, .block-sub { margin-top: 14px; }

/* ---------- hero: words on top, the film beneath ---------- */

.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: var(--gutter); }
.hero__grid { display: block; }
.hero__copy { max-width: 52rem; margin-inline: auto; }
.hero__copy .lede { margin: 18px auto 0; max-width: 34em; color: #f5f5f7; }
.hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__note { margin-top: 16px; color: var(--muted-on-ink); font-size: 0.875rem; }
.hero__media { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1400px; padding-inline: var(--gutter); }
.hero__video { width: 100%; height: auto; aspect-ratio: 1280 / 704; max-height: 72vh; object-fit: cover; object-position: 60% 40%; border-radius: 28px; background: #111; }
@media (max-width: 760px) {
  .hero__video { aspect-ratio: 4 / 5; max-height: none; object-position: 78% 35%; border-radius: 22px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; min-height: 50px; }
}

/* ---------- iPhone 18 Pro ---------- */
/* Proportions follow the real device (71.5 x 149.6 mm, 6.3-inch 1206 x 2622 display): thin bezel, rounded
   metal band, action and volume buttons on the left, power and camera control on the right, Dynamic Island.
   Everything is sized from --w, the phone's width. */

.phone {
  --w: 310px;
  width: var(--w); aspect-ratio: 71.5 / 149.6; flex: none; position: relative;
  border-radius: calc(var(--w) * 0.178);
  /* natural titanium band */
  background: linear-gradient(145deg, #b9b9be 0%, #5a5a5f 16%, #2c2c2e 46%, #48484a 78%, #c2c2c7 100%);
  box-shadow:
    0 60px 100px -40px rgba(0, 0, 0, 0.75),
    0 20px 40px -20px rgba(0, 0, 0, 0.5),
    inset 0 0 0 calc(var(--w) * 0.003) rgba(255, 255, 255, 0.38);
}
.phone::before { /* the black glass bezel inside the band */
  content: ""; position: absolute; inset: calc(var(--w) * 0.011); border-radius: calc(var(--w) * 0.168);
  background: #040508; box-shadow: inset 0 0 0 calc(var(--w) * 0.002) rgba(255, 255, 255, 0.06);
}
.phone__buttons i {
  position: absolute; width: calc(var(--w) * 0.012); border-radius: calc(var(--w) * 0.008);
  background: linear-gradient(90deg, #6e6e73, #2c2c2e 55%, #58585c);
}
.phone__buttons .action { left: calc(var(--w) * -0.007); top: 14.6%; height: 3.4%; }
.phone__buttons .up { left: calc(var(--w) * -0.007); top: 20.4%; height: 6.4%; }
.phone__buttons .down { left: calc(var(--w) * -0.007); top: 28.4%; height: 6.4%; }
.phone__buttons .power { right: calc(var(--w) * -0.007); top: 24%; height: 10.4%; background: linear-gradient(270deg, #6e6e73, #2c2c2e 55%, #58585c); }
.phone__buttons .control { right: calc(var(--w) * -0.005); top: 55%; height: 6.8%; width: calc(var(--w) * 0.010); background: linear-gradient(270deg, #58585c, #1c1c1e 60%, #48484a); }

.screen {
  position: absolute; inset: calc(var(--w) * 0.0345); overflow: hidden; container-type: inline-size;
  border-radius: calc(var(--w) * 0.145); background: #000; font-family: var(--text);
}
.screen::after { /* the Dynamic Island */
  content: ""; position: absolute; z-index: 30; top: 2.8cqw; left: 50%; translate: -50% 0;
  width: 31.3cqw; height: 9.2cqw; border-radius: 99px; background: #000;
}
.screen::before { /* a faint reflection across the glass */
  content: ""; position: absolute; inset: 0; z-index: 31; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 34%);
}
.phone--small { --w: 236px; }

/* a full-screen picture or video inside the phone */
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* the real record screen: the camera picture, then the app's own top (prompter) and bottom (controls) layers */
.rec-band { position: absolute; z-index: 5; left: 0; top: 0; width: 100%; aspect-ratio: 1206 / 1000; display: block; }
.rec-controls { position: absolute; z-index: 5; left: 0; bottom: 0; width: 100%; aspect-ratio: 1206 / 672; display: block; }

/* the finished video: one real exported frame at a time */
.final { position: absolute; inset: 0; }
.final img { opacity: 0; transition: opacity 0.6s ease; }
.final img.is-on { opacity: 1; }
.final--cut img { transition-duration: 0.18s; }
/* a finished video is 9:16, a little wider than the screen: show all of it, as the Photos app would */
[data-final] { background: #000; }
[data-final] img { object-fit: contain; }
.saved { position: absolute; z-index: 9; left: 50%; bottom: 9cqw; translate: -50% 0; background: #fff; color: #111; font: 700 3.6cqw/1 var(--text); padding: 3cqw 5cqw; border-radius: 99px; white-space: nowrap; box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.3); opacity: 0; transition: opacity 0.35s ease; }
.show-end .saved { opacity: 1; }

/* the assistant, where a script starts. Names only: no logos, and a neutral look for both. */
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 14cqw 4.6cqw 5cqw; font-size: 3.5cqw; line-height: 1.42; transition: background 0.4s ease, color 0.4s ease; }
.chat[data-provider="chatgpt"] { background: #ffffff; color: #1a1a1a; --bubble: #f1f1f1; --rule: #e6e6e6; --muted: #6b6b6b; }
.chat[data-provider="claude"] { background: #f6f3ee; color: #2a2723; --bubble: #ebe6dc; --rule: #ddd6c8; --muted: #7a7266; }
.chat[data-provider="claude"] .chat__reply { font-family: ui-serif, "New York", Georgia, serif; }
.statusbar { position: absolute; z-index: 2; top: 3.4cqw; left: 0; right: 0; height: 6cqw; display: flex; justify-content: space-between; align-items: center; padding: 0 8.4cqw 0 9.4cqw; font: 600 4.1cqw/1 var(--text); }
.statusbar svg { height: 3.1cqw; width: auto; }
.chat__top { display: flex; align-items: center; justify-content: center; margin-bottom: 4cqw; }
.chat__switch { display: inline-flex; border-radius: 99px; background: var(--bubble); padding: 0.8cqw; }
.chat__switch button { appearance: none; border: 0; background: transparent; color: inherit; font: 600 3.2cqw/1 var(--text); padding: 2cqw 3.6cqw; border-radius: 99px; cursor: pointer; }
.chat__switch button[aria-pressed="true"] { background: #fff; color: #111; box-shadow: 0 0.4cqw 1.4cqw rgba(0, 0, 0, 0.14); }
.chat__ask { align-self: flex-end; max-width: 84%; background: var(--bubble); border-radius: 4cqw; padding: 2.8cqw 3.6cqw; margin-bottom: 4cqw; }
.chat__reply { flex: 1; overflow: hidden; }
.chat__reply b { font-weight: 700; }
.chat__reply p { margin: 0 0 1.8cqw; }
.chat__reply em { font-style: italic; color: var(--muted); }
.chat__reply .tag { color: #2457d6; }
.chat__reply h4 { margin: 0 0 1.8cqw; font-size: 4cqw; }
.chat__actions { display: flex; gap: 4.4cqw; align-items: center; padding-top: 3cqw; border-top: 0.3cqw solid var(--rule); color: var(--muted); }
.chat__actions svg { width: 5cqw; height: 5cqw; }
.chat__actions .share { color: #2457d6; position: relative; }
.chat__actions .share::after { content: ""; position: absolute; inset: -2.2cqw; border-radius: 50%; border: 0.5cqw solid #2457d6; opacity: 0; }
.is-live .chat__actions .share::after { animation: tap 1.8s ease-out infinite; }
@keyframes tap { 0% { opacity: 0.7; transform: scale(0.7); } 100% { opacity: 0; transform: scale(1.5); } }
.chat__home { height: 1.2cqw; width: 34cqw; border-radius: 99px; background: currentColor; opacity: 0.85; align-self: center; margin-top: 4cqw; }

/* the share sheet over the assistant */
.sheet-over { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.sheet-over__panel { position: absolute; left: 0; right: 0; bottom: 0; height: 84%; border-radius: 6cqw 6cqw 0 0; overflow: hidden; background: #f2f2f7; transform: translateY(100%); transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.is-sheet .sheet-over__panel { transform: none; }
.sheet-over__panel img { position: absolute; left: 0; top: -9.5cqw; width: 100%; display: block; }

/* ---------- the problem (white) ---------- */

.problem__grid { display: block; }
.problem .prose { margin: 22px auto 0; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.4; }
.problem .prose strong { color: var(--text-dark); font-weight: 600; }
.problem__photo { margin-top: clamp(36px, 5vw, 64px); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; }
.problem__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 760px) { .problem__photo { aspect-ratio: 4 / 3; border-radius: 22px; } }

/* ---------- the walk-through (gray) ---------- */

.walk__head { max-width: 46rem; margin-inline: auto; }
.walk__head p { margin-top: 14px; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.walk { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 64px); text-align: left; }
.walk__phone { position: sticky; top: max(9vh, 64px); align-self: start; height: min(84vh, 700px); display: grid; place-items: center; order: 2; }
.walk__phone .phone { --w: min(330px, 40vh); }
.state { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }
.state.is-active { opacity: 1; }
.steps { order: 1; }
.step { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: 0.35; transition: opacity 0.35s ease; }
.step.is-current { opacity: 1; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--text-dark); color: #fff; font: 600 1.1rem/1 var(--display); margin-bottom: 20px; }
.step h3 { font: 600 clamp(1.6rem, 2.8vw, 2.25rem)/1.1 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
.step p { margin-top: 14px; color: var(--muted); font-size: 1.15rem; line-height: 1.4; text-wrap: pretty; }
.step p + p { margin-top: 10px; }
.step p b { color: var(--text-dark); font-weight: 600; }
@media (max-width: 900px) {
  .walk { display: block; margin-top: 24px; }
  .walk__phone { position: sticky; top: 48px; z-index: 4; height: auto; padding: 14px 0 20px; background: linear-gradient(var(--frost) 88%, rgba(245, 245, 247, 0)); }
  .walk__phone .phone { --w: min(176px, 22vh); }
  .step { min-height: 46vh; justify-content: flex-start; padding-bottom: 5vh; max-width: none; }
  .steps { padding-bottom: 36vh; }
}

/* ---------- the listing sheet (white) ---------- */

.sheet__grid { display: block; }
.sheet__head p { margin-top: 14px; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.sheet dl { max-width: 820px; margin: clamp(32px, 5vw, 56px) auto 0; text-align: left; border-top: 1px solid var(--line); }
.sheet__row { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sheet dt { font-weight: 600; }
.sheet dd { color: var(--muted); }
.sheet dd strong { color: var(--text-dark); font-weight: 600; }
@media (max-width: 640px) { .sheet__row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- privacy (black) ---------- */

.privacy .prose { margin: 20px auto 0; color: var(--muted-on-ink); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.4; }
.privacy h2 { margin-inline: auto; }
.facts { margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; max-width: 54rem; }
.facts li { padding-left: 28px; position: relative; font-weight: 500; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 15px; height: 8px; border-left: 2.5px solid var(--blue-on-dark); border-bottom: 2.5px solid var(--blue-on-dark); rotate: -45deg; }
.privacy .button { margin-top: 34px; }

/* ---------- questions (gray) ---------- */

.faq__grid { display: block; }
.faq__list { max-width: 820px; margin: clamp(32px, 5vw, 56px) auto 0; text-align: left; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font: 600 1.2rem/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.7rem/1 var(--text); color: var(--muted); transition: rotate 0.2s ease; flex: none; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- closing call to action (white) ---------- */

.cta .lede { margin: 16px auto 0; max-width: 30em; color: var(--muted); }
.cta .button { margin-top: 26px; }
.cta__note { margin-top: 14px; color: var(--muted); font-size: 0.875rem; }

/* ---------- footer (gray, small) ---------- */

.footer { background: var(--frost); color: var(--muted); padding: 28px 0 32px; font-size: 0.75rem; line-height: 1.5; letter-spacing: -0.01em; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--text-dark); font-size: 0.95rem; }
.footer .brand img { width: 26px; height: 26px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; color: #424245; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer small { display: block; margin-top: 16px; max-width: 80ch; font-size: inherit; }
.footer small a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- legal pages ---------- */

.doc-head { background: var(--ink); color: #f5f5f7; text-align: center; }
.doc-hero { padding: clamp(48px, 7vw, 88px) 0; }
.doc-hero p { margin-top: 14px; color: var(--muted-on-ink); font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.doc { padding-block: clamp(48px, 7vw, 96px); }
.doc__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 76px; font-size: 0.9rem; }
.toc p { font-weight: 600; margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.legal { max-width: 68ch; line-height: 1.6; }
.legal h2 { font: 600 1.6rem/1.2 var(--display); letter-spacing: -0.012em; margin: 2.2em 0 0.5em; scroll-margin-top: 76px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
.legal p, .legal ul { margin-top: 0.9em; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal li + li { margin-top: 0.45em; }
.legal a { color: var(--blue); text-underline-offset: 3px; }
.legal .summary-box { background: var(--frost); border-radius: 18px; padding: 22px 26px; margin-bottom: 2.2em; }
.legal .summary-box p { margin: 0; font-size: 1.15rem; font-weight: 500; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) { .doc__grid { grid-template-columns: 1fr; } .toc { position: static; } }
