:root {
  --cream: #f7eedc;
  --coral: #e85b4a;
  --orange: #f1784b;
  --brown: #4a3028;
  --burgundy: #6d3a34;
  --clay: #b66556;
  --paper: #fffaf1;
  --ink-soft: #73584a;
  --line: rgba(109, 58, 52, 0.14);
  --shadow: 0 20px 50px rgba(74, 48, 40, 0.1);
  --max-width: 1100px;
  --max-width-narrow: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--brown);
  background:
    radial-gradient(circle at top left, rgba(241, 120, 75, 0.1), transparent 30%),
    linear-gradient(180deg, #fdf8ee 0%, #f7eedc 100%);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.page-shell-narrow {
  width: min(calc(100% - 2rem), var(--max-width-narrow));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(182, 101, 86, 0.16);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--coral);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 1.35rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.footer-title {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 8vw, 5.7rem);
  line-height: 0.97;
  font-weight: 800;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
}

#how-it-works h2 span {
  display: block;
  white-space: nowrap;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.page-title {
  max-width: 14ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.page-title-light {
  color: var(--paper);
}

.section-intro,
.info-card p,
.faq-item p,
.support-card p,
.site-footer p,
.hero-card-copy p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-note {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
  box-shadow: 0 14px 28px rgba(232, 91, 74, 0.22);
}

.button-secondary {
  color: var(--brown);
  background: rgba(255, 250, 241, 0.82);
  border-color: rgba(109, 58, 52, 0.16);
}

.hero-visual {
  position: relative;
  min-height: 28rem;
}

.hero-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.hero-card-back {
  top: 2rem;
  left: 2rem;
  width: 72%;
  height: 78%;
  background: rgba(182, 101, 86, 0.14);
  transform: rotate(-8deg);
}

.hero-card-front {
  right: 0;
  top: 0;
  width: 78%;
  padding: 1.6rem;
  background: linear-gradient(180deg, #fffaf1 0%, #f4e6d0 100%);
}

.hero-card-mark {
  width: 7rem;
  height: 7rem;
  margin-bottom: 1.4rem;
  border-radius: 1.6rem;
}

.hero-card-label {
  margin: 0 0 0.35rem;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-copy p:last-child {
  margin: 0;
}

.section,
.site-footer {
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.section {
  padding: 1.75rem;
}

.section-soft {
  background: rgba(255, 250, 242, 0.92);
}

.section-plain {
  background: rgba(255, 247, 235, 0.92);
}

.section-tight {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.section-footer-tone {
  background: linear-gradient(180deg, #59352f 0%, #4a3028 100%);
  color: var(--paper);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: end;
}

.section-intro {
  margin: 0;
}

.section-intro-light,
.section-footer-tone .eyebrow,
.section-footer-tone .support-card p,
.section-footer-tone .section-intro {
  color: rgba(255, 250, 241, 0.78);
}

.steps-grid,
.support-grid {
  display: grid;
  gap: 1rem;
}

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

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

.support-stack {
  display: grid;
  gap: 1rem;
}

.info-card,
.faq-item,
.support-card {
  border: 1px solid var(--line);
  border-radius: 1.45rem;
}

.info-card,
.support-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.62);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2rem;
  margin-bottom: 1rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(232, 91, 74, 0.12);
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1.05rem 1.15rem;
  background: rgba(255, 255, 255, 0.68);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 800;
}

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

.faq-item p {
  margin: 0.9rem 0 0;
}

.section-footer-tone .support-card {
  border-color: rgba(255, 250, 241, 0.12);
  background: rgba(255, 250, 241, 0.07);
}

.section-footer-tone .support-card h3 {
  color: var(--paper);
}

.section-footer-tone .text-link,
.footer-links a {
  color: #ffd5b1;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 248, 238, 0.94);
}

.footer-title {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .section-heading-split,
  .steps-grid,
  .support-grid-compact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .page-shell-narrow {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.8rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  .hero-visual {
    min-height: 22rem;
  }

  .hero-card-back {
    top: 1.8rem;
    left: 1rem;
    width: 72%;
    height: 74%;
  }

  .hero-card-front {
    width: 82%;
    padding: 1.25rem;
  }

  .hero-card-mark {
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 1rem;
  }

  .section {
    padding: 1.25rem;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h2,
  .page-title {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }
}
