/* Fastlane Preview site: a single light theme shared by every page. */
:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --soft: #f5f5f7;
  --wash: #f3f6ff;
  --blue: #0656f5;
  --indigo: #2c23d1;
  --coral: #fd7766;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgb(6 86 245 / .45); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(6 86 245 / .16); }
code { font-family: var(--mono); font-size: .86em; background: var(--soft); padding: .12em .4em; border-radius: 6px; }
h1, h2, h3 { margin: 0; }

.wrap { max-width: 1128px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .82);
       backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
       border-bottom: 1px solid rgb(0 0 0 / .07); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 28px; font-size: 14px; }
.top nav a { color: var(--ink-2); }
@media (max-width: 760px) { .top nav a:not(.keep) { display: none; } }

/* Shared type */
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -.034em; font-weight: 700; }
.lead { margin: 22px 0 0; color: var(--ink-2); font-size: clamp(19px, 1.9vw, 22px); line-height: 1.45; }
.section { padding-top: 120px; padding-bottom: 120px; }
.section-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; max-width: 36em; }
@media (max-width: 600px) { .section { padding-top: 80px; padding-bottom: 80px; } .anatomy { padding-bottom: 80px; } .section-head { margin-bottom: 44px; } }

/* Hero */
.hero { padding: 88px 0 24px; text-align: center; }
.hero-icon { width: 128px; height: 128px; margin: 0 auto 30px; }
.hero h1 { max-width: 11.5em; margin: 0 auto; font-size: clamp(44px, 7.2vw, 84px); line-height: 1.02;
           letter-spacing: -.045em; font-weight: 700; }
.grad { background: linear-gradient(100deg, #0878fc 10%, var(--indigo) 90%);
        -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 33em; margin: 28px auto 0; }
.cta { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; align-items: center; margin-top: 40px; }
.button { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px;
          background: var(--ink); color: #fff; font-size: 17px; font-weight: 600; }
.button:hover { text-decoration: none; }
.soon { cursor: default; }
.link-arrow { font-size: 17px; font-weight: 500; }
.fine { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .hero { padding-top: 56px; } .hero-icon { width: 104px; height: 104px; } }

/* Anatomy: phones rendered by the app's own previewer, annotated with the files behind each part. */
.anatomy { max-width: 1176px; padding-top: 96px; padding-bottom: 120px; }
.stage { padding: 72px 24px 88px; border-radius: 40px; background: linear-gradient(180deg, var(--wash), #fbfcff 70%); }
.spec-caption { margin: 0 0 22px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 500; }
.spec-caption:not(:first-child) { margin-top: 88px; }
.phone { width: min(376px, 100%); margin: 0 auto; padding: 8px; border-radius: 58px; background: #1d1d1f;
         box-shadow: 0 50px 90px -30px rgb(24 38 80 / .38), 0 14px 30px -12px rgb(24 38 80 / .22); }
.screen { position: relative; overflow: hidden; border-radius: 50px; background: #fff; }
@media (max-width: 420px) { .phone { padding: 6px; border-radius: 46px; } .screen { border-radius: 40px; } }
.mark { position: absolute; border: 1.5px solid var(--coral); border-radius: var(--r, 12px); background: rgb(253 119 102 / .07);
        left: calc((var(--x) - 5) / 440 * 100%); width: calc((var(--w) + 10) / 440 * 100%);
        top: calc((var(--y) - var(--py, 5)) / 956 * 100%); height: calc((var(--h) + 2 * var(--py, 5)) / 956 * 100%); }
.mark::before, .note::before { content: attr(data-n); width: 22px; height: 22px; border-radius: 50%; background: var(--coral);
        color: var(--ink); font: 700 12px/22px var(--sans); text-align: center; }
.mark::before { position: absolute; left: -11px; top: 50%; margin-top: -11px; box-shadow: 0 0 0 2px #fff; }
.notes { max-width: 520px; margin: 36px auto 0; padding: 0; list-style: none; }
.note { position: relative; padding-left: 36px; margin-top: 22px; }
.note::before { position: absolute; left: 0; top: 0; }
.note h3 { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; }
.file { display: block; margin-top: 3px; color: var(--blue); font: 13.5px/1.45 var(--mono); }
.limit { color: var(--muted); font-family: var(--sans); font-size: 13px; }
.note p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.aside-note { max-width: 520px; margin: 36px auto 0; padding: 18px 20px; border: 1.5px dashed #c9cfe0; border-radius: 16px; }
.aside-note h3 { font-size: 15px; font-weight: 600; color: var(--muted); }
.aside-note .file { font-size: 14px; }
.aside-note p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.leaders { display: none; }
@media (min-width: 1200px) {
  .spec { position: relative; width: 1080px; height: 800px; margin: 0 auto; }
  .spec .phone { position: absolute; left: 352px; top: 0; }
  .mark::before { display: none; }
  .notes { max-width: none; margin: 0; }
  .note { position: absolute; width: 270px; margin: 0; padding: 0; top: calc(var(--y) * 1px - 11px); }
  .note::before { display: none; }
  .note.l { left: 10px; text-align: right; }
  .note.r { left: 800px; }
  .aside-note { position: absolute; left: 10px; top: 600px; width: 270px; margin: 0; }
  .leaders { display: block; position: absolute; inset: 0; pointer-events: none; }
  .leaders path { fill: none; stroke: var(--ink); stroke-opacity: .3; stroke-width: 1; }
  .leaders circle { fill: var(--coral); }
}

/* The app at a glance: a real window capture with callouts around it. Geometry comes from _tools/tour.py:
   --cw/--ch is the canvas, --l/--t/--w/--h the window in it, all in window points. */
.tour { max-width: 1640px; margin: 56px auto 0; padding: 0 24px; }
.tour-canvas { position: relative; container-type: inline-size; }
.tour-frame { position: relative; }
.tour-frame img { width: 100%; filter: drop-shadow(0 0 .5px rgb(0 0 0 / .5)) drop-shadow(0 36px 50px rgb(24 38 80 / .26)); }
.tour-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tour-rings rect { fill: none; stroke: #ff453a; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tour-leaders { display: none; }
.badge, .tour-notes li::before { width: 22px; height: 22px; border-radius: 50%; background: #ff453a; color: #fff;
                                 font: 700 12px/22px var(--sans); text-align: center; }
.badge { position: absolute; left: calc(var(--x) / var(--w) * 100%); top: calc(var(--y) / var(--h) * 100%); margin: -9px 0 0 -9px; box-shadow: 0 0 0 2px #fff; }
.tour-notes { max-width: 560px; margin: 32px auto 0; padding: 0; list-style: none; }
.tour-notes li { position: relative; margin-top: 18px; padding-left: 36px; }
.tour-notes li::before { content: attr(data-n); position: absolute; left: 0; top: 0; }
.tour-notes b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.tour-notes span { display: block; margin-top: 2px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 600px) { .tour { padding: 0 16px; } }
@media (min-width: 1024px) {
  .tour-canvas { aspect-ratio: var(--cw) / var(--ch); }
  .tour-frame { position: absolute; left: calc(var(--l) / var(--cw) * 100%); top: calc(var(--t) / var(--ch) * 100%); width: calc(var(--w) / var(--cw) * 100%); }
  .tour-leaders { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .tour-leaders path { fill: none; stroke: #ff453a; stroke-width: 2; vector-effect: non-scaling-stroke; marker-end: url(#head); }
  #head path { fill: #ff453a; }
  .badge, .tour-notes li::before { display: none; }
  .tour-notes { position: absolute; inset: 0; max-width: none; margin: 0; }
  .tour-notes li { position: absolute; left: calc(var(--x) / var(--cw) * 100%); top: calc(var(--y) / var(--ch) * 100%);
                   width: calc(var(--nw) / var(--cw) * 100%); margin: 0; padding: 0; }
  .tour-notes [data-side=left], .tour-notes [data-side=right] { transform: translateY(-50%); }
  .tour-notes [data-side=left] { text-align: right; }
  .tour-notes [data-side=top] { transform: translateY(-100%); text-align: center; }
  .tour-notes [data-side=bottom] { text-align: center; }
  .tour-notes b { font-size: calc(26 / var(--cw) * 100cqw); line-height: 1.2; }
  .tour-notes span { margin-top: calc(5 / var(--cw) * 100cqw); font-size: calc(20 / var(--cw) * 100cqw); line-height: 1.4; }
}

/* Features */
.features { background: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; padding: 30px 30px 0; border-radius: 28px; background: #fff; }
.card.text { padding-bottom: 30px; }
.card .peek { width: 78%; margin: 28px auto 0; padding: 7px 7px 0; border-radius: 40px 40px 0 0; background: #1d1d1f; }
.card .peek img { width: 100%; aspect-ratio: 440 / 480; object-fit: cover; object-position: top; border-radius: 33px 33px 0 0; }
/* The iPad runs off the card's right edge, so its page reads at a legible size. */
.card .peek.tablet { width: 165%; margin: 28px 0 0 10%; border-radius: 30px 30px 0 0; }
.card .peek.tablet img { aspect-ratio: 1032 / 560; border-radius: 23px 23px 0 0; }
/* A wide screenshot that runs off the card's right edge. */
.card .bleed { margin: 26px -30px 0 0; }
.card .bleed img { width: 150%; max-width: none; border-radius: 14px 0 0 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { margin-top: 6px; font-size: 15px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card { padding: 26px 24px 0; } .card.text { padding-bottom: 26px; } }

/* AI agents */
.agents .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.agents h2 { font-size: clamp(32px, 4vw, 48px); }
.prompt { position: relative; margin: 0; padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: 24px;
          background: #fbfbfd; box-shadow: 0 30px 60px -40px rgb(24 38 80 / .35); }
.prompt figcaption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
                     color: var(--muted); font-size: 13px; font-weight: 600; }
.prompt pre { margin: 0; white-space: pre-wrap; font: 14px/1.65 var(--mono); color: var(--ink); }
.copy { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 5px 14px;
        color: var(--ink); font: 600 13px var(--sans); cursor: pointer; }
.copy:hover { border-color: #c7c7cc; }
@media (max-width: 900px) { .agents .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Privacy */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.trust-grid svg { width: 36px; height: 36px; margin-bottom: 16px; color: var(--blue); }
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.pricing { background: linear-gradient(180deg, #fff, var(--wash)); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { padding: 36px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.plan.paid { border: 2px solid var(--blue); }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.plan .per { color: var(--muted); font-size: 17px; font-weight: 500; letter-spacing: 0; }
.plan h3 { margin-top: 6px; font-size: 19px; font-weight: 600; }
.plan p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.plans + .fine { text-align: center; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } .plan { padding: 28px; } }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer;
                    font-size: 19px; font-weight: 600; letter-spacing: -.01em; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 24px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p, .faq-list details ul { margin: -6px 0 22px; color: var(--ink-2); font-size: 16.5px; }
.faq-list details ul { padding-left: 20px; }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: var(--ink-2); }
.foot .legal { margin: 18px 0 0; max-width: 60em; line-height: 1.6; }

/* Text pages: support and privacy */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.doc .lead { margin-top: 14px; }
.doc h2 { margin: 44px 0 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.3; }
.doc h3 { margin: 24px 0 0; font-size: 18px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc .effective { color: var(--muted); font-size: 15px; }
.contact { margin-top: 32px; padding: 26px 28px; border-radius: 22px; background: var(--wash); }
.contact p { margin: 0; }
.contact p + p { margin-top: 10px; }
.contact a { font-size: 21px; font-weight: 600; }
