:root {
  --bg-deep: #07080c;
  --bg: #0c0e14;
  --bg-elevated: #141821;
  --bg-soft: #1a1f2b;
  --line: rgba(201, 169, 98, 0.18);
  --line-strong: rgba(232, 213, 163, 0.35);
  --text: #efeae1;
  --text-muted: #9a958c;
  --gold: #c9a962;
  --gold-soft: #e8d5a3;
  --gold-deep: #8f7438;
  --teal: #4a9d8e;
  --danger: #d46a6a;
  --success: #6bbf9a;
  --radius: 4px;
  --header-h: 4.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 169, 98, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(74, 157, 142, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #0a0d13 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 4px var(--bg-deep), 0 0 0 1px rgba(201, 169, 98, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--gold-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-cta {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  color: var(--gold-soft) !important;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.12), transparent);
}

.nav-cta:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--gold-soft);
}

#site-main,
.page-wrap {
  min-height: 60vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section- Tight {
  padding: 3rem 0;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--bg-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  color: var(--bg-deep);
  filter: brightness(1.05);
}

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero — editorial full-bleed */
.hero-editorial {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.92) 0%, rgba(7, 8, 12, 0.55) 45%, rgba(7, 8, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 8, 12, 0.88) 0%, transparent 45%);
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 28s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin: 0 0 1.25rem;
  animation: riseIn 0.9s ease both;
}

.hero-line {
  width: 4rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
  animation: riseIn 0.9s ease 0.15s both;
}

.hero-statement {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--gold-soft);
  max-width: 28rem;
  margin: 0 0 0.75rem;
  animation: riseIn 0.9s ease 0.25s both;
}

.hero-support {
  max-width: 26rem;
  color: var(--text-muted);
  animation: riseIn 0.9s ease 0.35s both;
}

.hero-content .btn-row {
  animation: riseIn 0.9s ease 0.45s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.panel-hover {
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.panel-hover:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

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

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

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

.media-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.panel-hover:hover .media-cover img {
  transform: scale(1.04);
}

.meta {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-title a {
  color: var(--text);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--gold-soft);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(20, 24, 33, 0.65);
  padding: 2rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-soft);
  margin: 0;
}

.proof-label {
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 0;
}

.quote p {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
}

.quote footer {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: normal;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(201, 169, 98, 0.08), transparent 50%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero-media {
  margin-top: 2rem;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-tier {
  padding: 2rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-tier.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 169, 98, 0.1), transparent 40%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-soft);
  margin: 0.5rem 0;
}

.price-amount span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  flex: 1;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-field.is-invalid .field-error {
  display: block;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  border-color: var(--teal);
  color: #9fd6cb;
  background: rgba(74, 157, 142, 0.12);
}

.form-status.is-error {
  display: block;
  border-color: var(--danger);
  color: #efb0b0;
  background: rgba(212, 106, 106, 0.12);
}

.inline-error {
  display: none;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--danger);
  color: #efb0b0;
  background: rgba(212, 106, 106, 0.1);
}

.inline-error.is-visible {
  display: block;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

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

.faq details p {
  margin-top: 0.75rem;
}

.modules {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mod;
}

.modules li {
  counter-increment: mod;
  padding: 1.15rem 0 1.15rem 3.25rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.modules li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--bg-elevated);
  color: var(--gold-soft);
  font-weight: 600;
}

td {
  color: var(--text-muted);
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.legal-content ul {
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: #080a10;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.footer-tag {
  font-size: 0.92rem;
  max-width: 16rem;
}

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(12, 14, 20, 0.96);
  border-top: 1px solid var(--line-strong);
  padding: 1.15rem 1.25rem;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.rating {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.case-study {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.not-found {
  text-align: center;
  padding: 6rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

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

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .grid-4,
  .proof-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 8, 12, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-editorial {
    min-height: 85vh;
  }

  .page-hero-media {
    aspect-ratio: 16 / 9;
  }
}
