:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #efede8;
  --ink: #1d1d1f;
  --muted: #5f5e5a;
  --line: #e3e0d9;
  --blue: #1881ff;
  --link: #0a64d6;
  --on-blue: #ffffff;
  --good: #2fa84f;
  --warn: #c77a00;
  --bad: #d83a35;
  --shadow: 0 30px 60px -30px rgb(40 35 25 / 35%);
  --radius: clamp(20px, 2.4vw, 28px);
  --radius-lg: clamp(26px, 3.6vw, 40px);
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.22, .8, .28, 1);
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(16px, 15px + .2vw, 17px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

/* Dark follows the system unless the page's Appearance switch picks a theme (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0d;
    --surface: #1c1c1e;
    --surface-2: #161618;
    --ink: #f5f5f7;
    --muted: #a3a3a8;
    --line: #2c2c2f;
    --link: #5ea8ff;
    --good: #5fd27a;
    --warn: #f0a83a;
    --bad: #ff6b63;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 80%);
  }
}

:root[data-theme="light"] { color-scheme: light; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0c0d;
  --surface: #1c1c1e;
  --surface-2: #161618;
  --ink: #f5f5f7;
  --muted: #a3a3a8;
  --line: #2c2c2f;
  --link: #5ea8ff;
  --good: #5fd27a;
  --warn: #f0a83a;
  --bad: #ff6b63;
  --shadow: 0 30px 60px -30px rgb(0 0 0 / 80%);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); overflow-x: clip; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--rounded); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: 12px; }
.skip-link:focus { top: 16px; }

/* Header: a floating bar that stays with you down the page */
.site-header { position: sticky; top: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2.5vw, 24px); margin-top: 12px; padding: 8px 8px 8px 14px; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 100px; background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 10px 30px -22px rgb(0 0 0 / 45%); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--rounded); font-weight: 700; font-size: 21px; }
.brand img { display: block; width: 32px; height: 32px; border-radius: 8px; }
.brand picture { flex-shrink: 0; }
.site-header nav { display: flex; gap: clamp(4px, 1vw, 10px); margin-left: auto; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 12px; border-radius: 100px; transition: color .2s, background-color .2s; }
.site-header nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.site-header nav a[aria-current="page"] { color: var(--ink); }
.theme-switch { display: inline-flex; gap: 2px; margin: 0; padding: 3px; border: 0; border-radius: 100px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.theme-switch[hidden] { display: none; }
.theme-switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.theme-switch label { position: relative; padding: 5px 12px; border-radius: 100px; font-size: 15px; color: var(--muted); cursor: pointer; transition: color .2s, background-color .25s var(--ease), box-shadow .25s; }
.theme-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.theme-switch label:hover { color: var(--ink); }
.theme-switch label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgb(0 0 0 / 14%); }
.theme-switch label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(44px, 8vw, 96px) 0; }
.hero-copy { max-width: 780px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); margin-bottom: clamp(20px, 3vw, 28px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
h1 { font-size: clamp(40px, 22px + 5vw, 80px); line-height: 1.03; letter-spacing: -0.025em; margin-bottom: clamp(18px, 2.5vw, 26px); }
.lede { font-size: clamp(17px, 15px + .45vw, 20px); color: var(--muted); max-width: 34em; }
.hero .lede { margin-inline: auto; }
.lede + .lede { margin-top: 14px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px 20px; flex-wrap: wrap; margin-top: clamp(26px, 3.5vw, 36px); }
.button { display: inline-block; padding: 14px 26px; border-radius: 100px; background: var(--blue); color: var(--on-blue); font-weight: 600; text-decoration: none; box-shadow: 0 12px 24px -14px var(--blue); transition: transform .25s var(--ease), filter .2s, box-shadow .25s; }
.button:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 16px 28px -14px var(--blue); }
.button:active { transform: translateY(0) scale(.98); }
.hero-note { color: var(--muted); font-size: 15px; }
.hero-phone { position: relative; isolation: isolate; width: 100%; margin: clamp(44px, 7vw, 80px) 0 0; display: flex; justify-content: center; }
.hero-phone::before { content: ""; position: absolute; z-index: -1; inset: 6% 0 -4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 30%, transparent), transparent); filter: blur(24px); }

.phone { display: block; width: clamp(220px, 60vw, 300px); height: auto; border-radius: clamp(34px, 9vw, 44px); border: clamp(5px, 1.2vw, 6px) solid #111; background: #000; box-shadow: var(--shadow); }
.hero-phone .phone { width: clamp(250px, 70vw, 330px); }

/* Phrase strip */
.glance { padding-block: var(--section) 0; text-align: center; }
.glance-intro { font-family: var(--rounded); font-weight: 600; font-size: clamp(20px, 16px + 1vw, 26px); margin-bottom: clamp(18px, 2.5vw, 26px); }
.phrases { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.phrases li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phrase-dot { width: 8px; height: 8px; border-radius: 50%; }
.phrase-dot.good { background: var(--good); }
.phrase-dot.warn { background: var(--warn); }
.phrase-dot.bad { background: var(--bad); }
/* main.js turns the list into a slow loop when motion is welcome; without it the pills simply wrap. */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track .phrases { flex-wrap: nowrap; padding-right: 10px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section h2 { font-size: clamp(30px, 21px + 2.2vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { margin-top: 14px; font-size: clamp(17px, 15px + .45vw, 20px); color: var(--muted); }

.tour, .duo, .mac, .details, .privacy, .pricing, .questions, .closing { padding-block: var(--section) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 24px); }
.feature { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 4vw, 44px); padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature-wide { grid-column: 1 / -1; flex-direction: row; justify-content: space-evenly; gap: clamp(28px, 6vw, 80px); }
.feature-copy { width: 100%; max-width: 440px; }
.feature h3 { font-size: 15px; font-weight: 600; color: var(--link); margin-bottom: 8px; }
.feature-lead { font-family: var(--rounded); font-weight: 700; font-size: clamp(24px, 19px + 1.2vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 14px; text-wrap: balance; }
.feature-copy p:not(.feature-lead) { color: var(--muted); }
.feature-copy p + p:not(.feature-lead) { margin-top: 12px; }
.feature-phone { margin: auto 0 0; display: flex; justify-content: center; }
.feature-wide .feature-phone { margin: 0; flex-shrink: 0; }
.feature-phone .phone { width: clamp(210px, 58vw, 264px); }

.duo-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 36px); }
.duo-shots figure { margin: 0; }
.duo-shots figure:first-child { grid-column: 1 / -1; }
.duo-shots img, .mac-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mac-shot { margin: 0; }
.duo-shots figcaption { margin-top: 16px; color: var(--muted); max-width: 32em; }

.detail-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(12px, 1.6vw, 18px); margin: 0; }
.detail-list > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); }
.detail-list dt { font-family: var(--rounded); font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.detail-list dd { margin: 0; color: var(--muted); }

.privacy-card { background: #0f1b2d; color: #f2f6fc; border-radius: var(--radius-lg); padding: clamp(28px, 6vw, 72px); }
.privacy-card h2 { max-width: 16em; margin-bottom: 18px; }
.privacy-card > p { font-size: clamp(17px, 15px + .45vw, 20px); color: #c3cfdf; max-width: 36em; }
.privacy-points { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 2.5vw, 28px); }
.privacy-points li { color: #c3cfdf; border-top: 1px solid #2a3c56; padding-top: 18px; }
.privacy-points strong { display: block; color: #fff; font-family: var(--rounded); font-weight: 600; font-size: 18px; margin-bottom: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.6vw, 40px); }
.price h3 { font-size: clamp(24px, 20px + 1vw, 30px); margin-bottom: 10px; }
.price p { color: var(--muted); }
.price .fine { font-size: 15px; margin-top: 14px; }

.questions > h2 { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.questions .faq-list { max-width: 780px; margin-inline: auto; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding-inline: clamp(18px, 2.4vw, 24px); transition: border-color .2s; }
.faq-list details:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex-shrink: 0; color: var(--link); font-size: 24px; line-height: 1; font-weight: 400; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 24px 20px 0; }

.closing { text-align: center; padding-bottom: var(--section); }
.closing img { display: block; margin: 0 auto 24px; border-radius: 20px; box-shadow: var(--shadow); }
.closing p { color: var(--muted); font-size: clamp(17px, 15px + .45vw, 20px); margin-top: 10px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.site-footer a { color: var(--muted); transition: color .2s; }
.site-footer a:hover { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Help and Privacy Policy pages */
.page { padding-block: clamp(40px, 7vw, 88px) var(--section); }
.page-head { max-width: 680px; margin-bottom: clamp(36px, 6vw, 64px); }
.page-head h1 { margin-bottom: 18px; }
.updated { margin-top: 18px; color: var(--muted); font-size: 15px; }
.help-topic { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(16px, 5vw, 64px); align-items: start; padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.help-topic h2 { font-size: clamp(24px, 20px + 1vw, 30px); }
.help-topic > p { color: var(--muted); }
.prose { max-width: 680px; }
.prose section + section { margin-top: clamp(36px, 5vw, 48px); }
.prose h2 { font-size: clamp(24px, 20px + 1vw, 30px); margin-bottom: 14px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p, .prose p + ul { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { flex-direction: column; }
  .duo-shots { grid-template-columns: 1fr; }
  .help-topic { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header nav { display: none; }
  .theme-switch label { padding-inline: 10px; }
}

@media (max-width: 360px) {
  .brand span { display: none; }
}

/* Motion. Everything here is extra: the page reads the same without it. */
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }

  .hero-copy > *, .hero-phone { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-phone { animation-delay: .3s; }

  /* Sections ease in as they scroll into view, where the browser can tie an animation to scrolling. */
  @supports (animation-timeline: view()) {
    .section-head, .feature, .duo-shots figure, .mac-shot, .detail-list > div, .privacy-card, .price, .questions > h2, .questions details, .closing > * {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }

  /* Answers open and close smoothly where the browser can animate to a natural height. */
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
    .faq-list details[open]::details-content { block-size: auto; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
