:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #6a4cf0;
  --grad: linear-gradient(135deg, #5b5bf0 0%, #c13be0 55%, #ff3d6e 100%);
  --radius: 20px;
  --maxw: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #9d8cff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav a { margin-right: 16px; color: var(--muted); font-size: 15px; white-space: nowrap; }
nav a:last-child { margin-right: 0; }
nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero .icon { width: 128px; height: 128px; border-radius: 29px; margin: 0 auto 24px; box-shadow: 0 18px 40px rgba(120, 60, 220, .35); }
.hero h1 { font-size: clamp(40px, 8vw, 68px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(19px, 3vw, 24px); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero .showcase { margin-top: 48px; display: flex; gap: 20px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.hero .showcase img { width: min(320px, 30vw); min-width: 220px; border-radius: 28px; box-shadow: 0 24px 48px rgba(0,0,0,.18); }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: clamp(28px, 5vw, 40px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 12px; }
section .sub { color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.glyph { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 22px; }

.screens { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.screens figure { margin: 0; }
.screens img { border-radius: 22px; border: 1px solid var(--line); }
.screens figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; text-align: center; }

.facts { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.facts h3 { margin: 0 0 8px; font-size: 18px; }
.facts ul { margin: 0; padding-left: 20px; color: var(--muted); }
.facts li { margin: 4px 0; }

/* Text pages */
.prose { max-width: 720px; padding: 48px 0 72px; }
.prose h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.02em; }
.prose h2 { font-size: 24px; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose .meta { color: var(--muted); margin-bottom: 28px; }
.prose ul { padding-left: 22px; }
.prose details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 12px 0; }
.prose summary { cursor: pointer; font-weight: 600; }
.prose details p { margin: 10px 0 0; color: var(--muted); }

.button { display: inline-block; padding: 11px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; }
.button:hover { text-decoration: none; filter: brightness(1.06); }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer p { margin: 6px 0; max-width: 760px; }

/* New in 1.2 */
.macshot { margin: 0 0 28px; }
.macshot img { width: 100%; max-width: 720px; height: auto; display: block; margin: 0 auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.macshot figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; text-align: center; }
.wideshots { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin: 8px 0 28px; }
.wideshots figure { margin: 0; }
.wideshots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.new-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.new-list li { color: var(--muted); }
.new-list strong { color: var(--text, inherit); }
