/* Arc's measured dark theme. See ../DESIGN.md for the unmodified source. */
:root {
  color-scheme: dark;
  --canvas: #0b0b0b;
  --ink: #fff;
  --accent: #0047ff;
  --muted: #9f9f9f;
  --hairline: #000;
  --section: 40px;
  --band: 48px;
  --system: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--system); }
main { max-width: 1069px; margin-inline: auto; padding: clamp(64px, 12vh, 120px) 24px var(--band); text-align: center; }
.intro { margin: 0 auto var(--section); }
h1 { margin: 0; font-family: "Exposure VAR", var(--system); font-size: clamp(47px, 9.4vw, 76px); font-weight: 600; line-height: 1.13; letter-spacing: -2.43px; }
h1 span { color: var(--accent); }
.intro p { margin: 16px auto 0; max-width: 46ch; font-family: "ABC Oracle", var(--system); color: var(--muted); font-size: 17px; font-weight: 350; line-height: 1.54; letter-spacing: -.25px; text-wrap: balance; }
hr { margin: 0 auto; width: min(100%, 540px); border: 0; border-top: 1px solid color-mix(in srgb, var(--hairline) 80%, var(--ink)); }
.app { display: grid; justify-items: center; padding: var(--band) 0; }
.artwork { position: relative; isolation: isolate; display: grid; place-items: center; width: min(100%, 540px); height: clamp(120px, 22vw, 156px); margin: -20px 0 20px; }
.icon { display: block; position: relative; width: 112px; height: 112px; }
.signal { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.signal-axis { stroke: #333; stroke-width: 1; }
.signal-trace { stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: min(100%, 20rem); }
.download, .read-more { display: inline-flex; min-height: 50px; gap: 10px; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 12px; font: 500 16px/1.28 "ABC Oracle", var(--system); text-decoration: none; }
.download { color: #fff; background: var(--accent); }
.download:hover { background: #3139fb; }
.read-more { color: var(--ink); background: rgb(255 255 255 / .12); }
.read-more:hover { background: rgb(255 255 255 / .24); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.compatibility { margin: 12px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: var(--muted); }
.release, .back { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; color: var(--muted); text-decoration: none; text-underline-offset: 4px; }
.release { font-size: 12px; }
.release:hover, .back:hover { color: var(--ink); text-decoration: underline; }
.back { margin-top: 12px; color: var(--ink); font-size: 14px; }
.details { max-width: 660px; margin: 20px auto 0; padding: var(--band) 0 0; border-top: 1px solid #333; text-align: left; scroll-margin-top: 24px; }
.details:not(:target) { display: none; }
.details:target { min-block-size: calc(100svh - var(--band) - 24px); }
.details:focus { outline: none; }
.details:focus-visible h2 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .15em; }
.eyebrow, .ordinal { color: var(--muted); font: 600 12px/1.4 ui-monospace, monospace; letter-spacing: .08em; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; }
.details h2 { margin: 0 0 16px; text-wrap: balance; font-size: clamp(34px, 6vw, 45.51px); line-height: 1.06; letter-spacing: -1.82px; }
.details h2 span { color: var(--accent); }
.lede { max-width: 46ch; margin: 0 0 32px; color: var(--muted); font-size: 20px; line-height: 1.42; letter-spacing: -.6px; }
.brief { display: grid; gap: 24px; }
.argument { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 12px; padding-top: 20px; border-top: 1px solid #333; }
.ordinal { margin-top: 5px; }
.argument h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.42; letter-spacing: -.4px; }
.argument p { margin: 0 0 8px; color: #fffcec; font: 350 17px/1.54 "ABC Oracle", var(--system); letter-spacing: -.25px; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-block: 1px solid #333; background: #1a1a1a; }
.trace { min-width: 0; padding: 20px; }
.trace + .trace { border-inline-start: 1px solid #333; }
.trace span { font-size: 14px; font-weight: 600; }
.trace svg { display: block; width: 100%; height: 60px; margin: 12px 0; }
.trace-axis { stroke: #3c3c43; stroke-width: 1; }
.trace-line { stroke: #9f9f9f; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.noise .trace-line { stroke: var(--accent); }
.trace p, .comparison figcaption { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.comparison figcaption { grid-column: 1 / -1; padding: 10px 20px; border-top: 1px solid #333; }
@media (max-width: 420px) {
  .trace { padding: 12px; }
  .comparison figcaption { padding-inline: 12px; }
  .argument { grid-template-columns: 1.5rem minmax(0, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .signal-trace { animation: draw 1200ms cubic-bezier(.25, .7, .25, 1) both; }
  .icon { animation: settle 550ms ease-out both; }
  .details:target { animation: reveal 410ms ease-out both; }
  .download, .read-more { transition: background-color 160ms ease; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes settle { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
}
@media (min-width: 768px) { main { padding-inline: 61px; } }
@media (min-width: 1024px) { main { padding-inline: 82px; } }
