/* The Smoko Report — generated from tokens.json */
:root {
  --paper: #f5efe3;
  --paper-raised: #fffaf0;
  --tea: #e8d9bd;
  --ink: #1f1a15;
  --ink-muted: #5f5548;
  --rule: #d8ccb8;
  --rule-strong: #857866;
  --forest: #24513a;
  --on-forest: #ffffff;
  --ocean: #1d5a7a;
  --on-ocean: #ffffff;
  --font-display: Ubuntu, system-ui, sans-serif;
  --font-sans: Ubuntu, system-ui, sans-serif;
  --font-mono: "Ubuntu Mono", ui-monospace, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
}
/* Dark theme: optional. The landing page ships light only. */
[data-theme="dark"] {
  --paper: #16130f;
  --paper-raised: #211d18;
  --tea: #3b3226;
  --ink: #f3ece0;
  --ink-muted: #b5aa99;
  --rule: #3d352b;
  --rule-strong: #7a6e5e;
  --forest: #7fb68f;
  --on-forest: #16130f;
  --ocean: #74b6dc;
  --on-ocean: #16130f;
}

/* The Smoko Report: landing page styles. Built on brand/tokens.css (prepended at build). */

@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ubuntu-400.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ubuntu-500.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ubuntu-700.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ubuntu-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ubuntu-mono-700.woff2") format("woff2"); }

/* Base */
:root { --field: #ffffff; } /* input fill: one step brighter than paper-raised; no token */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
}
a { color: var(--ocean); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.honeypot { position: absolute; left: -9999px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: var(--space-6) var(--space-3); }
/* The 1080px column is content width; gutters sit outside it, as in the approved design. */
.wrap, .masthead__inner, .footer__inner { box-sizing: content-box; }

/* Type styles (tokens.json) */
.display-xl { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.05; }
.heading { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 30px; }
.lead { font-size: 20px; line-height: 30px; }
.small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.data { font-family: var(--font-mono); font-size: 15px; line-height: 20px; font-variant-numeric: tabular-nums; }

/* Masthead */
.masthead { background: var(--forest); color: var(--on-forest); }
.masthead__inner {
  max-width: 1080px; margin: 0 auto; padding: 14px var(--space-3);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4);
}
.masthead a { color: var(--on-forest); }
.masthead a:focus-visible { outline-color: var(--on-forest); }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup svg { width: 48px; height: 48px; flex: 0 0 auto; }
.lockup__text { display: flex; flex-direction: column; }
.lockup__name { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 28px; letter-spacing: -0.01em; }
.lockup__edition { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); font-size: 15px; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-4);
  border-radius: var(--radius-md); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--forest); color: var(--on-forest); border: 0; }
.btn--primary:hover { background: var(--ink); color: var(--paper); }
.btn--outline { padding: 0 20px; border: 1px solid var(--rule-strong); color: var(--ink); font-weight: 500; }
.btn:disabled { background: var(--paper-raised); color: var(--ink-muted); border: 1px solid var(--rule); cursor: default; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: flex-start; }
.hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.hero__copy .lead { max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Sample digest: the consent row */
.digest {
  flex: 1 1 460px; min-width: 0; background: var(--paper-raised);
  border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
}
.digest__head {
  background: var(--ink); color: var(--paper); padding: var(--space-3) var(--space-4);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-1) var(--space-3);
}
.digest__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 28px; }
.digest__date { font-family: var(--font-mono); font-size: 14px; line-height: 20px; }
.digest__cols, .row {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) 88px; column-gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.digest__cols { padding-block: var(--space-2); background: var(--tea); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.digest__cols span:last-child { text-align: right; }
.digest__rows { margin: 0; padding: 0; list-style: none; }
.row { align-items: start; border-top: 1px solid var(--rule); }
.row > * { min-width: 0; }
.row__work { font-size: 16px; line-height: 24px; }
.row__place { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.row__figures { text-align: right; font-family: var(--font-mono); font-size: 15px; line-height: 24px; font-variant-numeric: tabular-nums; }
.row__value { color: var(--ocean); font-weight: 700; }
.row__number { color: var(--ink-muted); line-height: 20px; }

.tag {
  display: block; margin-top: var(--space-1); padding: 2px var(--space-1);
  border: 1px solid; border-radius: var(--radius-sm);
  font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tag--bc { border-color: var(--ocean); background: var(--ocean); color: var(--on-ocean); }
.tag--rm { border-color: var(--forest); background: var(--paper-raised); color: var(--forest); }
.swatch { display: inline-block; width: 16px; height: 10px; border: 1px solid; border-radius: var(--radius-sm); }
.swatch--bc { border-color: var(--ocean); background: var(--ocean); }
.swatch--rm { border-color: var(--forest); background: var(--paper-raised); }

.digest__key {
  padding: var(--space-2) var(--space-4); background: var(--tea); border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-3);
  font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em;
}
.digest__legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; }
.digest__legend > span { display: flex; align-items: center; gap: 6px; }
.digest__foot { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--rule); }

/* How it works */
.band { background: var(--paper-raised); border-block: 1px solid var(--rule); }
.stack { display: flex; flex-direction: column; gap: var(--space-5); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.steps li { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.steps__num { font-family: var(--font-mono); font-size: 15px; color: var(--ocean); }

/* Trades and benefits */
.split { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.split__col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { padding: 6px 10px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); }
.ruled { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.ruled li { padding: 12px 0; border-top: 1px solid var(--rule); }

/* Pricing */
.pricing { background: var(--ink); color: var(--paper); }
.pricing a:focus-visible { outline-color: var(--paper); }
.pricing__inner { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: flex-start; }
.pricing__inner h2 { flex: 1 1 300px; }
.pricing__body { flex: 2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.pricing__note { color: #d6cbbb; }

/* Sign-up */
.signup { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.signup__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.panel {
  flex: 1 1 480px; min-width: 0; background: var(--paper-raised);
  border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field input, .field select {
  min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius-md);
  background: var(--field); font: inherit; color: var(--ink); width: 100%;
}
.areas { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.areas legend { padding: 0; margin-bottom: var(--space-2); }
.areas__opts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.check { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.check input, .consent-box input { width: 20px; height: 20px; accent-color: var(--forest); }
.consent-box {
  display: flex; align-items: flex-start; gap: 12px; padding: var(--space-3);
  background: var(--tea); border-radius: var(--radius-md); font-size: 15px; line-height: 22px;
}
.consent-box input { flex: 0 0 auto; margin: 1px 0 0; }
.panel .btn { align-self: flex-start; }
.form-status:empty { display: none; }
.form-status { padding: 12px var(--space-3); border: 1px solid var(--ink); border-radius: var(--radius-md); background: var(--paper); }
.form-done { display: flex; flex-direction: column; gap: var(--space-2); }

/* Footer */
.footer { border-top: 1px solid var(--rule); }
.footer__inner {
  max-width: 1080px; margin: 0 auto; padding: var(--space-4) var(--space-3) var(--space-5);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4);
  font-size: 14px; line-height: 20px; color: var(--ink-muted);
}
.footer__links { display: flex; gap: var(--space-3); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__inner > span:first-child { padding-block: 12px; }

/* Text pages: privacy, confirm, unsubscribe */
.prose { max-width: 42em; display: flex; flex-direction: column; gap: var(--space-3); }
.prose h2 { margin-top: var(--space-3); }
.prose ul { margin: 0; padding-left: 1.2em; }
.prose form { margin-top: var(--space-2); }

/* Phones: the three-column consent row leaves the work column too narrow,
   so each row becomes tag and figures on one line, work and place below. */
@media (max-width: 560px) {
  .wrap { padding-block: var(--space-5); }
  .display { font-size: 32px; line-height: 1.1; }
  .panel { padding: var(--space-3); }

  .digest__head, .digest__key, .digest__foot { padding-inline: var(--space-3); }
  .digest__cols { display: none; }
  .row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "trade figures" "body body";
    row-gap: var(--space-2); padding: var(--space-3);
  }
  .row__trade { grid-area: trade; }
  .row__trade .tag { display: inline-block; margin-top: 0; max-width: 100%; }
  .row__body { grid-area: body; }
  .row__figures {
    grid-area: figures; display: flex; flex-wrap: wrap; justify-content: flex-end;
    align-items: baseline; gap: 0 var(--space-2);
  }
}
