:root {
  --bg: #f2efe8;
  --surface: #fffcf7;
  --surface-2: #ebe3d7;
  --ink: #111827;
  --muted: #5f6576;
  --line: rgba(15, 18, 32, 0.1);
  --violet: #243b72;
  --violet-deep: #16254c;
  --pink: #92724d;
  --cyan: #d9e7f2;
  --gold: #c4a164;
  --night: #111827;
  --night-2: #1b2740;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(36, 59, 114, 0.07), transparent 20rem),
    radial-gradient(circle at top right, rgba(196, 161, 100, 0.1), transparent 22rem),
    var(--bg);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
strong,
.brand-name,
.button {
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

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

.shell {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 82%);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(242, 239, 232, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 18, 32, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand-link,
.brand-copy {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.brand-name {
  font-size: 1.1rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.main-nav a,
.footer-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
}

.button-solid {
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), #39538f);
  box-shadow: 0 16px 28px rgba(22, 37, 76, 0.22);
}

.button-outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.button-outline-dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.eyebrow,
.mini-label,
.footer-newsletter label,
.newsletter-panel span,
.contact-form-panel span {
  display: inline-block;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow,
.mini-label {
  color: var(--violet-deep);
}

.hero-grid,
.platform-stage,
.contributors-stage,
.studies-stage,
.trust-stage,
.subscribe-stage,
.close-stage,
.page-hero,
.contact-stage,
.legal-stage,
.site-footer {
  padding: 4.6rem 0;
}

.hero-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  max-width: 74rem;
}

.hero-surface {
  position: relative;
  overflow: hidden;
  min-height: 38rem;
  border: 1px solid rgba(15, 18, 32, 0.08);
  border-radius: 2.4rem;
  background: #cfd6df;
  box-shadow: 0 30px 70px rgba(32, 39, 69, 0.16);
}

.hero-background-image {
  width: 100%;
  height: 100%;
  min-height: 38rem;
  object-fit: cover;
}

.hero-surface-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(15, 18, 32, 0.18), transparent 30%),
    linear-gradient(180deg, transparent 28%, rgba(15, 18, 32, 0.8));
}

.hero-copy {
  padding-top: 0;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.hero-copy .eyebrow,
.section-heading .eyebrow {
  margin-bottom: 1rem;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}

.hero-intro,
.section-copy,
.close-actions p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.hero-copy .eyebrow,
.hero-copy .hero-intro,
.hero-copy h1 {
  color: var(--white);
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero-copy .hero-intro {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.hero-copy .button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.tile,
.contributor-card,
.study-board,
.trust-card,
.newsletter-panel,
.contact-brief,
.contact-form-panel,
.legal-card-panel {
  border-radius: 1.8rem;
}

.tile,
.contributor-card,
.study-board,
.trust-card,
.newsletter-panel,
.contact-brief,
.contact-form-panel,
.legal-card-panel {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.8);
}

.platform-photo img,
.contact-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-proof-item {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.56);
}

.hero-proof-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.hero-proof-item span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.hero-proof-navy {
  background: linear-gradient(180deg, #21355f, #182846);
  border-color: #21355f;
}

.hero-proof-slate {
  background: linear-gradient(180deg, #56657d, #455265);
  border-color: #56657d;
}

.hero-proof-gold {
  background: linear-gradient(180deg, #d3bc90, #c4a164);
  border-color: #c4a164;
}

.hero-proof-navy strong,
.hero-proof-slate strong,
.hero-proof-gold strong {
  color: var(--white);
}

.hero-proof-navy span,
.hero-proof-slate span {
  color: rgba(255, 255, 255, 0.84);
}

.hero-proof-gold strong,
.hero-proof-gold span {
  color: var(--ink);
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  justify-items: center;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading-tight {
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
}

.section-heading-wide {
  max-width: 66rem;
  margin-left: auto;
  margin-right: auto;
}

.platform-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.92fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.platform-column {
  display: grid;
  gap: 1rem;
}

.tile {
  padding: 1.2rem;
  min-height: 15rem;
}

.tile h3,
.contributor-card h3,
.trust-card strong,
.study-row strong,
.contact-brief h2,
.legal-card-panel h2 {
  margin: 0.7rem 0 0.6rem;
  font-size: 1.25rem;
}

.tile p,
.contributor-card p,
.trust-card p,
.contact-list,
.contact-note a,
.legal-card-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.tile-cream {
  background: linear-gradient(180deg, #fff7eb, #fffdf9);
}

.tile-lilac {
  background: linear-gradient(180deg, #eef2f8, #fffdf9);
}

.tile-sky {
  background: linear-gradient(180deg, #edf4f8, #fffdf9);
}

.tile-ink {
  background: linear-gradient(180deg, #1d2943, #111827);
  color: var(--white);
}

.tile-ink .mini-label,
.tile-ink p {
  color: rgba(255, 255, 255, 0.75);
}

.platform-center {
  min-height: 100%;
}

.platform-photo {
  height: 100%;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 2rem 2rem 5rem 2rem;
  box-shadow: 0 24px 48px rgba(32, 39, 69, 0.14);
}

.contributors-shell {
  display: grid;
  gap: 1rem;
}

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

.contributor-card {
  overflow: hidden;
  padding: 0 0 1.2rem;
}

.card-image {
  aspect-ratio: 16 / 11;
}

.contributor-card h3,
.contributor-card p {
  padding: 0 1.2rem;
}

.studies-shell {
  display: grid;
  gap: 1rem;
}

.study-board {
  overflow: hidden;
  padding: 0.3rem 1.2rem;
}

.study-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr) 110px;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.study-row:last-child {
  border-bottom: 0;
}

.study-row-head {
  color: var(--muted);
  font-size: 0.9rem;
}

.study-row em {
  justify-self: start;
  padding: 0.5rem 0.8rem 0.42rem;
  border-radius: 999px;
  background: rgba(113, 88, 255, 0.12);
  color: var(--violet-deep);
  font-style: normal;
  font-size: 0.82rem;
}

.trust-layout {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1rem;
}

.trust-card {
  padding: 1.2rem;
}

.trust-card-dark {
  background: linear-gradient(180deg, #233352, #111827);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.06);
}

.access-stage {
  padding: 0 0 4.6rem;
}

.access-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.access-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
}

.access-card h3 {
  margin: 0.7rem 0;
  font-size: 1.4rem;
}

.access-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.access-card-participant {
  background: linear-gradient(180deg, #fffaf3, #fffdf9);
}

.access-card-researcher {
  background: linear-gradient(180deg, #1b2740, #111827);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.access-card-researcher .mini-label,
.access-card-researcher p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-card-dark .mini-label,
.trust-card-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.subscribe-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 1rem;
  align-items: end;
}

.newsletter-panel,
.contact-form-panel,
.legal-card-panel,
.contact-brief {
  padding: 1.2rem;
}

.newsletter-panel,
.footer-newsletter {
  display: grid;
  gap: 0.75rem;
}

.newsletter-panel input,
.footer-newsletter input,
.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.close-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: end;
}

.close-shell h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.close-actions {
  display: grid;
  gap: 1rem;
}

.page-hero {
  padding-bottom: 2rem;
}

.page-hero-shell {
  display: grid;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: 1rem;
}

.contact-hero-image {
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  margin-bottom: 1rem;
}

.contact-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.contact-list li + li {
  margin-top: 0.45rem;
}

.contact-note {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-note strong {
  display: block;
  margin-bottom: 0.45rem;
}

.contact-form-panel label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form-panel textarea {
  resize: vertical;
}

.legal-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-stage {
  padding-top: 0;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: 1rem;
  align-items: start;
}

.auth-panel,
.auth-aside {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: rgba(255, 253, 249, 0.84);
}

.auth-panel h2,
.auth-aside h2 {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.auth-panel p,
.auth-aside p,
.auth-list li {
  color: var(--muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.auth-form label {
  display: block;
}

.auth-form span {
  display: block;
  margin-bottom: 0.45rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.auth-form textarea {
  resize: vertical;
}

.auth-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.auth-list li + li {
  margin-top: 0.45rem;
}

.site-footer {
  background: var(--night);
  color: var(--white);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  grid-column: 1 / 2;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 0.7rem 1.2rem;
  align-content: start;
}

.footer-newsletter label {
  color: rgba(255, 255, 255, 0.72);
}

.footer-newsletter {
  grid-column: 2 / 3;
  min-width: 0;
}

.footer-newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

@media (max-width: 1120px) {
  .hero-shell,
  .platform-frame,
  .trust-layout,
  .access-shell,
  .subscribe-shell,
  .close-shell,
  .contact-shell,
  .auth-shell,
  .legal-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .platform-photo {
    min-height: 24rem;
  }
}

@media (max-width: 860px) {
  .nav-shell,
  .main-nav,
  .hero-actions,
  .contributors-grid,
  .auth-grid-two,
  .footer-newsletter-row {
    display: grid;
  }

  .main-nav {
    justify-items: start;
  }

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

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

  .study-row-head {
    display: none;
  }

  .study-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-surface,
  .hero-background-image {
    min-height: 26rem;
  }

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