:root {
  --site-black: #0c0f13;
  --site-ink: #11161d;
  --site-panel: rgba(17, 22, 29, 0.82);
  --site-panel-border: rgba(201, 168, 76, 0.16);
  --site-gold: #c9a84c;
  --site-gold-soft: #f0dd9a;
  --site-red: #c0392b;
  --site-red-deep: #8f2319;
  --site-cream: #f7f1dd;
  --site-muted: rgba(247, 241, 221, 0.66);
  --site-white: #fffaf0;
  --site-radius: 28px;
  --site-radius-sm: 18px;
  --site-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.5vw, 16px);
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.16), transparent 30%),
    radial-gradient(circle at left center, rgba(192, 57, 43, 0.12), transparent 28%),
    linear-gradient(180deg, #090b0f 0%, #0f141b 42%, #0b0e12 100%);
  color: var(--site-white);
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.4;
  pointer-events: none;
}

.site-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}

.site-orb-a {
  width: 340px;
  height: 340px;
  top: -80px;
  right: -80px;
  background: rgba(201, 168, 76, 0.12);
}

.site-orb-b {
  width: 280px;
  height: 280px;
  left: -100px;
  top: 34%;
  background: rgba(192, 57, 43, 0.12);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow-shell {
  width: min(820px, calc(100% - 2.5rem));
}

.site-nav {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.site-brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--site-gold-soft), var(--site-gold));
  color: #121212;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

.site-brand-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.site-brand-text em {
  font-style: normal;
  color: var(--site-gold-soft);
}

.site-nav-links,
.site-nav-actions,
.pill-row,
.hero-actions,
.cta-band-actions,
.site-footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-link {
  color: var(--site-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-link:hover,
.site-link.is-active {
  color: var(--site-gold-soft);
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.site-btn-primary {
  background: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
  color: white;
  box-shadow: 0 16px 28px rgba(192, 57, 43, 0.25);
}

.site-btn-outline {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.08);
  color: var(--site-gold-soft);
}

.hero-block,
.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.hero-layout,
.split-layout,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.hero-layout {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  min-height: 72vh;
}

.hero-title,
.page-title,
.section-title {
  font-family: "Playfair Display", serif;
  line-height: 1.08;
  margin: 0;
}

.hero-title {
  /* scaled down from 5.2rem max to keep hero readable */
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  max-width: 11ch;
}

.page-title {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  max-width: 14ch;
}

.section-title-compact {
  max-width: 16ch;
}

.eyebrow,
.panel-kicker,
.role-name,
.pricing-name,
.site-footer-brand {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.eyebrow,
.panel-kicker,
.role-name,
.pricing-name {
  color: var(--site-gold-soft);
  margin: 0 0 0.8rem;
}

.hero-text,
.page-subtitle,
.section-text,
.hero-panel-note,
.site-footer-copy,
.feature-card p,
.role-summary,
.pricing-tagline,
.pricing-limits,
.faq-item p,
.prose-panel p,
.contact-detail-row span {
  color: var(--site-muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 55ch;
  font-size: 1.05rem;
  margin: 1.1rem 0 1.8rem;
}

.page-subtitle {
  max-width: 62ch;
  font-size: 1.02rem;
  margin: 1rem 0 0;
}

.glass-panel,
.feature-card,
.pricing-card,
.cta-band,
.form-shell {
  border: 1px solid var(--site-panel-border);
  background: var(--site-panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--site-shadow);
}

.glass-panel,
.pricing-card,
.cta-band,
.form-shell {
  border-radius: var(--site-radius);
}

.hero-panel,
.prose-panel,
.role-card,
.form-shell {
  padding: 1.75rem;
}

.metric-grid,
.feature-grid,
.role-grid,
.pricing-grid {
  display: grid;
  gap: 1.2rem;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.metric-card {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(247, 241, 221, 0.04);
  border: 1px solid rgba(247, 241, 221, 0.08);
}

.metric-value {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  color: var(--site-gold-soft);
  margin-bottom: 0.45rem;
}

.metric-label {
  color: var(--site-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pill-chip {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.09);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--site-gold-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-shell + .section-shell {
  margin-top: 2.25rem;
}

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

.feature-card {
  border-radius: 24px;
  padding: 1.4rem;
}

.feature-card h3,
.faq-item h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.role-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--site-white);
}

.role-list li + li {
  margin-top: 0.65rem;
}

.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prose-panel {
  min-height: 100%;
}

.prose-panel .section-title,
.faq-item h3,
.pricing-card h3 {
  max-width: none;
}

.pricing-card {
  padding: 1.6rem;
}

.pricing-card-featured {
  border-color: rgba(201, 168, 76, 0.38);
  transform: translateY(-6px);
}

.pricing-top {
  min-height: 104px;
}

.pricing-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin: 1rem 0 0.8rem;
}

.pricing-price {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
}

.pricing-period {
  color: var(--site-muted);
}

.pricing-actions {
  margin-top: 1.4rem;
}

.cta-band {
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.contact-layout {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-info-stack {
  display: grid;
  gap: 1.25rem;
}

.contact-details-list,
.faq-list {
  display: grid;
  gap: 1rem;
}

.contact-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-detail-row strong {
  font-size: 1.05rem;
}

.form-banner {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.form-banner-success {
  background: rgba(39, 174, 96, 0.14);
  border: 1px solid rgba(39, 174, 96, 0.34);
  color: #bef0cf;
}

.form-banner-error {
  background: rgba(192, 57, 43, 0.14);
  border: 1px solid rgba(192, 57, 43, 0.34);
  color: #ffd0ca;
}

.contact-form,
.field-block {
  display: grid;
  gap: 0.45rem;
}

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

.contact-form {
  gap: 1rem;
}

.field-block label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--site-gold-soft);
}

.field-block input,
.field-block select,
.field-block textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(247, 241, 221, 0.12);
  background: rgba(7, 10, 14, 0.82);
  color: var(--site-white);
  padding: 0.95rem 1rem;
  font: inherit;
}

.field-block textarea {
  resize: vertical;
  min-height: 150px;
}

.field-block input:focus,
.field-block select:focus,
.field-block textarea:focus {
  outline: 2px solid rgba(201, 168, 76, 0.28);
  border-color: rgba(201, 168, 76, 0.35);
}

.field-block .is-invalid {
  border-color: rgba(192, 57, 43, 0.46);
}

.field-error {
  margin: 0;
  color: #ffb1a8;
  font-size: 0.83rem;
}

.form-submit-btn {
  margin-top: 0.25rem;
}

.site-footer {
  padding: 2.2rem 0 2.6rem;
}

.site-footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  border-top: 1px solid rgba(201, 168, 76, 0.14);
  padding-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
}

.site-footer-brand {
  margin: 0 0 0.4rem;
}

.site-footer-copy {
  margin: 0;
  max-width: 52ch;
}

.site-footer-links a {
  color: var(--site-muted);
}

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

@media (max-width: 1080px) {
  .hero-layout,
  .contact-layout,
  .split-layout,
  .feature-grid,
  .role-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-layout,
  .feature-grid,
  .role-grid,
  .pricing-grid,
  .split-layout,
  .metric-grid,
  .form-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .narrow-shell,
  .site-nav,
  .site-footer-inner {
    width: min(100% - 1.4rem, 100%);
  }

  .hero-title {
    max-width: none;
  }

  .site-nav-links {
    gap: 0.65rem 1rem;
  }

  .site-link {
    font-size: 0.9rem;
  }

  .hero-block,
  .page-hero {
    padding-top: 2.2rem;
  }

  .hero-panel,
  .prose-panel,
  .role-card,
  .form-shell,
  .pricing-card,
  .cta-band {
    padding: 1.25rem;
  }
}
