:root {
  --navy: #14213d;
  --navy-soft: #24365e;
  --orange: #fca311;
  --ink: #1b1f2a;
  --muted: #545b6b;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --radius: 12px;
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

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

/* Header */

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

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand-llc {
  font-weight: 600;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(252 163 17 / 0.35);
}

.btn:focus-visible,
.brand:focus-visible,
.contact-email:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn-small {
  padding: 0.5em 1.1em;
  font-size: 0.95rem;
}

/* Hero */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 88px 0 96px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  letter-spacing: -0.02em;
  max-width: 14em;
}

.lede {
  font-size: 1.2rem;
  color: #d5dbe8;
  max-width: 36em;
  margin-bottom: 1.8em;
}

/* Sections */

.services,
.steps,
.contact {
  padding: 80px 0;
}

.services h2,
.steps h2,
.contact h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 1.2em;
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--bg);
}

.service h3 {
  color: var(--navy);
  font-size: 1.2rem;
}

.service p {
  color: var(--muted);
  margin: 0;
}

.icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--navy);
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  background: var(--bg-alt);
}

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

.step-list li {
  counter-increment: step;
}

.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
}

.step-list h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.step-list p {
  color: var(--muted);
  margin: 0;
}

.contact {
  text-align: center;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--navy-soft);
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #aab3c5;
  font-size: 0.9rem;
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: #d5dbe8;
}

.footer-links a:hover {
  color: #fff;
}

/* Text pages: privacy, terms, text messages */

.page {
  padding: 56px 0 80px;
}

.prose {
  max-width: 760px;
}

.prose h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.prose h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 1.8em;
}

.prose ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--navy-soft);
}

.prose a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

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

/* The opt-in form, shown as a picture of the sign-up step */

.optin-demo {
  margin: 28px 0;
}

.optin-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 24px;
}

.optin-title {
  font-weight: 700;
  color: var(--navy);
}

.optin-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.optin-input {
  width: 100%;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid #c4c9d4;
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.optin-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 20px;
  font-size: 0.92rem;
}

.optin-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
}

.optin-button {
  cursor: default;
}

.optin-button:hover {
  transform: none;
  box-shadow: none;
}

.optin-demo figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.prose .sample-list {
  padding-left: 0;
  list-style: none;
}

.sample-list li {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
