:root {
  --cream-50: #fbf6ed;
  --cream-100: #f4eadb;
  --paper: #fffaf2;
  --taupe-900: #4f463f;
  --taupe-700: #6b6259;
  --taupe-500: #8a7b6d;
  --blush-300: #e7b6a8;
  --blush-500: #cf8f7c;
  --sage-300: #c7cfb6;
  --sage-600: #818a73;
  --dusty-blue: #8fa6b3;
  --wood: #d8b98f;
  --line: #ead8ca;
  --shadow: 0 18px 45px rgba(92, 72, 55, 0.14);
  --soft-shadow: 0 10px 30px rgba(92, 72, 55, 0.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
  color: var(--taupe-700);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--dusty-blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--taupe-900);
  color: var(--paper);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(234, 216, 202, 0.8);
  background: rgba(251, 246, 237, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--taupe-900);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--blush-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--taupe-500);
  font-size: 0.92rem;
}

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

.nav-links a:hover {
  color: var(--taupe-900);
}

.nav-links a[aria-current="page"] {
  color: var(--taupe-900);
  font-weight: 700;
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--sage-600);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--soft-shadow);
}

.nav-cta:hover {
  color: #fff;
  background: #707a64;
}

/* ---------- Layout ---------- */

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: var(--cream-100);
}

.section-sage {
  background: rgba(199, 207, 182, 0.38);
}

.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 10% 15%, rgba(231, 182, 168, 0.22), transparent 26%),
    radial-gradient(circle at 92% 78%, rgba(199, 207, 182, 0.32), transparent 30%),
    linear-gradient(180deg, var(--cream-50) 0%, #fff7ec 100%);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

/* ---------- Type ---------- */

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--taupe-900);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
}

/* Internal pages: noticeably smaller than the landing hero. */
h1 {
  max-width: 760px;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--taupe-700);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.small,
.small-note {
  margin-top: 14px;
  color: var(--taupe-500);
  font-size: 0.9rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--taupe-500);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  background: var(--blush-500);
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.button-primary:hover {
  background: #bd806f;
}

.button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--taupe-900);
}

.button-muted {
  background: var(--sage-600);
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.button-muted:hover {
  background: #707a64;
}

/* ---------- Icons ---------- */

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ---------- Surfaces ---------- */

.panel,
.card,
.notice,
.mockup {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.panel {
  padding: 26px;
}

.card {
  padding: 22px;
}

.card h3,
.panel h3 {
  margin-top: 0;
}

.card p,
.panel p {
  margin-top: 8px;
  color: var(--taupe-500);
}

.notice {
  padding: 18px 20px;
}

.mockup {
  overflow: hidden;
  padding: 0;
}

.mockup img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Grids ---------- */

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.badge {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
  color: var(--taupe-700);
  line-height: 1.3;
  font-size: 0.92rem;
}

.badge strong {
  display: block;
  margin-bottom: 2px;
  color: var(--taupe-900);
  font-size: 0.95rem;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--cream-100);
}

.product-card p {
  margin: 0;
  padding: 12px 13px 14px;
  color: var(--taupe-700);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.25;
}

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

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

.check-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.check-list li {
  margin: 8px 0;
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps .card.step {
  position: relative;
  padding: 26px 24px 24px;
}

.steps .card.step::before {
  counter-increment: steps;
  content: counter(steps);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sage-300);
  color: var(--taupe-900);
  font-weight: 900;
}

/* ---------- FAQ details ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 12px;
}

summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--taupe-900);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage-600);
  font-size: 1.15rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details > p {
  padding: 0 18px 16px;
  color: var(--taupe-500);
}

/* ---------- Footer ---------- */

.site-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--cream-100);
  color: var(--taupe-500);
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer strong {
  color: var(--taupe-900);
}

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

.footer-links a {
  color: var(--taupe-700);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--taupe-900);
}

/* ---------- Responsive ---------- */

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

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

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

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

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 62px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
    flex-wrap: wrap;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .section,
  .hero {
    padding: 56px 0;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

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

  .card-grid,
  .steps,
  .policy-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer .container {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
