/* Symbio landing page.
   Dark first, matching the product's own UI; a designed light variant under
   prefers-color-scheme: light. System fonts only: no webfont, no CDN, no
   third-party request of any kind. */

:root {
  color-scheme: dark;

  --bg: #0b0c0e;
  --bg-raise: #14171d;
  --bg-soft: #101318;
  --text: #f4f5f9;
  --text-strong: #ffffff;
  --muted: #a2a9ba;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);

  --indigo: #6d6af5;
  --indigo-ink: #9c9af8;
  --indigo-deep: #5b57ea;
  --green: #3fb27f;
  --green-ink: #7ee2b8;

  /* One colour for the primary button in both schemes, with a white label:
     #5450e0 is 5.83:1 against white. Before this, the label flipped between
     dark ink (4.69:1) and white (5.25:1) depending on the scheme, which reads
     as a bug on a phone even where it passes. */
  --button-bg: #5450e0;
  --button-bg-hover: #4f4bd6;
  --button-text: #ffffff;
  --focus: #9c9af8;
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.5), 0 18px 50px rgba(0, 0, 0, 0.45);

  /* The hero's media slot. Today's demo video is 8:5 (960×600); when the
     retaken 16:9 screenshots land, change this one line to 16 / 9. */
  --media-ratio: 8 / 5;

  --max: 1180px;
  --radius: 14px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --bg: #ffffff;
    --bg-raise: #ffffff;
    --bg-soft: #f6f7fb;
    --text: #10131a;
    --text-strong: #000000;
    --muted: #454c5e;
    --line: rgba(16, 19, 26, 0.14);
    --line-soft: rgba(16, 19, 26, 0.08);

    --indigo: #5b57ea;
    --indigo-ink: #4b46d8;
    --indigo-deep: #403bbd;
    --green: #2f9c6c;
    --green-ink: #1c7a55;

    --button-text: #ffffff;
    --focus: #403bbd;
    --shadow: 0 1px 2px rgba(16, 19, 26, 0.06), 0 14px 34px rgba(16, 19, 26, 0.07);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--indigo-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--green-ink);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: var(--text-strong);
}

h1 {
  font-size: clamp(2.05rem, 3.4vw, 3.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.4rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--text-strong);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--text-strong);
}

.mark {
  flex: none;
  width: 30px;
  height: 30px;
  overflow: visible;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-strong);
  background: var(--bg-soft);
}

/* Hero */

.hero {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.button-primary {
  background: var(--button-bg);
  color: var(--button-text);
}

.button-primary:hover {
  background: var(--button-bg-hover);
  color: var(--button-text);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--indigo);
  background: transparent;
  color: var(--text);
}

/* The demo is the proof: it sits beside the claim, in a 16:9 slot that a
   future screenshot can replace without touching the layout. */
.hero-media {
  margin: 0;
  min-width: 0;
}

.media-frame {
  position: relative;
  aspect-ratio: var(--media-ratio, 8 / 5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raise);
  box-shadow: var(--shadow);
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The still that stands in for the video when motion is not wanted. Hidden by
   default; the media query below swaps them. If an old browser ignores the
   query, the video simply plays as before. */
.media-frame .media-still {
  display: none;
}

/* The pause/play control: a small icon in a corner, so it cannot cover a column
   of the board. 40x40 is the minimum hit area; the glyph is drawn with CSS masks
   so it needs no icon font and no extra request. Hidden until the inline script
   reveals it, so a browser without JavaScript shows no dead button. */
.video-toggle {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  background: var(--bg);
  color: var(--text-strong);
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}

/* The glyph: two bars when playing (press to pause), a triangle when paused. */
.video-toggle::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: auto;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: linear-gradient(to right, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
  mask-image: linear-gradient(to right, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.video-toggle[aria-pressed="true"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 0 L14 7 L2 14 Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 0 L14 7 L2 14 Z' fill='black'/%3E%3C/svg%3E");
}

.video-toggle[hidden] {
  display: none;
}

.video-toggle:hover {
  border-color: var(--indigo);
}

.video-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media .media-frame video {
    display: none;
  }

  .hero-media .media-frame .media-still {
    display: block;
  }
}

.hero-media figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Sections */

.section {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line-soft);
}

.section:last-of-type {
  border-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.prose p {
  max-width: 40rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.look-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.look-card {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-raise);
  overflow: hidden;
}

/* The link is the whole tile, so its hit area is the image: no small target to
   aim at, and it works with JS off. */
.look-shot {
  display: block;
  text-decoration: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.look-shot:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

/* The lightbox trigger, revealed by the script. Sits in the corner so it does
   not cover the thing it enlarges. */
.look-open {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  background: var(--bg);
  color: var(--text-strong);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

.look-open[hidden] {
  display: none;
}

.look-open:hover {
  border-color: var(--indigo);
}

.look-open:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.look-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  /* A tinted placeholder, not a flat grey box: before the image paints, the
     tile reads as part of the page rather than as a broken image. */
  background-color: var(--bg-soft);
  background-image: linear-gradient(135deg, rgba(109, 106, 245, 0.10), rgba(63, 178, 127, 0.08));
}

/* The lightbox. A native modal dialog: Esc, the backdrop and the focus trap are
   the platform's; the sizing and the close control are ours. */
.lightbox {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 96vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
  color: var(--text);
  overflow: auto;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox figure {
  margin: 0;
  padding: 0.75rem;
}

.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-soft);
}

.lightbox figcaption {
  padding: 0.75rem 0.25rem 0.35rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-strong);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--indigo);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.look-card figcaption {
  padding: 0.9rem 1rem 1.05rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.look-card strong {
  color: var(--text);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-raise);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* The three steps. They are a real sequence, so they are numbered; the number
   is drawn from the ordered list, not written into the copy. */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-raise);
}

.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.7rem;
  color: var(--indigo-ink);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Proof */

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.proof-copy p {
  max-width: 40rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.proof-copy p.proof-line {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.5;
}

.proof-copy p.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.1rem;
}

.proof-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
}

/* FAQ */

.faq {
  display: grid;
  gap: 0;
}.faq-item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line-soft);
}

.faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Text pages (the privacy note). A single measured column: this is prose to
   read, not a landing page, so the line length is the layout. */
.doc {
  /* 36rem ≈ 76 characters at 16px: the line length is the layout here. */
  max-width: 36rem;
}

.doc h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 0.9rem;
}

/* The 404 page: the status as a quiet number above the headline, then the way
   back. Nothing cheery, nothing that pretends the page exists. */
.notfound-code {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.notfound-links {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}

.notfound-links h2 {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notfound-links ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notfound-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.doc-lede {
  margin: 0 0 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.55;
}

.doc-body {
  display: grid;
  gap: 1.9rem;
}

.doc-section h2 {
  margin-bottom: 0.6rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.doc-section p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

/* Titled entries inside a prose section: the write-up's "what went wrong"
   list. Not a card grid: each one is a paragraph to read in order. */
.doc-item {
  margin-top: 1.15rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

.doc-item h3 {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
}

.doc-item p {
  margin: 0;
  font-size: 0.98rem;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin: 2.4rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}

.doc-actions a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

/* Install */

#install {
  background: var(--bg-soft);
  /* The sticky header covers the top of the section when the page scrolls to
     it; this keeps "Get started" clear of it (measured, plus a breath). */
  scroll-margin-top: 5.5rem;
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-areas:
    "head card"
    "body card";
  /* The card spans both rows; the spare height goes to the second row, below the bullets. */
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.install-head {
  grid-area: head;
}

.install-body {
  grid-area: body;
}

.install-card {
  grid-area: card;
}

@media (max-width: 900px) {
  .install-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "card"
      "body";
    grid-template-rows: none;
    row-gap: 1.75rem;
  }
}

#install h2 {
  margin-bottom: 0.7rem;
}

.prose-lede {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.install-details {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.install-details li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.install-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
}

.install-details a {
  color: var(--text-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.install-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
  box-shadow: var(--shadow);
}

.install-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.command {
  display: block;
  margin-bottom: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #1c212b;
  border-radius: 9px;
  /* A terminal: the darkest neutral, light monospace, a dimmed prompt. */
  background: #07090c;
  color: #e6e9f1;
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.prompt {
  color: #7d8597;
  user-select: none;
}

/* A command and its copy button on one line: the button sits beside the block
   rather than over it, so a long command still scrolls inside its own box. */
.command-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.command-row:last-of-type {
  margin-bottom: 0;
}

.copy-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 6.75rem;
  padding: 0 0.6rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-raise);
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease;
}

.copy-button[hidden] {
  display: none;
}

.copy-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-button .icon-done {
  display: none;
}

.copy-button.is-copied {
  border-color: var(--green);
  color: var(--green-ink);
}

.copy-button.is-copied .icon-copy {
  display: none;
}

.copy-button.is-copied .icon-done {
  display: block;
}

.copy-button:hover {
  border-color: var(--indigo);
  color: var(--text-strong);
}

.copy-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* OS marks from Simple Icons: monochrome, drawn in the current text colour. */
.os-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

/* Text for screen readers only: the copy announcement, and other labels that
   exist for assistive tech but not for the layout. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* The one-line price and licence note under the hero buttons. */
.hero-license {
  margin: 1.05rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.install-note {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Install tabs. Without scripting every panel shows, stacked; the tab list is
   hidden until the script has chosen the tab that opens first. */

.install-shared {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.install-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.install-tabs[hidden],
.install-panel[hidden] {
  display: none;
}

/* Icon above the name, so four tabs stay on one row down to 360 px. */
.install-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  min-height: 56px;
  padding: 0.45rem 0.2rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.install-tab[aria-selected="true"] {
  border-color: var(--button-bg);
  background: var(--bg-soft);
  color: var(--text-strong);
}

.install-tab:focus-visible,
.install-remove summary:focus-visible {
  outline: 3px solid var(--button-bg);
  outline-offset: 2px;
}

.install-platform {
  margin: 0 0 0.6rem;
  color: var(--text-strong);
  font-size: 1rem;
}

.install-card.is-tabs .install-platform {
  display: none;
}

.install-panel + .install-panel {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.beta-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.install-hint {
  margin: 0.7rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.install-hint code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--text-strong);
}

.next-icon {
  width: 1em;
  height: 1em;
  margin-right: 0.35rem;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-next .install-hint {
  margin-bottom: 0.45rem;
}

.install-next .command-row {
  margin-bottom: 0.45rem;
}

/* The Windows-only words in step 1: shown unless another system's tab is open. */
.install-card[data-os]:not([data-os="windows"]) .win-only {
  display: none;
}

.install-steps-wrap {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.install-steps {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.step-icon {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-card .install-steps-wrap .install-note {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}

.install-testing {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.cta-icon {
  display: inline-flex;
  margin-right: 0.5rem;
}

.cta-icon[hidden] {
  display: none;
}

.cta-icon .os-icon {
  width: 17px;
  height: 17px;
}

.install-remove {
  margin-top: 1rem;
}

.install-remove summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.install-remove .command-row {
  margin-top: 0.4rem;
}

.faq-link {
  margin-top: 0.5rem;
}

.faq-list {
  margin: 0.45rem 0 0.5rem;
  padding-left: 1.2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.faq-list li + li {
  margin-top: 0.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Footer */

.site-footer {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 2.5rem;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 3rem;
  row-gap: 1.25rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.footer-brand .mark {
  width: 26px;
  height: 26px;
}

.footer-summary {
  grid-column: 1;
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-links {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.footer-links h2 {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links ul {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text);
  font-size: 0.94rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--indigo-ink);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

/* Layout breakpoints */

@media (max-width: 900px) {
  .hero-inner,
  .split,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
    gap: 2rem;
  }

  .look-grid,
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 2rem), var(--max));
  }

  .header-inner {
    min-height: 60px;
    align-items: center;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2rem, 8.4vw, 2.6rem);
  }

  .lede {
    margin-bottom: 1.35rem;
    font-size: 1.02rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .look-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .feature-card {
    padding: 1.2rem 1.25rem 1.3rem;
  }

  .hero-media figcaption {
    font-size: 0.84rem;
  }
}

/* The install card on a phone: four tabs on one row, commands in a scrolling box. */
@media (max-width: 720px) {
  .install-card {
    padding: 1rem;
  }

  .install-tabs {
    gap: 0.3rem;
  }

  .install-tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.1rem;
  }

  .install-tab .os-icon {
    width: 16px;
    height: 16px;
  }

  .copy-button {
    width: 6rem;
  }
}

.install-body .install-note {
  margin-top: 1.1rem;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 420px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0 0.75rem;
    padding-bottom: 0.35rem;
  }

  .nav-links a {
    padding-inline: 0.45rem;
    font-size: 0.88rem;
  }

  .command {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .skip-link {
    position: static;
  }

  body {
    background: #fff;
    color: #000;
  }
}
