:root {
  --ink: #101513;
  --muted: #65716a;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #d9ddd2;
  --forest: #12352a;
  --forest-2: #1f5946;
  --mint: #8edabc;
  --gold: #caa35c;
  --cream: #f2ead2;
  --danger: #8f3f2f;
  --shadow: 0 24px 80px rgba(18, 25, 20, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.dialog-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fffdf2;
  transition: background .22s ease, box-shadow .22s ease, color .22s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(251, 250, 245, .92);
  box-shadow: 0 12px 40px rgba(16, 21, 19, .08);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.form-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.nav {
  gap: 28px;
  color: inherit;
  font-size: .94rem;
}

.nav a {
  opacity: .82;
}

.nav a:hover {
  opacity: 1;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 720;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

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

.button-primary {
  color: #111711;
  background: #f0d27a;
  border-color: #f0d27a;
}

.button-secondary {
  color: #fffdf2;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
}

.button-ghost {
  color: inherit;
  background: rgba(255, 255, 255, .08);
  border-color: currentColor;
}

.site-header.scrolled .button-ghost {
  background: rgba(18, 53, 42, .05);
}

.button-dark {
  color: #fffdf2;
  background: var(--forest);
  border-color: var(--forest);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  padding: 150px clamp(20px, 5vw, 76px) 32px;
  overflow: hidden;
  color: #fffdf2;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/shareposint-signal-field.svg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 8, 7, .82) 0%, rgba(4, 8, 7, .64) 38%, rgba(4, 8, 7, .18) 100%),
    linear-gradient(180deg, rgba(4, 8, 7, .1) 0%, rgba(4, 8, 7, .62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  align-self: center;
  padding-top: 4vh;
}

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

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 13vw, 12.5rem);
  line-height: .84;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 34px 0 0;
  color: #f6f1df;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  line-height: 1.32;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  gap: 1px;
  width: min(1180px, 100%);
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
}

.hero-strip div {
  min-height: 128px;
  padding: 22px;
  background: rgba(5, 12, 10, .38);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  margin-bottom: 9px;
  font-size: 1rem;
}

.hero-strip span {
  color: rgba(255, 253, 242, .76);
  font-size: .92rem;
}

.section {
  padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 76px);
}

.section-tight {
  padding-bottom: clamp(56px, 7vw, 92px);
}

.section-heading {
  max-width: 860px;
}

.section-heading h2,
.access-copy h2,
.login-panel h2 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr);
  gap: clamp(28px, 6vw, 90px);
  max-width: 1180px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 1.04rem;
}

.lead {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-row div {
  padding: 24px;
  background: #fffef9;
}

.stat-row span,
.portal-card small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.stat-row strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
}

.muted {
  background: #eef2eb;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.process-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid #d7ded1;
  border-radius: 8px;
  background: #fbfaf5;
}

.process-card span {
  color: var(--gold);
  font-weight: 800;
}

.process-card h3 {
  margin: 62px 0 14px;
  font-size: 1.45rem;
}

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

.access-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
  background: #16261f;
  color: #fffdf2;
}

.access-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 253, 242, .74);
  font-size: 1.08rem;
}

.access-copy .button {
  margin-top: 18px;
}

.portal-card {
  padding: 24px;
  border: 1px solid rgba(255, 253, 242, .18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 253, 242, .14), rgba(255, 253, 242, .04));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .24);
}

.portal-top {
  display: flex;
  gap: 8px;
}

.portal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 253, 242, .46);
}

.portal-line {
  width: 62%;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 253, 242, .16);
}

.portal-line.wide {
  width: 86%;
  height: 18px;
  margin-top: 34px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.portal-grid div {
  padding: 18px;
  border: 1px solid rgba(255, 253, 242, .16);
  border-radius: 8px;
}

.portal-grid strong {
  display: block;
  margin-top: 8px;
}

.portal-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(5, 12, 10, .28);
}

.portal-chart i {
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #f0d27a, #75d1b0);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin-top: 36px;
}

label {
  display: grid;
  gap: 8px;
  color: #27312d;
  font-size: .9rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd6cb;
  border-radius: 8px;
  background: #fffef9;
  color: var(--ink);
  outline: none;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 4px rgba(31, 89, 70, .12);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-footer {
  justify-content: space-between;
  gap: 20px;
}

.form-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, .9fr);
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 76px);
  color: rgba(255, 253, 242, .72);
  background: #0f1713;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fffdf2;
  font-size: 1.05rem;
}

.site-footer p {
  max-width: 940px;
  margin: 0;
  font-size: .88rem;
}

.login-dialog {
  width: min(540px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.login-dialog::backdrop {
  background: rgba(3, 8, 6, .68);
  backdrop-filter: blur(8px);
}

.login-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.login-copy {
  margin: 0 0 4px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffef9;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.login-panel a {
  color: var(--forest-2);
  font-weight: 740;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .hero-strip,
  .split,
  .stat-row,
  .process-grid,
  .access-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 52px;
  }

  .process-card {
    min-height: 230px;
  }

  .process-card h3 {
    margin-top: 38px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: .95rem;
  }

  .button-ghost {
    min-height: 40px;
    padding: 0 13px;
    font-size: .86rem;
  }

  .hero {
    padding: 106px 16px 18px;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 6.3rem);
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
