/* Follows the app icon: off-white on near-black, hairline borders, no gradients. */
:root {
  --bg: #0d0d0e;
  --panel: #151517;
  --line: #2a2a2e;
  --text: #ececea;
  --dim: #a3a3a0;
  --faint: #6f6f6c;
  --link: #ececea;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 650; }
p { margin: 0; }
code { font: 0.9em ui-monospace, "Cascadia Code", Consolas, monospace; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(13 13 14 / 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top-row { display: flex; align-items: center; gap: 32px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 18px; }
.brand img { border-radius: 6px; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; border: 1px solid var(--text); }
.btn:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn[aria-disabled="true"] { background: transparent; color: var(--faint); border-color: var(--line); cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { color: var(--faint); font-size: 14px; }

/* Sections */
section { padding: 96px 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; }
.eyebrow { color: var(--dim); font-size: 14px; margin-bottom: 14px; }
.lede { color: var(--dim); font-size: 20px; max-width: 640px; margin-top: 18px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }

.hero { padding: 104px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); }
.hero .lede { margin: 22px auto 0; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero .note { margin-top: 14px; }
.shot { margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0a0a0b; }

.page-head { padding: 88px 0 56px; }
.page-head h1 { font-size: clamp(36px, 6vw, 60px); }

/* Three short points */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio h3 { font-size: 20px; margin-bottom: 10px; }
.trio p { color: var(--dim); }

/* Feature with a screen beside or below */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 18px; }
.feature p { color: var(--dim); }
.feature p + p, .feature ul { margin-top: 14px; }
.feature .shot { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; color: var(--dim); }
.ticks li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border: 1.5px solid var(--dim); border-radius: 50%; }
.ticks strong { color: var(--text); font-weight: 600; }

/* Keys table */
.keys { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; }
.keys th, .keys td { text-align: left; padding: 9px 10px; border-top: 1px solid var(--line); }
.keys th { color: var(--faint); font-weight: 500; }
.keys td { color: var(--dim); }
kbd { font: 13px ui-monospace, Consolas, monospace; padding: 2px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; color: var(--text); background: var(--panel); }

/* Pricing */
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 3px; margin-bottom: 28px; }
.toggle button { font: inherit; font-size: 14px; color: var(--dim); background: none; border: 0; padding: 6px 16px; border-radius: 6px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--panel); color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; background: var(--panel); }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 44px; font-weight: 650; letter-spacing: -0.02em; margin: 18px 0 2px; }
.plan .price small { font-size: 16px; color: var(--dim); font-weight: 400; letter-spacing: 0; }
.plan .per { color: var(--faint); font-size: 14px; min-height: 22px; }
.plan .ticks { flex: 1; margin-bottom: 28px; }
.plan .btn { justify-content: center; }
.yearly-only { display: none; }
[data-billing="yearly"] .yearly-only { display: inline; }
[data-billing="yearly"] .monthly-only { display: none; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--faint); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--dim); margin-top: 10px; }

/* Closing call */
.closing { text-align: center; }
.closing h2 { font-size: clamp(32px, 5vw, 52px); }
.closing .actions { justify-content: center; margin-top: 32px; }

/* Download */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--panel); }
.platform h2 { font-size: 22px; margin-bottom: 8px; }
.platform p { color: var(--dim); font-size: 15px; }
.platform .btn { margin-top: 22px; }

/* Legal text */
.legal { max-width: 760px; padding-bottom: 96px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--dim); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-top: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; letter-spacing: 0; }
.foot-grid a:not(.brand) { display: block; color: var(--dim); text-decoration: none; font-size: 15px; padding: 3px 0; }
.foot-grid a:not(.brand):hover { color: var(--text); }
.foot-brand p { color: var(--faint); font-size: 15px; margin-top: 12px; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-legal p { color: var(--faint); font-size: 13px; }
.foot-legal p + p { margin-top: 8px; }
.foot-legal a { color: var(--dim); }

@media (max-width: 860px) {
  .nav { display: none; }
  .top-row { justify-content: space-between; }
  section { padding: 72px 0; }
  .trio, .plans, .platforms { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
