:root {
  color-scheme: dark;
  --bg: #0d0b09;
  --bg-deep: #090806;
  --bg-soft: #16120e;
  --surface: rgba(36, 29, 22, 0.74);
  --surface-soft: rgba(255, 248, 235, 0.045);
  --surface-strong: rgba(255, 248, 235, 0.075);
  --text: #fff8ea;
  --text-soft: #eadfc9;
  --muted: #b9aa91;
  --subtle: #8d7f69;
  --line: rgba(255, 238, 205, 0.13);
  --line-strong: rgba(221, 177, 103, 0.28);
  --accent: #d9ad68;
  --accent-strong: #f1c982;
  --accent-dark: #2a1d11;
  --amber: #b97b42;
  --olive: #9ca26a;
  --shadow-soft: 0 20px 70px rgba(0, 0, 0, 0.32);
  --shadow-panel: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 22% -12%, rgba(217, 173, 104, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 14%, rgba(156, 162, 106, 0.09), transparent 30rem),
    linear-gradient(180deg, #100d0a 0%, #14100c 46%, #0a0907 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 248, 235, 0.025) 1px, transparent 1px);
  background-size: 100% 4.5rem;
  mask-image: linear-gradient(180deg, black, transparent 72%);
  content: "";
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 0.72rem;
  border: 1px solid rgba(255, 238, 205, 0.12);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(15, 12, 9, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px) saturate(118%);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(217, 173, 104, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 248, 235, 0.12), rgba(217, 173, 104, 0.1)),
    rgba(255, 248, 235, 0.035);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 238, 205, 0.08);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.035);
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.site-nav a {
  padding: 0.62rem 0.88rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 248, 235, 0.07);
  color: var(--text);
}

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

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 235, 0.055);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}

.section {
  position: relative;
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.035), rgba(255, 248, 235, 0.018)),
    var(--bg-soft);
  border-block: 1px solid rgba(255, 238, 205, 0.09);
}

.hero {
  min-height: min(735px, calc(100svh - 6.6rem));
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(4rem, 7vw, 5.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(21rem, 0.78fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 12.6ch;
  font-size: 6.35rem;
  line-height: 0.98;
}

h2 {
  max-width: 14.8ch;
  font-size: 4.15rem;
  line-height: 1;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.16;
}

.hero-text {
  max-width: 41rem;
  margin: 1.55rem 0 0;
  color: var(--text-soft);
  font-size: 1.18rem;
  line-height: 1.72;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions {
  gap: 0.95rem;
  margin-top: 2.15rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.32rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 720;
  line-height: 1;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 235, 0.22), transparent);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity 220ms ease, transform 420ms ease;
  content: "";
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: translateX(45%);
}

.button-primary {
  border-color: rgba(255, 238, 205, 0.18);
  background: linear-gradient(180deg, #edc985 0%, #c9934e 100%);
  color: #1b1209;
  box-shadow: 0 16px 36px rgba(185, 123, 66, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #f6d799 0%, #d6a35c 100%);
  box-shadow: 0 18px 44px rgba(185, 123, 66, 0.26);
}

.button-secondary {
  border-color: rgba(217, 173, 104, 0.32);
  background: rgba(255, 248, 235, 0.045);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(217, 173, 104, 0.46);
  background: rgba(255, 248, 235, 0.08);
}

.button-ghost {
  border-color: rgba(255, 238, 205, 0.15);
  background: rgba(255, 248, 235, 0.035);
  color: var(--text);
}

.button-small {
  min-height: 2.65rem;
  padding: 0.74rem 1rem;
  font-size: 0.88rem;
}

.trust-row {
  gap: 0.65rem 1.35rem;
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-row span {
  position: relative;
  padding-left: 1rem;
}

.trust-row span::before {
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 173, 104, 0.08);
  content: "";
}

.workflow-visual {
  border: 1px solid rgba(255, 238, 205, 0.16);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(180deg, rgba(45, 36, 27, 0.95), rgba(21, 16, 12, 0.96)),
    var(--bg-soft);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transform: translateZ(0);
}

.visual-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid rgba(255, 238, 205, 0.11);
  background: rgba(255, 248, 235, 0.035);
}

.visual-topbar span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #8e5843;
}

.visual-topbar span:nth-child(2) {
  background: var(--amber);
}

.visual-topbar span:nth-child(3) {
  background: var(--olive);
}

.visual-topbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.visual-body {
  padding: clamp(1.15rem, 4vw, 1.75rem);
}

.call-event,
.handoff-panel,
.metric-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 238, 205, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 235, 0.045);
}

.call-event {
  padding: 1.05rem;
}

.call-event p,
.handoff-panel strong {
  margin: 0;
  color: var(--text);
  font-weight: 720;
}

.call-event small,
.handoff-panel span,
.metric-strip span {
  color: var(--subtle);
}

.call-event > strong {
  margin-left: auto;
  color: var(--accent-strong);
  font-weight: 720;
}

.event-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(217, 173, 104, 0.16);
  border-radius: var(--radius);
  background: rgba(217, 173, 104, 0.1);
  color: var(--accent-strong);
  font-weight: 850;
}

.flow-line {
  width: 1px;
  height: 2.25rem;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 238, 205, 0.08), var(--accent));
}

.message-stack {
  display: grid;
  gap: 0.82rem;
}

.message {
  max-width: 84%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 238, 205, 0.08);
  border-radius: var(--radius);
  font-size: 0.94rem;
  line-height: 1.55;
}

.outgoing {
  justify-self: start;
  background: rgba(217, 173, 104, 0.13);
  color: #fff1d4;
}

.incoming {
  justify-self: end;
  background: rgba(156, 162, 106, 0.13);
  color: #f2f3d7;
}

.handoff-panel {
  justify-content: space-between;
  margin-top: 1.15rem;
  padding: 1.05rem;
}

.handoff-panel a {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 730;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.15rem;
  padding: 1.08rem;
  text-align: center;
}

.metric-strip strong {
  display: block;
  color: var(--text);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.metric-strip span {
  display: block;
  font-size: 0.76rem;
}

.split-layout,
.contact-grid,
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.problem-copy,
.contact-copy {
  max-width: 42rem;
}

.problem-copy p,
.contact-copy p {
  margin: 0 0 1.15rem;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.78;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2.3rem, 5vw, 3.4rem);
}

.section-heading h2 {
  max-width: 16ch;
}

.steps-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}

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

.step,
.feature-card,
.contact-form,
.faq-list details,
.legal-grid details {
  border: 1px solid rgba(255, 238, 205, 0.12);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.step,
.feature-card {
  min-height: 100%;
  padding: clamp(1.3rem, 3vw, 1.75rem);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.step:hover,
.feature-card:hover {
  border-color: rgba(217, 173, 104, 0.28);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.step-number,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(217, 173, 104, 0.2);
  border-radius: 999px;
  background: rgba(217, 173, 104, 0.1);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 820;
}

.step p,
.feature-card p,
.faq-list p,
.legal-grid p {
  margin: 0.82rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card:nth-child(2n) .feature-icon {
  background: rgba(185, 123, 66, 0.11);
  color: #e5b37c;
}

.feature-card:nth-child(3n) .feature-icon {
  background: rgba(156, 162, 106, 0.12);
  color: #d6da9a;
}

.contact-points {
  display: grid;
  gap: 0.95rem;
  margin-top: 2rem;
}

.contact-points span {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
}

.contact-points span::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.42rem;
  height: 1px;
  background: var(--accent);
  content: "";
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.08), rgba(255, 248, 235, 0.035)),
    rgba(21, 16, 12, 0.9);
  box-shadow: var(--shadow-panel);
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 660;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 238, 205, 0.13);
  border-radius: var(--radius);
  background: rgba(9, 8, 6, 0.56);
  color: var(--text);
  outline: none;
  padding: 0.92rem 0.98rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(217, 173, 104, 0.72);
  background: rgba(9, 8, 6, 0.72);
  box-shadow: 0 0 0 4px rgba(217, 173, 104, 0.1);
}

.sms-disclaimer {
  margin: 0;
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.55;
}

.sms-disclaimer a {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: rgba(217, 173, 104, 0.5);
  text-underline-offset: 0.18em;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.92rem;
}

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

.faq-list details,
.legal-grid details {
  padding: 1.12rem 1.2rem;
  transition: background 220ms ease, border-color 220ms ease;
}

.faq-list details:hover,
.legal-grid details:hover,
.faq-list details[open],
.legal-grid details[open] {
  border-color: rgba(217, 173, 104, 0.24);
  background: var(--surface-strong);
}

summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  list-style-position: outside;
}

summary::marker {
  color: var(--accent);
}

.legal-section {
  padding: 0 0 clamp(4rem, 7vw, 5.5rem);
}

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

.site-footer {
  border-top: 1px solid rgba(255, 238, 205, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.025), transparent),
    #080706;
  padding: 2.35rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.footer-grid p {
  margin: 0;
  color: var(--subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 960px) {
  .site-header {
    top: 0.55rem;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

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

  .site-nav {
    position: fixed;
    inset: 4.8rem 1rem auto;
    display: grid;
    gap: 0.12rem;
    padding: 0.55rem;
    border-radius: var(--radius);
    background: rgba(15, 12, 9, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav a {
    padding: 0.85rem;
  }

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

  .nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 11.5ch;
    font-size: 5rem;
  }

  h2 {
    font-size: 3.35rem;
  }

  .steps-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.6;
  }

  .section {
    padding: 4.8rem 0;
  }

  .site-header {
    width: min(100% - 1rem, var(--max-width));
  }

  .hero {
    padding-top: 3.25rem;
  }

  h1 {
    max-width: 10.8ch;
    font-size: 3.55rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  .hero-text,
  .problem-copy p,
  .contact-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .steps-grid,
  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .workflow-visual {
    border-radius: var(--radius);
  }

  .visual-topbar strong {
    font-size: 0.72rem;
  }

  .call-event,
  .handoff-panel {
    align-items: flex-start;
  }

  .handoff-panel {
    display: grid;
  }

  .message {
    max-width: 92%;
  }

  .metric-strip {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
