/* dbl0m's Audio – site. Black and white only. */
@font-face {
  font-family: "Archivo";
  src: url("archivo.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --black: #000;
  --white: #fff;
  --g1: #a3a3a3;  /* body text on black */
  --g2: #6e6e6e;  /* quiet text */
  --g3: #262626;  /* lines */
  --g4: #141414;  /* raised surfaces */
  --wide: 125;
  --pad: clamp(16px, 5vw, 72px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

section { padding: clamp(72px, 11vw, 140px) var(--pad) 0; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
h2 {
  font-variation-settings: "wdth" var(--wide);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--pad);
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g3);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" var(--wide); font-size: 17px; letter-spacing: -0.01em; margin-right: auto; }
.mark svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; color: var(--g1); font-size: 15px; }
.nav nav a:hover { color: var(--white); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--white);
  background: var(--white); color: var(--black);
  font: 700 16px "Archivo", system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: var(--black); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--g3); }
.btn.ghost:hover { border-color: var(--white); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14px; }

/* hero */
.hero { padding-top: clamp(44px, 6vw, 84px); }
.hero h1 {
  font-variation-settings: "wdth" var(--wide);
  font-weight: 900;
  font-size: clamp(38px, 6.2vw, 92px);
  line-height: .95;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.lede { margin-top: 24px; max-width: 54ch; color: var(--g1); font-size: clamp(17px, 1.6vw, 20px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* the scope */
.scope { margin: clamp(36px, 5vw, 64px) 0 0; border-top: 1px solid var(--g3); border-bottom: 1px solid var(--g3); }
.scope canvas { display: block; width: 100%; height: clamp(180px, 24vw, 320px); }
.scope figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 18px; border-top: 1px solid var(--g3); }
.now { color: var(--g2); font-size: 15px; }
.now b { color: var(--white); font-weight: 700; }
.voices { display: flex; flex-wrap: wrap; gap: 6px; }
.voices button {
  height: 36px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--g3); background: transparent; color: var(--g1);
  font: 600 14px "Archivo", system-ui, sans-serif; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.voices button:hover { color: var(--white); border-color: var(--g2); }
.voices button[aria-checked="true"] { background: var(--white); color: var(--black); border-color: var(--white); }

/* screenshot */
.frame { border: 1px solid var(--g3); border-radius: 14px; overflow: hidden; background: var(--g4); }
.frame img { width: 100%; }
.caption { margin-top: 16px; color: var(--g2); font-size: 15px; }

/* features */
.flist { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--g3); border-left: 1px solid var(--g3); }
.flist article { padding: 28px 24px 32px; border-right: 1px solid var(--g3); border-bottom: 1px solid var(--g3); }
.flist svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.flist h3 { font-size: 19px; line-height: 1.25; margin-bottom: 10px; font-weight: 750; }
.flist p { color: var(--g1); font-size: 15.5px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--white); padding-top: 22px; }
.steps li::before {
  content: counter(s);
  display: block;
  font-variation-settings: "wdth" var(--wide);
  font-weight: 900; font-size: 64px; line-height: 1; margin-bottom: 18px;
}
.steps h3 { font-size: 21px; margin-bottom: 10px; }
.steps p { color: var(--g1); max-width: 34ch; }
.steps b { color: var(--white); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em; color: var(--white); background: var(--g4); border: 1px solid var(--g3); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }

/* plans */
.plans h2 { margin-bottom: 12px; }
.sub { color: var(--g1); margin-bottom: 36px; max-width: 60ch; }
.plist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--g3); border: 1px solid var(--g3); margin-bottom: 32px; }
.plan { background: var(--black); padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 6px; }
.plan .len { font-variation-settings: "wdth" var(--wide); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.plan .for { color: var(--g2); font-size: 15px; }
.plan.life { background: var(--white); color: var(--black); }
.plan.life .for { color: #4a4a4a; }

/* developer */
.dev { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.dev img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; filter: grayscale(1) contrast(1.05); border: 1px solid var(--g3); }
.who h2 { margin-bottom: 18px; }
.who p { color: var(--g1); max-width: 46ch; margin-bottom: 28px; }
.handle {
  display: inline-grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 14px;
  padding: 14px 16px 14px 18px; border-radius: 16px;
  border: 1px solid var(--g3); background: var(--g4); color: var(--white);
  font: inherit; cursor: pointer; text-align: left;
  transition: border-color .15s;
}
.handle:hover { border-color: var(--white); }
.handle svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.handle .lab { color: var(--g2); font-size: 14px; }
.handle .name { font-variation-settings: "wdth" var(--wide); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }
.handle .copy { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--black); }

/* faq */
.faq { max-width: calc(860px + 2 * var(--pad)); }
.faq details { border-top: 1px solid var(--g3); }
.faq details:last-of-type { border-bottom: 1px solid var(--g3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--g1); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--g1); padding: 0 0 24px; max-width: 64ch; }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(80px, 12vw, 150px); padding: 28px var(--pad) 36px; border-top: 1px solid var(--g3); color: var(--g2); font-size: 14px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--white); color: var(--black); font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100vw - 32px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1000px) {
  .flist { grid-template-columns: repeat(2, 1fr); }
  .plist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .dev { grid-template-columns: 1fr; }
  .dev img { max-width: 260px; }
  .scope figcaption { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .flist { grid-template-columns: 1fr; }
  .plist { grid-template-columns: 1fr; }
  .btn { height: 48px; padding: 0 20px; }
  .handle { grid-template-columns: auto 1fr auto; }
  .handle .lab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
