:root {
  --cream: #f5f0e8;
  --warm-white: #fdfaf5;
  --dark: #1a1410;
  --brown: #3d2b1f;
  --gold: #c9952a;
  --gold-light: #e8c96a;
  --muted: #7a6a5a;
  --border: #d4c5b0;
  --card: #fffdf9;
  --shadow: rgba(61, 43, 31, 0.12);
  --line: rgba(61, 43, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(196, 177, 155, 0.12) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(196, 177, 155, 0.12) 40px);
  color: var(--dark);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(201, 149, 42, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--brown);
  color: var(--cream);
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(253, 250, 245, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brown);
  font-weight: 700;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--brown);
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.05rem;
  border: 0;
  border-radius: 8px;
  background: var(--brown);
  color: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.button:hover {
  background: var(--dark);
  transform: translateY(-1px);
}

.button--small {
  min-height: 42px;
  padding: 0.65rem 0.85rem;
}

.button--ghost {
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  color: var(--brown);
}

.button--ghost:hover {
  border-color: var(--gold);
  background: #fffbf0;
  color: var(--brown);
}

.hero {
  padding: 62px 0 42px;
  border-top: 3px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(61, 43, 31, 0.96), rgba(61, 43, 31, 0.82)),
    repeating-linear-gradient(90deg, rgba(232, 201, 106, 0.12) 0 1px, transparent 1px 18px);
  color: var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 44px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.hero p {
  max-width: 660px;
  color: rgba(245, 240, 232, 0.78);
  font-size: 1.08rem;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero .button {
  background: var(--gold);
  color: var(--dark);
}

.hero .button--ghost {
  border-color: rgba(232, 201, 106, 0.45);
  background: transparent;
  color: var(--cream);
}

.hero__media {
  position: relative;
  min-height: 410px;
}

.sample {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 260px;
  min-height: 96px;
  padding: 1rem 2rem;
  border: 1px solid rgba(232, 201, 106, 0.35);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  font-weight: 700;
  letter-spacing: 0;
}

.sample--dark {
  top: 24px;
  right: 0;
  background: #1a1410;
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
}

.sample--light {
  top: 166px;
  left: 12px;
  background: var(--warm-white);
  color: var(--brown);
  font-size: 2rem;
}

.sample--fold {
  right: 32px;
  bottom: 32px;
  background: #fffbf0;
  color: var(--brown);
  font-size: 1.8rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 76px 0;
}

.section--quiet {
  background: rgba(253, 250, 245, 0.7);
}

.section__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
}

.section h2 {
  margin: 0;
  color: var(--brown);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section__heading p,
.feature-list {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding-left: 1.2rem;
}

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

.steps article,
.ai-answer,
.contact-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 1.2rem;
}

.steps span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.steps h3 {
  color: var(--brown);
}

.steps p,
.ai-answer p {
  color: var(--muted);
}

.ai-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ai-answer h2 {
  font-size: 1.35rem;
}

.site-footer {
  padding: 64px 0 26px;
  background: var(--dark);
  color: var(--cream);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 40px;
}

.site-footer .eyebrow {
  color: var(--gold-light);
}

.site-footer h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.site-footer p {
  color: rgba(245, 240, 232, 0.76);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  color: rgba(245, 240, 232, 0.68);
}

.contact-card {
  display: grid;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
}

.contact-card span {
  color: rgba(245, 240, 232, 0.78);
}

.content {
  max-width: 820px;
}

@media (max-width: 860px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--warm-white);
    color: var(--brown);
    font-weight: 700;
  }

  .primary-nav {
    display: none;
    width: 100%;
    margin-left: 0;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    padding-block: 1rem;
  }

  .hero__grid,
  .section__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 310px;
  }

  .sample {
    min-width: 210px;
    min-height: 78px;
  }

  .steps,
  .ai-answer-grid,
  .feature-list ul {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}
