:root {
  --ink: #1a1c18;
  --ink-soft: #3d4238;
  --muted: #5c6356;
  --paper: #f3efe6;
  --paper-2: #e7e1d4;
  --sand: #d9d0bc;
  --accent: #c45c26;
  --accent-dark: #9a4418;
  --line: rgba(26, 28, 24, 0.12);
  --glow: rgba(196, 92, 38, 0.18);
  --max: 1080px;
  --narrow: 680px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 92, 38, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(90, 110, 80, 0.08), transparent 50%),
    linear-gradient(180deg, #efe9dc 0%, var(--paper) 40%, #ebe6da 100%);
  min-height: 100vh;
}

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

a {
  color: var(--accent-dark);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2rem, var(--narrow));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 239, 230, 0.85);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav {
  display: none;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  background: var(--accent);
  color: #fffaf4;
  text-decoration: none;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.btn-small {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 28, 24, 0.78) 0%, rgba(26, 28, 24, 0.45) 48%, rgba(26, 28, 24, 0.2) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%233a3f36'/%3E%3Cstop offset='1' stop-color='%231c221c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%23c45c26' stroke-opacity='0.18' stroke-width='2'%3E%3Cpath d='M0 620 L420 420 L780 560 L1200 300 L1600 480'/%3E%3Cpath d='M0 720 L360 540 L720 680 L1100 420 L1600 600'/%3E%3C/g%3E%3Cg fill='%23e7e1d4' fill-opacity='0.05'%3E%3Ccircle cx='220' cy='180' r='120'/%3E%3Ccircle cx='1280' cy='220' r='180'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  animation: heroShift 18s ease-in-out infinite alternate;
}

@keyframes heroShift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(-1.5%, -1%, 0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #f7f2e8;
  max-width: 720px;
  padding-bottom: 1rem;
}

.brand-mark {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #fff8ee;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: #f0ebe0;
}

.lede {
  font-size: 1.08rem;
  color: rgba(247, 242, 232, 0.88);
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.text-link {
  color: #f7f2e8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.trust {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(247, 242, 232, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 4rem 0;
}

.section.tint {
  background: rgba(231, 225, 212, 0.55);
  border-block: 1px solid var(--line);
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.section-lede {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 42ch;
}

.muted {
  color: var(--muted);
}

.offer-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.offer-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
}

.price {
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 1rem;
}

.offer-block ul,
.principles {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.offer-block li,
.principles li {
  margin-bottom: 0.35rem;
}

.offer-grid {
  display: grid;
  gap: 0;
}

.addons {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
}

.steps h3 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.principles {
  margin-top: 2rem;
  color: var(--ink-soft);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

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

details p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.contact .contact-block {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact .btn {
  margin-top: 0.75rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--ink);
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.92rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.5rem;
  color: #f7f2e8;
  margin: 0 0 0.75rem;
}

.site-footer p {
  margin: 0 0 0.65rem;
  max-width: 52ch;
}

.site-footer a {
  color: #f0c9a8;
}

.contact .text-link {
  color: var(--accent-dark);
}

code {
  font-size: 0.9em;
  background: rgba(26, 28, 24, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

@media (min-width: 800px) {
  .nav {
    display: flex;
  }

  .offer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .offer-grid .offer-block {
    border-top: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }

  .hero {
    align-items: center;
    padding-top: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-bg {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
