/* mailSCW site styles. No frameworks, no webfonts, no third-party anything —
   the site keeps the same promise the app does. */

:root {
  --ink: #14161b;
  --ink-2: #1b1e25;
  --ink-3: #23272f;
  --line: #2f3540;
  --paper: #eceae5;
  --paper-dim: #a9a79f;
  --paper-faint: #7d7c76;
  --copper: #d08a3e;
  --copper-dim: #a86f31;
  --green: #7fa66a;
  --red: #b0655c;
  --wrap: 1080px;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Clear the sticky header when an anchor is jumped to. */
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 22, 27, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}
.brand {
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--paper);
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 24px; height: 24px; border-radius: 5px; }
header.site nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
header.site nav a { color: var(--paper-dim); font-size: 15px; }
header.site nav a:hover,
header.site nav a.here { color: var(--paper); text-decoration: none; }

/* ---------- hero ---------- */

.hero { padding: 92px 0 76px; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(38px, 6vw, 61px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 660;
  margin: 0 0 22px;
  max-width: 15ch;
}
.hero .lede {
  font-size: 21px;
  color: var(--paper-dim);
  max-width: 58ch;
  margin: 0 0 30px;
  line-height: 1.5;
}
.hero .lede strong { color: var(--paper); font-weight: 560; }
.platforms {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--paper-faint);
  letter-spacing: 0.04em;
}
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 26px; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 7px;
  font-size: 15.5px;
  font-weight: 560;
  border: 1px solid var(--copper-dim);
}
.btn.primary { background: var(--copper); color: #17130d; border-color: var(--copper); }
.btn.primary:hover { background: #e09949; text-decoration: none; }
.btn.ghost { color: var(--paper); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--paper-faint); text-decoration: none; }

/* ---------- sections ---------- */

section { padding: 78px 0; border-bottom: 1px solid var(--line); }
section.tight { padding: 56px 0; }
h2 {
  font-size: clamp(27px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 640;
  margin: 0 0 16px;
  max-width: 24ch;
}
h3 { font-size: 19px; letter-spacing: -0.012em; font-weight: 620; margin: 0 0 8px; }
h4 { font-size: 15px; font-weight: 620; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.sub { color: var(--paper-dim); max-width: 64ch; font-size: 18px; }
.small { font-size: 15px; color: var(--paper-dim); }
.footnote { font-size: 14.5px; color: var(--paper-faint); max-width: 72ch; }

/* ---------- grids and cards ---------- */

.grid { display: grid; gap: 20px; margin-top: 36px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 20px;
}
.card p:last-child { margin-bottom: 0; }
.card .small { color: var(--paper-dim); }
.card.accent { border-color: var(--copper-dim); }

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin: 0 0 10px;
}

/* ---------- lists ---------- */

ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li {
  padding: 7px 0 7px 20px;
  position: relative;
  color: var(--paper-dim);
  font-size: 15.5px;
  border-bottom: 1px solid rgba(47, 53, 64, 0.55);
}
ul.plain li:last-child { border-bottom: 0; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper-dim);
}
ul.plain li b { color: var(--paper); font-weight: 580; }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 15.5px;
  color: var(--paper-dim);
}
ul.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--green);
  font-size: 14px;
}

/* ---------- screenshots ---------- */

figure.shot { margin: 36px 0 0; }
figure.shot img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
}
figure.shot figcaption { font-size: 14px; color: var(--paper-faint); margin-top: 10px; }

/* ---------- table ---------- */

.table-scroll { overflow-x: auto; margin-top: 32px; }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14.5px; }
th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
thead th {
  color: var(--paper-faint);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tbody th {
  font-weight: 500;
  color: var(--paper-dim);
  white-space: normal;
  min-width: 250px;
}
td { color: var(--paper-faint); }
td.us { color: var(--paper); font-weight: 580; background: rgba(208, 138, 62, 0.07); }
thead th.us { color: var(--copper); background: rgba(208, 138, 62, 0.07); }
.yes { color: var(--green); }
.no { color: var(--red); }

/* ---------- wait list form ---------- */

.waitlist { display: flex; flex-direction: column; gap: 6px; }
.waitlist label { font-size: 14.5px; color: var(--paper-dim); margin-top: 8px; }
.waitlist label:first-child { margin-top: 0; }
.waitlist .optional { color: var(--paper-faint); }
.waitlist input,
.waitlist select {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px; /* below 16px, iOS zooms the page on focus */
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
}
.waitlist input:focus,
.waitlist select:focus { outline: 2px solid var(--copper-dim); outline-offset: 1px; border-color: var(--copper-dim); }
.waitlist button { margin: 16px 0 10px; align-self: flex-start; cursor: pointer; font-family: inherit; }
/* Off-screen rather than display:none, which some bots know to skip. */
/* The trap also carries this inline, so it stays hidden if this file is stale or missing. */
.waitlist .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- callout ---------- */

.callout {
  border-left: 3px solid var(--copper);
  padding: 4px 0 4px 20px;
  margin: 32px 0;
  color: var(--paper-dim);
  font-size: 18px;
  max-width: 68ch;
}
.callout strong { color: var(--paper); font-weight: 560; }

.leaves {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.leaves > div { background: var(--ink-2); padding: 20px; }
.leaves h4 { color: var(--paper); }
.leaves p { font-size: 14.5px; color: var(--paper-dim); margin: 0; }
.leaves > div.none { background: var(--ink-3); }
.leaves > div.none h4 { color: var(--paper-faint); }

/* ---------- footer ---------- */

footer.site { padding: 46px 0 60px; color: var(--paper-faint); font-size: 14.5px; }
footer.site .row { display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline; }
footer.site .spacer { margin-left: auto; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .g3, .g4, .leaves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .leaves { grid-template-columns: minmax(0, 1fr); }
  section { padding: 54px 0; }
  .hero { padding: 60px 0 52px; }
  header.site .wrap {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  header.site nav { margin-left: 0; width: 100%; gap: 16px; }
}
