:root {
  --ink: #18231d;
  --forest: #20352b;
  --forest-2: #112019;
  --gold: #cda15a;
  --gold-2: #e0b56f;
  --cream: #f5efe4;
  --paper: #fffdf8;
  --muted: rgba(24, 35, 29, 0.72);
  --line: rgba(24, 35, 29, 0.12);
  --card: rgba(255, 255, 255, 0.84);
  --shadow: 0 18px 40px rgba(17, 32, 25, 0.08);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(205, 161, 90, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf8, var(--cream));
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

code {
  font-family: "Space Mono", monospace;
  font-size: 0.92em;
}

.wrap {
  width: min(var(--max), calc(100% - 28px));
  margin: auto;
}

.eyebrow {
  font: 700 0.72rem "Space Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c7666;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 35, 29, 0.06);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #122018;
}

.btn-dark {
  background: linear-gradient(180deg, var(--forest), var(--forest-2));
  color: #fff7ec;
}

.btn-light {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 242, 0.82);
  border-bottom: 1px solid rgba(24, 35, 29, 0.08);
}

.nav {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 800;
}

.brand span {
  font-size: 0.78rem;
  color: rgba(24, 35, 29, 0.64);
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
}

.nav-toggle span + span {
  margin-top: 4px;
}

main section {
  padding: 72px 0;
}

.hero {
  padding: 64px 0 36px;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.contact-grid,
.app-grid,
.app-grid-wide,
.auth-grid,
.dashboard-grid,
.ops-grid,
.metric-grid,
.kpi-grid,
.form-grid,
.footer,
.note-row,
.stats {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

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

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

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

.contact-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.app-grid {
  grid-template-columns: 320px 1fr;
}

.app-grid-wide {
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
}

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

h1,
h2,
h3,
h4 {
  font-family: Fraunces, serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
  max-width: 10ch;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--gold);
}

h2 {
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
}

p.lead,
.section-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

.card,
.stat,
.faq-item,
.panel,
.kpi,
.step,
.zone,
.table-wrap,
.hero-panel,
.app-shell {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.panel,
.zone,
.step,
.table-wrap,
.hero-panel,
.app-shell {
  padding: 22px;
}

.hero-panel {
  background: linear-gradient(180deg, var(--forest), var(--forest-2));
  color: #f8f2e8;
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-panel .metric {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel .metric:last-child {
  border-bottom: 0;
}

.hero-panel strong,
.result strong,
.kpi strong {
  display: block;
  font-size: 1.95rem;
}

.note-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.8rem 0.95rem;
  font-size: 0.92rem;
}

.stats {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}

.stat,
.kpi {
  padding: 18px;
}

.stat {
  text-align: center;
}

.stat strong,
.kpi strong {
  color: var(--forest);
  font-family: Fraunces, serif;
}

.list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.list li::before {
  content: "+ ";
  color: var(--gold);
  font-weight: 800;
}

.list-inline {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.mini {
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(24, 35, 29, 0.05);
  color: var(--muted);
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge {
  background: rgba(205, 161, 90, 0.16);
  color: var(--forest);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(24, 35, 29, 0.08);
  color: var(--forest);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

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

.compare th {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24, 35, 29, 0.64);
}

.calc {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}

.calc label {
  display: block;
  margin-top: 14px;
  font-weight: 700;
}

.calc output {
  display: block;
  margin-top: 4px;
  color: #5c7666;
  font-weight: 700;
}

.calc input[type="range"] {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--forest);
}

.result {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--forest), var(--forest-2));
  color: #fff7ec;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.founding-card {
  background: linear-gradient(180deg, var(--forest), var(--forest-2));
  color: #fff7ec;
  border-color: rgba(255, 255, 255, 0.08);
}

.founding-card .eyebrow,
.founding-card h2,
.founding-card h3,
.founding-card .pill {
  color: #fff7ec;
}

.founding-card .section-copy,
.founding-card .mini {
  color: rgba(255, 247, 236, 0.82);
}

.founding-card .pill {
  background: rgba(255, 255, 255, 0.12);
}

.urgency-meter {
  margin-top: 16px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.urgency-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 16px 18px;
  text-align: left;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-body {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.open .faq-body {
  display: block;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.compact-select {
  max-width: 320px;
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.check-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--forest);
}

.consent-field {
  gap: 10px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.photo-card img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.photo-card-copy {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--muted);
}

.photo-card-copy strong {
  color: var(--ink);
}

.step-active {
  border-color: rgba(205, 161, 90, 0.6);
  box-shadow: 0 20px 42px rgba(205, 161, 90, 0.12);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(24, 35, 29, 0.12);
  border-radius: 14px;
  background: #fffdf8;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(205, 161, 90, 0.3);
  outline-offset: 1px;
  border-color: rgba(205, 161, 90, 0.7);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.status {
  min-height: 1.3rem;
  margin-top: 10px;
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  padding: 0 0 28px;
}

.footer {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  color: rgba(24, 35, 29, 0.7);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.page-hero {
  padding: 54px 0 18px;
}

.page-hero .intro {
  max-width: 760px;
}

.kpi-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.kpi p {
  color: var(--muted);
  margin-top: 6px;
}

.sidebar,
.job-list,
.match-list {
  display: grid;
  gap: 12px;
}

.job-list,
.match-list {
  margin-top: 14px;
}

.job-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.job-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.empty {
  padding: 18px;
  border: 1px dashed rgba(24, 35, 29, 0.22);
  border-radius: 18px;
  color: var(--muted);
}

.dashboard-shell {
  margin-top: 18px;
}

.app-shell {
  background: rgba(255, 255, 255, 0.7);
}

.hidden {
  display: none !important;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid,
  .app-grid,
  .app-grid-wide,
  .auth-grid,
  .dashboard-grid,
  .ops-grid,
  .metric-grid,
  .calc,
  .stats,
  .note-row,
  .form-grid,
  .footer,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: relative;
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow);
    justify-content: flex-start;
    gap: 14px;
  }

  .nav.nav-open .links {
    display: grid;
  }

  .links .btn {
    width: 100%;
  }

  .footer {
    align-items: start;
  }
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24, 35, 29, 0.64);
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.billing-plan-option {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.billing-plan-option:hover {
  transform: translateY(-1px);
}

.billing-plan-option.active {
  border-color: rgba(205, 161, 90, 0.8);
  box-shadow: 0 14px 28px rgba(17, 32, 25, 0.08);
}

.billing-plan-option input[type="radio"] {
  width: auto;
  accent-color: var(--forest);
}

.billing-plan-price {
  font-family: Fraunces, serif;
  font-size: 1.5rem;
  color: var(--forest);
}

.billing-plan-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .billing-plan-grid {
    grid-template-columns: 1fr;
  }
}
