/* Dockie — marketing site
   Colours come straight from the app's manager window (FolderHost.swift):
   window #171717, column #212121, control #2F2F2F, ink #ECECEC, muted #8F8F8F,
   white pill buttons and thin white selection rings. */

:root {
  --bg: #171717;
  --raised: #212121;
  --control: #2f2f2f;
  --ink: #ececec;
  --soft: #a6a6a6;
  --muted: #8f8f8f;
  --hair: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius-xl: clamp(20px, 2.4vw, 30px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Charcoal desktop with soft white light, so the app icons carry the colour. */
  --wall:
    radial-gradient(55% 75% at 22% 20%, rgba(255, 255, 255, 0.11), transparent 70%),
    radial-gradient(50% 70% at 85% 80%, rgba(255, 255, 255, 0.06), transparent 70%),
    radial-gradient(45% 40% at 50% 110%, rgba(255, 255, 255, 0.08), transparent 75%),
    linear-gradient(165deg, #2a2a2c 0%, #1b1b1d 55%, #151516 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 600; color: var(--white); text-wrap: balance; }
h2 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: 64px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--white);
  color: #000;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}
.skip:focus { top: 10px; }

/* ---------- Buttons ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: #000;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.pill:hover { background: #e2e2e2; }
.pill:focus-visible { outline-offset: 4px; border-radius: 999px; }
.pill-lg { font-size: 17px; padding: 14px 28px; }
.pill-sm { font-size: 13px; padding: 6px 14px; }
.pill-xs { font-size: 0.72em; padding: 0.4em 0.9em; }
.pill-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.pill-outline:hover { background: rgba(255, 255, 255, 0.08); }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: inherit;
}

/* ---------- Local nav ---------- */

.localnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 23, 23, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.localnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--white);
}
.wordmark-logo {
  width: 26px;
  height: 26px;
  display: block;
}
.localnav-links {
  margin-left: auto;
  display: flex;
  gap: 26px;
}
.localnav-links a {
  font-size: 13px;
  color: var(--soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.localnav-links a:hover { color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 10vw, 128px) 0 0;
  text-align: center;
}
.hero-copy { padding: 0 var(--gutter); }
.hero h1 {
  font-size: clamp(56px, 11vw, 136px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.lead {
  margin: 28px auto 0;
  max-width: 33em;
  text-wrap: balance;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.42;
  color: var(--soft);
}
.cta-row {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-note { font-size: 14px; color: var(--muted); }

.stage {
  margin: clamp(56px, 8vw, 96px) auto 0;
  width: min(100% - 2 * var(--gutter), var(--max));
  border-radius: var(--radius-xl);
  overflow: hidden;
  container-type: inline-size;
  box-shadow: 0 0 0 1px var(--hair), 0 40px 120px -40px rgba(0, 0, 0, 0.8);
  text-align: left;
}
.stage-scale {
  font-size: clamp(9px, 1.32cqi, 15px);
  height: 37em;
  display: flex;
  flex-direction: column;
}
.stage-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8em;
  padding-bottom: 0.7em;
}
.stage-hint {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.wall { background: var(--wall); }

/* Menu bar strip inside the illustrations */
.menubar {
  height: 1.75em;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1em;
  background: rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(1em);
  backdrop-filter: blur(1em);
  color: rgba(255, 255, 255, 0.88);
}
.menubar-right {
  display: flex;
  align-items: center;
  gap: 1.2em;
  font-size: 0.8em;
  font-weight: 500;
}
.mb-dockie {
  width: 1.15em;
  height: 1.15em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.13em;
  padding: 0.12em;
  border-radius: 0.25em;
}
.mb-dockie i { background: currentColor; border-radius: 0.08em; }
.mb-dockie.is-on { background: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 0.25em rgba(255, 255, 255, 0.22); }

/* ---------- App icons (placeholders, not real apps) ---------- */

.app {
  display: block;
  width: 3.6em;
  aspect-ratio: 1;
  flex: none;
  border-radius: 22.5%;
  background: var(--g, #555);
  position: relative;
  box-shadow: inset 0 0.04em 0 rgba(255, 255, 255, 0.28), 0 0.06em 0.2em rgba(0, 0, 0, 0.28);
}
.app::after {
  content: "";
  position: absolute;
  inset: 23%;
  background: var(--gl, #fff);
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}

[data-app="inbox"]   { --g: linear-gradient(180deg, #7dd3fc, #2563eb); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 13h5l1.5 3h5L16 13h5'/><path d='M5.5 5h13L21 13v6H3v-6z'/></svg>"); }
[data-app="dayplan"] { --g: linear-gradient(180deg, #ffffff, #e4e4e7); --gl: #ef4444; --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='5' width='16' height='15' rx='2.5'/><path d='M4 10h16M8.5 3v4M15.5 3v4'/></svg>"); }
[data-app="relay"]   { --g: linear-gradient(180deg, #67e8f9, #0891b2); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 5h16v11H10l-6 4z'/></svg>"); }
[data-app="draft"]   { --g: linear-gradient(180deg, #fafaf9, #d6d3d1); --gl: #57534e; --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3h9l4 4v14H6z'/><path d='M9 12h7M9 16h7M9 8h3'/></svg>"); }
[data-app="ledger"]  { --g: linear-gradient(180deg, #4ade80, #15803d); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 20v-8M12 20V5M19 20v-5'/></svg>"); }
[data-app="atlas"]   { --g: linear-gradient(180deg, #a5b4fc, #4f46e5); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M15.5 8.5l-2 5-5 2 2-5z'/></svg>"); }
[data-app="shell"]   { --g: linear-gradient(180deg, #525252, #141414); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 7l5 5-5 5M12.5 17H19'/></svg>"); }
[data-app="vault"]   { --g: linear-gradient(180deg, #fcd34d, #c2410c); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='10' rx='2'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>"); }
[data-app="tides"]   { --g: linear-gradient(180deg, #5eead4, #0f766e); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9c3-3 6 3 9 0s6 3 9 0M3 15c3-3 6 3 9 0s6 3 9 0'/></svg>"); }
[data-app="pulse"]   { --g: linear-gradient(180deg, #fda4af, #e11d48); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h4l2-5 4 10 2-5h6'/></svg>"); }
[data-app="drift"]   { --g: linear-gradient(180deg, #bae6fd, #0ea5e9); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 18h10a4 4 0 0 0 0-8 6 6 0 0 0-11.5 1.5A3.5 3.5 0 0 0 7 18z'/></svg>"); }
[data-app="pin"]     { --g: linear-gradient(180deg, #86efac, #0d9488); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-7-6-7-11a7 7 0 0 1 14 0c0 5-7 11-7 11z'/><circle cx='12' cy='10' r='2.5'/></svg>"); }
[data-app="lumen"]   { --g: linear-gradient(180deg, #c4b5fd, #6d28d9); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><path d='M12 2.5v2M12 19.5v2M4.6 4.6L6 6M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4L6 18M18 6l1.4-1.4'/></svg>"); }
[data-app="spark"]   { --g: linear-gradient(180deg, #fde047, #ea580c); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2.5L4.5 14H11l-1 7.5L18.5 10H12z'/></svg>"); }
[data-app="studio"]  { --g: linear-gradient(180deg, #fb7185, #9f1239); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18V6l10-2v12'/><circle cx='6.5' cy='18' r='2.5'/><circle cx='16.5' cy='16' r='2.5'/></svg>"); }
[data-app="arcade"]  { --g: linear-gradient(180deg, #f9a8d4, #be185d); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 8h10a4.5 4.5 0 0 1 4.5 4.5v1a3 3 0 0 1-5.2 2L15 14H9l-1.3 1.5a3 3 0 0 1-5.2-2v-1A4.5 4.5 0 0 1 7 8z'/><path d='M8 10.5v3M6.5 12h3'/></svg>"); }
[data-app="shelf"]   { --g: linear-gradient(180deg, #fdba74, #c2410c); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 19.5V5a2 2 0 0 1 2-2h13v14H6a2 2 0 0 0-2 2.5 2 2 0 0 0 2 1.5h13'/></svg>"); }
[data-app="frame"]   { --g: linear-gradient(180deg, #cbd5e1, #475569); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8h4l2-2.5h6L17 8h4v11H3z'/><circle cx='12' cy='13.5' r='3.5'/></svg>"); }
[data-app="orbit"]   { --g: linear-gradient(180deg, #f0abfc, #86198f); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><ellipse cx='12' cy='12' rx='10' ry='4' transform='rotate(-20 12 12)'/></svg>"); }
[data-app="canvas"]  { --g: linear-gradient(180deg, #fdba74, #f43f5e); --glyph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20l4.5-1L19 8.5 15.5 5 5 15.5z'/><path d='M13.5 7l3.5 3.5'/></svg>"); }

/* ---------- Folder icon (mirrors drawFolderIcon in Shared.swift) ---------- */

.folder {
  --s: 3.6em;
  width: var(--s);
  height: var(--s);
  display: inline-block;
  position: relative;
  flex: none;
  vertical-align: middle;
  container-type: inline-size; /* cqi below = % of the folder's size */
}
.folder-body {
  --glass: linear-gradient(180deg, rgba(61, 61, 61, 0.82), rgba(26, 26, 26, 0.88));
  --rim: rgba(255, 255, 255, 0.14);
  position: absolute;
  inset: 8.8%;
  border-radius: 22.5%;
  isolation: isolate;
  background: linear-gradient(var(--tint, transparent), var(--tint, transparent)), var(--glass);
  box-shadow: inset 0 0 0 max(1px, 0.66cqi) var(--rim), 0 0.08em 0.3em rgba(0, 0, 0, 0.3);
  display: grid;
  align-content: start;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.folder-body .app {
  width: 100%;
  box-shadow: none;
}
.folder-body .app::after { inset: 24%; }

[data-glass="light"] > .folder-body {
  --glass: linear-gradient(180deg, rgba(247, 247, 247, 0.92), rgba(214, 214, 214, 0.92));
  --rim: rgba(255, 255, 255, 0.5);
}
[data-glass="clear"] > .folder-body {
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16));
}
[data-tint="blue"]   > .folder-body { --tint: rgba(59, 130, 246, 0.38); }
[data-tint="green"]  > .folder-body { --tint: rgba(34, 197, 94, 0.38); }
[data-tint="red"]    > .folder-body { --tint: rgba(239, 68, 68, 0.38); }
[data-tint="purple"] > .folder-body { --tint: rgba(168, 85, 247, 0.38); }
[data-tint="amber"]  > .folder-body { --tint: rgba(245, 158, 11, 0.38); }
[data-tint="pink"]   > .folder-body { --tint: rgba(236, 72, 153, 0.38); }

[data-style="grid3"] > .folder-body {
  grid-template-columns: repeat(3, 1fr);
  padding: 8.24cqi;
  gap: 4.12cqi;
}
[data-style="grid3"] .app:nth-child(n + 10) { display: none; }

[data-style="grid2"] > .folder-body {
  grid-template-columns: repeat(2, 1fr);
  padding: 11.54cqi;
  gap: 6.59cqi;
}
[data-style="grid2"] .app:nth-child(n + 5) { display: none; }

[data-style="stack"] > .folder-body { display: block; }
[data-style="stack"] .app {
  position: absolute;
  width: 42.85cqi;
  left: 15cqi;
  bottom: 15cqi;
}
[data-style="stack"] .app:nth-child(1) { z-index: 3; }
[data-style="stack"] .app:nth-child(2) { z-index: 2; transform: translate(10.71cqi, -7.42cqi) scale(0.88); opacity: 0.85; }
[data-style="stack"] .app:nth-child(3) { z-index: 1; transform: translate(21.42cqi, -14.83cqi) scale(0.76); opacity: 0.7; }
[data-style="stack"] .app:nth-child(n + 4) { display: none; }

[data-style="symbol"] .app { display: none; }
[data-style="symbol"] > .folder-body::after {
  content: "";
  position: absolute;
  inset: 29%;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2.5 6.5A2.5 2.5 0 0 1 5 4h4.2l2.3 2.3H19a2.5 2.5 0 0 1 2.5 2.5v9A2.5 2.5 0 0 1 19 20.3H5a2.5 2.5 0 0 1-2.5-2.5z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2.5 6.5A2.5 2.5 0 0 1 5 4h4.2l2.3 2.3H19a2.5 2.5 0 0 1 2.5 2.5v9A2.5 2.5 0 0 1 19 20.3H5a2.5 2.5 0 0 1-2.5-2.5z'/></svg>") center / contain no-repeat;
}
[data-style="symbol"][data-glass="light"] > .folder-body::after { background: #262626; }

/* ---------- Glass panel (mirrors the folder panel in FolderHelper.swift) ---------- */

.panel {
  --cell-w: 5.5em;
  --cell-h: 5.9em;
  --cols: 4;
  position: relative;
  width: calc(var(--cols) * var(--cell-w) + 2em);
  padding: 0 1em 0.2em;
  border-radius: 1.375em;
  background: rgba(30, 30, 32, 0.58);
  -webkit-backdrop-filter: blur(1.75em) saturate(160%);
  backdrop-filter: blur(1.75em) saturate(160%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1.5em 3.5em rgba(0, 0, 0, 0.45);
  color: #fff;
  flex: none;
}
.panel-head {
  height: 2.75em;
  display: grid;
  grid-template-columns: 2em 1fr 2em;
  align-items: center;
}
.panel-title {
  grid-column: 2;
  justify-self: center;
  font-size: 0.94em;
  font-weight: 600;
  white-space: nowrap;
}
.panel-plus {
  grid-column: 3;
  justify-self: end;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.5);
}
.pages {
  overflow: hidden;
  touch-action: pan-y;
}
.strip {
  display: flex;
  transition: transform 0.28s ease-out;
}
.page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--cell-h);
  height: calc(var(--rows, 3) * var(--cell-h));
  align-content: start;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding-top: 0.45em;
  min-width: 0;
}
.tile > span {
  font-size: 0.66em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.86);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dots {
  height: 1.7em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15em;
}
.dots:empty { visibility: hidden; }
.dot {
  width: 1.1em;
  height: 1.1em;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dot::before {
  content: "";
  width: 0.44em;
  height: 0.44em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s ease;
}
.dot[aria-current="true"]::before { background: rgba(255, 255, 255, 0.9); }
.dot:focus-visible { outline-offset: 0; border-radius: 50%; }

/* Hero panel: springs up from its Dock icon */
.hero-panel {
  transform: translateX(var(--off, 0px));
  transform-origin: 50% 110%;
  transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.25, 1.12), opacity 0.22s ease, visibility 0s;
}
.js .hero-panel:not(.is-open) {
  opacity: 0;
  visibility: hidden;
  transform: translateX(var(--off, 0px)) translateY(1.5em) scale(0.55);
  transition: transform 0.2s ease-in, opacity 0.16s ease, visibility 0s 0.2s;
}

/* ---------- Dock ---------- */

.dock {
  display: flex;
  align-items: flex-end;
  gap: 0.55em;
  padding: 0.6em 0.7em 0;
  border-radius: 1.45em;
  background: rgba(44, 44, 46, 0.42);
  -webkit-backdrop-filter: blur(1.6em) saturate(170%);
  backdrop-filter: blur(1.6em) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex: none;
}
.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0.75em;
  margin: 0;
  border: 0;
  background: none;
  width: 3.6em;
}
/* A folder's body is 82.4% of its icon (the macOS grid), so size the icon up until the
   body matches an app icon exactly. */
.dock-item > .folder { --s: calc(3.6em / 0.824); margin: calc(-3.6em * 0.088 / 0.824); }
.run {
  position: absolute;
  bottom: 0.26em;
  width: 0.24em;
  height: 0.24em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}
.dock-sep {
  width: 1px;
  align-self: stretch;
  margin: 0.35em 0.05em 0.75em;
  background: rgba(255, 255, 255, 0.25);
}
.dock-folder > .folder { transition: transform 0.18s ease; transform-origin: 50% 100%; }
button.dock-folder { cursor: pointer; }
button.dock-folder:hover > .folder { transform: scale(1.08); }
button.dock-folder:focus-visible { outline-offset: 0.15em; border-radius: 0.8em; }
.dock-label {
  position: absolute;
  bottom: calc(100% + 0.5em);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78em;
  line-height: 1;
  padding: 0.45em 0.85em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
button.dock-folder:is(:hover, :focus-visible)[aria-expanded="false"] .dock-label,
.dock-label.is-shown { opacity: 1; }
.dock-new {
  height: 4.35em;
  justify-content: flex-start;
}
.dock-new::before {
  content: "＋";
  display: grid;
  place-items: center;
  width: 3.1em;
  height: 3.1em;
  margin-top: 0.25em;
  border-radius: 0.7em;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

/* ---------- Hero playground ---------- */

.play .stage-scale { position: relative; }
.play-body { position: relative; flex: 1; }
.play-dock {
  position: absolute;
  left: 50%;
  bottom: 0.7em;
  transform: translateX(-50%);
  max-width: calc(100% - 1em);
}
.play-dock .dock-app {
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.play-dock .dock-item:focus-visible { outline-offset: 0.15em; border-radius: 0.8em; }
.play-dock .dock-app.is-lifted > .app-wrap { opacity: 0.25; }
.play-dock .dock-folder.is-target > .folder { transform: scale(1.14); }
.play-dock .dock-folder.is-target .folder-body { box-shadow: inset 0 0 0 max(1px, 0.66cqi) var(--rim), 0 0 0 0.14em rgba(255, 255, 255, 0.75); }
.play-dock .dock-folder[aria-expanded="true"] .dock-label { opacity: 0; }
.play-panel {
  position: absolute;
  left: 0;
  bottom: 6.3em;
  z-index: 3;
}
.play-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .play-panel:not([hidden]) { animation: pop-up 0.32s cubic-bezier(0.2, 0.9, 0.25, 1.12); transform-origin: 50% 110%; }
}
.play-panel .pages { height: calc(3 * var(--cell-h)); outline: none; }
.hp-page { position: relative; flex: 0 0 100%; height: calc(3 * var(--cell-h)); }
.hp-tile {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--cell-w);
  height: var(--cell-h);
  transform: translate(calc(var(--c) * 100%), calc(var(--r) * 100%));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 0 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.hp-tile.is-lifted { opacity: 0; }
.hp-tile:focus-visible { outline-offset: -0.15em; border-radius: 0.9em; }
.hp-label {
  font-size: 0.66em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.86);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.55);
}
.play-plus { border: 0; background: none; cursor: pointer; padding: 0; font-family: inherit; }
.play-plus:hover { color: #fff; }
.play-plus:focus-visible { outline-offset: 0.1em; border-radius: 0.3em; }
.play-ctx { top: auto; right: auto; width: 15em; z-index: 9; }
.play-menu { width: 21em; z-index: 9; }
.ctx-swatches { display: flex; gap: 0.5em; padding: 0.35em 0.6em 0.45em 2.05em; }
.ctx-swatches button {
  width: 1.15em !important;
  height: 1.15em;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--c, var(--control)) !important;
  flex: none;
}
.ctx-swatches .sw-none {
  background:
    linear-gradient(135deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%) center / 60% 60% no-repeat,
    var(--control) !important;
}
.ctx-swatches .is-on { box-shadow: 0 0 0 0.15em rgba(38, 38, 40, 1), 0 0 0 0.27em #fff; }
.menu button.is-danger { color: #f06b66; }

/* App icons with badges */
.app-wrap { position: relative; display: block; width: 3.6em; flex: none; }
.app-wrap > .app { width: 100%; }
.badge {
  position: absolute;
  top: -0.55em;
  right: -0.6em;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 0.5em;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.6em;
  font-weight: 600;
  line-height: 1.9em;
  text-align: center;
  box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3);
}
.dock-item > .badge { top: -0.45em; right: -0.5em; }

.play-bar {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 var(--gutter);
}
.play-bar .stage-hint { margin-top: 18px; }
.play-tips {
  list-style: none;
  margin: 14px auto 0;
  padding: 0 var(--gutter);
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.play-tips li {
  font-size: 13px;
  color: var(--soft);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* ---------- Statement ---------- */

.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 14vw, 180px) var(--gutter) 0;
}
.statement p {
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Feature sections ---------- */

.feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 13vw, 168px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-copy { order: 2; }
.feature-copy p,
.customize-head p {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--soft);
  max-width: 40ch;
}
.feature-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  container-type: inline-size;
  min-height: clamp(340px, 40vw, 500px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  box-shadow: 0 0 0 1px var(--hair);
}
.mock {
  font-size: clamp(10px, 2.75cqi, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.visual-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  min-height: 20px;
}
.demo-pages { cursor: grab; }
.demo-pages:active { cursor: grabbing; }
.demo-pages:focus-visible { outline-offset: 4px; border-radius: 1.4em; }

.ways {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 42ch;
}
.ways li {
  font-size: 17px;
  line-height: 1.5;
  color: var(--soft);
  padding-left: 22px;
  position: relative;
}
.ways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: rgba(255, 255, 255, 0.85);
}
.ways strong { color: var(--white); font-weight: 600; }

/* Arrange demo */
.arrange-grid {
  list-style: none;
  margin: 0 0 0.6em;
  padding: 0;
  position: relative;
  height: calc(2 * var(--cell-h));
  touch-action: none;
}
.arrange-grid li {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--cell-w);
  height: var(--cell-h);
  transform: translate(calc(var(--c) * 100%), calc(var(--r) * 100%));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}
.arrange-grid li.is-dragging {
  transition: none;
  z-index: 5;
}
.arrange-grid li.is-dragging .app { transform: scale(1.1); box-shadow: 0 0.6em 1.4em rgba(0, 0, 0, 0.45); }
.arrange-grid li.is-out { opacity: 0.55; }
.arrange-grid li.is-gone { opacity: 0; transform: translate(calc(var(--c) * 100%), calc(var(--r) * 100%)) scale(0.4); }
.tile-btn {
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.tile-btn .tile { height: 100%; }
.tile-btn .app { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tile-btn:focus-visible { outline-offset: -0.2em; border-radius: 0.9em; }
.is-dragging .tile-btn { cursor: grabbing; }

/* Add-apps illustration */
.mock-add { padding-top: 5em; }
.mock-add .is-target > .folder { transform: scale(1.12); }
.mock-add .is-target > .folder .folder-body { box-shadow: inset 0 0 0 max(1px, 0.66cqi) var(--rim), 0 0 0 0.14em rgba(255, 255, 255, 0.75), 0 0.3em 1em rgba(0, 0, 0, 0.4); }

/* Rename illustration */
.mock-rename { gap: 3.2em; }
.panel-short { --cols: 4; padding-bottom: 0.9em; }
.mini-row {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
}
.mini-row .tile { height: var(--cell-h); }

/* ---------- Customize ---------- */

.customize {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 200px) var(--gutter) 0;
}
.customize-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.configurator {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}
.config-preview {
  border-radius: var(--radius-xl);
  overflow: hidden;
  container-type: inline-size;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  box-shadow: 0 0 0 1px var(--hair);
}
.config-preview .mock {
  font-size: clamp(8.5px, 1.75cqi, 14px);
  gap: 1em;
}
.config-panel { transition: width 0.25s ease; padding-bottom: 0.6em; }
.config-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: var(--cell-h);
}
.config-preview .dock { gap: 0.8em; }
.config-preview .dock-item { width: 5.2em; }
.config-preview .dock-item > .app { width: 5.2em; }
.config-preview .dock-folder > .folder { --s: calc(5.2em / 0.824); margin: calc(-5.2em * 0.088 / 0.824); }

.look {
  background: var(--raised);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--hair);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.look-group {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.look-group legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.style-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.style-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
  min-width: 0;
}
.style-pick > .folder {
  --s: 54px;
  box-sizing: content-box;
  padding: 4px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: box-shadow 0.15s ease;
}
.style-pick[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.style-pick[aria-pressed="true"] > .folder { box-shadow: inset 0 0 0 1.5px var(--white); }
.style-pick > span:last-child { white-space: nowrap; }
.style-pick:focus-visible { outline-offset: 2px; border-radius: 12px; }

.segmented {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--control);
}
.segmented button {
  flex: 1;
  border: 0;
  background: none;
  padding: 6px 0;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.segmented button[aria-pressed="true"] { background: var(--white); color: #000; font-weight: 600; }
.segmented button:focus-visible { outline-offset: 1px; border-radius: 999px; }

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px;
}
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--c);
  transition: box-shadow 0.15s ease;
}
.swatch-none {
  background:
    linear-gradient(135deg, transparent 46%, var(--muted) 46%, var(--muted) 54%, transparent 54%) center / 55% 55% no-repeat,
    var(--control);
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--raised), 0 0 0 4.5px var(--white); }
.swatch:focus-visible { outline-offset: 7px; border-radius: 50%; }

.size-picker {
  display: grid;
  grid-template-columns: repeat(6, 22px);
  gap: 5px;
}
.size-cell {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--control);
  transition: background-color 0.1s ease;
}
.size-cell.is-on { background: rgba(255, 255, 255, 0.9); }
.size-cell.is-hover { background: rgba(255, 255, 255, 0.45); }
.size-cell.is-on.is-hover { background: rgba(255, 255, 255, 0.9); }
.size-cell:focus-visible { outline-offset: 2px; border-radius: 5px; }
.size-readout { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- Menu bar + manager window illustration ---------- */

.feature-wide {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.feature-wide .feature-copy { display: flex; flex-direction: column; align-items: center; }
.feature-wide .feature-visual {
  width: 100%;
  padding: 0;
  justify-content: flex-start;
  min-height: 0;
}
.mock-window {
  font-size: clamp(6px, 1.32cqi, 15px);
  width: 100%;
  position: relative;
  text-align: left;
  align-items: stretch;
  min-height: 44em;
}
.menubar-solid { background: rgba(20, 20, 22, 0.55); }
.menubar-solid .menubar-right { margin-right: 0.2em; }
.menu {
  position: absolute;
  top: 1.95em;
  right: 4.6em;
  z-index: 8;
  width: 21em;
  padding: 0.35em;
  border-radius: 0.7em;
  background: rgba(38, 38, 40, 0.8);
  -webkit-backdrop-filter: blur(1.5em) saturate(170%);
  backdrop-filter: blur(1.5em) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 1em 2.4em rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  font-size: 0.86em;
  color: rgba(255, 255, 255, 0.92);
}
.menu[hidden] { display: none; }
.menu button {
  display: flex;
  align-items: center;
  gap: 0.55em;
  width: 100%;
  padding: 0.32em 0.6em;
  border: 0;
  border-radius: 0.4em;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.menu button:hover,
.menu button:focus-visible { background: rgba(255, 255, 255, 0.14); outline: none; }
.menu button:disabled { color: rgba(255, 255, 255, 0.35); cursor: default; background: none; }
.menu button > span { overflow: hidden; text-overflow: ellipsis; }
.menu .folder { --s: 1.45em; }
.menu kbd {
  margin-left: auto;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.45);
}
.menu hr {
  border: 0;
  height: 1px;
  margin: 0.3em 0.6em;
  background: rgba(255, 255, 255, 0.12);
}
.appwin {
  position: relative;
  width: 50em;
  max-width: calc(100% - 3em);
  margin: 2.8em auto 0;
  border-radius: 1em;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2em 4em rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.appwin-bar {
  height: 3.3em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0 1em;
}
.appwin-bar strong { font-size: 0.9em; font-weight: 600; margin-left: 0.8em; }
.appwin-bar .count {
  font-size: 0.78em;
  color: var(--muted);
  background: var(--control);
  border-radius: 999px;
  padding: 0.1em 0.55em;
}
.appwin-bar .pill { margin-left: auto; }
.lights { display: flex; gap: 0.45em; }
.lights i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #3a3a3a; }
.appwin-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14em;
  gap: 0.8em;
  padding: 0 0.9em 0.9em;
  height: 27.5em;
}
.appwin-sim {
  border-radius: 0.9em;
  box-shadow: inset 0 0 0 1px var(--hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8em;
  padding-bottom: 0.4em;
  font-size: 0.8em;
}
.sim-panel { --cols: 4; padding-bottom: 0.4em; }
.dock-new.dock-item { padding-bottom: 0.5em; }
.appwin-look {
  background: var(--raised);
  border-radius: 0.9em;
  box-shadow: inset 0 0 0 1px var(--hair);
  padding: 1.2em 1.1em;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
}
.look-name { font-size: 1.15em; font-weight: 600; }
.look-sub { font-size: 0.75em; color: var(--muted); margin-top: -0.2em; }
.look-label { font-size: 0.72em; color: var(--muted); margin-top: 0.9em; }
.seg-mini {
  display: flex;
  padding: 0.18em;
  border-radius: 999px;
  background: var(--control);
  font-size: 0.72em;
}
.seg-mini > * { flex: 1; text-align: center; padding: 0.3em 0; border-radius: 999px; }
.seg-mini button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.seg-mini .is-on { background: #fff; color: #000; font-weight: 600; }
.sw-mini { display: flex; gap: 0.55em; padding: 0.25em; }
.sw-mini button {
  width: 1.25em;
  height: 1.25em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--c, var(--control));
}
.sw-mini .sw-none {
  background:
    linear-gradient(135deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%) center / 60% 60% no-repeat,
    var(--control);
}
.sw-mini .is-on { box-shadow: 0 0 0 0.18em var(--raised), 0 0 0 0.3em #fff; }
.sw-mini button:focus-visible,
.seg-mini button:focus-visible { outline-offset: 0.25em; border-radius: 999px; }

/* ---------- Interactive modules ---------- */

/* Add apps: drag an app off the Dock onto a folder */
.mock-add { position: relative; }
.dock-app {
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: width 0.25s ease, margin 0.25s ease, opacity 0.2s ease;
}
.dock-app > .app { transition: opacity 0.15s ease, transform 0.15s ease; }
.dock-app:hover > .app { transform: translateY(-0.12em); }
.dock-app:focus-visible { outline-offset: 0.15em; border-radius: 0.8em; }
.dock-app.is-lifted > .app { opacity: 0.25; }
.dock-app.is-leaving { width: 0; margin-left: -0.6em; opacity: 0; pointer-events: none; }
.add-ghost {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.1);
}
.add-ghost .app { width: 100%; box-shadow: 0 0.8em 1.6em rgba(0, 0, 0, 0.45); }
.add-target > .folder { transition: transform 0.18s ease; transform-origin: 50% 100%; }
.mock-add .is-target .dock-label { opacity: 1; }
.add-target.is-bump > .folder { animation: bump 0.4s ease; }
@keyframes bump { 40% { transform: scale(1.16); } }

/* Rename: press and hold the name */
.rename-btn {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.94em;
  font-weight: 600;
  padding: 0.2em 0.55em;
  border-radius: 0.45em;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.rename-btn:hover { background: rgba(255, 255, 255, 0.07); }
.rename-btn.is-holding {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: background-color 0.5s linear, box-shadow 0.5s linear;
}
.rename-btn:focus-visible { outline-offset: 1px; border-radius: 0.5em; }
.rename-input {
  grid-column: 2;
  justify-self: center;
  width: 12em;
  max-width: 100%;
  font: inherit;
  font-size: 0.94em;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 0.45em;
  padding: 0.2em 0.55em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  outline: none;
  caret-color: #fff;
}
.rename-input::selection { background: rgba(255, 255, 255, 0.35); }
.rename-label { transition: opacity 0.15s ease; }

/* Menu bar + Dockie window */
.mb-btn {
  border: 0;
  color: inherit;
  cursor: pointer;
  box-sizing: content-box;
}
.mb-btn:not(.is-on):hover { background: rgba(255, 255, 255, 0.12); }
.mb-btn:focus-visible { outline-offset: 0.3em; border-radius: 0.25em; }
.appwin { transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease; }
.appwin.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
}
.appwin.is-flash { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 0.2em rgba(255, 255, 255, 0.45), 0 2em 4em rgba(0, 0, 0, 0.5); }
.win-new { border: 0; cursor: pointer; font-family: inherit; }
.win-new:disabled { opacity: 0.4; cursor: default; }
.sim-panel { transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.9, 0.25, 1.12), visibility 0s; transform-origin: 50% 110%; }
.sim-panel.is-closed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6em) scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s;
}
.sim-empty {
  grid-column: 1 / -1;
  height: var(--cell-h);
  display: grid;
  place-items: center;
  font-size: 0.72em;
  color: rgba(255, 255, 255, 0.55);
}
.sim-dock {
  font-size: min(1em, calc(30em / (var(--n, 4) * 4.2)));
  max-width: 100%;
}
.sim-dock .dock-new { border: 0; background: none; cursor: pointer; }
.sim-dock .dock-new:disabled { opacity: 0.35; cursor: default; }
.sim-dock .dock-new:focus-visible,
.sim-dock .dock-folder:focus-visible { outline-offset: 0.1em; border-radius: 0.8em; }
.feature-wide .feature-visual { gap: 0; }
.menu-status { padding: 8px 20px 24px; }
.menu .check { width: 0.9em; flex: none; text-align: center; }
.menu .folder { --s: 1.45em; }
.menu-head { padding: 0.3em 0.6em 0.15em 2.05em; font-size: 0.82em; font-weight: 600; color: rgba(255, 255, 255, 0.45); }
.menu button.is-static { cursor: default; }
.menu button.is-static:hover { background: none; }

/* Title bar */
.lights button,
.lights i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #3a3a3a; border: 0; padding: 0; }
.light-close { cursor: pointer; display: grid; place-items: center; }
.light-close:hover { background: #6a6a6a; }
.light-close:hover::before { content: "×"; font-size: 0.7em; line-height: 1; color: #111; }
.light-close:focus-visible { outline-offset: 0.15em; border-radius: 50%; }
.drag-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72em;
  color: var(--muted);
  cursor: pointer;
}
.drag-toggle + .pill { margin-left: 0.6em; }
.appwin-bar .pill { margin-left: 0; }
.drag-toggle input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 2.1em;
  height: 1.2em;
  border-radius: 999px;
  background: var(--control);
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.drag-toggle input::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0.15em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #bbb;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.drag-toggle input:checked { background: #fff; }
.drag-toggle input:checked::before { transform: translateX(0.9em); background: #111; }
.drag-toggle input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Simulator inside the window */
.appwin-sim .mini-row .tile > span { font-size: 0.6em; }
.add-tile { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0.45em 0 0; }
.add-box {
  width: 3.6em;
  height: 3.6em;
  display: grid;
  place-items: center;
  border-radius: 0.8em;
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1em;
}
.add-tile:hover .add-box { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.add-tile:focus-visible { outline-offset: -0.1em; border-radius: 0.8em; }
.empty-card {
  margin: auto;
  max-width: 24em;
  padding: 1.6em 1.8em;
  border-radius: 1.2em;
  background: rgba(30, 30, 32, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  text-align: center;
}
.empty-card strong { font-size: 1.2em; font-weight: 600; }
.empty-card span { font-size: 0.75em; color: rgba(255, 255, 255, 0.7); }
.empty-card .pill { border: 0; cursor: pointer; font-family: inherit; margin-top: 0.3em; }
.folder[data-empty] > .folder-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8.24cqi;
  gap: 4.12cqi;
}
.folder-body .slot { display: block; aspect-ratio: 1; border-radius: 24%; background: rgba(255, 255, 255, 0.13); }
[data-glass="light"] .folder-body .slot { background: rgba(0, 0, 0, 0.13); }

/* Look column */
.appwin-look { overflow: hidden; }
.appwin-look[hidden] { display: none; }
.appwin-body:has(.appwin-look[hidden]) { grid-template-columns: 1fr; }
.look-name-input {
  font: inherit;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0.45em;
  padding: 0.2em 0.4em;
  margin: 0 -0.4em;
  width: calc(100% + 0.8em);
  outline: none;
}
.look-name-input:hover { background: rgba(255, 255, 255, 0.04); }
.look-name-input:focus { background: var(--control); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.look-picks { display: flex; gap: 0.6em; }
.look-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.68em;
  cursor: pointer;
}
.look-pick .folder {
  --s: 3.4em;
  box-sizing: content-box;
  padding: 0.2em;
  border-radius: 1em;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.look-pick.is-on { color: var(--ink); font-weight: 600; }
.look-pick.is-on .folder { box-shadow: inset 0 0 0 1.5px #fff; }
.look-pick:focus-visible { outline-offset: 0.15em; border-radius: 0.8em; }
.look-seg { margin-top: 0.3em; }
.glass-picks { display: flex; gap: 0.9em; }
.glass-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.68em;
  cursor: pointer;
}
.glass-pick i { width: 1.9em; height: 1.9em; border-radius: 50%; }
.g-dark i { background: #292929; }
.g-light i { background: #ededed; }
.g-clear i { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.glass-pick.is-on { color: var(--ink); }
.glass-pick.is-on i { outline: 1.5px solid #fff; outline-offset: 0.2em; }
.glass-pick:focus-visible { outline-offset: 0.2em; border-radius: 0.4em; }
.look-delete {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0.4em 0;
  font: inherit;
  font-size: 0.8em;
  color: #f06b66;
  cursor: pointer;
}
.look-delete:hover { text-decoration: underline; }

/* Sheets (new folder, alerts) slide down from the title bar */
.sheet-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.sheet-layer[hidden] { display: none; }
.sheet {
  margin-top: 3.3em;
  width: 24em;
  max-width: calc(100% - 2em);
  padding: 1.4em;
  border-radius: 0.9em;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--hair), 0 1.5em 3em rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheet-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1); }
}
@keyframes sheet-in { from { transform: translateY(-0.8em); opacity: 0; } }
.sheet-title { font-size: 1.05em; font-weight: 600; color: var(--ink); }
.sheet-text { margin: 0; font-size: 0.78em; line-height: 1.5; color: var(--soft); }
.sheet-input {
  font: inherit;
  font-size: 0.95em;
  color: var(--ink);
  background: var(--control);
  border: 0;
  border-radius: 0.6em;
  padding: 0.55em 0.75em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  outline: none;
}
.sheet-btns { display: flex; justify-content: flex-end; gap: 0.4em; }
.sheet-plain,
.sheet-main {
  border: 0;
  font: inherit;
  font-size: 0.8em;
  border-radius: 999px;
  padding: 0.45em 1em;
  cursor: pointer;
}
.sheet-plain { background: none; color: var(--muted); }
.sheet-plain:hover { color: var(--ink); }
.sheet-main { background: #fff; color: #000; font-weight: 500; }
.sheet-main.is-danger { background: #f06b66; color: #000; }
.sheet-plain:focus-visible,
.sheet-main:focus-visible { outline-offset: 2px; border-radius: 999px; }

/* Quit state */
.relaunch {
  position: absolute;
  top: 14em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.9em;
  font-size: 0.9em;
  color: var(--soft);
  white-space: nowrap;
}
.relaunch[hidden] { display: none; }
.relaunch .pill { border: 0; cursor: pointer; font-family: inherit; font-size: 0.8em; }

/* The real Dock at the bottom of the desktop */
.desk {
  position: relative;
  margin-top: auto;
  padding: 2.2em 0 0.5em;
  display: flex;
  justify-content: center;
}
.desk-dock { font-size: min(1em, calc(46em / (var(--n, 8) * 4.2))); }
.desk-dock .dock-folder { cursor: pointer; }
.desk-panel {
  position: absolute;
  bottom: 5.6em;
  left: 0;
  z-index: 6;
  --cols: 4;
  padding-bottom: 0.6em;
}
.desk-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .desk-panel:not([hidden]) { animation: pop-up 0.3s cubic-bezier(0.2, 0.9, 0.25, 1.12); transform-origin: 50% 110%; }
}
@keyframes pop-up { from { transform: translateY(0.8em) scale(0.85); opacity: 0; } }
.desk-plus { border: 0; background: none; cursor: pointer; padding: 0; font-family: inherit; }
.desk-plus:hover { color: #fff; }
.desk-plus:focus-visible { outline-offset: 0.1em; border-radius: 0.3em; }

/* ---------- How it works ---------- */

.how {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 200px) var(--gutter) 0;
}
.how h2 { max-width: 14ch; }
.steps {
  list-style: none;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.steps li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.steps h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
}
.steps p {
  margin-top: 8px;
  color: var(--soft);
  max-width: 32ch;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 200px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.reqs {
  margin: 36px 0 0;
  max-width: 360px;
}
.reqs > div {
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}
.reqs > div:last-child { border-bottom: 1px solid var(--hair); }
.reqs dt { font-size: 13px; color: var(--muted); }
.reqs dd { margin: 2px 0 0; font-size: 17px; color: var(--ink); }

.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.faq-list details { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 19px;
  font-weight: 500;
  color: var(--white);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--soft), var(--soft)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--soft), var(--soft)) center / 1.5px 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline-offset: 2px; }
.faq-list details p {
  color: var(--soft);
  max-width: 58ch;
  padding-bottom: 14px;
}
.faq-list details p:last-child { padding-bottom: 26px; }

/* ---------- Download ---------- */

.download {
  margin: clamp(120px, 16vw, 200px) auto 0;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(30% 34% at 50% 30%, rgba(255, 255, 255, 0.07), transparent),
    radial-gradient(40% 30% at 50% 62%, rgba(255, 255, 255, 0.03), transparent);
}
.download-logo {
  width: clamp(104px, 13vw, 150px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}
.download h2 {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.download .cta-note { max-width: 40ch; }

/* ---------- Changelog, privacy, terms ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--gutter) clamp(96px, 12vw, 160px);
}
.doc h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.doc-lead {
  margin-top: 24px;
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.5;
  color: var(--soft);
}
.doc-meta { margin-top: 16px; font-size: 15px; color: var(--muted); }
.doc > h2 {
  margin-top: 56px;
  font-size: clamp(24px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.doc h3 {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--soft);
}
.doc > p,
.doc h2 + p,
.doc h3 + p { margin-top: 14px; }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--muted); }
.doc a { color: var(--white); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.doc a:hover { text-decoration-color: currentColor; }
.doc-summary {
  margin-top: 40px;
  padding: 24px 28px 26px;
  border-radius: 16px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.doc-summary h2 { font-size: 17px; letter-spacing: 0; }
.doc-summary ul { margin-top: 10px; }
.doc-summary li { color: var(--ink); }
.doc-summary + p { margin-top: 40px; }
/* Warranty and liability clauses must be conspicuous */
.doc p.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; line-height: 1.6; color: var(--ink); }
.doc-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
/* Details still to be filled in before launch */
.fill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: 1px dashed rgba(255, 255, 255, 0.5);
  outline-offset: -1px;
  border-radius: 4px;
  padding: 0 0.3em;
  white-space: nowrap;
}

.release {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
}
.release-meta { align-self: start; position: sticky; top: 84px; }
.release-meta h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.release-date { margin-top: 6px; font-size: 15px; color: var(--muted); }
.release-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.release-notes > p { color: var(--ink); }
.release-notes h3:first-of-type { margin-top: 24px; }
.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 0 20px; }
.notfound h1 { font-size: clamp(36px, 6vw, 60px); margin-top: 16px; }
.notfound-links { margin-top: 24px; }
.notfound-links .pill { color: #000; text-decoration: none; }
.localnav-links a[aria-current="page"],
.footer nav a[aria-current="page"] { color: var(--white); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--hair); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { font-size: 13px; color: var(--soft); text-decoration: none; }
.footer nav a:hover { color: var(--white); }
.legal {
  flex-basis: 100%;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Purchase pages (/thanks, /restore) ---------- */

.account { max-width: 680px; }
.account-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.account-logo { width: 96px; height: 96px; margin-bottom: 20px; }
.account-head h1 { font-size: clamp(36px, 6vw, 56px); }
.account-actions { margin-top: 28px; }
.account a.pill,
.account .pill { color: #000; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.key-card {
  margin-top: 48px;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.key-card h2 { font-size: 17px; letter-spacing: 0; }
.key-card p { font-size: 15px; margin-top: 8px; }
.key-box {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 12px 12px 16px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.key-box code {
  flex: 1;
  min-width: 0;
  font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
}
.key-copy { flex: none; }
.key-meta { margin-top: 14px; font-size: 14px !important; color: var(--muted) !important; }
.account-foot { text-align: center; margin-top: 28px; }
.restore-form { margin-top: 40px; }
.restore-form label { display: block; font-size: 14px; color: var(--soft); margin-bottom: 8px; }
.restore-row { display: flex; gap: 10px; flex-wrap: wrap; }
.restore-row input {
  flex: 1 1 240px;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--raised);
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.restore-row input:focus { outline: 2px solid var(--white); outline-offset: 2px; }
.restore-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #f06b66; }
.form-error { margin-top: 10px; font-size: 14px !important; color: #f06b66 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Cookie choice ---------- */

.consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  width: min(420px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.5; color: var(--soft); }
.consent a { color: var(--white); text-underline-offset: 3px; }
.consent-btns { display: flex; justify-content: flex-end; gap: 8px; }
.consent-no {
  border: 0;
  background: none;
  color: var(--soft);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.consent-no:hover { color: var(--white); }
.consent .pill { border: 0; cursor: pointer; font-family: inherit; }
.footer-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--soft);
  cursor: pointer;
}
.footer-link:hover { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .feature,
  .feature-flip,
  .faq { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
  .configurator { grid-template-columns: 1fr; }
  .config-preview { min-height: 420px; }
  .look { display: grid; grid-template-columns: 1fr 1fr; }
  .look-group:first-child { grid-column: 1 / -1; }
  .style-picks { max-width: 360px; }
}

@media (max-width: 680px) {
  .localnav-links { display: none; }
  .localnav-inner { justify-content: space-between; }
  .steps { grid-template-columns: 1fr; }
  .look { display: flex; }
  .feature-copy p, .customize-head p { font-size: 17px; }
  .faq-list summary { font-size: 17px; }
  .appwin { max-width: calc(100% - 2em); }
  .release { grid-template-columns: 1fr; gap: 16px; }
  .release-meta { position: static; }
  .menu { right: 1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}
