/* dP Relay marketing site — plain CSS, no framework, no build step. */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #16202c;
  --muted: #55627a;
  --accent: #0b6bcb;
  --accent-ink: #ffffff;
  --line: #dde3ec;
  --ok-bg: #eaf4ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent);
}

code {
  background: var(--ok-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  background: #0f1722;
  color: #e7edf6;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

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

.site-header .wrap,
.site-footer .wrap,
main.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}

nav[aria-label="Main"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

nav[aria-label="Main"] a {
  text-decoration: none;
  color: var(--muted);
}

nav[aria-label="Main"] a:hover,
nav[aria-label="Main"] a[aria-current="page"] {
  color: var(--accent);
}

nav[aria-label="Main"] a.cta {
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
}

main.wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.5rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.35rem;
}

.muted,
.tagline {
  color: var(--muted);
}

.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  text-align: center;
}

.hero .price {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.3rem;
}

.button.secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.guide-steps {
  padding-left: 1.25rem;
}

.guide-steps li {
  margin-bottom: 0.35rem;
}

.big-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.6rem;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--ok-bg);
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
