:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --accent: #f15a24;
  --accent-dark: #c2410c;
  --deep: #172033;
  --soft: #fff3ed;
  --green: #167044;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 24px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  margin-top: 14px;
  font-size: clamp(42px, 8vw, 68px);
  letter-spacing: -1px;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--deep);
}

.button.ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 18px;
}

.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 48px 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.06);
}

.tool-card {
  min-height: 220px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.1);
}

.tool-card h2 {
  margin-top: 16px;
  font-size: 24px;
}

.tool-card p,
.card p {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 900;
}

.tool-page {
  padding: 38px 0 56px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.12);
}

.span-2 {
  grid-column: span 2;
}

.starter {
  margin-bottom: 20px;
  border-color: #fed7aa;
  background: var(--soft);
}

.starter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.snapshot {
  display: none;
}

.snapshot.visible {
  display: grid;
  gap: 18px;
}

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

.metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.teaser-list {
  margin: 12px 0 0;
  padding-left: 22px;
  line-height: 1.8;
}

.optin {
  border-color: #fed7aa;
  background: #fffaf7;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.page-card {
  max-width: 820px;
  margin: 52px auto;
  text-align: center;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfa;
  padding: 18px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  font-weight: 900;
}

.inbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.inbox-grid a {
  display: grid;
  gap: 10px;
  place-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 18px;
  font-weight: 900;
}

.footer-inner {
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

  .tool-grid,
  .two-col,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 42px 0;
  }

  .field-grid,
  .starter-row,
  .inbox-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }

  .card {
    padding: 18px;
  }
}
