/* Equipment Origin Review — local, offline-safe. System fonts only. */

:root {
  --bg: #0b1018;
  --bg-alt: #101722;
  --surface: #141b26;
  --surface-2: #1a2330;
  --border: #2a3344;
  --text: #f2f4f7;
  --muted: #9aa3b2;
  --gold: #e8c36a;
  --gold-ink: #1a1508;
  --keep: #5cb88a;
  --keep-bg: rgba(92, 184, 138, 0.12);
  --watch: #e8c36a;
  --watch-bg: rgba(232, 195, 106, 0.12);
  --replace: #e06b5c;
  --replace-bg: rgba(224, 107, 92, 0.12);
  --header-h: 4.25rem;
  --wrap: 70rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --radius: 0.75rem;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f3d790;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--gold-ink);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  flex: none;
}

.logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(232, 195, 106, 0.07), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.lede {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-primary:hover {
  background: #f3d790;
  color: var(--gold-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}

/* Memo card */

.memo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.25rem;
}

.memo-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.memo-label {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.memo-rule {
  color: var(--muted);
  font-size: 0.8125rem;
}

.verdicts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.verdicts li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.stamp {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.1rem;
  padding: 0.28rem 0.6rem;
  border-radius: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stamp-keep {
  color: var(--keep);
  background: var(--keep-bg);
  box-shadow: inset 0 0 0 1px rgba(92, 184, 138, 0.4);
}

.stamp-watch {
  color: var(--watch);
  background: var(--watch-bg);
  box-shadow: inset 0 0 0 1px rgba(232, 195, 106, 0.4);
}

.stamp-replace {
  color: var(--replace);
  background: var(--replace-bg);
  box-shadow: inset 0 0 0 1px rgba(224, 107, 92, 0.45);
}

.verdict-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.memo-foot {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section h2 {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--watch-bg);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  margin-bottom: 0.5rem;
}

.steps p,
.card p,
.not-list p,
.pilot p,
.contact-copy p {
  color: var(--muted);
}

/* Cards */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.5rem;
}

.card-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.45rem;
}

/* Pilot */

.pilot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 2.25rem 2rem 2rem;
  display: grid;
  gap: 1.75rem;
  box-shadow: var(--shadow);
}

.pilot h2 {
  margin-bottom: 0.85rem;
  max-width: none;
}

.price {
  color: var(--gold);
}

.pilot-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fact {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact-value {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fact-label {
  color: var(--muted);
  font-size: 0.875rem;
}

.pilot .btn {
  justify-self: start;
}

/* What we are not */

.not-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.not-list li {
  display: flex;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.not-mark {
  flex: none;
  color: var(--replace);
  margin-top: 0.15rem;
}

.not-list h3 {
  margin-bottom: 0.4rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  font-style: normal;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card p + p {
  margin-top: 0.15rem;
}

.contact-name {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.contact-domain {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 1.75rem;
}

.site-footer p,
.footer-line {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  overflow-wrap: normal;
}


/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .steps,
  .not-list {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-grid {
    gap: 2.25rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.5rem, var(--wrap));
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    gap: 0.5rem;
  }

  .logo {
    width: 100%;
  }

  .logo-text {
    font-size: 0.92rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.45rem 0.9rem;
  }

  .site-nav a {
    font-size: 0.875rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .cards,
  .pilot-facts {
    grid-template-columns: 1fr;
  }

  .pilot {
    padding: 1.5rem 1.2rem 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pilot .btn {
    justify-self: stretch;
    width: 100%;
  }

  .memo-top {
    flex-direction: column;
    gap: 0.25rem;
  }

  .verdicts li {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
