/* Mixchief — landing page styles */

@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0A0A0C;
  --paper: #F5F4F0;
  --white: #FFFFFF;
  --magenta: #E0489B;      /* brand pink: big text, buttons, chart */
  --magenta-text: #C2186B; /* deeper pink: small text on light backgrounds */
  --body: #2B2B29;
  --muted: #4A4A46;
  --display: "Archivo", "Arial Black", sans-serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
img, svg { display: block; }
a { color: var(--magenta-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pink { color: var(--magenta); }
.nowrap { white-space: nowrap; }

.eyebrow { font-family: var(--mono); font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--magenta-text); margin: 0; }

/* Header */
.site-header { padding-top: 32px; }
.site-header img { height: clamp(40px, 5vw, 64px); width: auto; max-width: 100%; }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero .eyebrow { font-size: 19px; }
h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6.4vw, 88px); line-height: 0.95; letter-spacing: -2px; }
.lede { margin: 0; font-size: 20px; line-height: 1.55; max-width: 520px; color: var(--body); }
.note { margin: 0; font-size: 18px; color: var(--muted); max-width: 520px; }

/* Signup form */
.signup { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; width: 100%; }
.signup input[type="email"] { flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 20px; font: inherit; font-size: 17px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); }
.signup input::placeholder { color: #6B6B66; }
.signup button { height: 56px; padding: 0 28px; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.5px; border: 0; border-radius: 999px; background: var(--magenta); color: var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease; }
.signup button:hover { background: #EA63AC; transform: translateY(-1px); }
.signup button[disabled] { opacity: .6; cursor: wait; transform: none; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { flex-basis: 100%; margin: 4px 0 0; font-size: 16px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #1F7A3E; }
.form-status.err { color: #B3261E; }

/* Set chart */
.set-card { flex: 1 1 420px; min-width: 0; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 24px; }
.set-meta, .set-phases { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #B8B8B2; }
.set-phases { border-top: 1px solid #333331; padding-top: 16px; }
.set-phases .on { color: var(--paper); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 240px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.bar i { display: block; border-radius: 8px; background: #3A3A38; }
.bar.mid i { background: #555552; }
.bar.peak i { background: var(--magenta); }
.bar span { font-family: var(--mono); font-size: 12px; text-align: center; color: #B8B8B2; }
.bar.peak span { color: var(--paper); }

/* Features */
.features { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.features .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
h2 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -1px; line-height: 1; }
.features h2 { font-size: clamp(34px, 4vw, 52px); max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 2px solid var(--ink); border-radius: 24px; }
.card-num { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: 3px; color: var(--magenta-text); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.card p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); }

/* Story */
.story { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.story .eyebrow { flex: 1 1 360px; font-size: 13px; }
.story-body { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.story-quote { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.5px; }
.story-body p:not(.story-quote) { margin: 0; font-size: 19px; line-height: 1.6; color: var(--body); }
.signoff { margin: 0; font-family: var(--mono); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }

/* Closing call to action */
.cta { background: var(--ink); color: var(--paper); }
.cta .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta .eyebrow { font-size: 13px; color: var(--magenta); }
.cta h2 { font-size: clamp(40px, 5.5vw, 76px); line-height: 0.95; letter-spacing: -2px; }
.cta .lede { color: #D9D9D4; max-width: 560px; font-size: 19px; }
.cta .signup { justify-content: center; max-width: 560px; }
.cta .signup input[type="email"] { background: var(--ink); color: var(--paper); border-color: var(--paper); }
.cta .signup input::placeholder { color: #9A9A94; }
.cta .form-status.ok { color: #7EDC9A; }
.cta .form-status.err { color: #FF8A80; }
.consent { margin: 0; font-size: 14px; line-height: 1.5; max-width: 520px; color: #B8B8B2; }
.consent a { color: var(--paper); }
.consent a:hover { color: var(--magenta); }

/* Footer */
.site-footer { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Privacy page */
.legal { padding-top: 56px; padding-bottom: 96px; max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; letter-spacing: -0.3px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--body); }
.legal .updated { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

@media (max-width: 520px) {
  .hero { padding-top: 48px; padding-bottom: 72px; gap: 40px; }
  .hero .eyebrow { font-size: 15px; letter-spacing: 3px; }
  .set-card { padding: 28px 20px 22px; }
  .bars { gap: 6px; height: 200px; }
  .set-meta, .set-phases { font-size: 11px; letter-spacing: 1px; }
  .features .wrap { padding-top: 72px; padding-bottom: 72px; }
  .story, .cta .wrap { padding-top: 80px; padding-bottom: 80px; }
  .signup button { flex: 1 1 100%; }
}
