:root {
  --pine-950: #041612;
  --pine-900: #071f18;
  --pine-850: #0a241d;
  --pine-800: #0f3027;
  --cream: #f6f0df;
  --cream-soft: #d8cfb9;
  --cream-muted: #9f967f;
  --gold: #d8ad55;
  --gold-soft: #e8c373;
  --line: rgba(246, 240, 223, 0.13);
  --line-strong: rgba(246, 240, 223, 0.2);
  --panel: rgba(8, 31, 25, 0.76);
  --panel-strong: rgba(11, 39, 32, 0.94);
  --shadow: rgba(0, 0, 0, 0.28);
  --shadow-deep: rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--cream);
  background:
    radial-gradient(circle at 88% 8%, rgba(232, 195, 115, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--pine-900) 0%, var(--pine-950) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(246, 240, 223, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 223, 0.016) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 74%);
}

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

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

figure {
  margin: 0;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding-top: 20px;
}

.nav,
.brand,
.nav-links,
.hero-actions,
.feature-chips,
.access {
  display: flex;
  align-items: center;
}

.nav {
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(246, 240, 223, 0.14);
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  position: relative;
  gap: 20px;
  color: var(--cream-soft);
  font-size: 0.9rem;
  font-weight: 620;
}

.nav-links a,
.site-footer a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

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

.login-menu {
  position: relative;
}

.login-menu summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(246, 240, 223, 0.16);
  border-radius: 999px;
  background: rgba(246, 240, 223, 0.04);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  list-style: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.login-menu summary::-webkit-details-marker {
  display: none;
}

.login-menu summary::after {
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(45deg);
  transition: transform 160ms ease;
}

.login-menu[open] summary,
.login-menu summary:hover,
.login-menu summary:focus-visible {
  border-color: rgba(232, 195, 115, 0.38);
  background: rgba(232, 195, 115, 0.075);
  color: var(--gold-soft);
}

.login-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.login-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 5;
  width: min(260px, calc(100vw - 36px));
  padding: 8px;
  border: 1px solid rgba(246, 240, 223, 0.14);
  border-radius: 12px;
  background: rgba(7, 31, 24, 0.98);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
}

.login-panel a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--cream);
}

.login-panel a:hover,
.login-panel a:focus-visible {
  background: rgba(246, 240, 223, 0.055);
}

.login-panel small {
  color: var(--cream-muted);
  font-size: 0.74rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr);
  align-items: start;
  gap: 48px;
  min-height: auto;
  padding: 40px 0 112px;
}

.hero-copy-block {
  max-width: 710px;
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 740;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.94;
}

.hero-kicker {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(1.72rem, 3.55vw, 3.35rem);
  font-weight: 690;
  line-height: 1.04;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--cream-soft);
  font-size: 1.05rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-cta,
.secondary-cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.primary-cta {
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid rgba(232, 195, 115, 0.56);
  background: var(--gold-soft);
  color: #10231c;
  box-shadow: 0 14px 36px rgba(216, 173, 85, 0.12);
}

.secondary-cta {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(246, 240, 223, 0.18);
  background: rgba(246, 240, 223, 0.045);
  color: var(--cream);
}

.primary-cta:hover,
.primary-cta:focus-visible,
.secondary-cta:hover,
.secondary-cta:focus-visible {
  transform: translateY(-1px);
}

.primary-cta:disabled,
.secondary-cta:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  border-color: rgba(232, 195, 115, 0.42);
  background: rgba(232, 195, 115, 0.075);
}

.hero-preview {
  position: relative;
  min-height: 530px;
  padding: 0;
}

.screenshot-frame,
.card-preview {
  overflow: hidden;
  border: 1px solid rgba(246, 240, 223, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(246, 240, 223, 0.08), rgba(246, 240, 223, 0.02)),
    var(--panel);
  box-shadow: 0 28px 80px var(--shadow);
}

.screenshot-frame::before,
.card-preview::before {
  display: block;
  height: 30px;
  border-bottom: 1px solid rgba(246, 240, 223, 0.1);
  background:
    radial-gradient(circle at 16px 50%, rgba(232, 195, 115, 0.72) 0 4px, transparent 4.5px),
    radial-gradient(circle at 31px 50%, rgba(246, 240, 223, 0.28) 0 4px, transparent 4.5px),
    radial-gradient(circle at 46px 50%, rgba(246, 240, 223, 0.18) 0 4px, transparent 4.5px),
    rgba(4, 22, 18, 0.46);
  content: "";
}

.hero-shot {
  position: relative;
  aspect-ratio: 5 / 3;
}

.hero-shot img,
.screenshot-card img,
.bundle-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.hero-shot-email {
  width: 91%;
  transform: translateY(8px);
}

.hero-shot-organizer {
  z-index: 1;
  width: 77%;
  margin-top: -142px;
  margin-left: auto;
  border-color: rgba(232, 195, 115, 0.24);
  box-shadow:
    0 30px 90px var(--shadow-deep),
    0 0 0 1px rgba(232, 195, 115, 0.05);
}

.products,
.explanation,
.access {
  border-top: 1px solid var(--line);
}

.products {
  padding: 76px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 660px;
  margin: 0 auto 30px;
  text-align: center;
}

.explanation h2,
.access h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 620px;
  font-size: clamp(1.8rem, 2.55vw, 2.65rem);
  line-height: 1.07;
}

.section-copy {
  max-width: 600px;
  margin: 0;
  color: var(--cream-soft);
  font-size: 0.97rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 16px;
  min-height: 0;
  padding: 21px;
  border: 1px solid rgba(246, 240, 223, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(246, 240, 223, 0.055), rgba(246, 240, 223, 0.018)),
    var(--panel-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.product-card-bundle {
  background:
    linear-gradient(180deg, rgba(232, 195, 115, 0.055), rgba(246, 240, 223, 0.022)),
    var(--panel-strong);
}

.card-intro {
  display: grid;
  grid-template-rows: auto minmax(3.65rem, auto) minmax(4.9rem, auto);
  gap: 9px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 28px;
  min-width: 0;
}

.card-kicker {
  width: fit-content;
  min-height: 25px;
  margin-bottom: 0;
  padding: 0 9px;
  border: 1px solid rgba(232, 195, 115, 0.22);
  border-radius: 999px;
  background: rgba(232, 195, 115, 0.055);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 23px;
}

.product-icon,
.product-icon-pair {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.product-icon {
  justify-content: center;
  width: 28px;
  height: 28px;
}

.product-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.product-icon-pair {
  gap: 4px;
}

.product-icon-pair .product-icon {
  width: 24px;
  height: 24px;
}

.product-icon-pair .product-icon img {
  width: 22px;
  height: 22px;
}

.product-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

.card-preview {
  min-height: 0;
  box-shadow: none;
}

.screenshot-card,
.bundle-card-preview {
  aspect-ratio: 5 / 3;
}

.bundle-card-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 0;
  padding: 10px;
}

.bundle-card-preview::before {
  display: none;
}

.bundle-shot {
  overflow: hidden;
  border: 1px solid rgba(246, 240, 223, 0.1);
  border-radius: 9px;
  background: rgba(4, 22, 18, 0.34);
}

.bundle-shot img {
  min-height: 100%;
}

.card-description {
  margin-bottom: 0;
  color: var(--cream-soft);
  font-size: 0.96rem;
}

.feature-chips {
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chips span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(246, 240, 223, 0.11);
  border-radius: 999px;
  background: rgba(246, 240, 223, 0.035);
  color: var(--cream-soft);
  font-size: 0.74rem;
  font-weight: 650;
}

.card-domain {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 240, 223, 0.1);
  color: var(--cream-muted);
  font-size: 0.8rem;
  font-weight: 660;
}

.explanation {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: start;
  gap: 48px;
  padding: 68px 0;
}

.lower-section-copy {
  max-width: 660px;
}

.lower-section-copy .eyebrow {
  margin-bottom: 13px;
}

.lower-section-copy h2 {
  max-width: 620px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
}

.lower-section-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--cream-soft);
  font-size: 1rem;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 112px;
}

.audience-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(246, 240, 223, 0.12);
  border-radius: 999px;
  background: rgba(246, 240, 223, 0.035);
  color: var(--cream-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.access {
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(28px, 5vw, 58px);
  padding: 60px 0;
}

.access .lower-section-copy {
  max-width: 620px;
}

.access .primary-cta {
  flex: 0 0 auto;
  margin-bottom: 3px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  justify-content: space-between;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--cream-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  color: var(--cream-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.early-access-modal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(246, 240, 223, 0.16);
  border-radius: 16px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(246, 240, 223, 0.075), rgba(246, 240, 223, 0.024)),
    rgba(6, 26, 20, 0.98);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.48);
}

.early-access-modal::backdrop {
  background: rgba(2, 12, 10, 0.72);
  backdrop-filter: blur(9px);
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
  max-height: calc(100vh - 48px);
  padding: 30px;
}

.modal-close {
  appearance: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(246, 240, 223, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), var(--cream-soft) calc(50% - 1px), var(--cream-soft) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), var(--cream-soft) calc(50% - 1px), var(--cream-soft) calc(50% + 1px), transparent calc(50% + 1px)),
    rgba(246, 240, 223, 0.035);
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: rgba(232, 195, 115, 0.38);
}

.modal-copy {
  max-width: 560px;
  padding-right: 42px;
}

.modal-copy .eyebrow {
  margin-bottom: 12px;
}

.modal-copy h2,
.form-success h3 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.08;
}

.modal-copy p,
.form-success p {
  margin: 14px 0 0;
  color: var(--cream-soft);
}

.early-access-form {
  display: grid;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.early-access-form label,
.early-access-form fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.early-access-form label > span,
.early-access-form legend {
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.early-access-form input,
.early-access-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 240, 223, 0.14);
  border-radius: 10px;
  background: rgba(4, 22, 18, 0.58);
  color: var(--cream);
  font: inherit;
}

.early-access-form input:not([type="radio"]) {
  min-height: 44px;
  padding: 0 13px;
}

.early-access-form textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.early-access-form input:focus,
.early-access-form textarea:focus {
  outline: 2px solid rgba(232, 195, 115, 0.28);
  outline-offset: 2px;
  border-color: rgba(232, 195, 115, 0.46);
}

.early-access-form fieldset {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border: 0;
}

.early-access-form fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
}

.early-access-form fieldset label {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid rgba(246, 240, 223, 0.12);
  border-radius: 10px;
  background: rgba(246, 240, 223, 0.035);
}

.early-access-form input[type="radio"] {
  width: 15px;
  height: 15px;
  accent-color: var(--gold-soft);
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.84rem;
}

.form-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 -4px 0 0;
  padding: 14px 4px 2px 0;
  background: linear-gradient(180deg, rgba(6, 26, 20, 0), rgba(6, 26, 20, 0.36));
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 10px 0 4px;
}

.early-access-form[hidden],
.form-success[hidden] {
  display: none !important;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
    padding: 58px 0 68px;
  }

  .hero-preview {
    max-width: 840px;
    min-height: 0;
    padding-top: 0;
  }

  .hero-shot-email,
  .hero-shot-organizer {
    width: 100%;
    margin: 0;
    transform: none;
  }

  .hero-shot-organizer {
    margin-top: 14px;
  }

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

  .product-card {
    min-height: auto;
  }

  .card-intro {
    grid-template-rows: auto;
  }

  .explanation {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .audience-grid {
    padding-top: 0;
  }

  .explanation {
    padding: 64px 0;
  }
}

@media (max-width: 760px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    padding-top: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 16px;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .login-menu summary {
    min-height: 32px;
    padding: 0 11px;
  }

  .modal-shell {
    gap: 20px;
    padding: 24px;
  }

  .modal-copy {
    padding-right: 36px;
  }

  .early-access-form fieldset {
    grid-template-columns: 1fr;
  }

  .form-actions {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  .hero-kicker {
    font-size: clamp(1.58rem, 8.2vw, 2.32rem);
  }

  .hero-copy,
  .card-description {
    font-size: 0.95rem;
  }

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

  .hero-preview {
    padding: 4px 0;
  }

  .screenshot-frame,
  .card-preview {
    border-radius: 10px;
  }

  .screenshot-frame::before,
  .card-preview::before {
    height: 22px;
    background:
      radial-gradient(circle at 13px 50%, rgba(232, 195, 115, 0.72) 0 3px, transparent 3.5px),
      radial-gradient(circle at 25px 50%, rgba(246, 240, 223, 0.28) 0 3px, transparent 3.5px),
      radial-gradient(circle at 37px 50%, rgba(246, 240, 223, 0.18) 0 3px, transparent 3.5px),
      rgba(4, 22, 18, 0.46);
  }

  .products,
  .explanation {
    padding: 52px 0;
  }

  .access {
    padding: 52px 0;
  }

  .product-card {
    padding: 20px;
  }

  .bundle-card-preview {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bundle-shot {
    aspect-ratio: 5 / 3;
  }

  .site-footer {
    flex-direction: column;
  }
}
