:root {
  color-scheme: light;
  --ink: #171225;
  --muted: #625b71;
  --line: #ded8ed;
  --surface: #ffffff;
  --surface-soft: #f7f4ff;
  --violet: #6b47d8;
  --violet-dark: #43248e;
  --aqua: #0d9aa5;
  --mint: #d9f5e6;
  --gold: #f3c96a;
  --coral: #f26d6d;
  --shadow: 0 22px 70px rgba(50, 33, 95, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(222, 216, 237, 0.8);
  background: rgba(251, 250, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-header nav a,
.site-footer nav a {
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--violet-dark);
  border-color: currentColor;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  color: #ffffff;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(600px, 82svh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    image-set(url("/assets/mnemia-start-screen.png") 1x)
    center 44% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(251, 250, 255, 0.7);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 96px);
  padding: 44px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 16vw, 10rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: #2d263f;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 650;
}

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

.button.primary {
  color: #ffffff;
  background: var(--violet-dark);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-strip div {
  min-height: 112px;
  padding: 22px clamp(18px, 4vw, 42px);
  background: #ffffff;
}

.proof-strip strong {
  display: block;
  color: var(--violet-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.proof-strip div:nth-child(2) strong {
  color: var(--aqua);
}

.proof-strip div:nth-child(3) strong {
  color: #8a6500;
}

.proof-strip div:nth-child(4) strong {
  color: var(--coral);
}

.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.4fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

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

.section-copy.narrow {
  max-width: 720px;
}

.section-copy h2,
.session-panel h2,
.support-band h2,
.legal-hero h1,
.support-hero h1,
.invite-card h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy p,
.feature-card p,
.session-panel p,
.agenda-preview p,
.legal-copy p,
.legal-copy li,
.support-copy p,
.invite-card p {
  color: var(--muted);
  font-size: 1.03rem;
}

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

.feature-card,
.agenda-preview,
.support-card,
.legal-copy,
.invite-card,
.session-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(43, 33, 71, 0.08);
}

.feature-card {
  min-height: 310px;
  padding: 24px;
  border-top-width: 4px;
}

.feature-card:nth-child(1) {
  border-top-color: var(--aqua);
}

.feature-card:nth-child(2) {
  border-top-color: var(--gold);
}

.feature-card:nth-child(3) {
  border-top-color: var(--coral);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card:nth-child(2) .feature-kicker {
  color: #8a6500;
}

.feature-card:nth-child(3) .feature-kicker {
  color: var(--coral);
}

.feature-card h3,
.agenda-preview h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.05;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
  background: #11101a;
  color: #ffffff;
}

.phone-visual {
  justify-self: center;
  width: min(360px, 86vw);
  aspect-ratio: 9 / 14;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #f7f4ff;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.phone-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.session-panel {
  max-width: 620px;
  padding: clamp(24px, 5vw, 42px);
  background: #ffffff;
  color: var(--ink);
}

.metric-row,
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.metric-row span,
.invite-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--violet-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.timeline div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: #0c6f58;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.agenda-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 480px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  background: var(--surface-soft);
}

.agenda-preview {
  padding: clamp(22px, 4vw, 34px);
}

.invite-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
  color: var(--muted);
  font-weight: 750;
}

.invite-header strong {
  color: var(--violet-dark);
}

.support-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
}

.support-links a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--violet-dark);
  font-weight: 850;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.page-main {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.legal-hero,
.support-hero {
  max-width: 840px;
  margin-bottom: 34px;
}

.legal-copy,
.support-grid,
.invite-shell {
  max-width: 980px;
}

.legal-copy {
  padding: clamp(24px, 5vw, 48px);
}

.legal-copy h2,
.support-card h2 {
  margin: 34px 0 8px;
  font-size: 1.35rem;
}

.legal-copy h2:first-child,
.support-card h2:first-child {
  margin-top: 0;
}

.legal-copy ul {
  padding-left: 20px;
}

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

.support-card {
  min-height: 245px;
  padding: 24px;
}

.support-card a,
.legal-copy a,
.invite-card a.inline-link {
  color: var(--violet-dark);
  font-weight: 850;
  border-bottom: 1px solid currentColor;
}

.invite-body {
  min-height: 100svh;
  background: var(--surface-soft);
}

.invite-shell {
  margin: 0 auto;
  padding: clamp(34px, 8vw, 86px) clamp(18px, 5vw, 36px);
}

.invite-card {
  overflow: hidden;
}

.invite-top {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 5vw, 38px);
  background: #11101a;
  color: #ffffff;
}

.invite-top img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

.invite-content {
  padding: clamp(24px, 5vw, 42px);
}

.invite-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.invite-detail {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.invite-detail span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invite-detail strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1rem;
}

.invite-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.invite-buttons .button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--violet-dark);
}

.invite-buttons .button.primary {
  border-color: var(--violet-dark);
  background: var(--violet-dark);
  color: #ffffff;
}

.microcopy {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .product-section,
  .visual-section,
  .agenda-section,
  .support-band {
    grid-template-columns: 1fr;
  }

  .experience-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-content {
    margin-left: 18px;
  }

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

  .proof-strip div {
    min-height: 96px;
  }

  .invite-details {
    grid-template-columns: 1fr;
  }

  .invite-top {
    grid-template-columns: 58px 1fr;
  }

  .invite-top img {
    width: 58px;
    height: 58px;
  }
}
