/* Shared styles for AppHunt studio app sites. Colors and fonts come from each app's theme
   as custom properties on .tone-dark and .tone-light. */

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[class*="tone-"] { background: var(--bg); color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text, var(--accent)); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 48px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.skip:focus { top: 12px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text, var(--accent));
}
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
.section-head p { font-size: 19px; color: var(--muted); text-wrap: pretty; }
/* Neighbors in the same tone share one gap instead of two. */
main > .tone-light + .tone-light:not(.facts + section),
main > .tone-dark + .tone-dark { padding-top: 0; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 95%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.brand-group { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.studio-shell .topbar { position: static; }
.studio-shell .skip { z-index: 110; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.topbar nav a:hover { color: var(--text); }

/* Store call to action */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badge img { height: 52px; width: auto; }
.store-soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600; font-size: 15px;
}
.store-soon img { border-radius: 7px; }
a.store-preorder { color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
a.store-preorder:hover { border-color: var(--accent); transform: translateY(-1px); }
a.store-preorder span { color: var(--accent-text, var(--accent)); }
a.store-preorder:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-link { font-weight: 600; font-size: 16px; color: var(--accent-text, var(--accent)); text-decoration: none; padding: 10px 4px; }
.hero-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(44px, 6.8vw, 84px); font-weight: 700; letter-spacing: -0.035em; }
.hero h1 span { color: var(--muted); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 580px; text-wrap: pretty; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.island {
  position: absolute; top: 7%; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #000;
  color: #f2f3f5;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  font-size: 15px;
}
.island-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s ease-out infinite; }
.island-label { max-width: 190px; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.island-time { font-family: var(--font-numbers); font-variant-numeric: tabular-nums; font-weight: 600; min-width: 58px; text-align: right; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } }
@media (prefers-reduced-motion: reduce) { .island-dot { animation: none; } }

.phone {
  margin: 0;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3f47, #16191e 40%, #0c0e11);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 70px rgba(0, 0, 0, 0.35);
}
.phone img { border-radius: 38px; width: 100%; }
.phone-hero { width: min(360px, 82%); transform: rotate(-2deg); }
.shot-wide { margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
/* A macOS window screenshot that brings its own frame and shadow */
.shot-window { margin: 0; }
.shot-window img { width: 100%; }

/* Direct download (apps we distribute ourselves) */
.download-button {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 10px 28px 10px 20px;
  border-radius: 18px;
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 38%, transparent);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.download-button:hover { filter: brightness(1.08); }
.download-button:active { transform: scale(0.98); }
.download-button svg { width: 26px; height: 26px; flex: none; }
.download-button strong { display: block; font-size: 18px; font-weight: 650; line-height: 1.2; }
.download-button small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.3; opacity: 0.86; }

/* Hero for Mac utilities: two screens and a cursor that crosses from one to the other */
.duo { position: relative; width: min(560px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: end; padding-bottom: 40px; }
.duo-device { position: relative; display: flex; flex-direction: column; align-items: center; }
.duo-screen {
  position: relative; width: 100%; aspect-ratio: 16 / 10.4; overflow: hidden;
  border: 5px solid #151a2b; border-radius: 12px;
  background: linear-gradient(145deg, #4d7dff, #7b52ea 58%, #2d2b6c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 26px 60px rgba(0, 0, 0, 0.42);
  animation: 7s ease-in-out infinite;
}
.duo-laptop .duo-screen { border-radius: 12px 12px 4px 4px; }
.duo-left .duo-screen { animation-name: duo-left-active; }
.duo-right .duo-screen { animation-name: duo-right-active; }
.duo-menubar { position: absolute; inset: 0 0 auto; height: 7%; background: rgba(255, 255, 255, 0.3); }
.duo-window {
  position: absolute; left: 13%; top: 21%; width: 64%; height: 58%;
  display: flex; flex-direction: column; justify-content: center; gap: 12%; padding: 0 10%;
  border-radius: 6px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.duo-window i { display: block; height: 7px; border-radius: 4px; background: #d6dbea; }
.duo-window i:nth-child(1) { width: 70%; }
.duo-window i:nth-child(2) { width: 88%; }
.duo-window i:nth-child(3) { width: 52%; }
.duo-window .duo-typing { width: 0; background: var(--accent); animation: duo-typing 7s steps(14) infinite; }
.duo-foot { display: block; background: linear-gradient(#cfd4e0, #8e96a9); }
.duo-laptop .duo-foot { width: 116%; height: 10px; margin-top: -1px; border-radius: 0 0 12px 12px; }
.duo-desktop .duo-foot { width: 22%; height: 26px; clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%); }
.duo-label { position: absolute; top: calc(100% + 12px); white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--muted); }
.duo-cursor {
  position: absolute; z-index: 2; left: 16%; top: 52%; width: 24px;
  fill: #101114; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
  animation: duo-cursor 7s ease-in-out infinite;
}
@keyframes duo-cursor {
  0% { left: 16%; top: 52%; opacity: 1; }
  28% { left: 39%; top: 37%; opacity: 1; }
  36% { left: 45%; top: 34%; opacity: 1; }
  39% { left: 50%; top: 33%; opacity: 0; }
  42% { left: 55%; top: 33%; opacity: 1; }
  58% { left: 73%; top: 49%; opacity: 1; }
  80% { left: 73%; top: 49%; opacity: 1; }
  90% { left: 57%; top: 43%; opacity: 1; }
  93% { left: 50%; top: 44%; opacity: 0; }
  96% { left: 44%; top: 46%; opacity: 1; }
  100% { left: 16%; top: 52%; opacity: 1; }
}
@keyframes duo-left-active {
  0%, 37%, 95%, 100% { box-shadow: 0 0 0 2px var(--accent), 0 26px 60px rgba(0, 0, 0, 0.42); }
  40%, 92% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 26px 60px rgba(0, 0, 0, 0.42); }
}
@keyframes duo-right-active {
  0%, 37%, 95%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 26px 60px rgba(0, 0, 0, 0.42); }
  40%, 92% { box-shadow: 0 0 0 2px var(--accent), 0 26px 60px rgba(0, 0, 0, 0.42); }
}
@keyframes duo-typing {
  0%, 58% { width: 0; }
  78%, 92% { width: 88%; }
  96%, 100% { width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .duo-cursor { animation: none; left: 73%; top: 49%; }
  .duo-screen, .duo-window .duo-typing { animation: none; }
  .duo-window .duo-typing { width: 88%; }
  .duo-right .duo-screen { box-shadow: 0 0 0 2px var(--accent), 0 26px 60px rgba(0, 0, 0, 0.42); }
}

/* Facts */
.facts { padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; }
.fact-list li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }

/* Quick entry demo */
.demo { padding: clamp(64px, 9vw, 120px) 0; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo .section-head { margin-bottom: 0; }
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 60px rgba(16, 24, 20, 0.08); }
.demo-field { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.35; min-height: 2.8em; letter-spacing: -0.01em; }
.token { background: var(--token-bg, color-mix(in srgb, var(--accent) 18%, transparent)); color: var(--accent-text, var(--accent)); border-radius: 8px; padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.token-project { --token-bg: color-mix(in srgb, #3b82f6 16%, transparent); color: #2563eb; }
.token-tag { --token-bg: color-mix(in srgb, #a855f7 16%, transparent); color: #9333ea; }
.tone-dark .token-project { color: #7fb0ff; }
.tone-dark .token-tag { color: #d4a5ff; }
.demo-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .demo-caret { animation: none; } }
.demo-result { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.demo-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700; flex: none; }
.demo-next { align-self: flex-start; font: inherit; font-size: 15px; font-weight: 600; color: var(--accent-text, var(--accent)); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.demo-next:hover { border-color: var(--accent); }

/* Features */
.features { padding: clamp(64px, 9vw, 120px) 0; }
.feature-list { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 110px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.feature-flip .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.feature-copy p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.feature .phone { width: min(330px, 80%); justify-self: center; }
.feature .shot-wide { justify-self: center; width: 100%; }

/* Card grid */
.grid-section { padding: clamp(64px, 9vw, 120px) 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .card-grid-4 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 16px; }
.card-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text, var(--accent)); }

/* Gallery */
.gallery { padding: clamp(64px, 9vw, 120px) 0; }
.gallery .section-head { margin-bottom: 32px; }
.gallery-track { display: flex; gap: 28px; overflow-x: auto; padding: 8px max(24px, calc((100% - 1160px) / 2)) 28px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.gallery-track figure { margin: 0; flex: 0 0 min(250px, 66vw); display: flex; flex-direction: column; gap: 14px; scroll-snap-align: center; }
.gallery-track figcaption { font-size: 15px; color: var(--muted); }

/* AppHunt special project */
.apphunt { padding: clamp(64px, 9vw, 120px) 0; }
.apphunt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.apphunt-copy { display: flex; flex-direction: column; gap: 18px; }
.apphunt-copy h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; }
.apphunt-text { font-size: 19px; color: var(--muted); text-wrap: pretty; }
.apphunt-badge { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; }
.apphunt-badge span { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px), radial-gradient(circle, transparent 0 5px, var(--accent) 5.5px 7px, transparent 7.5px); }
.apphunt-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 6px; }
.btn-accent { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 16px; background: var(--accent); color: var(--on-accent); font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease; }
.btn-accent:hover { filter: brightness(1.06); }
.btn-accent:active { transform: scale(0.98); }
.btn-accent:disabled { cursor: default; filter: saturate(0.6); opacity: 0.85; }
.apphunt-status { font-size: 15px; color: var(--muted); min-height: 1.5em; max-width: 460px; }
.apphunt-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.apphunt-steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.apphunt-steps li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text, var(--accent)); font-family: var(--font-numbers); font-weight: 700; font-size: 19px; }
.apphunt-steps strong { font-size: 18px; font-weight: 600; }
.apphunt-steps span { color: var(--muted); font-size: 16px; }
.apphunt.apphunt-discovery { --bg: #ece9ff; --surface: #f8f6ff; --line: #d3c9f0; --text: #211338; --muted: #60516f; --accent: #6636dc; --accent-text: #5426c2; --on-accent: #fff; background: var(--bg); color: var(--text); }
.apphunt-discovery .apphunt-copy h2 { font-size: clamp(48px, 6vw, 78px); letter-spacing: -.045em; max-width: 520px; }
.apphunt-discovery .apphunt-badge { border: 0; padding-left: 0; background: transparent; color: var(--accent-text); }
.apphunt-discovery .apphunt-steps li { box-shadow: 0 8px 24px #4b277009; }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--muted); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--muted); font-size: 17px; max-width: 680px; }

/* Final call to action */
.cta { padding: clamp(72px, 10vw, 130px) 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-icon { border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.cta h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; }
.cta p { font-size: 19px; color: var(--muted); max-width: 560px; text-wrap: balance; }

/* Documents: support, privacy, terms */
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.doc-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.doc-aside nav { display: flex; flex-direction: column; gap: 4px; }
.doc-aside nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 10px; }
.doc-aside nav a[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 600; border: 1px solid var(--line); }
.doc-aside-label { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.doc-toc { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.doc-toc a { color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--text); }
.doc-body { max-width: 720px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.doc-body h1 { font-size: clamp(38px, 5vw, 56px); font-weight: 700; }
.doc-updated { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.doc-body h2 { font-size: 27px; font-weight: 700; margin-top: 26px; }
.doc-body h3 { font-size: 20px; font-weight: 600; margin-top: 8px; }
.doc-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc-body code, .demo-field code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.doc-note { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.doc-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.doc-table th, .doc-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.doc-table td:first-child code { white-space: nowrap; }

/* Footer */
.footer { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 10px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span { color: var(--muted); font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: var(--text); }
.footer-copy { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.footer-copy a { color: var(--muted); }

/* Studio hub */
.hub { padding: clamp(56px, 8vw, 100px) 0; }
.hub h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; }
.hub-lede { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 620px; }
.hub-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hub-list a { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; height: 100%; }
.hub-list a:hover { border-color: var(--accent); }
.hub-list img { border-radius: 16px; flex: none; }
.hub-list strong { font-family: var(--font-display); font-size: 21px; display: block; }
.hub-list span { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .hero-grid, .demo-grid, .feature, .apphunt-grid { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
  .hero-visual { margin-top: 12px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-aside { position: static; }
  .doc-aside nav { flex-direction: row; flex-wrap: wrap; }
  .doc-toc, .doc-aside-label { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar nav { gap: 14px; }
  .topbar nav a:not(:last-child) { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .island { font-size: 14px; }
  .island-label { max-width: 130px; }
  .fact-list li { font-size: 14px; padding: 6px 12px; }
  .duo-label { font-size: 12px; }
  .duo-cursor { width: 18px; }
  .duo-window i { height: 5px; }
}
