:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --bg-panel: #080808;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #c2a68d;
  --accent-soft: rgba(194, 166, 141, 0.16);
  --radius: 1.25rem;
  --font-display: "Cabinet Grotesk", "Segoe UI", sans-serif;
  --font-editorial: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-head h2,
.hero__title,
.chapter h3,
.feature h3,
.plan h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-head h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center h2 {
  margin-inline: auto;
}

.section-head__lead {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

.btn--solid {
  background: var(--accent);
  color: #111;
}

.btn--solid:hover {
  background: #d4b89a;
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--block {
  width: 100%;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 5, 5, 0.9);
}

.nav__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav__links {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  display: none;
}

.nav__toggle {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--text);
}

.nav__mobile {
  display: grid;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.98);
}

.nav__mobile[hidden] {
  display: none;
}

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

.nav__mobile .btn {
  color: #111;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0.96) 100%),
    radial-gradient(circle at 70% 20%, rgba(194, 166, 141, 0.18), transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 8rem 0 4.5rem;
}

.hero__title {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.4rem, 11vw, 7rem);
  font-weight: 800;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__accent {
  display: block;
  margin-top: 0.15em;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 38ch;
  color: #d4d4d8;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 1.6rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__group span {
  padding: 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}

.marquee__group i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.7;
}

.features,
.manifesto,
.pricing,
.faq,
.contact {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.features__grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.feature {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.feature__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.feature h3 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature__metric {
  margin-top: 1.75rem !important;
  color: var(--text) !important;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.feature__metric-label {
  margin-top: 0.4rem !important;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chapters {
  margin-top: 3.5rem;
}

.chapter {
  display: grid;
  gap: 1rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.35s ease;
}

.chapter:hover {
  border-top-color: rgba(194, 166, 141, 0.45);
}

.chapter__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  transition: color 0.35s ease;
}

.chapter:hover .chapter__num {
  color: var(--accent);
}

.chapter h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.chapter p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

.plans {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--bg-panel);
}

.plan--highlight {
  border-color: rgba(194, 166, 141, 0.55);
  background:
    radial-gradient(circle at top, rgba(194, 166, 141, 0.16), transparent 55%),
    var(--bg-panel);
}

.plan__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan h3 {
  margin: 0;
  font-size: 1.6rem;
}

.plan__price {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.plan__price span {
  margin-right: 0.2rem;
  font-size: 1rem;
  vertical-align: super;
}

.plan__price em {
  margin-left: 0.25rem;
  font-style: normal;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.plan__monthly {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.plan__monthly span {
  margin-left: 0.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.plan__tag {
  margin: 1rem 0 0;
  min-height: 3.2em;
  color: var(--muted);
}

.plan ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 1.2rem;
  color: #d4d4d8;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.plan__cta {
  margin-top: 2rem;
}

.testimonials {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-panel);
}

.testimonials__grid {
  display: grid;
  gap: 2.5rem;
}

.quotes {
  display: grid;
  gap: 1rem;
}

.quotes blockquote {
  margin: 0;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
}

.quotes p {
  margin: 0;
  font-size: 1.15rem;
  color: #e4e4e7;
}

.quotes footer {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.25rem;
}

.quotes strong {
  font-family: var(--font-display);
}

.quotes span {
  color: var(--muted);
  font-size: 0.9rem;
}

.faq__grid,
.contact__grid {
  display: grid;
  gap: 2.5rem;
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.2rem 1.1rem;
  background: rgba(255, 255, 255, 0.015);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

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

.accordion p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  background:
    linear-gradient(180deg, rgba(194, 166, 141, 0.08), transparent 40%),
    rgba(255, 255, 255, 0.02);
}

.field-row {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
}

.form-status.is-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.form-status.is-err {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #040404;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

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

.footer .brand {
  margin-bottom: 1rem;
  color: var(--text);
}

.footer h4 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer div:nth-child(2),
.footer div:nth-child(3) {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer__bottom {
  display: grid;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.02);
  }
}

@media (min-width: 768px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }

  .nav__toggle,
  .nav__mobile {
    display: none !important;
  }

  .features__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .feature--wide {
    grid-column: span 4;
  }

  .feature--stat {
    grid-column: span 2;
  }

  .feature:not(.feature--wide):not(.feature--stat) {
    grid-column: span 2;
  }

  .chapter {
    grid-template-columns: 2fr 3fr 4fr;
    align-items: start;
    gap: 1.5rem;
  }

  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .plans--two {
    grid-template-columns: repeat(2, minmax(0, 22rem));
    justify-content: center;
  }

  .plan--highlight {
    transform: translateY(-0.5rem);
  }

  .testimonials__grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }

  .faq__grid,
  .contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: start;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr;
  }

  .footer__bottom {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .footer__bottom p:last-child {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    padding-bottom: 5.5rem;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
