/* Artscii pre-launch — styled to match the live storefront (apps/web):
   ink/slate dark surfaces, cream body type, Bodoni Moda display,
   Spline Sans Mono chrome, brand red #ea1f50, hard cyan offset shadows. */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda-latin.woff2') format('woff2');
  font-weight: 400 900; font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda-italic-latin.woff2') format('woff2');
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Redaction';
  src: url('/fonts/redaction-regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Redaction';
  src: url('/fonts/redaction-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('/fonts/spline-sans-mono-latin.woff2') format('woff2');
  font-weight: 300 900; font-display: swap;
}

:root {
  --ink: oklch(10% 0.018 276);          /* page ground */
  --slate: rgb(59, 60, 81);             /* elevated surface (staging body) */
  --cream: oklch(88% 0.034 93);         /* body text */
  --paper: oklch(79% 0.042 84);         /* headings / bylines */
  --red: #ea1f50;                       /* the ONE brand red */
  --pink: oklch(60.443% 0.2286 16.14);  /* CTA surface (staging computed) */
  --cyan: oklch(72% 0.13 225);
  --yellow: oklch(84% 0.15 90);
  --line: color-mix(in srgb, var(--cream) 18%, transparent);
  --line-soft: color-mix(in srgb, var(--cream) 10%, transparent);
  --display: 'Bodoni Moda', 'Iowan Old Style', Georgia, serif;
  --serif: 'Redaction', Georgia, serif;
  --mono: 'Spline Sans Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--ink); }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
}

.frame { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

/* chrome — mirrors the storefront header: black bar, red logo block, mono nav */
.masthead {
  background: #000;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.85rem 0;
}
.masthead .frame { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 62rem; }
.logo { display: block; line-height: 0; background: var(--red); padding: 8px 14px; }
.logo img { height: 40px; width: auto; display: block; }
nav.top { display: flex; gap: 1.35rem; flex-wrap: wrap; align-items: center; }
nav.top a {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav.top a:hover, nav.top a[aria-current="page"] { border-bottom-color: var(--red); color: #fff; }

main { padding: 3.2rem 0 4rem; }

/* type */
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.4rem;
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.12;
  color: var(--paper);
  margin: 2.6rem 0 0.8rem;
}
h3 { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 1.2rem; color: var(--paper); margin: 1.8rem 0 0.5rem; }
p + p { margin-top: 0.85rem; }
ul, ol { margin: 0.85rem 0 0.85rem 1.4rem; }
li + li { margin-top: 0.45rem; }
a { color: var(--cream); text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--cyan); }
em { font-style: italic; }
strong { color: var(--paper); }

.kicker {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 62%, var(--ink));
  margin-bottom: 1.1rem;
}
.kicker::before { content: '— '; color: var(--red); }

.lede { font-size: 1.26rem; line-height: 1.5; max-width: 38rem; }

.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 2.4rem 0; }

/* index specifics — cards on slate, storefront-tile feel */
.hero { padding-top: 1rem; }
.wares { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.ware {
  background: var(--slate);
  border: 1px solid var(--line-soft);
  padding: 1.15rem 1.1rem 1.25rem;
}
.ware b {
  font-family: var(--mono); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow);
  display: block; margin-bottom: 0.45rem;
}
.ware p { font-size: 0.95rem; line-height: 1.5; }

/* CTA — the storefront button: pink block, white 900 mono, hard cyan shadow */
.cta {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pink);
  border: 1px solid color-mix(in srgb, var(--red) 70%, #fff);
  box-shadow: 2.5px 2.5px 0 0 color-mix(in srgb, var(--cyan) 70%, transparent);
  padding: 0.65rem 1.3rem;
  text-decoration: none;
  margin-top: 0.9rem;
}
.cta:hover { color: #fff; transform: translate(1px, 1px); box-shadow: 1.5px 1.5px 0 0 color-mix(in srgb, var(--cyan) 70%, transparent); }

.note-card {
  background: var(--slate);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 1.1rem 1.3rem 1.3rem;
  margin: 2.2rem 0;
}
.note-card b {
  font-family: var(--mono); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow);
  display: block; margin-bottom: 0.45rem;
}

/* policy tables */
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.8rem 0.55rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-family: var(--mono); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }

.updated { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 52%, var(--ink)); margin-top: 0.5rem; }

/* footer — storefront: black, Bodoni links, mono legal */
footer {
  background: #000;
  border-top: 1px solid var(--line-soft);
  padding: 1.8rem 0 2.4rem;
  font-size: 0.9rem;
}
footer .frame { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; max-width: 62rem; }
footer .brand-col { display: flex; flex-direction: column; gap: 0.8rem; }
footer .brand-col img { height: 34px; width: auto; opacity: 0.92; }
footer .legal { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 55%, var(--ink)); line-height: 1.9; }
footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
footer nav a { font-family: var(--display); font-size: 0.95rem; color: color-mix(in srgb, var(--paper) 74%, transparent); text-decoration: none; width: fit-content; }
footer nav a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--red); }

@media (max-width: 480px) {
  main { padding-top: 2.2rem; }
  .logo img { height: 36px; }
}
