/* bc.btclock.dev — styled after btclock.dev (btclock-marketing-page/src/app.css):
   the same stage, colours, faces and components, as plain CSS. */

@font-face { font-family: "Antonio"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/antonio-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Azeret Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/azeret-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-style: italic; font-display: swap;
  src: url("fonts/ubuntu-latin-500-italic.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --stage: #030303;
  --ivory: #f3eee2;
  --ivory-dim: #c9c1ad;
  --ivory-mute: #8a8270;
  --gold: #d9aa2c;
  --gold-bright: #f1c64a;
  --hair: rgba(243, 238, 226, 0.12);
  --font-slam: "Antonio", "Oswald", ui-sans-serif, sans-serif;
  --font-tag: "Oswald", ui-sans-serif, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "SF Mono", monospace;
  --font-wordmark: "Ubuntu", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--stage);
  color: var(--ivory);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--stage); }

/* ----- Type ----- */
.wordmark { font-family: var(--font-wordmark); font-style: italic; font-weight: 500; letter-spacing: -0.005em; line-height: 1; }
.slam { font-family: var(--font-slam); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }
.tag { font-family: var(--font-tag); font-weight: 400; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 1.1rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 2.6rem; height: 1.5px; background: currentColor; }
code, .mono { font-family: var(--font-mono); }
p code, dd code, li code {
  font-size: 0.86em; color: var(--ivory);
  background: rgba(243, 238, 226, 0.07); border: 1px solid var(--hair);
  border-radius: 6px; padding: 0.08em 0.4em; overflow-wrap: anywhere;
}

/* ----- Buttons: mono caps pills ----- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1.5px solid var(--gold); cursor: pointer; transition: background 0.25s, color 0.25s;
}
.btn--gold { background: var(--gold); color: var(--stage); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--line { background: rgba(10, 10, 10, 0.55); color: var(--ivory); }
.btn--line:hover { background: rgba(217, 170, 44, 0.14); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* ----- Layout ----- */
.wrap { width: min(100% - 2rem, 87.5%, 72rem); margin-inline: auto; }
.sec { padding-block: 4rem; }
.head { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.head__mark { font-size: 1.6rem; color: var(--ivory); }
.head__home { padding: 0.55rem 1.1rem; }

/* ----- Hero ----- */
.hero { padding-block: 4.5rem 3rem; }
.hero__title { margin-top: 1.4rem; font-size: clamp(3rem, 9vw, 7rem); }
.hero__line { margin-top: 1.2rem; max-width: 46rem; font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--ivory-dim); }

.backend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem;
  margin-top: 2.4rem; padding: 1.1rem 1.2rem 1.1rem 1.4rem;
  max-width: 46rem; border: 1px solid var(--hair); border-radius: 18px;
  background: rgba(243, 238, 226, 0.03);
}
.backend__label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); width: 100%; }
.backend__value { font-family: var(--font-mono); font-size: clamp(1.25rem, 3.6vw, 1.9rem); color: var(--ivory); flex: 1 1 auto; }
.backend__copy { padding: 0.6rem 1.1rem; }

/* ----- Captions ----- */
.cap { max-width: 46rem; }
.cap__title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.cap__line { margin-top: 0.6rem; font-size: clamp(1.1rem, 1.7vw, 1.45rem); color: var(--ivory-dim); }
.cap__link { color: var(--gold); white-space: nowrap; }
.cap__link::after { content: " →"; }
.cap__link:hover { color: var(--gold-bright); }
.note { max-width: 46rem; margin-top: 1.4rem; font-size: 0.92rem; line-height: 1.6; color: var(--ivory-mute); }

/* ----- Steps ----- */
.steps { list-style: none; padding: 0; margin-top: 2.6rem; display: grid; gap: 3.5rem; counter-reset: step; }
.step { display: grid; gap: 1rem 2rem; counter-increment: step; }
@media (min-width: 900px) { .step { grid-template-columns: 5.5rem 1fr; } }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-slam); font-weight: 700; font-size: 3.6rem; line-height: 0.85; color: var(--gold);
}
.step__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.step__text { margin-top: 0.7rem; max-width: 46rem; font-size: 1rem; line-height: 1.65; color: var(--ivory-dim); }
.step__text + .step__text { margin-top: 0.6rem; }
.step__text strong { color: var(--ivory); font-weight: 600; }

/* The device's own web UI is light: frame it as a sheet on the stage. */
.shot { margin-top: 1.5rem; max-width: 52rem; }
.shot__frame {
  padding: clamp(0.6rem, 2vw, 1.2rem); border-radius: 14px;
  background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-mute);
}

/* ----- Spec sheet: hairlines, a mono term, one line ----- */
.specs { display: grid; margin-top: 2.4rem; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.specs__row { display: grid; gap: 0.45rem; padding-block: 1.05rem; border-bottom: 1px solid var(--hair); }
@media (min-width: 520px) { .specs__row { grid-template-columns: 7.5rem 1fr; gap: 1rem; } }
.specs dt { padding-top: 0.2rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.specs dd { font-size: 0.92rem; line-height: 1.5; color: var(--ivory-dim); }

.cols { display: grid; gap: 3rem; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } }
.cols h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cols p { margin-top: 0.7rem; font-size: 1rem; line-height: 1.65; color: var(--ivory-dim); }

/* ----- Outro ----- */
.outro { padding: 5rem 1rem 0; text-align: center; }
.outro__mark { font-size: clamp(3.4rem, 8vw, 7rem); }
.outro__tag { margin-top: 0.6rem; font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--gold); }
.outro__order { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.2rem; }
.outro__note { max-width: 36rem; margin: 1.2rem auto 0; font-size: 0.85rem; line-height: 1.6; color: var(--ivory-mute); }
.outro__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem;
  margin-top: 5rem; padding-block: 1.4rem 2.5rem; border-top: 1px solid rgba(243, 238, 226, 0.08);
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-mute);
  text-align: left;
}
.outro__base nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.outro__base a:hover { color: var(--ivory); }

@media (max-width: 520px) {
  .eyebrow::before { display: none; }
  .sec { padding-block: 3rem; }
}
