:root {
  color-scheme: light;
  --bg: #f6efe4;
  --bg-deep: #ead8bf;
  --surface: #fffaf1;
  --surface-warm: #f9eadb;
  --text: #24160d;
  --muted: #6f5d4a;
  --soft: #9d7d59;
  --line: #ead5bd;
  --chocolate: #2c160c;
  --chocolate-soft: #4b2a17;
  --gold: #c99b55;
  --champagne: #f5d9a6;
  --coral: #ff6846;
  --coral-soft: #ffd4c8;
  --ivory: #fffdf8;
  --focus: #8a4c13;
  --shadow: 0 24px 70px rgba(73, 41, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 171, 0.72), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(91, 45, 15, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff7ec 0%, var(--bg) 48%, #fffaf2 100%);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header,
.hero,
.approach,
.how-it-works,
.app-preview,
.assurance,
.final-cta,
.site-footer {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

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

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(65, 31, 12, 0.18);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--chocolate);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 74px;
}

.hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  font-weight: 500;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero__actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.button--primary {
  background: linear-gradient(135deg, var(--coral), #de8a3d);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(255, 104, 70, 0.28);
}

.button--secondary {
  border-color: rgba(77, 42, 20, 0.18);
  background: rgba(255, 250, 241, 0.72);
  color: var(--chocolate);
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__signals li {
  padding: 8px 12px;
  border: 1px solid rgba(201, 155, 85, 0.42);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.74);
  color: var(--chocolate-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 155, 85, 0.32);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(246, 239, 228, 0.32));
  content: "";
  pointer-events: none;
}

.hero__media img {
  width: 100%;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.approach {
  padding: 28px 0 78px;
}

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

.approach-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(201, 155, 85, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(249, 234, 219, 0.76)),
    var(--surface);
  box-shadow: 0 18px 44px rgba(74, 42, 22, 0.08);
}

.approach-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
}

.how-it-works {
  padding: 72px 0;
  border-top: 1px solid rgba(201, 155, 85, 0.22);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.steps article {
  position: relative;
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(255, 104, 70, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
}

.steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--chocolate);
  font-weight: 850;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1.44fr);
  gap: 34px;
  align-items: center;
  padding: 84px 0;
}

.preview-copy {
  position: sticky;
  top: 24px;
}

.preview-copy p {
  color: var(--muted);
}

.screen-composition {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, 0.78fr);
  gap: 14px;
  align-items: center;
}

.screen-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(73, 41, 20, 0.18);
}

.screen-card img {
  width: 100%;
}

.screen-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.86);
  color: var(--chocolate);
  font-weight: 850;
}

.screen-card--main {
  grid-row: span 2;
}

.assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
  padding: 56px;
  border: 1px solid rgba(201, 155, 85, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 104, 70, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(243, 219, 190, 0.9));
  box-shadow: 0 22px 60px rgba(73, 41, 20, 0.1);
}

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

.assurance-grid p {
  min-height: 118px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(201, 155, 85, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  color: var(--chocolate);
  font-weight: 800;
}

.final-cta {
  margin-top: 84px;
  margin-bottom: 74px;
  padding: 60px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(44, 22, 12, 0.96), rgba(77, 42, 20, 0.92)),
    var(--chocolate);
  color: #fff6ea;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  color: #fffaf2;
}

.final-cta p {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  color: rgba(255, 246, 234, 0.78);
}

.site-footer {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(201, 155, 85, 0.3);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--chocolate);
  font-weight: 850;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-footer p {
  max-width: 980px;
  margin-bottom: 12px;
}

.footer-note {
  color: var(--chocolate-soft);
  font-weight: 700;
}

.footer-links {
  margin-top: 16px;
}

.footer-links a {
  color: var(--chocolate-soft);
}

@media (max-width: 1040px) {
  .hero,
  .app-preview,
  .assurance {
    grid-template-columns: 1fr;
  }

  .preview-copy {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-header,
  .hero,
  .approach,
  .how-it-works,
  .app-preview,
  .assurance,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 64px), 340px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
    max-width: 100%;
  }

  .hero {
    padding: 28px 0 54px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__media {
    border-radius: 16px;
  }

  .approach-grid,
  .steps,
  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .app-preview {
    padding: 56px 0;
  }

  .screen-composition {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    min-width: 240px;
    scroll-snap-align: start;
  }

  .assurance,
  .final-cta {
    padding: 28px;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .approach,
  .how-it-works,
  .app-preview,
  .assurance,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 96px), 280px);
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .screen-card {
    min-width: 220px;
  }
}
