:root {
  --ink: #071615;
  --muted: #60726e;
  --line: #d4e1dc;
  --surface: #f3f8f5;
  --panel: #ffffff;
  --green: #62cf8f;
  --deep: #03100f;
  --teal: #1e9b90;
  --gold: #b8821d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 24px;
  right: 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 14px;
  background: rgba(3, 16, 15, 0.78);
  border: 1px solid rgba(98, 207, 143, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.brand img {
  display: block;
  width: 142px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(238, 248, 243, 0.82);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-cta,
.primary-link,
.secondary-link,
.access-form button,
.app-launch-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(98, 207, 143, 0.9);
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
}

.header-cta,
.primary-link,
.access-form button,
.app-launch-link {
  background: var(--green);
  color: #061411;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(98, 207, 143, 0.24), transparent 28%),
    linear-gradient(135deg, #03100f 0%, #071917 48%, #061110 100%);
  border-bottom: 1px solid rgba(98, 207, 143, 0.18);
}

.hero img {
  position: absolute;
  right: -7vw;
  bottom: 0;
  width: min(800px, 58vw);
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  opacity: 0.46;
  filter: saturate(1.1) contrast(1.06);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 15, 0.96) 0%, rgba(3, 16, 15, 0.82) 45%, rgba(3, 16, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(3, 16, 15, 0.95) 0%, rgba(3, 16, 15, 0) 32%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: 150px 36px 95px;
  color: #fff;
}

.hero-copy p,
.eyebrow,
.proof-grid span,
.feature-panel > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy p {
  margin: 0 0 12px;
  font-size: 15px;
}

.hero-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 9vw, 126px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy span {
  display: block;
  max-width: 720px;
  margin-top: 22px;
  color: #e9f0ec;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px 28px;
  background: var(--deep);
  border-bottom: 1px solid rgba(98, 207, 143, 0.16);
}

.signal-strip span {
  border: 1px solid rgba(98, 207, 143, 0.2);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(238, 248, 243, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.proof-grid,
.feature-lab,
.template-lab,
.workflow-section,
.access-section,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 24px;
}

.proof-grid article,
.feature-shell,
.template-panel,
.workflow-grid article,
.access-section {
  background: var(--panel);
  border: 1px solid var(--line);
}

.proof-grid article {
  min-height: 190px;
  display: grid;
  align-content: end;
  padding: 24px;
}

.proof-grid strong {
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
}

.proof-grid p,
.section-copy p,
.feature-panel p,
.feature-panel li,
.template-panel p,
.workflow-grid strong,
.access-section p,
.form-note,
.registration-success span {
  color: var(--muted);
  line-height: 1.45;
}

.feature-lab,
.template-lab,
.workflow-section,
.access-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-copy h2,
.workflow-section h2,
.access-section h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.95;
}

.access-section h2 {
  max-width: 420px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.section-copy p,
.access-section p {
  margin: 0;
  font-size: 18px;
}

.feature-shell {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  min-height: 330px;
}

.feature-tabs,
.template-picker {
  display: grid;
  gap: 10px;
}

.feature-tabs {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.feature-tabs button,
.template-picker button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  padding: 0 14px;
}

.feature-tabs button.active,
.template-picker button.active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.feature-panel {
  padding: 30px;
}

.feature-panel h3,
.template-panel h3 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.96;
}

.feature-panel ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.template-lab {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(260px, 0.42fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: end;
}

.template-lab .section-copy {
  margin-bottom: 0;
}

.template-panel {
  min-height: 260px;
  padding: 26px;
}

#template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

#template-tags span {
  border: 1px solid var(--line);
  background: #f8fbf9;
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 900;
}

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

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.workflow-grid article {
  display: grid;
  min-height: 150px;
  padding: 20px;
}

.workflow-grid span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.workflow-grid strong {
  align-self: end;
  color: var(--ink);
  font-size: 22px;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1fr);
  gap: 38px;
  margin-bottom: 40px;
}

.access-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.access-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.access-form input,
.access-form select {
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

.access-form button,
.form-note {
  grid-column: 1 / -1;
}

.access-form button {
  width: fit-content;
  cursor: pointer;
}

.access-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.app-launch-link {
  width: fit-content;
  text-decoration: none;
}

.registration-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 16, 15, 0.72);
  backdrop-filter: blur(10px);
}

.registration-modal[hidden] {
  display: none;
}

.registration-modal-card {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  position: relative;
  padding: 30px;
  border: 1px solid rgba(98, 207, 143, 0.34);
  background: #f1fbf5;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.registration-modal-card strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.registration-modal-card span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.modal-close {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.modal-open {
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 168px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-footer span,
.site-footer a {
  font-size: 14px;
  line-height: 1.25;
}

.site-footer span {
  max-width: 260px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    border-radius: 0;
    padding: 16px 20px;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 82vh;
  }

  .hero img {
    width: 94vw;
    opacity: 0.24;
  }

  .hero-copy {
    padding: 58px 24px;
  }

  .proof-grid,
  .feature-shell,
  .template-lab,
  .workflow-grid,
  .access-section,
  .access-form {
    grid-template-columns: 1fr;
  }

  .feature-tabs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
