/* OxidePoster site styles. Source: tools/src/style.css. Shipped as site/assets/style.<hash>.css by tools/build.py. */

/* Oxide Display ships at site/assets/fonts/oxide-display.c65d46ce.woff2 (wired 2026-11-30). */
@font-face {
  font-family: "Oxide Display";
  src: url("/assets/fonts/oxide-display.c65d46ce.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #F6F1E7;
  --card: #FFFEFA;
  --ink: #2B2119;
  --muted: #6A5A4B;
  --line: #E4DACB;
  --bronze: #8A5427;
  --patina: #6E9585;
  --soft: #EFE6D6;
  --espresso: #2A2018;
  --logo-a: #EFC595;
  --logo-b: #9A6234;
  --font-display: "Oxide Display", "HelveticaNeue-CondensedBold", "Helvetica Neue Condensed", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", "Franklin Gothic Medium Cond", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  --prose: 700px;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(43, 33, 25, 0.04), 0 12px 32px -18px rgba(43, 33, 25, 0.28);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--patina);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--card); color: var(--ink);
  padding: 10px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 12px; }

/* Header band */
.band { background: var(--espresso); color: var(--soft); }
.band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 28px; padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: 1.7rem;
  letter-spacing: 0.09em;
  line-height: 1;
  color: var(--bg);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--card); }
.wordmark .oxide {
  color: var(--logo-a);
  background: linear-gradient(180deg, var(--logo-a) 8%, var(--logo-b) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-block;
  padding: 8px 0;
  color: var(--soft);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--card); border-bottom-color: var(--logo-b); }
.nav a[aria-current="page"] { color: var(--logo-a); border-bottom-color: var(--logo-a); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--bronze);
  color: var(--card);
  font: 700 1.02rem/1.2 var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(138, 84, 39, 0.75);
  transition: background-color 0.15s ease, transform 0.15s ease;
  overflow-wrap: anywhere;
}
.btn:hover { background: var(--ink); color: var(--card); transform: translateY(-1px); }
.cta-row { margin: 34px 0 0; }

/* Shared section rhythm */
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--soft); border-top: 0; }
.section.tint + .section { border-top: 0; }
.section h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); text-transform: uppercase; margin-bottom: 30px; }
.section h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 2px;
  background: linear-gradient(90deg, var(--logo-a), var(--logo-b));
}
.measure { max-width: 660px; }
.muted { color: var(--muted); }

/* Home: hero */
.hero { padding: 84px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: center; }
.eyebrow {
  font-family: var(--font-display);
  font-stretch: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  font-size: clamp(2.5rem, 6.2vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 30px;
}
.lede { font-size: 1.2rem; line-height: 1.6; max-width: 34em; }
.lede + .lede { color: var(--muted); font-size: 1.0625rem; }

/* Home: hero ornament (decorative, no words) */
.art {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}
.art-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--espresso), var(--ink));
  overflow: hidden;
}
.art-head, .art-body { position: absolute; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--logo-a), var(--logo-b)); }
.art-head { top: 24%; width: 30%; aspect-ratio: 1; border-radius: 50%; }
.art-body { bottom: -22%; width: 66%; aspect-ratio: 1; border-radius: 50% 50% 0 0; }
.art-rec { position: absolute; top: 14px; left: 14px; width: 11px; height: 11px; border-radius: 50%; background: var(--patina); box-shadow: 0 0 0 4px rgba(110, 149, 133, 0.28); }
.art-words { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.art-words i { display: block; height: 12px; width: 44px; border-radius: 6px; background: var(--line); }
.art-words i:nth-child(3n) { width: 28px; }
.art-words i:nth-child(4n + 1) { width: 60px; }
.art-words i.cut { background: transparent; border: 1.5px dashed var(--bronze); opacity: 0.7; }
.art-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-board b { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); }
.art-board b.on { background: var(--patina); border-color: var(--patina); }

/* Home: steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--bronze);
  font: 700 1.15rem/1 var(--font-display);
}
.step h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Home: local + hosted pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--patina);
  border-radius: var(--radius);
  padding: 34px 32px 36px;
  box-shadow: var(--shadow);
}
.panel.bronze { border-top-color: var(--bronze); }
.panel h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 14px; }
.panel h2::after { display: none; }

/* Home: platforms */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.chips li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 600;
  font-size: 1.05rem;
}
.chips li::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px;
  border-radius: 50%; background: var(--patina); vertical-align: 0.05em;
}
.notes { display: grid; gap: 10px; max-width: 660px; color: var(--muted); }
.notes p { margin: 0; padding-left: 16px; border-left: 2px solid var(--line); }

/* Home: questions */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.faq > div { padding: 26px 0; border-top: 1px solid var(--line); }
.faq h3 { font-size: 1.45rem; margin-bottom: 10px; }
.faq p { color: var(--muted); }

/* Home: close */
.close { text-align: center; padding: 96px 0; }
.close .display { font-size: clamp(2rem, 4.8vw, 3.2rem); max-width: 18em; margin: 0 auto; }
.close .cta-row { margin-bottom: 30px; }

/* Inner pages */
.page-head { padding: 68px 0 0; }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 4rem); text-transform: uppercase; }
.page-head h1::after {
  content: ""; display: block; width: 64px; height: 5px; margin-top: 20px; border-radius: 3px;
  background: linear-gradient(90deg, var(--logo-a), var(--logo-b));
}
.prose-wrap { padding: 40px 0 92px; }
.prose {
  max-width: var(--prose);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 46px 52px 52px;
  box-shadow: var(--shadow);
}
.prose h2 { font-size: 1.75rem; margin: 46px 0 14px; padding-top: 30px; border-top: 1px solid var(--line); }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul { margin: 0 0 1.1em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 24px; margin-bottom: 0.4em; }
.prose li::before { content: ""; position: absolute; left: 3px; top: 0.66em; width: 8px; height: 8px; border-radius: 50%; background: var(--patina); }
.prose .dated strong {
  display: inline-block; background: var(--soft); color: var(--muted);
  font-size: 0.9rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
}
.prose .cta-row { margin: 22px 0 26px; }

/* Download: email line */
.signup { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.signup label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.signup .field { flex: 1 1 260px; min-width: 0; }
.signup input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--bronze);
  border-radius: 10px;
  padding: 14px 16px;
}
.signup:disabled input { opacity: 0.75; cursor: not-allowed; }
.signup:disabled .btn { opacity: 0.55; cursor: not-allowed; transform: none; background: var(--bronze); box-shadow: none; }

/* Footer */
.foot { background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding-top: 38px; padding-bottom: 42px; }
.foot p { margin: 0 0 6px; }
.foot .built { color: var(--ink); }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.foot li a { display: inline-block; padding: 4px 0; }

/* Phone and small tablet */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .art { max-width: 300px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 20px; }
  .band .wrap { padding-top: 16px; padding-bottom: 8px; }
  .wordmark { font-size: 1.5rem; }
  .nav { width: 100%; justify-content: space-between; gap: 4px 12px; }
  .nav a { padding: 10px 0; font-size: 0.92rem; }
  .hero { padding: 52px 0 60px; }
  .lede { font-size: 1.1rem; }
  .section { padding: 54px 0; }
  .steps, .pair, .faq { grid-template-columns: 1fr; }
  .panel { padding: 28px 24px 30px; }
  .close { padding: 68px 0; }
  .btn { padding: 16px 26px; }
  .page-head { padding-top: 46px; }
  .prose-wrap { padding: 28px 0 64px; }
  .prose { padding: 30px 22px 34px; border-radius: 14px; }
  .prose h2 { font-size: 1.55rem; margin-top: 36px; padding-top: 26px; }
  .signup .btn { width: 100%; }
  .foot .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
