/* ==========================================================================
   GLASS — the studio site.
   The same material the apps draw: soft surfaces, hairline edges, one blue.
   One family (Geist), two themes, no frameworks.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-300-700.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --ink: #14233c;
  --muted: #56677f;
  --line: #e2eaf5;
  --line-strong: #ccd8e8;
  --accent: #2a56aa;
  --accent-dark: #1d4088;
  --accent-soft: #e4edfb;
  --good: #1b8f5c;
  --band: #0a0e14;
  --band-ink: #eef4fb;
  --band-muted: #9db0c9;
  --champagne: #d8b76a;
  --champagne-soft: rgba(216, 183, 106, .14);
  --shadow: 0 22px 50px -30px rgba(20, 35, 60, .45);
  --shadow-sm: 0 10px 26px -20px rgba(20, 35, 60, .5);
  --radius: 22px;
  --frame: 1200px;
  color-scheme: light;
}

.dark {
  --bg: #0a1017;
  --surface: #111a24;
  --surface-2: #0e161f;
  --ink: #eef4fb;
  --muted: #9db0c9;
  --line: #1d2836;
  --line-strong: #2a3848;
  --accent: #9dc0ff;
  --accent-dark: #c6dbff;
  --accent-soft: #17263c;
  --good: #5ed49a;
  --band: #060c13;
  color-scheme: dark;
}

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

html {
  font-family: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 25% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(50% 60% at 85% 10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
  pointer-events: none;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
code, .mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: .92em; }

/* Anchors land below the sticky header instead of under it. */
section[id], footer[id] { scroll-margin-top: 92px; }

::selection { background: var(--accent); color: #fff; }
.dark ::selection { background: var(--accent); color: #0a1017; }

h1, h2, h3 { letter-spacing: -.04em; line-height: 1.05; font-weight: 600; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -.055em; line-height: .95; }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
p { margin: 0; }

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

.frame { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: 32px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 14px; }

/* ------------------------------------------------------------------ atoms */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 16%, transparent);
  flex: 0 0 7px;
}
.lede { margin-top: 22px; max-width: 52ch; font-size: 18px; line-height: 1.62; color: var(--muted); }
.lede strong { color: var(--ink); font-weight: 550; }

.section { padding: clamp(64px, 8vw, 116px) 0; }
.section-head { max-width: 720px; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { font-size: 17px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 550;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s, background-color .16s, border-color .16s, box-shadow .16s;
}
.button svg { width: 17px; height: 17px; flex: 0 0 17px; }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--accent) 80%, #000); }
.dark .button-primary { color: #0a1017; }
.button-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.dark .button-primary:hover { background: #d3e4ff; }
.button-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.button-ghost:hover { background: var(--surface); border-color: var(--ink); }
.button-champagne { background: var(--champagne); color: #1a1408; box-shadow: 0 16px 30px -18px rgba(216, 183, 106, .7); }
.button-champagne:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button.is-downloading { opacity: .55; pointer-events: none; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

/* ------------------------------------------------------------ site header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.head-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 16px; letter-spacing: -.02em; font-weight: 600; }
.brand-copy small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.head-nav { display: flex; gap: 26px; margin-left: 18px; }
.head-nav a { font-size: 14.5px; color: var(--muted); transition: color .16s; }
.head-nav a:hover, .head-nav a[aria-current="page"] { color: var(--ink); }
.head-nav a[aria-current="page"] { font-weight: 550; }

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.head-download { min-height: 40px; padding: 0 18px; font-size: 14px; }

.theme-button {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .16s;
}
.theme-button:hover { transform: rotate(-12deg); border-color: var(--line-strong); }
.theme-button svg { width: 16px; height: 16px; }
.theme-button .moon { display: none; }
.dark .theme-button .sun { display: none; }
.dark .theme-button .moon { display: block; }

.menu-button { display: none; }

/* ------------------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(52px, 7vw, 96px);
  padding-bottom: clamp(48px, 6vw, 84px);
}
.hero h1 { margin-top: 18px; }
.hero-actions { display: flex; align-items: flex-start; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-primary { display: grid; gap: 9px; justify-items: start; }
.button-meta { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.hero-facts { display: flex; gap: 36px; margin: 42px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.hero-facts li { display: grid; gap: 2px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.hero-facts strong { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }

/* The tri-layer mark: three glass panes settling over the studio logo.
   The one orchestrated moment on the page — everything else stays still. */
.strata {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  --settle: 0;
}
.strata-pane {
  position: absolute;
  inset: 6%;
  border-radius: 34px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--shadow);
  transform: translateY(calc((var(--settle)) * var(--lift, 0px))) rotate(var(--tilt, 0deg));
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.strata-pane:nth-child(1) { --lift: 46px; --tilt: -7deg; opacity: .5; }
.strata-pane:nth-child(2) { --lift: 24px; --tilt: 5deg; opacity: .7; transition-delay: .08s; }
.strata-pane:nth-child(3) { --lift: 0px; --tilt: 0deg; transition-delay: .16s; }
.strata.settled { --settle: 0; }
.strata:not(.settled) { --settle: 1; }
.strata-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .2s, opacity .8s ease .2s;
}
.strata:not(.settled) .strata-core { transform: translateY(18px) scale(.94); opacity: 0; }
.strata-core img { width: 34%; border-radius: 22%; box-shadow: var(--shadow); }
.strata-caption {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translate(-50%, 100%);
  white-space: nowrap;
}

/* -------------------------------------------------------------- dual shot */

.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: end; }
.shot-frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.shot-frame .os { display: inline-flex; align-items: center; gap: 7px; font-weight: 550; color: var(--ink); font-size: 13.5px; }
.duo .minor { transform: translateY(14px); }

/* ------------------------------------------------- product hero: one window */

.product-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(8px, 2vw, 20px);
}
.product-hero .lede { margin-inline: auto; text-align: center; }
.product-hero .hero-actions { justify-content: center; }
.product-hero .hero-primary { justify-items: center; }
.product-hero .hero-facts { justify-content: center; }

.hero-window {
  margin: 0;
  position: relative;
  margin-top: clamp(36px, 5vw, 60px);
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow), 0 70px 140px -60px color-mix(in srgb, var(--accent) 45%, transparent);
  overflow: hidden;
  max-width: 1080px;
  width: 100%;
}
/* The accent spill comes from the box-shadow above: a ::before glow would be
   clipped by the overflow the rounded screenshot needs. */
.hero-window img { display: block; width: 100%; height: auto; }
.hero-window figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 13px; color: var(--muted);
  text-align: left;
}
.hero-window .os { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; color: var(--ink); font-size: 13.5px; }
.hero-window .os svg { width: 15px; height: 15px; }
.hero-window figcaption a { font-weight: 550; color: var(--accent); white-space: nowrap; }
.hero-window figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-chips { display: flex; gap: 8px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* --------------------------------------------------------------- projects */

.project-grid { display: grid; gap: 20px; margin-top: 44px; }
.project-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.project-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.project-mark {
  width: 120px; height: 120px;
  border-radius: 28px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-soft), var(--surface-2));
  border: 1px solid var(--line);
  overflow: hidden;
}
.project-mark img { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.project-mark .glyph { font-size: 44px; font-weight: 300; letter-spacing: -.05em; color: var(--accent); }
.project-card h3 { font-size: clamp(22px, 2.6vw, 30px); }
.project-card .lede { margin-top: 10px; font-size: 15.5px; }
.project-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.project-go { justify-self: end; }

/* ------------------------------------------------------------------ team */

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.member {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.member:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.member-mark {
  width: 76px; height: 76px;
  border-radius: 24px;
  display: grid; place-items: center;
  font-size: 32px; font-weight: 600; letter-spacing: -.04em;
  color: #fff;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.dark .member-mark { color: #0a1017; }
.member-name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.member-handle { font-size: 13.5px; color: var(--accent); font-weight: 500; }
.member-role { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ------------------------------------------------------------- dark band */

.band {
  background: var(--band);
  color: var(--band-ink);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--champagne) 16%, transparent), transparent);
  pointer-events: none;
}
.band .eyebrow { color: var(--champagne); }
.band h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.band .lede { color: var(--band-muted); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.premium-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.premium-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--band-ink);
}
.premium-list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--champagne); }
.premium-list small { display: block; color: var(--band-muted); font-size: 13.5px; margin-top: 2px; }
.premium-card {
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--champagne) 35%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--champagne) 12%, transparent), transparent 55%), #101822;
  padding: 32px 30px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.dark .premium-card { background: linear-gradient(160deg, color-mix(in srgb, var(--champagne) 12%, transparent), transparent 55%), #0d141d; }
.premium-card .price { font-size: clamp(38px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; color: #fff; }
.premium-card .price small { font-size: 15px; font-weight: 400; color: var(--band-muted); letter-spacing: 0; }
.premium-card p { color: var(--band-muted); font-size: 14.5px; }
.premium-card .button { margin-top: 14px; }

/* --------------------------------------------------------------- features */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.feature {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.dark .feature-icon { color: var(--accent); }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; letter-spacing: -.02em; }
.feature p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------- screen viewer */

/* One screen: the platform switch lives in the top bar, the arrows ride the
   picture, and the name with the full-size button sits in the bottom bar. */
.screen {
  margin-top: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  outline-offset: 4px;
}
.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--surface-2);
}
.screen-top { border-bottom: 1px solid var(--line); }
.screen-bottom { border-top: 1px solid var(--line); }
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 550;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .16s, color .16s;
}
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.screen-count {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.screen-view { position: relative; background: #05080d; }
.screen-view img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: opacity .22s ease;
}
.screen-view img.fading { opacity: 0; }
.screen-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(10, 16, 23, .55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .2s, background-color .16s;
}
.screen-arrow svg { width: 20px; height: 20px; }
.screen-prev { left: 16px; }
.screen-next { right: 16px; }
.screen-view:hover .screen-arrow,
.screen-arrow:focus-visible { opacity: 1; }
.screen-arrow:hover { background: rgba(10, 16, 23, .82); }
@media (hover: none) { .screen-arrow { opacity: 1; } }
.screen-meta { min-width: 0; }
.screen-meta h3 { font-size: 18px; letter-spacing: -.02em; }
.screen-meta p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.screen-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 550;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .16s, background-color .16s;
}
.screen-expand svg { width: 15px; height: 15px; }
.screen-expand:hover { border-color: var(--ink); }

dialog.shot-dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  max-width: min(1120px, 94vw);
  width: max-content;
  box-shadow: var(--shadow);
}
dialog.shot-dialog::backdrop { background: rgba(6, 10, 16, .6); backdrop-filter: blur(6px); }
.shot-dialog img { display: block; width: 100%; max-height: 76vh; object-fit: contain; background: #000; border-radius: 20px 20px 0 0; }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.shot-bar .spacer { flex: 1; }
.shot-bar button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
}
.shot-bar button:hover { background: var(--surface-2); }

/* --------------------------------------------------------------- download */

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.dl-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 3.4vw, 38px);
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
}
.dl-card .os { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.dl-card .os svg { width: 26px; height: 26px; }
.dl-card p { color: var(--muted); font-size: 15px; max-width: 44ch; }
.dl-card .button { margin-top: 12px; }
.dl-meta { font-size: 13px; color: var(--muted); }
.dl-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
  max-width: 52ch;
}
.dl-note a { color: var(--accent); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ faq */

.faq { display: grid; gap: 12px; margin-top: 40px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 550;
  letter-spacing: -.01em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  flex: 0 0 auto;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* ------------------------------------------------------------------ close */

.close { text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.close h2 { max-width: 16ch; margin-inline: auto; }
.close .lede { margin-inline: auto; text-align: center; }
.close-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  margin-top: 20px;
}
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: grid; gap: 8px; max-width: 320px; }
.foot-brand .brand img { width: 32px; height: 32px; }
.foot-brand p { font-size: 13.5px; color: var(--muted); }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col strong { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 550; }
.foot-col a { font-size: 14.5px; color: var(--muted); }
.foot-col a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* ----------------------------------------------------------------- teaser */

.teaser-hero { text-align: center; padding-top: clamp(60px, 8vw, 110px); padding-bottom: 20px; }
.teaser-hero .eyebrow { justify-content: center; }
.teaser-hero h1 { margin-top: 18px; }
.teaser-hero .lede { margin-inline: auto; text-align: center; }
.teaser-mark {
  width: 120px; height: 120px;
  margin: 0 auto 30px;
  border-radius: 32px;
  display: grid; place-items: center;
  font-size: 52px; font-weight: 300; letter-spacing: -.05em;
  color: var(--accent);
  background: linear-gradient(150deg, var(--accent-soft), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; text-align: left; }
.status-line { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 34px; font-size: 14.5px; color: var(--muted); }

/* ----------------------------------------------------------------- reveal */

.enter { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.enter.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter { opacity: 1; transform: none; transition: none; }
  .strata-pane, .strata-core { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .strata { max-width: 420px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-grid { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .frame { padding-inline: 20px; }
  /* The project links wrap onto their own row instead of vanishing: a phone
     with no navigation is a dead end. The anchor offset grows with the header. */
  .head-inner { height: auto; flex-wrap: wrap; row-gap: 4px; padding-top: 12px; padding-bottom: 10px; }
  .head-nav { display: flex; order: 3; flex-basis: 100%; margin-left: 0; gap: 22px; padding-top: 6px; }
  section[id], footer[id] { scroll-margin-top: 140px; }
  .head-download span { display: none; }
  .head-download { padding: 0 14px; }
  h1 { font-size: clamp(42px, 12vw, 60px); }
  .project-card { grid-template-columns: 1fr; justify-items: start; }
  .project-go { justify-self: start; }
  .team-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo .minor { transform: none; }
  .screen-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  .screen-expand { justify-content: center; }
  .screen-meta p { font-size: 13.5px; }
  .hero-facts { gap: 24px; }
  .foot-cols { gap: 36px; }
}
