:root {
  color-scheme: light dark;
  --bg: #fff7ed;
  --ink: #1c1917;
  --muted: #44403c;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --pop: #fb923c;
  --card: #ffffff;
  --line: #1c1917;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917;
    --ink: #fafaf9;
    --muted: #d6d3d1;
    --accent: #fb923c;
    --accent-ink: #1c1917;
    --pop: #fdba74;
    --card: #292524;
    --line: #fafaf9;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

.prose {
  max-width: 680px;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Header */

header {
  padding: 20px 0;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  min-height: 48px;
}

.brand-name {
  letter-spacing: -0.03em;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  transition: transform 0.12s, box-shadow 0.12s;
}

.primary-nav a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--line);
}

/* Layout */

main {
  padding: 36px 0 64px;
}

.prose h1 {
  font-size: clamp(30px, 6vw, 42px);
}

h1 {
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
  font-weight: 900;
}

h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--pop) 62%);
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 900;
}

h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.prose p,
.prose li {
  line-height: 1.75;
}

.lede {
  font-size: 20px;
  color: var(--muted);
  max-width: 34em;
  margin: 10px 0 26px;
}

/* Hero */

.hero {
  display: grid;
  gap: 40px;
  padding: 10px 0 56px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.sticker {
  display: inline-block;
  background: var(--pop);
  color: #1c1917;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 900;
  font-size: 22px;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--line);
  margin: 4px 0 24px;
}

.sticker small {
  display: block;
  font-weight: 600;
  font-size: 15px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  transition: transform 0.12s, box-shadow 0.12s;
  min-height: 48px;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--line);
}

/* Phone mock */

.phone {
  justify-self: center;
  width: 290px;
  min-height: 330px;
  border: 3px solid var(--line);
  border-radius: 38px;
  padding: 40px 16px 24px;
  margin: 0;
  background: var(--card);
  box-shadow: 8px 8px 0 var(--line);
  transform: rotate(2deg);
}

.phone-head {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.msg {
  background: #e7e5e4;
  color: #1c1917;
  border-radius: 20px 20px 20px 6px;
  padding: 12px 14px;
  font-size: 15px;
  margin: 0;
}

.msg .lead {
  font-weight: 700;
}

.ph {
  background: var(--pop);
  color: #1c1917;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 700;
}

.lnk {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Sections */

section {
  padding: 48px 0;
  border-top: 2px solid var(--line);
}

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin: 0;
}

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

/* FAQ */

.faq details {
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 12px;
  padding: 0 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 0;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 900;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 0 0 16px;
}

/* Cards */

.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
}

/* Forms */

form {
  margin-top: 8px;
}

label {
  display: block;
  font-weight: 800;
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--ink);
}

.hint {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 0;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  min-height: 48px;
}

.checkbox-row input[type="checkbox"] {
  width: 26px;
  height: 26px;
  min-width: 26px;
  margin: 2px 0 0;
}

.checkbox-row label {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  padding-top: 3px;
}

.consent-row {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0;
  box-shadow: 4px 4px 0 var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  left: -9999px;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  left: auto;
  display: inline-block;
  padding: 8px 16px;
  background: var(--card);
  color: var(--accent);
}

.error-summary {
  border: 2px solid var(--accent);
  background: var(--card);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

.error-summary p {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.error-summary li {
  color: var(--ink);
}

.error {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin: 6px 0 0;
}

.submit {
  width: 100%;
  min-height: 56px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--line);
  font-size: 18px;
  font-weight: 900;
  margin-top: 28px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.submit:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--line);
}

.submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.divider {
  height: 2px;
  background: var(--line);
  margin: 40px 0;
}

/* Footer */

footer {
  border-top: 2px solid var(--line);
  padding: 32px 0 44px;
}

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

.footer-nav a {
  color: var(--ink);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.copyright {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation-duration: 0.001ms !important;
  }
  .phone,
  .sticker {
    transform: none !important;
  }
}
