:root {
  --bg: #f4efe7;
  --bg-soft: #efe8df;
  --surface: rgba(255, 255, 255, 0.5);
  --surface-strong: #f7f3ed;
  --ink: #191816;
  --muted: #6e675d;
  --line: rgba(25, 24, 22, 0.12);
  --accent: #243528;
  --accent-soft: #314637;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(36, 53, 40, 0.08);
  --radius: 22px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bg) 25%, #f6f0e7 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.8rem 1rem;
  background: var(--accent);
  color: var(--white);
  z-index: 1000;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 2rem), 860px);
}

.section {
  padding: 6rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(25, 24, 22, 0.05);
}

.section-dark {
  background: linear-gradient(135deg, #243528 0%, #1b291f 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.8rem;
}

.section-heading.center {
  justify-items: center;
  text-align: center;
}

.section-subcopy {
  max-width: 42rem;
  color: var(--muted);
}

.section-heading-light .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.9rem, 10vw, 6.9rem);
  max-width: 9ch;
}

h1 span,
h2 span {
  display: inline-block;
  font-style: italic;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 10ch;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 244, 238, 0.76);
  border-bottom: 1px solid rgba(25, 24, 22, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-link-muted {
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0 1.35rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white) !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-soft);
}

.button-secondary {
  background: transparent;
  color: var(--accent) !important;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(36, 53, 40, 0.07);
}

.button-small {
  min-height: 42px;
  padding: 0 1rem;
}

.button-block {
  width: 100%;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 3rem;
  align-items: end;
}

.hero-copy {
  padding: 5vw 0 4vw;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-text {
  max-width: 39rem;
  margin-top: 1.5rem;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

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

.layout-card,
.pricing-card,
.faq-item {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(25, 24, 22, 0.08);
  box-shadow: var(--shadow);
}

.layout-card {
  padding: 1.8rem;
  min-height: 290px;
}

.layout-label,
.feature-number {
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.layout-card p:not(.layout-label),
.feature-item p:last-child,
.footer-copy,
.comparison-table td,
.comparison-table th[scope="row"] {
  color: var(--muted);
}

.mini-layout {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
}

.mini-layout span {
  display: block;
  min-height: 54px;
  background: linear-gradient(135deg, rgba(206, 197, 186, 0.8), rgba(244, 239, 231, 0.95));
}

.mini-slider {
  grid-template-columns: 1fr 1fr 1fr;
}

.mini-list {
  grid-template-columns: 1fr;
}

.mini-list span {
  min-height: 42px;
}

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

.mini-carousel {
  grid-template-columns: 2fr 1fr;
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 1.8rem;
}

.feature-item {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.feature-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

blockquote {
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

blockquote p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
}

blockquote footer {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(25, 24, 22, 0.08);
}

.comparison-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  min-height: 100%;
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
}

.pricing-badge {
  position: static;
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.28rem 0.5rem;
  background: #a33f2f;
  color: var(--white);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 1;
}

.price span {
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.pricing-card li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(25, 24, 22, 0.08);
  color: var(--muted);
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
}

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

.faq-item {
  padding: 0;
}

.faq-item summary {
  position: relative;
  padding: 1.35rem 3.6rem 1.35rem 1.4rem;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  font-size: 1.4rem;
  color: var(--muted);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 1.4rem 1.4rem;
  color: var(--muted);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(25, 24, 22, 0.08);
}

.footer-grid,
.footer-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}

.brand-footer {
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.8rem;
  justify-items: end;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(25, 24, 22, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 961px) {
  .testimonials .section-heading h2,
  .comparison .section-heading h2 {
    max-width: 80%;
  }

  .pricing .section-heading h2 {
    max-width: 80%;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem;
    background: rgba(248, 244, 238, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-grid,
  .features-grid,
  .testimonial-grid,
  .pricing-grid,
  .layout-cards,
  .footer-grid,
  .footer-meta {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .layout-card,
  .pricing-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
