:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e7e7e7;
  --fill: #f5f5f7;
  --card: #ffffff;
  --page: #ffffff;
  --green: #34c759;
  --amber: #ff9500;
  /* The arch icon's colors. */
  --brand: linear-gradient(135deg, #ff9412, #fe6751 45%, #fa827d 65%, #d19bed);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  --lift: 0 30px 80px -30px rgb(0 0 0 / .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --dots: radial-gradient(var(--line) 1px, transparent 1.2px) 0 0 / 16px 16px;
  --col: 980px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #f5f5f7; --muted: #a1a1a6; --line: #2a2a2a; --fill: #161616; --card: #1c1c1c; --page: #000000; --shadow: 0 8px 24px rgba(0, 0, 0, .5); --lift: 0 30px 80px -30px rgb(0 0 0 / .9); }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.brand { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
header .wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.logo img { height: 26px; width: auto; }
.logo .dark, .dark-img { display: none; }
@media (prefers-color-scheme: dark) { .logo .light, .light-img { display: none; } .logo .dark, .dark-img { display: block; } }
nav { display: flex; gap: 28px; margin-inline-start: auto; font-size: 13px; }
nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
nav a:hover, nav a[aria-current] { color: var(--text); }

.button { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 980px; background: var(--text); color: var(--page); font-size: 17px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.button:hover { opacity: .85; }
.button.small { height: 30px; padding: 0 14px; font-size: 13px; }
.more { color: #0066cc; text-decoration: none; font-size: 17px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .more { color: #2997ff; } }

/* Sections */
section { padding: 120px 0; }
section.fill { background: var(--fill); }
.head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.head p { margin-top: 16px; font-size: 21px; color: var(--muted); }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; }
.hero .lead { max-width: 640px; margin: 24px auto 0; font-size: 21px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 36px; }

/* Dashboard: one screen at a time, picked with the control above it. */
.preview { max-width: 1120px; margin: 64px auto 0; padding: 0 24px; }
.hero { overflow: hidden; }
.screen { margin: 0; border-radius: 18px 18px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: var(--fill); box-shadow: var(--lift); aspect-ratio: 16 / 7; }
.screen img { width: 100%; height: auto; animation: fade .5s var(--ease); }
.tabs { display: inline-flex; gap: 2px; margin-bottom: 32px; padding: 3px; border-radius: 980px; background: var(--fill); border: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.tabs button { height: 34px; padding: 0 18px; border-radius: 980px; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--text); }
.tabs [aria-selected="true"] { background: var(--page); color: var(--text); box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
/* Features: the app across the top, then one cell per area, each a small picture above label and value rows. */
.specs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec { grid-column: span 2; padding: 24px; background: var(--page); }
.spec:nth-last-child(-n + 2) { grid-column: span 3; }
.spec.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; padding: 40px; }
.spec.wide h3 { font-size: 28px; }
.spec.wide > div > p { margin-top: 8px; color: var(--muted); }
.spec.wide dl { margin: 0; }

/* The apps in their frames: a desktop window and a phone, cut off at the bottom. */
.showcase { grid-column: 1 / -1; position: relative; height: 460px; overflow: hidden; border-radius: 16px; background: var(--dots), var(--fill); }
.window { position: absolute; top: 40px; inset-inline-start: 40px; width: 76%; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--page); box-shadow: var(--lift); }
.window .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--fill); }
.window .bar i { display: inline-block; width: 10px; height: 10px; margin-inline-end: 6px; border-radius: 50%; background: var(--line); }
.window .bar b { width: 240px; padding: 2px 0; border: 1px solid var(--line); border-radius: 999px; background: var(--page); color: var(--muted); font-size: 12px; font-weight: 400; text-align: center; }
.phone { --w: 220px; --rim: #c7c7cc; position: absolute; top: 90px; inset-inline-end: 40px; width: var(--w); margin: 0; padding: calc(var(--w) * .027); border-radius: calc(var(--w) * .2); background: #0b0b0c; box-shadow: 0 0 0 2px var(--rim), var(--lift); }
.phone img { border-radius: calc(var(--w) * .17); }
.phone::before { content: ""; position: absolute; top: 2.6%; left: 36.5%; width: 27%; height: 3.7%; border-radius: 999px; background: #000; }
.phone::after { content: ""; position: absolute; top: 22%; right: -4px; width: 3px; height: 9%; border-radius: 2px; background: var(--rim); }
@media (prefers-color-scheme: dark) { .phone { --rim: #3a3a3c; } }
.spec h3 { font-size: 17px; }
.spec dl { display: grid; grid-template-columns: auto 1fr; margin: 16px 0 0; font-size: 14px; }
.spec dt, .spec dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); padding-inline-end: 16px; }
.spec dd { text-align: end; }
.mock { display: grid; place-items: center; align-content: center; gap: 6px; height: 200px; margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--dots), var(--fill); text-align: center; }
.mock .card { width: 100%; text-align: start; }
.mock .row { min-height: 30px; padding: 4px 0; }
.mock small { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.big { font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--brand); color: #fff; font: 600 12px/1 var(--mono); letter-spacing: 0; }

/* How it works: the steps on the left, the chosen step's screen on the right. Showing a screen replays its animation. */
.flow { display: grid; grid-template-columns: 5fr 6fr; border: 1px solid var(--line); background: var(--page); }
.flow [role="tablist"] { display: grid; }
.flow [role="tab"] { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 4px 16px; padding: 24px; text-align: start; font-size: 15px; color: var(--muted); transition: background-color .2s; }
.flow [role="tab"] + [role="tab"] { border-top: 1px solid var(--line); }
.flow [role="tab"]:hover, .flow [aria-selected="true"] { background: var(--fill); }
.flow .num { grid-row: span 2; opacity: .35; transition: opacity .2s; }
.flow [aria-selected="true"] .num { opacity: 1; }
.flow [role="tab"] strong { color: var(--text); font-size: 17px; font-weight: 600; }
.flow .scene { min-height: 440px; }
.flow .card { width: min(440px, 100%); }

/* Small UI cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 13px; letter-spacing: 0; }
.card.wide { width: min(420px, 100%); padding: 16px 18px; font-size: 14px; }
.card.mono { font: 12px/1.4 var(--mono); }
.row { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row > span:last-child { margin-inline-start: auto; font-size: 12px; }
:where(.row > span:last-child) { color: var(--muted); }
.row.field { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.row.field > .type { margin: 0; }
.row small { display: block; color: var(--muted); font-size: 12px; }
.tag, .black, .ok, .warn { border-radius: 6px; padding: 3px 10px; font: 600 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; white-space: nowrap; }
.tag { background: var(--fill); color: var(--text); }
.black { background: var(--text); color: var(--page); }
.ok { background: color-mix(in srgb, var(--green) 16%, transparent); color: color-mix(in srgb, var(--green) 60%, var(--text)); }
.warn { background: color-mix(in srgb, var(--amber) 16%, transparent); color: color-mix(in srgb, var(--amber) 70%, var(--text)); }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--fill); border: 1px solid var(--line); font-size: 12px; font-weight: 700; flex: none; }
.type { box-sizing: content-box; display: inline-block; width: 14ch; overflow: hidden; white-space: nowrap; border-inline-end: 2px solid transparent; font: 600 13px/1.4 var(--mono); }

/* Two states in one place: the first shows, then the last takes over after --d. */
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap > :first-child { opacity: 0; }
.row > .swap:last-child { justify-items: end; }
.d1 { --d: .4s; }
.d2 { --d: .8s; }
.d3 { --d: 1.2s; }
.d4 { --d: 1.6s; }
.d5 { --d: 2.2s; }

/* Animations start once site.js marks a .live block as seen (.in). Without it, the end state shows. */
.in .swap > :first-child { animation: out .3s var(--d, .8s) both; }
.in .swap > :last-child { animation: fade .3s var(--d, .8s) both; }
.in .stagger > * { animation: rise .5s var(--ease) both; }
.in .stagger > :nth-child(2) { animation-delay: .3s; }
.in .stagger > :nth-child(3) { animation-delay: .6s; }
.in .stagger > :nth-child(4) { animation-delay: .9s; }
.in .stagger > :nth-child(5) { animation-delay: 1.2s; }
.in .type { animation: type 1.2s steps(14) .3s both, caret .5s step-end .3s 5; }
@keyframes out { from { opacity: 1; } to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes type { from { width: 0; } }
@keyframes caret { 50% { border-color: var(--text); } }

/* Your cloud, your keys */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--page); }
.facts { margin: 0; padding: 8px 24px 16px; list-style: none; }
.facts li { padding: 12px 0; }
.facts li + li { border-top: 1px solid var(--line); }
.facts strong { display: block; }
.facts span { color: var(--muted); }
.scene { display: grid; place-items: center; padding: 32px 24px; border-inline-start: 1px solid var(--line); background: var(--dots), var(--fill); }
/* Closing call */
.call { text-align: center; }
.call p { margin-top: 16px; font-size: 21px; color: var(--muted); }
.call .actions { margin-top: 32px; }

/* Documents (privacy page) */
.doc { max-width: 760px; margin: 0 auto; padding: 96px 24px 120px; }
.doc .lead { margin-top: 20px; font-size: 21px; color: var(--muted); }
.doc .date { margin-top: 12px; font-size: 14px; color: var(--muted); }
.doc h2 { margin: 64px 0 16px; font-size: 28px; scroll-margin-top: 72px; }
.doc h3 { margin: 28px 0 8px; font-size: 19px; }
.doc p { margin: 12px 0; }
.doc ul { margin: 12px 0; padding-inline-start: 22px; }
.doc li { margin: 8px 0; }
.doc table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 12px 0; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc td + td, .doc th + th { padding-inline-start: 16px; }
.doc .toc { margin: 40px 0 0; padding: 0; list-style: none; columns: 2; font-size: 15px; }
.doc .toc li { margin: 0; padding: 4px 0; break-inside: avoid; }
.doc .toc a { color: #0066cc; text-decoration: none; }
.doc .toc a:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .doc .toc a { color: #2997ff; } }

footer { border-top: 1px solid var(--line); background: var(--fill); font-size: 12px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 24px; }
footer nav { margin: 0; gap: 20px; font-size: 12px; }


@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .hero { padding-top: 64px; }
  .hero .lead, .head p, .doc .lead { font-size: 19px; }
  header nav { display: none; }
  header .wrap { gap: 16px; }
  .logo img { height: 22px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec, .spec:nth-last-child(-n + 2) { grid-column: span 1; }
  .spec:last-child { grid-column: 1 / -1; }
  .spec.wide { grid-template-columns: 1fr; padding: 24px; }
  .split, .flow { grid-template-columns: 1fr; }
  .scene { border-inline-start: 0; border-top: 1px solid var(--line); }
  .flow .scene { min-height: 360px; }
  .tabs button { padding: 0 12px; font-size: 13px; }
  .doc { padding-top: 64px; }
  .doc .toc { columns: 1; }
}
@media (max-width: 600px) {
  .specs { grid-template-columns: 1fr; }
  .showcase { height: 300px; }
  .window { top: 24px; inset-inline-start: 16px; width: 92%; }
  .window .bar b { width: 120px; }
  .phone { --w: 120px; top: 70px; inset-inline-end: 16px; }
}
