/* Belmaix coming-soon page. Ported from the approved desktop (1440) and mobile (390) canvas boards. */

@font-face { font-family: "Michroma"; src: url("/fonts/michroma-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --steel-950: #0B0C0E;
  --surface: #14161A;
  --line: #23272D;
  --line-strong: #2A2E35;
  --field-border: #3A3F47;
  --text-strong: #F2F3F5;
  --text: #C3C8CF;
  --text-label: #D4D7DC;
  --text-muted: #8E959F;
  --text-placeholder: #767D87;
  --emerald-400: #22C97A;
  --emerald-300: #5FDDA0;
  --status-exposed: #F07470;
  --font-display: "Michroma", "Public Sans", sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad-x: 24px;
  color-scheme: dark;
}

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

html, body { margin: 0; background: var(--steel-950); }

body {
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--emerald-400); }
a:hover { color: var(--emerald-300); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--emerald-400); outline-offset: 2px; }

.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

/* Header */
.site-header {
  height: 56px;
  flex-shrink: 0;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text-strong); text-decoration: none; }
.brand:hover { color: var(--text-strong); }
/* The logo PNG sits on pure black; lighten lets the page's near-black show through the square. */
.brand img { width: 28px; height: 28px; mix-blend-mode: lighten; }
.wordmark { font-family: var(--font-display); font-size: 15px; line-height: 1; letter-spacing: 0.28em; }
.tagline { display: none; margin: 0; font-family: var(--font-display); font-size: 11px; line-height: 1.2; letter-spacing: 0.28em; color: var(--text-muted); }

/* Hero */
.hero {
  flex-grow: 1;
  padding: 40px var(--pad-x) 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.intro { display: flex; flex-direction: column; gap: 20px; }
.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}
.eyebrow .rule { width: 28px; height: 2px; background: var(--emerald-400); flex: none; }
h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
}
.lede { margin: 0; max-width: 600px; font-size: 16px; line-height: 1.5; color: var(--text); }

/* Sign-up card: the one chamfered hero card on the page */
.signup {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.signup-head { display: flex; flex-direction: column; gap: 8px; }
.signup h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--text-strong); }
.signup-head p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.signup-form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--text-label); }
.field input {
  height: 48px;
  width: 100%;
  padding: 0 14px;
  background: var(--steel-950);
  border: 1px solid var(--field-border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-strong);
}
.field input::placeholder { color: var(--text-placeholder); }
.field input:focus { outline: 2px solid var(--emerald-400); outline-offset: 0; border-color: var(--text-strong); }
.field input:disabled { opacity: 0.6; }
.signup-form button {
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--emerald-400);
  border-radius: 4px;
  background: var(--emerald-400);
  color: var(--steel-950);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 100ms cubic-bezier(.2,0,0,1), border-color 100ms cubic-bezier(.2,0,0,1);
}
.signup-form button:hover { background: var(--emerald-300); border-color: var(--emerald-300); }
.signup-form button:disabled { cursor: default; opacity: 0.6; }
.status { margin: 0; min-height: 0; font-size: 14px; line-height: 1.5; }
.status:empty { display: none; }
.status[data-tone="success"] { color: var(--emerald-400); }
.status[data-tone="error"] { color: var(--status-exposed); }

/* Honeypot: hidden from people and assistive tech, visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Principles */
.principles {
  flex-shrink: 0;
  padding: 40px var(--pad-x);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.principles div { display: flex; flex-direction: column; gap: 6px; max-width: 360px; }
.principles h3 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--text-strong); }
.principles p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* Footer */
.site-footer {
  flex-shrink: 0;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}
.footer-tagline { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.28em; }

/* Simple message pages (thanks, errors, 404) */
.message { flex-grow: 1; padding: 64px var(--pad-x); display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.message p { margin: 0; font-size: 16px; line-height: 1.5; }

/* Desktop */
@media (min-width: 1024px) {
  :root { --pad-x: 64px; }
  .site-header { height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .wordmark { font-size: 18px; }
  .tagline { display: block; }
  .hero { flex-direction: row; align-items: center; justify-content: space-between; gap: 96px; padding-top: 48px; padding-bottom: 48px; }
  .intro { gap: 28px; max-width: 760px; }
  h1 { font-size: clamp(48px, 3.2vw + 18px, 64px); line-height: 1.04; }
  .lede { font-size: 18px; line-height: 1.55; }
  .signup { width: 440px; flex-shrink: 0; padding: 32px; gap: 24px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
  .signup h2 { font-size: 20px; }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .principles div { gap: 8px; }
  .site-footer { height: 64px; padding-top: 0; padding-bottom: 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-tagline { display: none; }
  .message { padding-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
