/* Light and quiet: white page, grey text with dark key words, dark pills, pictures on soft grey. */
:root {
  --bg: #ffffff;
  --text: #111113;
  --muted: #7a7a80;
  --soft: #a3a3a9;
  --line: #ececee;
  --panel: #f4f4f2;
  --panel-deep: #ebebe8;
  --pill: #111113;
  --pill-text: #ffffff;
  --pill-light: #ededeb;
  --focus: #0a84ff;
  --window: #ffffff;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
b, strong { color: var(--text); font-weight: 560; }
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.top { display: flex; align-items: center; justify-content: space-between; height: 72px; position: sticky; top: 0; background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); z-index: 10; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
nav.top { display: flex; align-items: center; gap: 22px; }
nav.top a { color: var(--soft); font-size: 14px; }
nav.top a:hover { color: var(--text); text-decoration: none; }
nav.top a.pill { color: var(--pill-text); }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 560;
  background: var(--pill); color: var(--pill-text);
}
.pill:hover { text-decoration: none; opacity: 0.88; }
.pill.light { background: var(--pill-light); color: var(--text); }
.pill.small { padding: 7px 14px; font-size: 13.5px; }
.pill:disabled { opacity: 0.45; cursor: default; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 14px; }
.meta { font-size: 13.5px; color: var(--soft); }
.meta a { color: var(--muted); }

/* Hero: small, left-aligned, the words carry it. */
.hero { padding: 72px 0 34px; max-width: 560px; }
.hero .icon { width: 64px; height: 64px; display: block; margin-bottom: 26px; }
.hero h1 { font-size: 15px; font-weight: 400; color: var(--muted); margin: 0; line-height: 1.65; }
.hero h1 b { font-weight: 560; }

/* Grey stage for pictures. */
.stage { background: var(--panel); border-radius: var(--radius); padding: clamp(18px, 5vw, 56px); overflow: hidden; position: relative; }
.caption { text-align: center; color: var(--soft); font-size: 13.5px; margin: 14px 0 0; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 18px 50px rgba(0,0,0,0.12); }

/* A Mac desktop drawn in HTML: menu bar, and windows on a strip that scrolls. */
.desk { position: relative; aspect-ratio: 16 / 9.4; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #e9ecf3 0%, #f2eee9 60%, #ece7f0 100%); box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 18px 50px rgba(0,0,0,0.10); }
.desk .menubar { height: 4.2%; min-height: 14px; background: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 2.2%; padding: 0 2%; font-size: clamp(7px, 1.1vw, 11px); color: #333; }
.desk .menubar b { color: #111; }
.desk .menubar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.desk .menubar .map { display: inline-flex; gap: 2px; }
.desk .menubar .map i { display: block; width: 6px; height: 8px; border-radius: 1.5px; background: #b9b9be; }
.desk .menubar .map i.on { background: #111; }
.desk .row { position: absolute; top: 8%; bottom: 3.5%; left: 0; display: flex; gap: 1.1%; width: 100%; animation: strip 16s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes strip {
  0%, 18% { transform: translateX(-6%); }
  26%, 46% { transform: translateX(-38%); }
  54%, 74% { transform: translateX(-72%); }
  82%, 100% { transform: translateX(-6%); }
}
@media (prefers-reduced-motion: reduce) { .desk .row { animation: none; transform: translateX(-38%); } }

/* One window. */
.mw { flex: none; height: 100%; background: var(--window); border-radius: 9px; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.12), 0 8px 26px rgba(0,0,0,0.10); overflow: hidden; display: flex; flex-direction: column; }
.mw.focus { box-shadow: 0 0 0 2px var(--focus), 0 8px 26px rgba(0,0,0,0.12); }
.mw .bar { height: 22px; flex: none; display: flex; align-items: center; gap: 5px; padding: 0 9px; border-bottom: 1px solid #f0f0f0; font-size: 10px; color: #8a8a90; }
.mw .bar i { width: 7px; height: 7px; border-radius: 50%; background: #e3e3e6; flex: none; }
.mw .bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw .body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mw .l { height: 6px; border-radius: 3px; background: #efeff1; }
.mw .l.s { width: 55%; } .mw .l.m { width: 78%; } .mw .l.t { height: 10px; width: 40%; background: #e4e4e8; }
.mw .block { flex: 1; border-radius: 6px; background: #f6f6f8; }
.mw.dark { background: #1d1d20; } .mw.dark .bar { border-color: #2a2a2e; color: #77777d; } .mw.dark .bar i { background: #3a3a3f; }
.mw.dark .l { background: #2c2c31; } .mw.dark .l.g { background: #2f5d3a; width: 30%; }

/* How it works: a picture on grey, then a few words. */
.section { padding: 88px 0 0; }
.section > h2, .section-head h2 { font-size: 15px; font-weight: 560; color: var(--text); margin: 0; }
.section-head { max-width: 560px; margin-bottom: 30px; }
.section-head p { margin: 4px 0 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card .pic { background: var(--panel); border-radius: 18px; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 7%; overflow: hidden; }
.card .words { padding: 14px 4px 6px; max-width: 470px; }
.card .words p { margin: 0; }

/* Small drawings inside the cards. */
.mini { width: 100%; height: 100%; display: flex; gap: 4%; align-items: stretch; }
.mini .mw .bar { height: 14px; padding: 0 6px; gap: 3px; } .mini .mw .bar i { width: 5px; height: 5px; }
.mini .mw .body { padding: 7px; gap: 5px; } .mini .mw .l { height: 4px; }
.mini .off { opacity: 0.45; }
.mini.col { flex-direction: column; }
.mini .mini { height: auto; min-height: 0; }
.mini .mw { min-height: 0; }
.mini .stack { display: flex; flex-direction: column; gap: 6%; }
.mini .tabs { display: flex; gap: 3px; padding: 4px; background: #e6e6e9; border-radius: 7px 7px 0 0; }
.mini .tabs span { flex: 1; height: 12px; border-radius: 4px; background: #f6f6f7; }
.mini .tabs span.on { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.mini .grid { display: grid; gap: 5%; width: 100%; }
.mini .new { animation: arrive 4s ease-in-out infinite; }
@keyframes arrive { 0%, 25% { flex-basis: 0; opacity: 0; } 45%, 100% { opacity: 1; } }
.keys { display: flex; gap: 6px; justify-content: center; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; background: #fff; color: var(--text); font: 500 14px -apple-system, BlinkMacSystemFont, sans-serif; box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 0 rgba(0,0,0,0.06); }
.inline kbd, p kbd, li kbd { min-width: 0; height: auto; padding: 0 5px; font-size: 12.5px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.widths { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.widths div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.widths em { font-style: normal; width: 30px; text-align: right; }
.widths span { height: 20px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.07); }
.fingers { display: flex; gap: 10px; justify-content: center; animation: swipe 2.6s ease-in-out infinite; }
.fingers i { width: 26px; height: 26px; border-radius: 50%; background: rgba(17,17,19,0.12); box-shadow: inset 0 0 0 1.5px rgba(17,17,19,0.18); }
@keyframes swipe { 0%, 15% { transform: translateX(40px); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateX(-40px); opacity: 1; } 85%, 100% { opacity: 0; } }

/* Text beside a picture. */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.split .words { max-width: 420px; }
.split .words h2 { font-size: 15px; font-weight: 560; color: var(--text); margin: 0 0 4px; }
.split .words p { margin: 0 0 12px; }

/* The long list, as plain lines. */
.list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; }
.list p { margin: 0; }

/* Pricing */
.price-box { background: var(--panel); border-radius: var(--radius); padding: clamp(26px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.price-box .amount { font-size: 44px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; min-height: 1.1em; }
.price-box ul { list-style: none; padding: 0; margin: 0; }
.price-box li { padding: 7px 0; border-bottom: 1px solid var(--panel-deep); }
.price-box li:last-child { border: 0; }
.price-box li::before { content: "✓"; color: var(--text); margin-right: 10px; font-weight: 600; }

/* Questions */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; color: var(--text); font-weight: 520; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--soft); font-weight: 400; font-size: 18px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 640px; }

/* Closing line and footer */
.closing { padding: 110px 0 40px; max-width: 560px; }
.closing p { margin: 0; }
footer { border-top: 1px solid var(--line); margin-top: 70px; padding: 24px 0 44px; font-size: 13px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--soft); }
footer a:hover { color: var(--text); }
footer .grow { flex: 1; }

/* Small pages: thank-you, lost license, legal. */
.page { max-width: 640px; padding: 56px 0 0; }
.page h1 { font-size: 26px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; margin: 0 0 10px; }
.page h2 { font-size: 15px; font-weight: 560; color: var(--text); margin: 30px 0 4px; }
.page p, .page li { margin: 0 0 10px; }
.box { background: var(--panel); border-radius: 18px; padding: 24px; margin-top: 22px; }
textarea.license { width: 100%; min-height: 96px; resize: vertical; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); word-break: break-all; }
input[type=email] { width: 100%; font: inherit; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.error { color: #c62828; }
.draft { background: #fff7d6; color: #6b5200; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; }
.placeholder { background: #ffe58f; color: #3b2f00; padding: 0 4px; border-radius: 4px; }

@media (max-width: 760px) {
  .cards, .split, .price-box { grid-template-columns: minmax(0, 1fr); }
  .list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero { padding-top: 40px; }
  .section { padding-top: 64px; }
  nav.top { gap: 14px; }
  nav.top a.optional { display: none; }
  .desk { aspect-ratio: 4 / 3.2; }
  .desk .row { top: 9%; }
}
.box .pill.light, .price-box .pill.light { background: #ffffff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
