:root {
  color: #101827;
  background: #f6f5f1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f5f1;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid #e2e5ea;
  background: rgba(246, 245, 241, 0.94);
}

.nav,
.section,
.footer-inner {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.section {
  padding: 44px 0;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.lead {
  max-width: 740px;
  color: #374151;
  font-size: 20px;
}

.muted {
  color: #6b7280;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #101827;
  border-radius: 8px;
  padding: 10px 16px;
  background: #101827;
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: #101827;
}

.panel,
.card {
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  background: #ffffff;
}

.panel {
  padding: 24px;
  box-shadow: 0 20px 45px rgba(16, 24, 39, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 20px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e8f2ee;
  color: #0f5132;
  font-size: 12px;
  font-weight: 850;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  border-bottom: 1px solid #edf0f4;
  padding-bottom: 12px;
}

.list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.formula {
  overflow-x: auto;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  padding: 18px;
  background: #101827;
  color: #f9fafb;
  font-size: 14px;
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid #e2e5ea;
  padding: 26px 0;
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

.screenshot-body {
  width: 1280px;
  min-width: 1280px;
  height: 800px;
  overflow: hidden;
  background: #f6f5f1;
}

.shot {
  width: 1280px;
  height: 800px;
  padding: 44px 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 245, 241, 0.88)),
    #f6f5f1;
}

.shot-shell {
  display: grid;
  grid-template-columns: 465px 1fr;
  gap: 34px;
  height: 100%;
}

.shot-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shot-copy h1 {
  max-width: 520px;
  font-size: 56px;
  line-height: 1.03;
}

.shot-copy .lead {
  max-width: 520px;
  font-size: 24px;
}

.shot-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.shot-pill {
  border: 1px solid #d7dbe3;
  border-radius: 999px;
  padding: 8px 12px;
  background: #ffffff;
  color: #374151;
  font-size: 16px;
  font-weight: 850;
}

.extension-frame {
  align-self: center;
  border: 1px solid #e2e5ea;
  border-radius: 28px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(16, 24, 39, 0.14);
}

.extension-header {
  border: 1px solid #e2e5ea;
  border-radius: 18px;
  padding: 20px;
  background: #ffffff;
}

.extension-header h2 {
  margin-bottom: 6px;
  font-size: 34px;
}

.extension-header p {
  margin-bottom: 0;
  color: #4b5563;
  font-size: 18px;
}

.mini-eyebrow {
  margin-bottom: 6px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid #e2e5ea;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
}

.mock-field {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 16px;
  font-weight: 850;
}

.mock-input {
  height: 48px;
  border: 1px solid #d3d8e1;
  border-radius: 14px;
  background: #fafafa;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-button {
  border-radius: 14px;
  padding: 14px;
  background: #101827;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.empty-box {
  margin-top: 18px;
  border: 1px dashed #cfd5df;
  border-radius: 18px;
  padding: 24px;
  background: #fbfbfa;
  color: #6b7280;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.ranking-board {
  display: grid;
  gap: 14px;
}

.rank-card {
  border: 1px solid #e2e5ea;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.08);
}

.rank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.rank-top h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.rank-badge {
  border-radius: 999px;
  padding: 7px 12px;
  background: #e8f2ee;
  color: #0f5132;
  font-size: 14px;
  font-weight: 950;
}

.rank-badge.testable {
  background: #fff7db;
  color: #854d0e;
}

.rank-badge.risky {
  background: #fff0e6;
  color: #9a3412;
}

.rank-badge.loss {
  background: #fee2e2;
  color: #991b1b;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-tile {
  border: 1px solid #edf0f4;
  border-radius: 14px;
  padding: 12px;
  background: #fbfbfa;
}

.metric-tile span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 850;
}

.metric-tile strong {
  display: block;
  margin-top: 3px;
  font-size: 24px;
}

.big-result {
  border: 1px solid #e2e5ea;
  border-radius: 28px;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(16, 24, 39, 0.14);
}

.big-result h2 {
  font-size: 36px;
}

.big-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.big-metric {
  border: 1px solid #e2e5ea;
  border-radius: 20px;
  padding: 20px;
  background: #fbfbfa;
}

.big-metric span {
  display: block;
  color: #6b7280;
  font-size: 17px;
  font-weight: 850;
}

.big-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 40px;
  line-height: 1;
}

.local-card {
  margin-top: 18px;
  border-radius: 18px;
  padding: 18px;
  background: #101827;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}
