/* ===== Tokens ===== */
:root {
  --bg: #121210;
  --surface: #1B1A17;
  --fill: #26241F;
  --line: #2E2C27;
  --dash: #4A473F;
  --ink: #F2EFE7;
  --body: #BDB8AC;
  --muted: #9C978A;
  --accent: #7B8FFF;   /* try #FF7A45 or #3FBF7A */
  --ok: #3FBF7A;
  --progress: 25%;     /* match the number in index.html */

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg { display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Page frame ===== */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 72px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== Header ===== */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.monogram {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 22px;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.brand-role { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.status {
  margin: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status-short { display: none; }

/* ===== Hero ===== */
.hero {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.kicker { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 6.7vw, 96px);
  line-height: .98; letter-spacing: -.02em;
}
h1 em { color: var(--accent); }
.lede { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--body); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-secondary { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; color: var(--body); }
.email { font-family: var(--mono); color: var(--ink); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 14px; cursor: pointer;
}
.copy-btn:hover { border-color: var(--dash); }
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Progress ===== */
.progress { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.progress-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.progress-track { height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.progress-fill { height: 100%; width: var(--progress); background: var(--accent); border-radius: 999px; }
.progress-inline { display: none; }

/* ===== Wireframe mock ===== */
.mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.55);
}
.mock-chrome { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--fill); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-url {
  margin-left: 12px; flex-grow: 1; height: 26px; border-radius: 6px;
  background: var(--bg); display: flex; align-items: center; padding: 0 12px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.mock-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.mock-nav { display: flex; justify-content: space-between; }
.mock-links { display: flex; gap: 12px; }
.bar { display: block; width: 48px; height: 14px; border-radius: 4px; background: var(--fill); }
.mock-hero {
  height: 150px; border: 1.5px dashed var(--accent); border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { height: 96px; border-radius: 8px; border: 1.5px dashed var(--dash); }
.tile.filled { border: 0; background: var(--fill); }
.mock-lines { display: flex; flex-direction: column; gap: 8px; }
.line { display: block; height: 10px; border-radius: 4px; background: var(--fill); }
.cursor { position: absolute; right: 36px; top: 168px; display: flex; align-items: flex-start; gap: 4px; }
.cursor svg { width: 22px; height: 22px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.2; }
.cursor span { margin-top: 16px; padding: 4px 10px; border-radius: 6px; background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: drift 6s ease-in-out infinite; }
  @keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-28px, 18px); }
  }
}

/* ===== Footer ===== */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer a { text-decoration: none; font-weight: 500; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .page { padding: 40px 40px; }
  .hero { gap: 48px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .mock { display: none; }
  .progress-inline { display: flex; }
}
@media (max-width: 560px) {
  .page { padding: 28px 24px; gap: 28px; }
  .monogram { width: 40px; height: 40px; font-size: 20px; }
  .brand-name { font-size: 15px; }
  .brand-role { font-size: 11px; }
  .status { padding: 8px 12px; font-size: 12px; gap: 8px; }
  .status-long { display: none; }
  .status-short { display: inline; }
  .hero-copy { gap: 22px; }
  .kicker { font-size: 12px; }
  .lede { font-size: 16px; }
  .actions { flex-direction: column; gap: 12px; }
  .btn { width: 100%; }
  .copy-row { justify-content: space-between; font-size: 14px; }
  .copy-or { display: none; }
  .progress-meta { font-size: 11px; }
  .site-footer { flex-direction: column-reverse; align-items: flex-start; gap: 12px; padding-top: 18px; font-size: 13px; }
  .site-footer nav { gap: 22px; }
}
