/* Liquid Glass, after iOS 26 / macOS 26: translucent material that blurs and saturates what's behind it,
   a bright specular rim on the lit edge, and a soft inner glow. Everything glass uses the .glass class. */
:root {
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #007aff;
  --accent-deep: #0062d6;
  --accent-ink: #0066cc;
  --glass-fill: rgba(255, 255, 255, 0.52);
  --glass-rim: rgba(255, 255, 255, 0.95);
  --glass-rim-soft: rgba(255, 255, 255, 0.25);
  --glass-edge: rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 10px 30px -8px rgba(0, 0, 0, 0.14), 0 30px 80px -30px rgba(0, 0, 0, 0.18);
  --glow-a: rgba(0, 122, 255, 0.18);
  --glow-b: rgba(120, 190, 255, 0.22);
  --glow-c: rgba(120, 140, 255, 0.10);
  --media-bg: #111;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #7c7c82;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #0a84ff;
    --accent-deep: #006ee0;
    --accent-ink: #4da3ff;
    --glass-fill: rgba(40, 40, 44, 0.42);
    --glass-rim: rgba(255, 255, 255, 0.30);
    --glass-rim-soft: rgba(255, 255, 255, 0.06);
    --glass-edge: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 12px 36px -10px rgba(0, 0, 0, 0.6), 0 40px 100px -30px rgba(0, 0, 0, 0.7);
    --glow-a: rgba(10, 132, 255, 0.22);
    --glow-b: rgba(20, 60, 160, 0.30);
    --glow-c: rgba(90, 110, 255, 0.10);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code { font: 500 0.86em ui-monospace, "SF Mono", Menlo, monospace; background: var(--line); padding: 1px 6px; border-radius: 6px; }
img, video { display: block; max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.045em; }
h1 span { color: var(--muted); }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.035em; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.028em; margin-bottom: 16px; }
p + p { margin-top: 12px; }
.sub { color: var(--muted); font-size: clamp(18px, 1.9vw, 21px); margin-top: 12px; line-height: 1.45; }

/* The colour behind the glass. Soft light from the icon's blue, fixed so glass shifts as you scroll. */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 12% -5%, var(--glow-a), transparent 70%),
    radial-gradient(50vw 45vh at 95% 10%, var(--glow-b), transparent 70%),
    radial-gradient(70vw 60vh at 50% 110%, var(--glow-c), transparent 70%); }

/* Glass material */
.glass {
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 1px 0 var(--glass-rim-soft), var(--glass-shadow);
  isolation: isolate;
}
/* Specular rim: bright where light hits (top-left, following the pointer when there is one), fading around the edge. */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background:
    radial-gradient(240px circle at var(--mx, 20%) var(--my, 0%), var(--glass-rim), transparent 70%),
    linear-gradient(160deg, var(--glass-rim) 0%, transparent 32%, transparent 68%, var(--glass-rim-soft) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: color-mix(in srgb, var(--bg) 92%, var(--text)); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: color-mix(in srgb, var(--bg) 90%, var(--text)); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Nav: a floating capsule, like a toolbar in macOS 26 */
nav.top { position: sticky; top: 12px; z-index: 20; padding: 0 16px; margin-top: 12px; }
.bar { max-width: 780px; margin: 0 auto; height: 52px; border-radius: 999px; padding: 0 8px 0 18px;
       display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
nav .links { display: flex; gap: 4px; font-size: 14.5px; }
nav .links a { color: var(--muted); padding: 7px 12px; border-radius: 999px; transition: color .15s, background .15s; }
nav .links a:hover { color: var(--text); background: var(--line); text-decoration: none; }

/* Buttons: tinted glass (primary) and clear glass (secondary) */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 17px;
       border-radius: 999px; padding: 14px 26px; color: var(--text); white-space: nowrap; cursor: pointer;
       transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), filter .15s; }
.btn:hover { text-decoration: none; transform: scale(1.03); }
.btn:active { transform: scale(0.97); }
.btn.small { font-size: 14.5px; padding: 8px 16px; }
.btn.tint { color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 1px rgba(0, 0, 0, 0.12), 0 6px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.tint:hover { filter: brightness(1.06); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* Hero */
.hero { padding: 72px 0 24px; text-align: center; }
.app-icon { width: 128px; height: 128px; margin: 0 auto 28px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25)); }
.hero h1 { margin: 0 auto; text-wrap: balance; }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 40ch; margin: 24px auto 0; line-height: 1.45; }
.meta { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* A framed recording: glass bezel around the media */
.window { padding: 8px; border-radius: 22px; margin: 0; }
.window video, .window img { width: 100%; height: auto; aspect-ratio: 1600 / 996; object-fit: cover; border-radius: 15px; background: var(--media-bg); }
.window img { aspect-ratio: 1600 / 1000; }
.hero .window { max-width: 1240px; margin: 64px auto 0; }
@media (min-width: 1300px) { .hero .window { width: calc(100% - 64px); } }
@media (max-width: 1299px) { .hero .window { margin-left: 16px; margin-right: 16px; } }
.caption { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* Tour */
section { padding: 112px 0; }
.head { text-align: center; margin-bottom: 72px; }
.chapter { display: grid; grid-template-columns: 5fr 8fr; gap: 64px; align-items: center; }
.chapter + .chapter { margin-top: 112px; }
.chapter.flip { grid-template-columns: 8fr 5fr; }
.chapter.flip .copy { order: 2; }
.chapter .copy p { color: var(--muted); }

/* Bento of screenshots */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { margin: 0; border-radius: 28px; padding: 10px 10px 24px; display: flex; flex-direction: column; }
.card.wide { grid-column: 1 / -1; }
.card img { width: 100%; height: auto; border-radius: 19px; background: var(--media-bg); }
.card:not(.wide) img { aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top center; }
.card figcaption { margin: 20px 14px 0; color: var(--muted); font-size: 16px; max-width: 62ch; }
.card figcaption b { color: var(--text); font-weight: 600; }

/* Specs */
.specs h2 { margin-bottom: 32px; }
dl { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 28px; overflow: hidden; }
dl > div { padding: 28px 28px 30px; box-shadow: inset -1px -1px 0 var(--line); }
dt { font-weight: 600; margin-bottom: 6px; }
dd { color: var(--muted); font-size: 15.5px; }

/* Pricing */
.pricing { padding-top: 40px; }
.price-card { max-width: 560px; margin: 0 auto; border-radius: 36px; padding: 48px 32px 36px; text-align: center; }
.label { font-weight: 600; color: var(--muted); font-size: 15px; }
.price { font: 700 clamp(96px, 16vw, 148px)/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
         letter-spacing: -0.06em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.price .cur { font-size: 0.42em; vertical-align: 0.95em; margin-right: 0.04em; letter-spacing: 0; color: var(--muted); }
.once { font-size: 21px; font-weight: 600; margin-top: 6px; letter-spacing: -0.02em; }
.includes { list-style: none; margin: 28px auto 0; max-width: 360px; text-align: left; }
.includes li { position: relative; padding: 9px 0 9px 30px; color: var(--muted); box-shadow: inset 0 -1px 0 var(--line); }
.includes li:last-child { box-shadow: none; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-card .cta { margin-top: 28px; }
.fine { color: var(--faint); font-size: 13.5px; margin-top: 22px; }

/* FAQ */
.faq { padding-top: 40px; }
.faq h2 { margin-bottom: 28px; text-align: center; }
.faq-list { border-radius: 28px; padding: 6px 28px; }
details + details { box-shadow: inset 0 1px 0 var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 8px; height: 8px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; }
.news { list-style: none; margin-top: 20px; }
.news li { padding: 12px 0; box-shadow: inset 0 -1px 0 var(--line); color: var(--muted); }

footer { padding: 32px 0 48px; font-size: 14px; color: var(--faint); box-shadow: inset 0 1px 0 var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  nav .links { display: none; }
  .hero { padding-top: 48px; }
  .app-icon { width: 96px; height: 96px; }
  section { padding: 72px 0; }
  .head { margin-bottom: 48px; }
  .chapter, .chapter.flip { grid-template-columns: 1fr; gap: 24px; }
  .chapter.flip .copy { order: 0; }
  .chapter + .chapter { margin-top: 72px; }
  .bento { grid-template-columns: 1fr; }
  dl { grid-template-columns: 1fr; }
  .hero .window { margin-top: 44px; }
  .window { padding: 5px; border-radius: 16px; }
  .window video, .window img { border-radius: 12px; }
  .price-card { padding: 40px 20px 28px; }
  .faq-list { padding: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, nav .links a, summary::after { transition: none; } .btn:hover { transform: none; } }
