/* Engramyx — global stylesheet */
:root {
  --bg: #060809;
  --bg-2: #0a0d0f;
  --bg-3: #101416;
  --text: #e8eef0;
  --muted: #86939a;
  --faint: #4d575c;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --cyan: #a5eef8;
  --cyan-ink: #a5eef8;
  --cyan-dim: rgba(165, 238, 248, 0.14);
  --red: #ff4034;
  --head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
}
.theme-light {
  --bg: #f5f6f6;
  --bg-2: #ffffff;
  --bg-3: #eceeee;
  --text: #0a0d0f;
  --muted: #5b666b;
  --faint: #9aa4a8;
  --line: rgba(0, 0, 0, 0.1);
  --line-2: rgba(0, 0, 0, 0.2);
  --cyan-ink: #0b8ea3;
  --cyan-dim: rgba(165, 238, 248, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.04; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--cyan); color: #060809; }
:focus-visible { outline: 1px solid var(--cyan-ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(90px, 14vw, 190px) 0; position: relative; }
.rule { border-top: 1px solid var(--line); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-ink); box-shadow: 0 0 0 4px var(--cyan-dim); }
.eyebrow.red::before { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 64, 52, 0.16); }
.h-xl { font-size: clamp(44px, 8.4vw, 124px); letter-spacing: -0.045em; }
.h-lg { font-size: clamp(36px, 5.6vw, 84px); }
.h-md { font-size: clamp(28px, 3.4vw, 48px); }
.h-sm { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 46ch; line-height: 1.55; }
.muted { color: var(--muted); }
.cy { color: var(--cyan-ink); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.fine { font-size: 10px; line-height: 1.5; color: var(--faint); max-width: 70ch; }
sup.ast { color: var(--muted); font-size: 0.5em; vertical-align: super; margin-left: 1px; }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 24px; border-radius: 100px; overflow: hidden;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--text);
  transform: translate(var(--bx), var(--by));
  transition: transform 0.5s var(--ease), border-color 0.3s, color 0.35s;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--text); transform: translateY(102%); transition: transform 0.5s var(--ease);
}
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translate(var(--bx), var(--by)) scale(0.97); }
.btn .arr { width: 14px; height: 10px; position: relative; overflow: hidden; }
.btn .arr::before, .btn .arr::after {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.45s var(--ease);
}
.btn .arr::after { transform: translateX(-140%); }
.btn:hover .arr::before { transform: translateX(140%); }
.btn:hover .arr::after { transform: translateX(0); }
.btn.solid { background: var(--cyan); color: #060809; border-color: var(--cyan); }
.btn.solid::before { background: #fff; }
.btn.solid:hover { color: #060809; border-color: #fff; }
.theme-light .btn.solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.theme-light .btn.solid::before { background: var(--cyan); }
.theme-light .btn.solid:hover { color: #060809; border-color: var(--cyan); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.link {
  position: relative; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text);
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(0); transition: transform 0.45s var(--ease); }
.link:hover::after { transform-origin: left; transform: scaleX(1); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 500; font-size: 18px; letter-spacing: -0.03em; }
.logo svg { width: 20px; height: 20px; color: var(--cyan-ink); transition: transform 0.7s var(--ease); }
.logo:hover svg { transform: rotate(90deg); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 13px; color: var(--muted); position: relative; padding: 6px 0; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan-ink); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 38px; height: 38px; position: relative; }
.burger i { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--text); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 22px; }
.menu-open .burger i:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 19px; transform: rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 70; background: var(--bg); padding: 110px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-io); visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0); visibility: visible; }
.mmenu a.big { display: block; font-family: var(--head); font-size: clamp(32px, 9vw, 52px); letter-spacing: -0.035em; padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.menu-open .mmenu a.big { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--i) * 0.05s); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-right .btn { display: none; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 34px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.footer h5 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14px; color: var(--muted); transition: color 0.3s, padding 0.4s var(--ease); }
.footer li a:hover { color: var(--text); padding-left: 6px; }
.footer-word { font-family: var(--head); font-size: clamp(64px, 19vw, 300px); letter-spacing: -0.06em; line-height: 0.8; margin: 70px 0 30px; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; white-space: nowrap; }
.footer-bot { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-bot .fine a:hover { color: var(--text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- forms ---------- */
.field { position: relative; display: block; margin-bottom: 18px; }
.field span.lab { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  color: var(--text); font: inherit; font-size: 16px; padding: 10px 0 12px; outline: none; transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2386939a'/%3E%3C/svg%3E") right 2px center/10px no-repeat; }
.field select option { background: #0a0d0f; color: #e8eef0; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--red); }
.field .msg { display: none; font-size: 11px; color: var(--red); margin-top: 6px; }
.field.err .msg { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check i { flex: none; width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: 3px; margin-top: 2px; position: relative; transition: background 0.25s, border-color 0.25s; }
.check i::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 8px; border: solid #060809; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s var(--ease); }
.check input:checked + i { background: var(--cyan); border-color: var(--cyan); }
.check input:checked + i::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + i { outline: 1px solid var(--cyan-ink); outline-offset: 3px; }
.check.err i { border-color: var(--red); }
.form { position: relative; }
.form.busy { pointer-events: none; }
.form.busy .btn { color: transparent; }
.form.busy .btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%) 0 0 / 220% 100%;
  animation: shimmer 1.1s linear infinite;
}
.form-note { margin-top: 18px; max-width: 62ch; }
.inline-form + .form-fail + .form-note, .inline-form + .form-fail { max-width: 520px; }
.form-fail { margin-top: 14px; font-size: 13px; color: var(--red); }
.form-fail[hidden] { display: none; }
.form.done .form-note, .form.done .form-fail { display: none; }
.form-done { display: none; }
.form.done > *:not(.form-done) { display: none; }
.form.done .form-done { display: block; animation: rise 0.9s var(--ease) both; }
.form-done .tick { width: 44px; height: 44px; border: 1px solid var(--cyan-ink); border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.form-done .tick svg { width: 16px; stroke: var(--cyan-ink); fill: none; stroke-width: 1.5; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.7s 0.3s var(--ease) forwards; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; max-width: 520px; }
.inline-form .field { flex: 1; margin: 0; }
@media (max-width: 520px) { .inline-form { flex-direction: column; align-items: stretch; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal-bg { position: absolute; inset: 0; background: rgba(3, 4, 5, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.5s; }
.modal-card {
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow: auto;
  background: #0a0d0f; color: #e8eef0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: clamp(26px, 5vw, 44px);
  --text: #e8eef0; --muted: #86939a; --faint: #4d575c; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --cyan-ink: #a5eef8; --bg: #060809;
  opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.5s, transform 0.7s var(--ease);
}
.modal.open { visibility: visible; }
.modal.open .modal-bg { opacity: 1; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform 0.5s var(--ease), background 0.3s; }
.modal-x::before, .modal-x::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.modal-x::after { transform: rotate(-45deg); }
.modal-x:hover { transform: rotate(90deg); background: rgba(255, 255, 255, 0.08); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- cursor / transitions ---------- */
#trail { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cur { position: fixed; left: 0; top: 0; z-index: 201; pointer-events: none; mix-blend-mode: difference; }
.cur-dot { width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
.cur-ring { width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s, background 0.3s; }
.cur-ring.hov { width: 64px; height: 64px; margin: -32px; background: rgba(255, 255, 255, 0.12); }
.cur-ring.down { width: 22px; height: 22px; margin: -11px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor [data-hover] { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text !important; }

.wipe { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.wipe i { position: absolute; inset: 0; background: #060809; transform-origin: top; transform: scaleY(0); transition: transform 0.6s var(--ease-io); }
.wipe i:last-child { background: var(--cyan); top: auto; height: 1px; bottom: 0; transition: none; opacity: 0; }
.wipe b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #86939a; opacity: 0; transition: opacity 0.3s; }
html.is-loading .wipe i:first-child, html.is-leaving .wipe i:first-child { transform: scaleY(1); }
html.is-leaving .wipe i:first-child { transform-origin: bottom; }
html.is-loading .wipe b, html.is-leaving .wipe b { opacity: 1; transition-delay: 0.25s; }
html.is-loading .wipe i:first-child { transition: none; }
html.is-loading body { overflow: hidden; }

/* ---------- reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-io); }
[data-reveal="line"].in { transform: scaleX(1); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0) * 1ms); }
.split.in .w > span { transform: none; }

/* glitch */
.gl { position: relative; display: inline-block; white-space: nowrap; }
.gl::after { content: attr(data-alt); position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--red); opacity: 0; pointer-events: none; }
.gl.g { color: transparent; text-shadow: none; transform: translateX(2px) skewX(-8deg); }
.gl.g::after { opacity: 1; text-shadow: -3px 0 var(--cyan), 3px 0 rgba(255, 64, 52, 0.5); clip-path: polygon(0 0, 100% 0, 100% 42%, 0 42%, 0 58%, 100% 58%, 100% 100%, 0 100%); }

/* shimmer */
.sk { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.06); border-radius: 6px; }
.sk::after, .shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.09) 50%, transparent 70%) 0 0 / 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
.shimmer { position: relative; overflow: hidden; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }

/* ---------- cards ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--bg-2);
  transition: transform 0.6s var(--ease), border-color 0.4s; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx) var(--my), var(--cyan-dim), transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-ink); animation: pulse 1.6s infinite; }
.live.red::before { background: var(--red); }
.tick-num { font-variant-numeric: tabular-nums; }

/* page head (inner pages) */
.phead { padding: clamp(150px, 20vw, 240px) 0 clamp(60px, 9vw, 120px); position: relative; }
.phead .lede { margin-top: 28px; }
.phead h1 { margin-top: 26px; max-width: 14ch; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--head); font-weight: 500; font-size: clamp(34px, 4vw, 58px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding-left: 18px; } .stat:nth-child(odd) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 24px 0; font-family: var(--head); font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -0.02em; transition: color 0.3s, padding 0.5s var(--ease); }
.acc-q:hover { padding-left: 10px; color: var(--cyan-ink); }
.acc-q i { flex: none; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; transition: transform 0.5s var(--ease), background 0.3s; }
.acc-q i::before, .acc-q i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.acc-q i::after { transform: rotate(90deg); }
.acc-item.open .acc-q i { transform: rotate(180deg); }
.acc-item.open .acc-q i::after { transform: rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a .in { padding: 0 0 28px; color: var(--muted); max-width: 68ch; }
.acc-a .in p + p { margin-top: 12px; }

/* toggle */
.tg { position: relative; flex: none; width: 44px; height: 26px; border-radius: 26px; background: rgba(255, 255, 255, 0.12); transition: background 0.35s; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.45s var(--ease), width 0.2s; }
.tg:active::after { width: 25px; }
.tg[aria-checked="true"] { background: var(--cyan); }
.tg[aria-checked="true"]::after { transform: translateX(18px); background: #060809; }
.tg[aria-checked="true"]:active::after { transform: translateX(13px); }
.tg.shake { animation: shake 0.45s; }
.tg.locked[aria-checked="true"] { background: rgba(165, 238, 248, 0.45); }
@keyframes shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* marquee */
.marq { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.marq-in { display: flex; gap: 60px; width: max-content; animation: marq 46s linear infinite; }
.marq-in span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 60px; align-items: center; }
.marq-in span::after { content: ""; width: 5px; height: 5px; background: var(--cyan-ink); border-radius: 50%; }
@keyframes marq { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
  .marq-in { animation: none; }
}
