/* SEVENTY3 — deliberately closer to an instrument spec sheet than a SaaS landing page.
   Ham operators respond to numbers and plain statements, not gradient blobs. */

:root {
  color-scheme: dark light;

  --ink: #e9efec;
  --ink-dim: #9aa5a0;
  --ink-faint: #7d8882;
  --bg: #0b0e11;
  --panel: #12161a;
  --line: #222a30;
  --accent: #47e582;
  --accent-ink: #06120a;

  --measure: 62ch;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  --sans: ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: ui-serif, "New York", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --ink: #10161a;
    --ink-dim: #4a5a54;
    --ink-faint: #68766f;
    --bg: #fbfcfb;
    --panel: #f1f4f2;
    --line: #dde4e0;
    --accent: #12833f;
    --accent-ink: #ffffff;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

main, .masthead, footer {
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---- masthead ---- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}
.wordmark svg { color: var(--accent); flex: none; }

.masthead nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}
.masthead nav a { color: var(--ink-dim); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }

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

.hero { padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: var(--ink-dim);
  max-width: var(--measure);
  margin: 0 0 1.75rem;
}
.lede strong { color: var(--ink); font-weight: 600; }

/* The number is only an asset if it is explained once, near the top. */
.seventythree {
  max-width: 52ch;
  margin: 0 0 1.5rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent);
  color: var(--ink-dim);
  font-size: 1rem;
}
.seventythree strong {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink-dim);
}
.status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* Spec strip. The numbers are the pitch. */
.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px;
  margin: 2.75rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.spec > div { background: var(--bg); padding: 1.1rem 1.25rem; }
.spec dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
}
.spec dd {
  margin: 0.3rem 0 0;
  font-family: var(--mono);
  font-size: 1.35rem;
  color: var(--ink);
}

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

section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  max-width: 26ch;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0 0 0.4rem;
}

p { max-width: var(--measure); }

.sub { color: var(--ink-dim); margin-top: -0.4rem; }
.note { color: var(--ink-faint); font-size: 0.92rem; }

.callout p { color: var(--ink-dim); }

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 1rem;
  font-size: 0.95rem;
}
caption {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
  padding-bottom: 0.7rem;
}
th, td {
  text-align: left;
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  font-weight: 600;
}
tbody th { font-weight: 600; white-space: nowrap; }
tbody td { font-family: var(--mono); color: var(--ink-dim); }

.free {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: 0.12em;
}

/* Tables are the one thing that must scroll rather than squash. */
.callout { overflow-x: auto; }

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

.shot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2rem;
}
.shot-row figure { margin: 0; }
.shot-row img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #000;
  display: block;
}
figcaption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
}

/* ---- what it does ---- */

.rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border-block: 1px solid var(--line);
}
/* Uniform padding. Zeroing the left inset on nth-child(odd) lines up in two
   columns and scrambles in three, which is what the grid actually collapses to. */
.rows > div { background: var(--bg); padding: 1.6rem 1.5rem; }
.rows p { color: var(--ink-dim); margin: 0; font-size: 0.97rem; }

/* ---- price ---- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.tier {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem;
  background: var(--panel);
}
.tier p { margin: 0; color: var(--ink-dim); font-size: 0.97rem; }
.amount {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--ink) !important;
  margin: 0.4rem 0 0.9rem !important;
}
.amount span { font-size: 0.9rem; color: var(--ink-faint); }

/* ---- faq ---- */

details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink-dim); margin: 0.8rem 0 0.2rem; }

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

footer {
  padding-block: 2.5rem 3.5rem;
  border-top: 1px solid var(--line);
}
.disclaimer {
  color: var(--ink-dim);
  font-size: 0.9rem;
  max-width: var(--measure);
}
.meta { color: var(--ink-faint); font-size: 0.86rem; }
.meta a { color: var(--ink-dim); }

/* ---- prose pages ---- */

.prose { padding-block: clamp(2rem, 5vw, 3.5rem); }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: none; }
.prose h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--ink-dim); max-width: var(--measure); }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }

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