:root {
  --bg: #fafaf7; --fg: #1d1d1b; --muted: #6b6b66; --accent: #c93800; --brand: #ff4f0a; --card: #ffffff; --line: #e6e4dc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211; --fg: #f1f0ea; --muted: #a3a29b; --accent: #ff6a2b; --brand: #ff4f0a; --card: #1c1c1a; --line: #2e2d2a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 18px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
a { color: var(--accent); }
main, header, footer { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; }
header { flex-wrap: wrap; gap: 10px 20px; }
header .brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--fg); display: inline-flex; align-items: center; gap: .55rem; }
header .brand img { width: 40px; height: 26px; }
.app-icon { float: right; width: 104px; height: 104px; margin: -10px -8px 0 1rem; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 3.5rem 0 1rem; }
h2 { font-size: 1.5rem; margin: 3.5rem 0 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 .3rem; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 36rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.button { display: inline-block; background: var(--brand); color: #fff; border-radius: 10px; padding: .8rem 1.4rem;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 1.5rem 0 .5rem; }
.shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); margin: 2.5rem 0 0; }
.shot.wide { width: min(1120px, calc(100vw - 32px)); max-width: none; margin-left: calc(50% - min(560px, calc(50vw - 16px))); }
.shot.narrow { display: block; max-width: 400px; margin: 2rem auto 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; margin: 1.2rem 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .1rem; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.price { font-size: 2rem; font-weight: 700; margin: 0; }
.price s { color: var(--muted); font-weight: 400; font-size: 1.3rem; }
ul.plain { padding-left: 1.2rem; }
footer { margin-top: 5rem; padding-bottom: 3rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; }
.legal h1 { font-size: 2rem; margin-top: 2.5rem; }
.legal p, .legal li { font-size: 1rem; }
.draft { background: #ffe9a8; color: #4a3b00; padding: .5rem .8rem; border-radius: 8px; font-size: .85rem; margin-top: 1rem; }

.feature { margin-top: 5rem; }
.feature h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5rem; }
.feature > p { font-size: 1.1rem; max-width: 36rem; margin: 0; }
.feature .shot.wide { margin-top: 1.8rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start;
  width: min(1120px, calc(100vw - 32px)); margin: 1.8rem 0 0 calc(50% - min(560px, calc(50vw - 16px))); }
.trio figure { margin: 0; }
.trio .shot { margin: 0; aspect-ratio: 4 / 5; object-fit: cover; object-position: top left; }
.trio .shot.fit { object-fit: contain; object-position: center; background: var(--card); padding: 8px; }
.trio figcaption { margin-top: .6rem; font-size: .95rem; color: var(--muted); }
.trio figcaption b { color: var(--brand); }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr; } .trio .shot { aspect-ratio: auto; } }

.prelaunch { margin: 1.6rem 0 .5rem; }
.launch-line { margin: 0; font-size: 1.05rem; }
.launch-line [data-countdown] { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.launch-price { margin: .3rem 0 0; }
.launch-price b { font-size: 1.4rem; }
.launch-price s { color: var(--muted); }
.interest { margin-top: 1rem; }
.interest .button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.interest .button:disabled { opacity: .6; cursor: default; }
.interest .button.ghost { border: 1px solid var(--line); }
.interest .thanks { margin: 0 0 .6rem; font-weight: 600; }
.interest .fields { display: flex; flex-wrap: wrap; gap: 10px; }
.interest input { flex: 1 1 12rem; font: inherit; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--fg); }
.interest input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.interest [data-note] { margin: .5rem 0 0; }
[hidden] { display: none !important; }

ul.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
ul.ticks li { padding-left: 1.6rem; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--brand); }
.feature .shot:not(.wide) { margin-top: 1.6rem; }

/* site navigation */
header nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; align-items: center; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--fg); }
header nav a.button { color: #fff; padding: .45rem .9rem; font-size: .95rem; }

/* the teaser video */
.video { width: min(1120px, calc(100vw - 32px)); margin: 2.5rem 0 0 calc(50% - min(560px, calc(50vw - 16px)));
  border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* a macOS window around screenshots of the whole app */
.window { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; margin-top: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.window.wide { width: min(1120px, calc(100vw - 32px)); margin-left: calc(50% - min(560px, calc(50vw - 16px))); }
.feature .window { margin-top: 1.8rem; }
.window .bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #1f1f1f;
  border-bottom: 1px solid #2c2c2c; position: relative; }
.window .bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; } .window .bar i:nth-child(3) { background: #28c840; }
.window .bar span { position: absolute; left: 0; right: 0; text-align: center; font-size: .8rem; font-weight: 600; color: #c9c9c9;
  pointer-events: none; }
.window .shot { margin: 0; border: 0; border-radius: 0; display: block; width: 100%; }

/* FAQ: closed until clicked */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .75rem; font-size: 1.4rem; font-weight: 400;
  color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* articles and guides */
.article h1 { margin-top: 2.8rem; }
.article .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 2.8rem 0 -2rem; }
.article h2 { font-size: 1.45rem; margin-top: 2.8rem; }
.article pre { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; overflow-x: auto;
  font-size: .88rem; line-height: 1.5; }
.article code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
.article table { width: 100%; border-collapse: collapse; font-size: .97rem; margin: 1rem 0; }
.article th, .article td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.article td b { color: var(--fg); }
.article .yes { color: var(--accent); font-weight: 650; }
.article blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--brand); color: var(--muted); }
.article .note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
.article .sources { font-size: .85rem; color: var(--muted); }
.article .sources li { margin: .2rem 0; }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 14px; margin-top: 1.2rem; }
.more a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem;
  text-decoration: none; color: var(--fg); }
.more a b { display: block; margin-bottom: .2rem; }
.more a span { color: var(--muted); font-size: .92rem; }
.more a:hover { border-color: var(--brand); }
.cases { display: grid; gap: 14px; margin-top: 1.4rem; }
.cases article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; }
.cases h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.cases p { margin: .4rem 0; }

.noapi { margin: .6rem 0 0; font-weight: 600; }
footer .maker { display: inline-flex; align-items: center; gap: .55rem; color: var(--fg); text-decoration: none; font-weight: 600;
  font-size: .95rem; margin-bottom: .9rem; }
footer .maker img { width: 28px; height: 28px; border-radius: 50%; }
footer .maker:hover { color: var(--accent); }
