:root {
  color-scheme: light;
  --bg: #f8f3ec;
  --text: #1f1f1c;
  --muted: #5f564c;
  --accent: #b5893b;
  --accent-dark: #8a692c;
  --accent-soft: #eadcc0;
  --card: #fcf9f4;
  --border: #e3d6c6;
  --shadow: 0 24px 60px rgba(32, 28, 22, 0.12);
  --radius: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto auto auto auto;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(181, 137, 59, 0.16), transparent 70%);
}

body::after {
  bottom: -140px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 31, 28, 0.08), transparent 70%);
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Manrope", sans-serif;
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
}

section {
  padding: 80px 0;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 20;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 243, 236, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 16px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 28px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(31, 31, 28, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu a:not(.button) {
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-menu a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu a:not(.button):hover,
.nav-menu a:not(.button):focus-visible {
  color: var(--text);
}

.nav-menu a:not(.button):hover::after,
.nav-menu a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--accent);
  color: #1b1409;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 30px rgba(181, 137, 59, 0.2);
}

.button:hover,
.button:focus-visible {
  background: #c79a48;
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: #f0e5d3;
}

.button.small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.hero {
  padding: 110px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.hero-subhead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 20px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.trust-strip span + span {
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: min(100%, 420px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  display: grid;
  gap: 16px;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(181, 137, 59, 0.14);
  z-index: 0;
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 30px;
  width: 170px;
  height: 170px;
  border-radius: 36px;
  border: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(181, 137, 59, 0.08);
  transform: rotate(6deg);
  z-index: 0;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
}

.hero-panel--bottom {
  background: #fff7ea;
  display: grid;
  gap: 12px;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.hero-panel-dots {
  display: inline-flex;
  gap: 4px;
}

.hero-panel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel-title {
  font-weight: 600;
  color: var(--text);
}

.hero-panel-status {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.65rem;
  color: var(--accent-dark);
  background: #fff;
}

.hero-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  position: relative;
}

.hero-flow::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12px;
  right: 12px;
  border-top: 1px dashed rgba(181, 137, 59, 0.5);
  z-index: 0;
}

.hero-node {
  position: relative;
  z-index: 1;
  background: #fff8ed;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 74px;
  box-shadow: 0 10px 18px rgba(31, 31, 28, 0.08);
}

.hero-node::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  justify-self: end;
}

.hero-node-label {
  font-weight: 600;
}

.hero-node-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  gap: 10px;
}

.hero-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 31, 28, 0.08);
  background: #fffaf0;
}

.hero-metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-metric-value {
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.hero-badge {
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  background: #fffdf6;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 40px;
}

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

.alt {
  background: #f6efe4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fffdf8;
  box-shadow: 0 12px 26px rgba(31, 31, 28, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(31, 31, 28, 0.12);
  border-color: rgba(181, 137, 59, 0.35);
}

.card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.8;
}

.card h3 {
  margin-top: 18px;
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid .card {
    grid-column: span 2;
  }

  .card-grid .card:nth-child(4),
  .card-grid .card:nth-child(5) {
    grid-column: span 3;
  }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.work-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fffaf1;
  box-shadow: 0 12px 28px rgba(31, 31, 28, 0.08);
}

.work-goal {
  font-weight: 600;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step {
  padding: 20px;
  border-left: 2px solid var(--accent);
  background: #fff7ea;
  border-radius: 12px;
}

.step-number {
  font-weight: 700;
  color: var(--accent-dark);
  display: inline-block;
  margin-bottom: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.price-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(31, 31, 28, 0.08);
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-dark);
}

.faq-grid {
  display: grid;
  gap: 16px;
}

details {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px 18px;
}

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

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

details[open] {
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
}

details p {
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-details {
  margin: 24px 0;
  display: grid;
  gap: 16px;
}

.contact-details span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-note {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(31, 31, 28, 0.08);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fffdf8;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(181, 137, 59, 0.4);
  border-color: var(--accent);
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(143, 59, 46, 0.2);
  background: rgba(143, 59, 46, 0.08);
  color: #8f3b2e;
}

.form-status[data-success="true"] {
  border-color: rgba(38, 102, 75, 0.3);
  background: rgba(38, 102, 75, 0.1);
  color: #27664b;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f7efe1;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.footer-brand p {
  margin: 0;
}

.footer-brand .logo-mark {
  width: 24px;
  height: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  align-items: center;
  margin-left: auto;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .nav {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a:not(.button) {
    font-size: 1rem;
  }
}

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

  .hero {
    padding-top: 90px;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-panel-header {
    flex-wrap: wrap;
  }

  .hero-panel-status {
    margin-left: 0;
  }

  .hero-flow {
    grid-template-columns: 1fr;
  }

  .hero-flow::before {
    display: none;
  }

  .hero-node {
    min-height: auto;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }
}
