/* 3Maze — site styles (SEED 1.1 site, October 2026) */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  --paper: #f6f7fa;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5d6371;
  --faint: #8b91a0;
  --line: #e2e5ec;
  --focus: #1a8cff;

  /* The seven SEED processors, same colours as the app */
  --grain: #1a8cff;
  --pitch: #f5b30d;
  --resonate: #ff571f;
  --partiq: #6b2ef5;
  --spectra: #ff1f9e;
  --filter: #0dd17a;
  --space: #401ae6;

  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1180px;
  --measure: 38rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--faint); }

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

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

.wrap {
  width: 100%;
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 400;
}

p { margin: 0; }

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: var(--measure);
  text-wrap: pretty;
}

.small { font-size: 14px; color: var(--muted); }

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: var(--display);
  letter-spacing: 0.36em;
  font-size: 13px;
  white-space: nowrap;
  text-transform: none;
}
.wordmark .maze { font-weight: 300; }
.wordmark .seed { font-weight: 600; margin-left: 0.5em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a.button,
.site-nav a.button:hover { color: #fff; }

@media (max-width: 760px) {
  .site-nav .optional { display: none; }
  .site-nav { gap: 18px; }
  .brand .wordmark { letter-spacing: 0.28em; font-size: 12px; }
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: #2b2f38; }
.button svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.button.small-button {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.button.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.button.quiet:hover { background: var(--surface); }

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

.hero { padding: clamp(48px, 9vw, 112px) 0 0; }

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 1px 0 rgba(22, 24, 29, 0.04), 0 14px 34px -14px rgba(64, 26, 230, 0.35);
}

.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 26px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.device {
  position: relative;
  width: 100%;
  margin: clamp(48px, 7vw, 88px) auto 0;
  max-width: 1100px;
  padding: clamp(7px, 1.1vw, 14px);
  border-radius: clamp(18px, 2.6vw, 34px);
  background: #1d1f24;
  box-shadow:
    0 0 0 1px rgba(22, 24, 29, 0.10),
    0 40px 80px -40px rgba(22, 24, 29, 0.45),
    0 24px 120px -30px rgba(26, 140, 255, 0.28);
}
.device img {
  width: 100%;
  border-radius: clamp(11px, 1.6vw, 21px);
}

.device.portrait { max-width: 430px; margin-top: 0; }

/* ---------- Sections ---------- */

.section { padding: clamp(88px, 12vw, 152px) 0 0; }

.section-head { max-width: 46rem; }
.section-head .lead { margin-top: 20px; }

/* ---------- Ecosystem ---------- */

.eco {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 64px);
}

@media (max-width: 900px) {
  .eco { grid-template-columns: 1fr; }
}

.eco-map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line);
  padding: 0;
}

.eco-lines,
.eco-grid {
  position: absolute;
  inset: 4%;
}
.eco-lines { width: 92%; height: 92%; overflow: visible; }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.eco-grid li { position: relative; }

.node {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%,
      #fff 0 16%,
      color-mix(in srgb, var(--c) 30%, #fff) 42%,
      color-mix(in srgb, var(--c) 72%, #fff) 72%,
      var(--c) 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent),
    0 8px 22px -8px color-mix(in srgb, var(--c) 70%, transparent),
    0 0 34px -6px color-mix(in srgb, var(--c) 45%, transparent);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.orb::after {
  /* selection ring */
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--c);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.node-name {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 26% + 6px);
  text-align: center;
  line-height: 1;
  font-family: var(--display);
  font-size: clamp(9px, 1.15vw, 12px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.node-name span { background: var(--surface); padding: 2px 3px; }

.node:hover .orb { transform: translate(-50%, -50%) scale(1.05); }
.node[aria-pressed="true"] .orb::after { opacity: 1; }
.node[aria-pressed="true"] .node-name { color: var(--ink); }

.node.effects .orb {
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
}
.node.effects .orb svg { width: 34%; height: 34%; stroke: var(--muted); fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* the signal pulse that runs through the chain once */
.eco-map.run .node:not(.effects) .orb {
  animation: lit 0.9s ease both;
  animation-delay: calc(var(--i) * 0.32s);
}
@keyframes lit {
  0% { }
  35% {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent),
      0 10px 30px -6px color-mix(in srgb, var(--c) 80%, transparent),
      0 0 70px 4px color-mix(in srgb, var(--c) 55%, transparent);
  }
  100% { }
}

/* the selected processor breathes once per bar at 120 BPM */
.eco-map.settled .node[aria-pressed="true"]:not(.effects) .orb {
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { }
  12% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--c) 36%, transparent),
      0 10px 26px -8px color-mix(in srgb, var(--c) 80%, transparent),
      0 0 54px -2px color-mix(in srgb, var(--c) 50%, transparent);
  }
}

.eco-panel { min-height: 100%; }

.module + .module { margin-top: 44px; }

.module-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.module-title h3 {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: 0.06em;
}
.module-title h3::before {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-right: 0.45em;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
  vertical-align: 0.14em;
}
.module-role {
  font-size: 15px;
  color: var(--faint);
}
.module p { margin-top: 14px; color: var(--muted); max-width: 32rem; }

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.controls li {
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
}

.stage {
  margin-top: 18px;
  font-size: 14px;
  color: var(--faint);
}

/* JS view: show one processor at a time */
.js .module { display: none; }
.js .module.is-active { display: block; margin-top: 0; }

.ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
  margin-top: clamp(56px, 8vw, 96px);
}
.ideas > div { border-top: 1px solid var(--line); padding-top: 22px; }
.ideas p { margin-top: 10px; color: var(--muted); }
@media (max-width: 820px) {
  .ideas { grid-template-columns: 1fr; }
}

/* ---------- Effects ---------- */

.fx-shot { margin-top: clamp(40px, 6vw, 64px); }

.fx-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 40px);
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
}
.fx-list li { border-top: 2px solid var(--c); padding-top: 18px; }
.fx-list h3 { font-size: 19px; font-weight: 500; letter-spacing: 0.08em; }
.fx-list p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .fx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fx-list { grid-template-columns: 1fr; }
}

/* ---------- Feature rows ---------- */

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(72px, 10vw, 128px);
}
.row:first-of-type { margin-top: clamp(48px, 7vw, 80px); }
.row.flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.row.flip .row-text { order: 2; }
.row.tall { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
.row-text p { margin-top: 18px; color: var(--muted); max-width: 30rem; }
.row-text h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: -0.02em; }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 18px;
}
.shot img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.08), 0 30px 60px -36px rgba(22, 24, 29, 0.5);
}
.device .shot, .device .shot img { border-radius: clamp(11px, 1.6vw, 21px); box-shadow: none; }

@media (max-width: 820px) {
  .row, .row.flip, .row.tall { grid-template-columns: 1fr; }
  .row.flip .row-text { order: 0; }
  .row.tall .device { max-width: 360px; margin: 0 auto; }
}

/* ---------- Everything else ---------- */

.more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(24px, 4vw, 56px);
  margin: clamp(48px, 7vw, 72px) 0 0;
}
.more div { border-top: 1px solid var(--line); padding-top: 20px; }
.more dt { font-family: var(--display); font-size: 19px; font-weight: 400; }
.more dd { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 900px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more { grid-template-columns: 1fr; } }

.midi {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 16px;
}
.midi th, .midi td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.midi th { font-weight: 600; white-space: nowrap; }
.midi td { color: var(--muted); }

/* ---------- Closing ---------- */

.closing {
  margin-top: clamp(96px, 13vw, 168px);
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}
.closing-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.closing img { width: clamp(72px, 9vw, 112px); border-radius: 24%; }
.closing h2 { max-width: 16ch; }
.closing .lead { margin-top: 18px; }
@media (max-width: 560px) {
  .closing-inner { grid-template-columns: 1fr; }
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-right: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1600px);
  max-height: 94vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(246, 247, 250, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 88vh;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.1), 0 40px 90px -40px rgba(22, 24, 29, 0.6);
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Document pages (support, privacy) ---------- */

.doc-hero { padding: clamp(48px, 8vw, 96px) 0 0; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 68px); max-width: 14ch; }
.doc-hero .lead { margin-top: 22px; }
.doc-dates { margin-top: 22px; font-size: 14px; color: var(--faint); }

.doc {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(48px, 7vw, 80px);
  align-items: start;
}
.doc-toc {
  position: sticky;
  top: 96px;
  font-size: 15px;
}
.doc-toc ol { list-style: none; margin: 0; padding: 0; }
.doc-toc li + li { margin-top: 10px; }
.doc-toc a { text-decoration: none; color: var(--muted); }
.doc-toc a:hover { color: var(--ink); }
@media (max-width: 820px) {
  .doc { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .doc-toc ol { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .doc-toc li + li { margin-top: 0; }
}

.doc-body { max-width: 44rem; }
.doc-body > section + section { margin-top: clamp(64px, 8vw, 96px); }
.doc-body h2 { font-size: clamp(30px, 3.6vw, 40px); }
.doc-body h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.005em; margin-top: 36px; }
.doc-body h2 + p, .doc-body h2 + .app-tag { margin-top: 18px; }
.doc-body p, .doc-body ul, .doc-body ol { color: var(--muted); }
.doc-body h3 + p, .doc-body h3 + ul, .doc-body h3 + ol { margin-top: 10px; }
.doc-body p + p { margin-top: 12px; }
.doc-body ul, .doc-body ol { padding-left: 1.2em; margin: 12px 0 0; }
.doc-body li + li { margin-top: 6px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--ink); }
.doc-body a.button { color: #fff; text-decoration: none; }
.doc-body a.button.quiet { color: var(--ink); }

.app-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.app-tag img { width: 52px; height: 52px; border-radius: 12px; }
.app-tag .badge-dot {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.app-tag .badge-dot span {
  position: relative;
  width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff;
}
.app-tag .badge-dot span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
}
.doc-body .app-tag + p { margin-top: 14px; }

.contact-card {
  margin-top: 28px;
  padding: 26px 28px;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line);
}
/* Email buttons only work with JavaScript, so they stay hidden without it */
html:not(.js) [data-mail] { display: none; }

.contact-card .contact-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 300;
}

.contact-card .email {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}
.contact-card .cta-row { margin-top: 20px; }
.contact-card p { max-width: 40rem; }
/* Quickstart guide box on the Support page */
.doc-body .guide {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 28px 24px 24px;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line);
}
.doc-body .guide-cover { display: block; border-radius: 6px; }
.doc-body .guide-cover img {
  width: 120px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.08), 0 14px 26px -14px rgba(26, 60, 140, 0.45);
  transform: rotate(-2deg);
  transition: transform 0.2s ease;
}
.doc-body .guide-cover:hover img { transform: rotate(0deg); }
.doc-body .guide-text h3 { margin-top: 0; font-size: 21px; font-weight: 400; }
.doc-body .guide-text p { margin-top: 8px; }
.doc-body a.guide-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  min-height: 44px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #e9f3ff;
  color: #0b5fbf;
  box-shadow: inset 0 0 0 1px #c9e1ff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.doc-body a.guide-button:hover { background: #dcecff; box-shadow: inset 0 0 0 1px #a9cffc; color: #0b5fbf; }
.doc-body a.guide-button svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.doc-body .guide-meta { font-weight: 400; color: #3a6aa6; }
@media (max-width: 560px) {
  .doc-body .guide { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 20px; align-items: start; }
  .doc-body .guide-cover img { width: 76px; }
  .doc-body .guide-meta { display: none; }
}

.glance {
  list-style: none;
  padding: 0 !important;
  margin-top: 20px !important;
}
.glance li {
  position: relative;
  padding-left: 30px;
}
.glance li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--filter);
  border-bottom: 2px solid var(--filter);
  transform: rotate(-45deg);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
