:root {
  --ink: #171916;
  --muted: #66706b;
  --paper: #fbf8ef;
  --surface: #ffffff;
  --forest: #123f36;
  --forest-2: #0d2b28;
  --gold: #c99a2e;
  --gold-soft: #f2dfaa;
  --ruby: #9c2930;
  --teal: #0f7b66;
  --line: rgba(23, 25, 22, 0.12);
  --shadow: 0 24px 70px rgba(20, 30, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fffaf0;
  background: rgba(10, 25, 23, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #173229;
  background: linear-gradient(135deg, #fff2bc, #c99a2e);
  font-size: 0.8rem;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.95rem;
}

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

.header-cta,
.primary-button,
.secondary-button,
.price-card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta,
.primary-button,
.price-card a {
  color: #14312a;
  background: linear-gradient(135deg, #fff0ad, #c99a2e);
}

.secondary-button {
  color: #fffaf0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fffaf0;
}

.mobile-nav {
  position: fixed;
  inset: 72px 14px auto;
  z-index: 30;
  display: grid;
  gap: 10px;
  padding: 16px;
  color: #fffaf0;
  background: #102d28;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fffaf0;
  background: #0e2a26;
}

.hero-asset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 16, 0.95) 0%, rgba(7, 18, 16, 0.76) 38%, rgba(7, 18, 16, 0.18) 76%),
    linear-gradient(0deg, rgba(7, 18, 16, 0.64), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.4rem, 11vw, 9.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-stats dt {
  color: #f5dfa0;
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.84rem;
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  color: #173229;
  background: #f0dfb2;
  border-bottom: 1px solid rgba(87, 66, 19, 0.16);
}

.trust-band span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.84rem;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(900px, 100%);
  margin-bottom: 34px;
}

.section-heading p,
.directory-copy > p,
.contact-section > div p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.intro-section,
.features-section {
  background: #fffdf6;
}

.role-tabs,
.billing-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6efe0;
}

.role-tab,
.billing-toggle button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.role-tab.is-active,
.billing-toggle button.is-active {
  color: #fffaf0;
  background: var(--forest);
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 22px;
  margin-top: 22px;
}

.role-detail,
.role-metrics,
.workflow-grid article,
.price-card,
.directory-tool,
.calculator,
.feature-grid article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(25, 28, 24, 0.08);
}

.role-detail,
.role-metrics {
  padding: clamp(22px, 3vw, 34px);
}

.role-detail p,
.workflow-grid p,
.price-card li,
.price-note,
.feature-grid p,
.calculator label,
.lead-form label,
.member-card p {
  color: var(--muted);
  line-height: 1.65;
}

.role-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.role-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.role-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.role-metrics {
  display: grid;
  gap: 14px;
  align-content: start;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--forest), #101c1a);
}

.metric {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  color: #f2dfaa;
  font-size: 1.7rem;
}

.metric span {
  color: rgba(255, 250, 240, 0.7);
}

.workflow-section,
.plans-section,
.directory-section,
.contact-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    var(--paper);
}

.workflow-grid,
.pricing-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid article,
.feature-grid article {
  padding: 24px;
}

.workflow-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.plans-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.billing-toggle {
  margin-bottom: 20px;
}

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

.price-card {
  padding: 28px;
}

.price-card.featured {
  color: #fffaf0;
  background: linear-gradient(145deg, #123f36, #111715);
  border-color: rgba(242, 223, 170, 0.34);
  transform: translateY(-10px);
}

.plan-label {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured .plan-label,
.featured .price-note,
.featured li {
  color: rgba(255, 250, 240, 0.72);
}

.price {
  margin: 18px 0 2px;
  color: var(--forest);
  font-size: 2.35rem;
  font-weight: 900;
}

.featured .price {
  color: #f2dfaa;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--teal);
  font-weight: 900;
}

.featured li::before {
  color: #f2dfaa;
}

.directory-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.calculator {
  margin-top: 24px;
  padding: 22px;
}

.calculator label,
.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fffdf8;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--teal);
}

.calculator-result {
  margin: 18px 0 0;
  color: var(--forest);
  font-size: 1.08rem;
  font-weight: 900;
}

.directory-tool {
  padding: 18px;
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
  margin-bottom: 14px;
}

.member-list {
  display: grid;
  gap: 10px;
}

.member-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.member-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #173229;
  background: linear-gradient(135deg, #fff0ad, #c99a2e);
  font-weight: 900;
}

.member-card h3 {
  margin-bottom: 3px;
  font-size: 1rem;
}

.member-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.member-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.features-section {
  border-top: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(18, 63, 54, 0.96), rgba(17, 23, 21, 0.98)),
    var(--forest);
}

.contact-section .eyebrow,
.contact-section h2 {
  color: #f2dfaa;
}

.contact-section > div p {
  color: rgba(255, 250, 240, 0.72);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 250, 240, 0.72);
  background: #0d1715;
}

.site-footer .brand {
  color: #fffaf0;
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.policy-page {
  background:
    linear-gradient(180deg, rgba(18, 63, 54, 0.12), rgba(18, 63, 54, 0)),
    var(--paper);
}

.policy-shell {
  padding-top: 84px;
}

.policy-hero {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px) clamp(32px, 5vw, 54px);
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(18, 63, 54, 0.96), rgba(17, 23, 21, 0.98)),
    var(--forest);
}

.policy-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.policy-hero p:last-child {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.72);
  font-weight: 700;
}

.policy-document {
  width: min(980px, calc(100% - 36px));
  margin: -18px auto clamp(56px, 8vw, 104px);
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.policy-document h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.policy-document p,
.policy-document li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.policy-document a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .role-panel,
  .directory-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .hero-section {
    min-height: 840px;
    align-items: start;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 18, 16, 0.98) 0%, rgba(7, 18, 16, 0.82) 56%, rgba(7, 18, 16, 0.42) 100%);
  }

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

  .role-tabs,
  .billing-toggle {
    display: grid;
    width: 100%;
  }

  .workflow-grid,
  .feature-grid,
  .filter-row,
  .member-card {
    grid-template-columns: 1fr;
  }

  .member-badge {
    width: max-content;
  }

  .site-footer {
    display: grid;
  }

  .policy-shell {
    padding-top: 72px;
  }

  .policy-document {
    width: calc(100% - 24px);
  }
}
