:root {
  --ink: #172033;
  --ink-2: #354057;
  --muted: #697386;
  --paper: #f5f4f0;
  --surface: #ffffff;
  --line: #deded8;
  --line-soft: #e9e8e3;
  --blue: #3159d9;
  --blue-dark: #2447ba;
  --blue-soft: #e9edff;
  --coral: #e47657;
  --coral-soft: #fbe8df;
  --gold: #d59b38;
  --gold-soft: #fff0cb;
  --mint: #3f987d;
  --mint-soft: #dff2ea;
  --navy: #121b2e;
  --navy-2: #1a2740;
  --shadow-sm: 0 2px 8px rgb(23 32 51 / 0.07);
  --shadow-md: 0 14px 38px rgb(23 32 51 / 0.1);
  --shadow-lg: 0 30px 70px rgb(23 32 51 / 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.sidebar-is-open,
body.modal-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.25rem;
}

::selection {
  color: white;
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid rgb(49 89 217 / 0.28);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: 112px;
}

.centered {
  text-align: center;
}

.narrow {
  max-width: 760px;
  margin-inline: auto;
}

.mobile-only,
.auth-mobile-brand,
.mobile-avatar,
.mobile-community-name,
.sidebar-close,
.sidebar-open {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-dot,
.live-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgb(49 89 217 / 0.1);
}

.eyebrow-plain {
  color: var(--blue);
}

.eyebrow-light {
  color: #aebcfa;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button img {
  width: 17px;
  height: 17px;
}

.button-primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 14px rgb(49 89 217 / 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 8px 18px rgb(49 89 217 / 0.26);
}

.button-secondary {
  color: var(--ink);
  background: white;
  border-color: #d5d6d3;
  box-shadow: 0 1px 2px rgb(23 32 51 / 0.04);
}

.button-secondary:hover {
  border-color: #b9bcc1;
  background: #fbfbfa;
}

.button-quiet {
  min-height: 38px;
  color: var(--ink-2);
  background: transparent;
}

.button-white {
  color: var(--navy);
  background: white;
}

.button-white:hover {
  background: #f3f4f8;
}

.button-outline-light {
  color: white;
  border-color: rgb(255 255 255 / 0.3);
  background: transparent;
}

.button-outline-light:hover {
  border-color: rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.07);
}

.button-small {
  min-height: 39px;
  padding-inline: 16px;
}

.button-large {
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 11px;
  font-size: 0.95rem;
}

.button-block {
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px 11px 11px 4px;
  color: white;
  background: var(--blue);
  font-size: 1.1rem;
  font-weight: 900;
  transform: rotate(-2deg);
}

.brand-mark span {
  transform: rotate(2deg);
}

.brand-mark::after {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border: 4px solid rgb(255 255 255 / 0.45);
  border-radius: 50%;
  content: "";
}

.brand-mark-small {
  width: 31px;
  height: 31px;
  font-size: 1rem;
}

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

.brand-light {
  color: white;
}

/* Public navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 76px;
  border-bottom: 1px solid transparent;
  background: rgb(245 244 240 / 0.94);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: var(--paper);
  box-shadow: 0 4px 18px rgb(23 32 51 / 0.04);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 30px;
}

.nav-actions {
  gap: 5px;
  padding-left: 16px;
}

.nav-link {
  position: relative;
  padding-block: 9px;
  color: #4e586a;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin-block: 5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 160ms ease;
}

/* Home hero */
.hero {
  padding-top: 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.84fr) minmax(590px, 1.16fr);
  gap: 58px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 630px;
  margin-bottom: 26px;
  font-size: clamp(3.4rem, 5.7vw, 5.35rem);
  letter-spacing: -0.064em;
  line-height: 0.96;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.65;
}

.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero-actions form,
.final-actions form {
  display: contents;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: #777f8c;
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-note img {
  width: 15px;
  height: 15px;
  padding: 2px;
  border-radius: 50%;
  background: var(--mint-soft);
}

.hero-note span {
  width: 3px;
  height: 3px;
  margin-inline: 3px;
  border-radius: 50%;
  background: #b2b5b8;
}

.product-stage {
  position: relative;
  width: 770px;
}

.product-stage::before {
  position: absolute;
  z-index: -1;
  top: -48px;
  right: -70px;
  width: 330px;
  height: 330px;
  border: 1px solid #dad8d0;
  border-radius: 50%;
  content: "";
}

.product-stage::after {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -36px;
  width: 150px;
  height: 104px;
  background-image: radial-gradient(#c6c5bf 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  content: "";
}

.product-window {
  overflow: hidden;
  border: 1px solid #d8d9dc;
  border-radius: 17px;
  background: #f4f5f7;
  box-shadow: var(--shadow-lg);
}

.window-bar {
  display: grid;
  height: 58px;
  align-items: center;
  padding: 0 17px;
  border-bottom: 1px solid #e0e2e6;
  background: white;
  grid-template-columns: 1fr 240px 1fr;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.77rem;
  font-weight: 850;
}

.mini-mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px 7px 7px 2px;
  color: white;
  background: var(--blue);
  font-size: 0.68rem;
}

.window-search {
  display: flex;
  height: 31px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #e2e4e8;
  border-radius: 7px;
  color: #9a9fac;
  background: #f7f8f9;
  font-size: 0.62rem;
}

.window-search img {
  width: 12px;
  opacity: 0.55;
}

.window-bar > .avatar {
  justify-self: end;
}

.window-body {
  display: grid;
  min-height: 492px;
  grid-template-columns: 145px 1fr 183px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  padding: 15px 10px 12px;
  border-right: 1px solid #e0e2e6;
  background: #fff;
}

.preview-community {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  margin-bottom: 15px;
}

.community-tile {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-size: 0.61rem;
  font-weight: 850;
}

.preview-community div,
.preview-community small,
.preview-community strong {
  display: block;
}

.preview-community strong {
  font-size: 0.62rem;
}

.preview-community small {
  margin-top: 2px;
  color: #9298a5;
  font-size: 0.49rem;
}

.preview-links {
  display: grid;
  gap: 3px;
}

.preview-links span {
  display: flex;
  height: 31px;
  align-items: center;
  gap: 8px;
  padding-inline: 9px;
  border-radius: 6px;
  color: #687081;
  font-size: 0.57rem;
  font-weight: 700;
}

.preview-links span.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.preview-links img {
  width: 13px;
  height: 13px;
  opacity: 0.72;
}

.sidebar-nudge {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: #f3f5f9;
}

.nudge-icon {
  display: grid;
  width: 22px;
  height: 22px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 6px;
  background: var(--gold-soft);
}

.nudge-icon img {
  width: 12px;
}

.sidebar-nudge strong {
  font-size: 0.57rem;
}

.sidebar-nudge small {
  margin-top: 2px;
  color: #8b92a0;
  font-size: 0.48rem;
}

.progress {
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 5px;
  background: #dfe3eb;
}

.progress span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--blue);
}

.preview-feed {
  padding: 19px 17px;
}

.feed-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 13px;
}

.feed-heading small,
.feed-heading strong {
  display: block;
}

.feed-heading small {
  margin-bottom: 4px;
  color: #979eaa;
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feed-heading strong {
  font-size: 0.88rem;
}

.feed-heading button,
.post-meta button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #e1e3e8;
  border-radius: 7px;
  background: white;
}

.feed-heading button img,
.post-meta button img {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}

.avatar {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #243047;
  font-size: 0.59rem;
  font-style: normal;
  font-weight: 850;
}

.avatar-blue { background: #dfe6ff; color: #2947a5; }
.avatar-coral { background: var(--coral-soft); color: #a64930; }
.avatar-gold { background: var(--gold-soft); color: #8a5b11; }
.avatar-mint { background: var(--mint-soft); color: #25705a; }
.avatar-pink { background: #f4dfef; color: #8b3977; }
.avatar-navy { background: var(--navy); color: white; }

.composer-card {
  display: flex;
  height: 49px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  margin-bottom: 10px;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  color: #9ba0aa;
  background: white;
  font-size: 0.53rem;
}

.composer-card .avatar {
  width: 28px;
  height: 28px;
}

.composer-card button {
  height: 27px;
  padding-inline: 10px;
  margin-left: auto;
  border: 0;
  border-radius: 6px;
  color: white;
  background: var(--blue);
  font-size: 0.53rem;
  font-weight: 750;
}

.feed-card {
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  background: white;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta > div {
  min-width: 0;
}

.post-meta strong,
.post-meta small {
  display: block;
}

.post-meta strong {
  font-size: 0.61rem;
}

.post-meta small {
  margin-top: 2px;
  color: #9298a5;
  font-size: 0.48rem;
}

.post-tag,
.topic-badge {
  padding: 4px 7px;
  margin-left: auto;
  border-radius: 100px;
  color: #a64c35;
  background: var(--coral-soft);
  font-size: 0.43rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.feed-card h3 {
  margin: 11px 0 5px;
  font-size: 0.71rem;
  letter-spacing: -0.02em;
}

.feed-card p {
  margin: 0;
  color: #707887;
  font-size: 0.52rem;
  line-height: 1.55;
}

.post-footer {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 11px;
  margin-top: 10px;
  border-top: 1px solid #eceef0;
  color: #7b8290;
  font-size: 0.48rem;
}

.post-avatars {
  display: flex;
  margin-left: auto;
}

.post-avatars i {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  margin-left: -5px;
  border: 2px solid white;
  border-radius: 50%;
  color: #596273;
  background: #e7eaf0;
  font-size: 0.38rem;
  font-style: normal;
  font-weight: 850;
}

.compact-post {
  padding-block: 11px;
}

.compact-post h3 {
  margin: 9px 0 0 40px;
}

.preview-rail {
  padding: 19px 12px;
  border-left: 1px solid #e0e2e6;
}

.rail-card {
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  background: white;
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.57rem;
}

.rail-title a {
  color: var(--blue);
  font-size: 0.45rem;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 7px;
  border-top: 1px solid #eceef0;
}

.date-tile {
  display: grid;
  width: 29px;
  height: 34px;
  place-items: center;
  border-radius: 5px;
  color: var(--blue);
  background: var(--blue-soft);
  line-height: 1;
}

.date-tile.alt {
  color: #9b6918;
  background: var(--gold-soft);
}

.date-tile b { font-size: 0.65rem; }
.date-tile small { font-size: 0.34rem; font-weight: 850; }
.event-row div { min-width: 0; }
.event-row strong,
.event-row small { display: block; }
.event-row strong { overflow: hidden; font-size: 0.49rem; text-overflow: ellipsis; white-space: nowrap; }
.event-row small { margin-top: 2px; color: #9097a3; font-size: 0.4rem; }

.lesson-thumb {
  position: relative;
  display: grid;
  height: 74px;
  margin-bottom: 9px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  color: white;
  background: var(--navy);
}

.lesson-thumb::before,
.lesson-thumb::after {
  position: absolute;
  width: 51px;
  height: 51px;
  border: 1px solid rgb(255 255 255 / 0.23);
  border-radius: 50%;
  content: "";
}

.lesson-thumb::before { top: -17px; left: -10px; }
.lesson-thumb::after { right: -17px; bottom: -22px; }
.lesson-thumb span { font-size: 1rem; font-weight: 850; }
.lesson-kicker { display: block; color: var(--blue); font-size: 0.37rem; font-weight: 850; letter-spacing: 0.08em; }
.lesson-name { display: block; margin-top: 3px; font-size: 0.56rem; }
.lesson-time { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: #878e9b; font-size: 0.42rem; }
.lesson-time img { width: 9px; }

.stage-caption {
  position: absolute;
  right: 22px;
  bottom: -37px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #757d8a;
  font-size: 0.7rem;
  font-weight: 650;
}

.stage-caption .live-pip {
  color: var(--mint);
  box-shadow: 0 0 0 4px rgb(63 152 125 / 0.12);
}

/* Home sections */
.audience-strip {
  padding-block: 38px;
  border-block: 1px solid var(--line);
  background: #f1f0eb;
}

.audience-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(190px, 0.58fr) minmax(0, 2.42fr);
  gap: 32px;
}

.audience-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.audience-card {
  display: grid;
  min-width: 0;
  min-height: 100px;
  align-items: center;
  padding: 15px;
  border: 1px solid #dedfdc;
  border-radius: 15px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: 0 8px 24px rgb(23 32 51 / 0.04);
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.audience-card:hover {
  border-color: #cfd3dc;
  box-shadow: 0 14px 30px rgb(23 32 51 / 0.08);
  transform: translateY(-3px);
}

.audience-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
}

.audience-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgb(23 32 51 / 0.11));
}

.audience-card strong,
.audience-card small {
  display: block;
}

.audience-card strong {
  overflow: hidden;
  color: #354052;
  font-size: 0.74rem;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.audience-card small {
  margin-top: 4px;
  color: #858c96;
  font-size: 0.62rem;
  line-height: 1.35;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 20px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 520px;
  padding: 39px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.feature-card-wide {
  display: grid;
  min-height: 450px;
  grid-column: 1 / -1;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
}

.feature-card h3 {
  max-width: 440px;
  margin: 21px 0 13px;
  font-size: 1.65rem;
}

.feature-card p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-copy {
  align-self: center;
}

.feature-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--blue);
  font-size: 0.87rem;
  font-weight: 750;
}

.icon-box {
  display: inline-grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 11px;
}

.icon-box img {
  width: 20px;
  height: 20px;
}

.generated-badge {
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
}

.generated-badge img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px rgb(23 32 51 / 0.1));
}

.icon-blue { color: var(--blue); background: var(--blue-soft); }
.icon-coral { color: var(--coral); background: var(--coral-soft); }
.icon-mint { color: var(--mint); background: var(--mint-soft); }
.icon-dark { color: white; background: rgb(255 255 255 / 0.12); }

.icon-dark img {
  filter: brightness(0) invert(1);
}

.discussion-demo {
  align-self: center;
  padding: 18px;
  border: 1px solid #e0e2e6;
  border-radius: 16px;
  background: #f5f6f8;
  box-shadow: 0 24px 42px rgb(23 32 51 / 0.1);
  transform: rotate(1.2deg);
}

.topic-row {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 8px;
  border: 1px solid #e4e5e8;
  border-radius: 10px;
  background: white;
}

.topic-row:last-child { margin-bottom: 0; }
.topic-row div { flex: 1; }
.topic-row strong,
.topic-row small { display: block; }
.topic-row strong { font-size: 0.82rem; }
.topic-row small { margin-top: 5px; color: #8a919e; font-size: 0.69rem; }
.topic-row > span:last-child:not(.avatar) { color: #9197a2; font-size: 0.67rem; }
.topic-row .topic-badge { flex: 0 0 auto; color: #9b4e37 !important; }

.dark-card {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.dark-card p {
  color: #aeb7c8;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 100px;
}

.sticky-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.sticky-heading h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.sticky-heading .button {
  margin-top: 14px;
}

.steps-list {
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 70px 1fr;
  gap: 20px;
}

.step-number {
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.step-item h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.permission-section {
  background: #eeede8;
}

.permission-card {
  display: grid;
  min-height: 490px;
  padding: 72px;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  color: white;
  background: var(--navy);
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
}

.permission-copy h2 {
  max-width: 500px;
  margin-bottom: 21px;
}

.permission-copy p {
  max-width: 500px;
  color: #abb5c8;
  line-height: 1.75;
}

.text-link-light {
  display: inline-flex;
  gap: 7px;
  margin-top: 9px;
  color: white;
  font-size: 0.88rem;
  font-weight: 750;
}

.preference-panel {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 17px;
  background: white;
  box-shadow: 0 25px 60px rgb(0 0 0 / 0.22);
  color: var(--ink);
  transform: rotate(1deg);
}

.preference-head,
.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preference-head {
  padding: 20px 22px;
  border-bottom: 1px solid #e5e7eb;
  background: #f7f8fa;
}

.preference-head strong,
.preference-head small,
.preference-row strong,
.preference-row small {
  display: block;
}

.preference-head strong { font-size: 0.9rem; }
.preference-head small,
.preference-row small { margin-top: 3px; color: #89919f; font-size: 0.68rem; }
.preference-head > span { padding: 4px 8px; border-radius: 100px; color: var(--mint); background: var(--mint-soft); font-size: 0.57rem; font-weight: 800; }

.preference-row {
  min-height: 73px;
  padding: 14px 22px;
  border-bottom: 1px solid #eceef1;
}

.preference-row:last-child { border-bottom: 0; }
.preference-row strong { font-size: 0.79rem; }
.status-required { color: #7b8290; font-size: 0.65rem; font-weight: 750; }

.toggle-demo,
.toggle-control {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 21px;
  border-radius: 100px;
  background: #d8dce3;
}

.toggle-demo i,
.toggle-control i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
  transition: transform 150ms ease;
}

.toggle-demo.on,
.toggle-input:checked + .toggle-control {
  background: var(--blue);
}

.toggle-demo.on i,
.toggle-input:checked + .toggle-control i {
  transform: translateX(15px);
}

.pricing-preview {
  background: white;
}

.home-plan {
  display: flex;
  max-width: 910px;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 45px 54px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f9f9f7;
  box-shadow: var(--shadow-sm);
}

.plan-chip {
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.home-plan h3 {
  margin: 12px 0 9px;
  font-size: 1.45rem;
}

.home-plan p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.home-plan-price {
  display: grid;
  min-width: 180px;
  grid-template-columns: auto auto;
  justify-content: center;
}

.home-plan-price > span { grid-column: 1 / -1; color: var(--muted); font-size: 0.69rem; text-align: center; }
.home-plan-price strong { font-size: 2.75rem; letter-spacing: -0.07em; }
.home-plan-price small { align-self: end; padding-bottom: 9px; color: var(--muted); font-size: 0.67rem; }
.home-plan-price .button { grid-column: 1 / -1; margin-top: 11px; }

.final-cta-section {
  padding-top: 0;
  background: white;
}

.final-cta {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 62px 70px;
  border-radius: 25px;
  color: white;
  background: var(--blue);
}

.final-cta h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.final-cta > div:first-child > p {
  max-width: 610px;
  margin: 16px 0 0;
  color: #dce3ff;
  font-size: 0.96rem;
}

.final-actions {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
}

/* Footer */
.site-footer {
  padding: 76px 0 24px;
  border-top: 1px solid #e2e1dc;
  background: var(--paper);
}

.footer-main {
  display: grid;
  padding-bottom: 64px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand p {
  max-width: 300px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-group a {
  color: #646d7c;
  font-size: 0.83rem;
}

.footer-group a:hover {
  color: var(--blue);
}

.footer-label {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  padding-top: 23px;
  border-top: 1px solid #deddd8;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
  color: #858b94;
  font-size: 0.72rem;
}

/* Shared public inner pages */
.page-hero {
  padding-top: 98px;
}

.compact-hero {
  padding-bottom: 92px;
}

.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 4.7rem);
  letter-spacing: -0.058em;
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.centered-actions {
  justify-content: center;
  margin-top: 32px;
}

.feature-detail-section {
  padding-block: 115px;
  border-top: 1px solid var(--line);
  background: white;
}

.feature-detail-section.alt-section {
  background: #efeee9;
}

.detail-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
}

.detail-grid.reverse {
  grid-template-columns: 1.22fr 0.78fr;
}

.detail-grid.reverse .detail-copy {
  order: 2;
}

.section-index {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.detail-copy h2 {
  margin-bottom: 21px;
  font-size: clamp(2.35rem, 4vw, 3.45rem);
}

.detail-copy > p {
  color: var(--muted);
  line-height: 1.75;
}

.check-list {
  padding: 18px 0 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 29px;
  color: #414b5c;
  font-size: 0.9rem;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--mint);
  background: var(--mint-soft);
  content: "✓";
  font-size: 0.67rem;
  font-weight: 900;
}

.detail-visual {
  min-width: 0;
  border: 1px solid #dcdde0;
  border-radius: 20px;
  background: #f5f6f8;
  box-shadow: var(--shadow-md);
}

.board-visual {
  padding: 20px;
}

.board-toolbar,
.board-filter {
  display: flex;
  align-items: center;
}

.board-toolbar {
  justify-content: space-between;
  padding: 4px 3px 18px;
}

.board-toolbar strong { font-size: 1.05rem; }
.board-toolbar button,
.board-toolbar .mock-button { display: inline-flex; height: 35px; align-items: center; padding-inline: 13px; border: 0; border-radius: 7px; color: white; background: var(--blue); font-size: 0.7rem; font-weight: 750; }
.board-filter { gap: 6px; padding-bottom: 13px; }
.board-filter span { padding: 7px 10px; border-radius: 7px; color: #747c89; font-size: 0.67rem; font-weight: 700; }
.board-filter span.active { color: var(--blue); background: var(--blue-soft); }

.board-post {
  padding: 19px;
  margin-top: 9px;
  border: 1px solid #e1e3e7;
  border-radius: 12px;
  background: white;
}

.board-post .post-meta strong { font-size: 0.75rem; }
.board-post .post-meta small { font-size: 0.62rem; }
.board-post .post-meta .avatar { width: 37px; height: 37px; font-size: 0.65rem; }
.board-post h3 { margin: 17px 0 8px; font-size: 1rem; }
.board-post p { margin-bottom: 15px; color: var(--muted); font-size: 0.8rem; }
.board-stats { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid #eceef1; color: #707989; font-size: 0.68rem; }
.board-post.slim { padding-block: 14px; }
.board-post.slim h3 { margin: 12px 0 0 45px; }

.classroom-visual {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
  background: white;
}

.course-cover {
  position: relative;
  min-height: 480px;
  padding: 45px 35px;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.course-cover::before,
.course-cover::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 50%;
  content: "";
}

.course-cover::before { top: -70px; left: -80px; width: 230px; height: 230px; }
.course-cover::after { right: -100px; bottom: -80px; width: 260px; height: 260px; }
.course-cover > span { color: #9eb0f5; font-size: 0.61rem; font-weight: 850; letter-spacing: 0.12em; }
.course-cover h3 { max-width: 220px; margin: 37px 0 14px; font-size: 2.25rem; }
.course-cover p { color: #aeb7c8; font-size: 0.82rem; line-height: 1.65; }
.course-progress { position: absolute; right: 35px; bottom: 35px; left: 35px; z-index: 1; }
.course-progress > span { display: block; height: 5px; overflow: hidden; border-radius: 6px; background: rgb(255 255 255 / 0.18); }
.course-progress i { display: block; height: 100%; background: #8ca5ff; }
.course-progress small { display: block; margin-top: 8px; color: #aeb7c8; font-size: 0.62rem; }

.lesson-list {
  align-self: center;
  padding: 25px;
}

.lesson-line {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 13px;
  padding: 13px 5px;
  border-bottom: 1px solid #e8e9ec;
}

.lesson-line:last-child { border-bottom: 0; }
.lesson-line > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #e0e2e5; border-radius: 8px; color: #858d99; font-size: 0.69rem; font-weight: 800; }
.lesson-line > span img { width: 14px; }
.lesson-line strong,
.lesson-line small { display: block; }
.lesson-line strong { font-size: 0.75rem; }
.lesson-line small { margin-top: 4px; color: #989fab; font-size: 0.62rem; }
.lesson-line.done > span { color: var(--mint); border-color: transparent; background: var(--mint-soft); }
.lesson-line.now { padding-inline: 12px; border: 1px solid #cbd3f3; border-radius: 9px; background: var(--blue-soft); }
.lesson-line.now > span { color: white; border-color: var(--blue); background: var(--blue); }

.event-visual {
  display: grid;
  min-height: 410px;
  padding: 45px;
  align-items: center;
  grid-template-columns: 160px 1fr;
  gap: 45px;
  background: white;
}

.event-date-large {
  display: flex;
  height: 225px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4daf1;
  border-radius: 18px;
  color: var(--blue);
  background: var(--blue-soft);
}

.event-date-large small { font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; }
.event-date-large strong { margin: 9px 0 3px; font-size: 4.7rem; letter-spacing: -0.09em; line-height: 1; }
.event-date-large span { font-size: 0.75rem; font-weight: 850; }
.event-label { color: var(--coral); font-size: 0.61rem; font-weight: 850; letter-spacing: 0.11em; }
.event-info h3 { margin: 13px 0 10px; font-size: 2rem; }
.event-info > p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; }
.event-meta { display: grid; gap: 9px; margin: 22px 0; color: #687183; font-size: 0.72rem; }
.event-meta span { display: flex; align-items: center; gap: 8px; }
.event-meta img { width: 15px; opacity: 0.65; }

.controls-section {
  color: white;
  background: var(--navy);
}

.control-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 110px;
}

.control-grid h2 {
  max-width: 500px;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
}

.control-points {
  border-top: 1px solid rgb(255 255 255 / 0.15);
}

.control-points article {
  display: grid;
  padding: 31px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
  grid-template-columns: 52px 1fr;
  gap: 20px;
}

.control-points article > span { color: #8fa5fa; font-size: 0.69rem; font-weight: 850; }
.control-points h3 { margin-bottom: 8px; font-size: 1.25rem; }
.control-points p { margin: 0; color: #9fa9bc; font-size: 0.88rem; line-height: 1.65; }

.simple-cta {
  border-top: 1px solid var(--line);
  background: white;
}

.simple-cta h2 { margin-bottom: 16px; }
.simple-cta p { color: var(--muted); font-size: 1rem; }

/* Pricing */
.billing-toggle {
  display: inline-flex;
  padding: 4px;
  margin-top: 35px;
  border: 1px solid #d8d8d4;
  border-radius: 11px;
  background: #edede9;
}

.billing-toggle button {
  min-height: 38px;
  padding-inline: 16px;
  border: 0;
  border-radius: 8px;
  color: #717985;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 750;
}

.billing-toggle button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 7px rgb(23 32 51 / 0.09);
}

.billing-toggle button span { margin-left: 4px; color: var(--mint); font-size: 0.59rem; }
.pricing-section { padding-bottom: 115px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.plan-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.featured-plan { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.popular-label { position: absolute; top: -14px; left: 50%; padding: 6px 12px; border-radius: 100px; color: white; background: var(--blue); font-size: 0.6rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; transform: translateX(-50%); }
.plan-name { margin-bottom: 8px; font-size: 1.14rem; font-weight: 850; }
.plan-description { min-height: 52px; color: var(--muted); font-size: 0.81rem; }
.price-line { display: flex; align-items: flex-end; height: 73px; padding-top: 11px; }
.price-line > span { align-self: center; font-size: 1.1rem; font-weight: 750; }
.price-line strong { font-size: 3.4rem; letter-spacing: -0.08em; line-height: 1; }
.price-line small { padding: 0 0 7px 6px; color: var(--muted); font-size: 0.72rem; }
.billing-caption { margin: 8px 0 22px; color: #969ca5; font-size: 0.67rem; }
.plan-features { display: grid; gap: 13px; padding: 25px 0 0; margin: 24px 0 0; border-top: 1px solid #e7e8e7; list-style: none; }
.plan-features li { display: flex; align-items: center; gap: 10px; color: #515b6b; font-size: 0.78rem; }
.plan-features img { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--mint-soft); }
.pricing-note { margin: 22px auto 0; color: #858c96; font-size: 0.7rem; text-align: center; }

.faq-section { border-top: 1px solid var(--line); background: white; }
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 100px; }
.faq-grid .section-heading { margin-bottom: 0; }
.faq-grid .section-heading a { color: var(--blue); font-weight: 700; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 0.97rem; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary img { width: 18px; transition: transform 160ms ease; }
.faq-list details[open] summary img { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; padding: 0 45px 25px 0; margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }

/* About */
.about-hero { padding-top: 110px; }
.about-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 100px; }
.about-grid h1 { max-width: 690px; margin: 0; font-size: clamp(3.2rem, 5vw, 4.8rem); }
.about-lede { padding-top: 46px; }
.about-lede p { color: #596374; font-size: 1.08rem; line-height: 1.8; }
.beliefs-section { color: white; background: var(--navy); }
.beliefs-head { display: grid; padding-bottom: 58px; border-bottom: 1px solid rgb(255 255 255 / 0.15); grid-template-columns: 0.42fr 1.58fr; gap: 40px; }
.beliefs-head > span { color: #8fa5fa; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.13em; }
.beliefs-head > p { max-width: 760px; margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.3; }
.belief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding-top: 55px; }
.belief-grid article > span { color: #8fa5fa; font-size: 0.67rem; font-weight: 850; }
.belief-grid h3 { margin: 24px 0 13px; font-size: 1.35rem; }
.belief-grid p { margin: 0; color: #a6afc0; font-size: 0.86rem; line-height: 1.75; }
.founder-note { background: #efeee9; }
.note-card { display: grid; padding: 70px; border-radius: 25px; color: white; background: var(--blue); grid-template-columns: 140px 1fr; gap: 50px; }
.note-mark { display: grid; width: 115px; height: 115px; place-items: center; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 34px 34px 34px 9px; font-size: 3.5rem; font-weight: 900; }
.note-card blockquote,
.note-card h2 { max-width: 800px; margin: 0 0 22px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.25; }
.note-card p { max-width: 720px; color: #dce3ff; line-height: 1.75; }

/* Contact */
.contact-section { padding-top: 96px; }
.contact-grid { display: grid; grid-template-columns: 0.83fr 1.17fr; gap: 100px; }
.contact-copy h1 { margin-bottom: 24px; font-size: clamp(3rem, 5vw, 4.7rem); }
.contact-copy > p { max-width: 470px; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.contact-details { display: grid; gap: 25px; padding-top: 35px; }
.contact-details > div { display: flex; align-items: flex-start; gap: 15px; }
.contact-details .contact-badge { width: 50px; height: 50px; }
.contact-details .contact-badge img { width: 54px; height: 54px; }
.contact-details strong,
.contact-details a { display: block; }
.contact-details strong { margin: 3px 0 4px; font-size: 0.86rem; }
.contact-details a { color: var(--blue); font-size: 0.83rem; }
.contact-details p { max-width: 350px; margin: 0; color: var(--muted); font-size: 0.79rem; line-height: 1.6; }
.contact-form-card { min-height: 600px; padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.contact-form h2 { margin-bottom: 7px; font-size: 1.75rem; }
.contact-form > p { margin-bottom: 28px; color: var(--muted); font-size: 0.78rem; }
.contact-form label,
.auth-form label { display: block; margin-bottom: 18px; }
.contact-form label > span,
.auth-form label > span:first-child { display: block; margin-bottom: 7px; color: #4d5767; font-size: 0.72rem; font-weight: 750; }
.contact-form input,
.contact-form textarea,
.contact-form select,
.auth-form input { width: 100%; border: 1px solid #d8dadd; border-radius: 9px; background: white; outline: 0; transition: border-color 150ms ease, box-shadow 150ms ease; }
.contact-form input,
.contact-form select,
.auth-form input { height: 48px; padding-inline: 13px; }
.contact-form textarea { min-height: 135px; padding: 12px 13px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.auth-form input:focus { border-color: #91a4ed; box-shadow: 0 0 0 3px rgb(49 89 217 / 0.1); }
.form-alert { display: flex; align-items: center; gap: 8px; padding: 12px 14px; margin-bottom: 20px; border: 1px solid #edc0b5; border-radius: 8px; color: #8d3c29; background: #fff1ec; font-size: 0.77rem; }
.form-alert img { width: 16px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.success-state { display: flex; min-height: 510px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-state > span { display: grid; width: 58px; height: 58px; margin-bottom: 22px; place-items: center; border-radius: 50%; background: var(--mint-soft); }
.success-state > span img { width: 24px; }
.success-state h2 { margin-bottom: 10px; }
.success-state p { max-width: 360px; margin-bottom: 24px; color: var(--muted); }

.email-choice-section { padding-top: 96px; }
.email-choice-wrap { display: grid; max-width: 980px; align-items: center; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: 90px; }
.email-choice-copy h1 { max-width: 520px; margin-bottom: 22px; font-size: clamp(3rem, 5vw, 4.7rem); }
.email-choice-copy > p { max-width: 470px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.email-choice-card { min-height: 430px; }
.email-choice-card .success-state { min-height: 340px; }
.email-choice-note { margin: 19px 0 0 !important; text-align: center; }
.email-choice-note a { color: var(--blue); font-weight: 750; }

/* Legal */
.legal-hero { padding: 96px 0 76px; border-bottom: 1px solid var(--line); }
.legal-head { max-width: 860px; }
.legal-head h1 { margin-bottom: 22px; font-size: clamp(3rem, 5vw, 4.7rem); }
.legal-head > p { max-width: 720px; margin-bottom: 22px; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.legal-head > small { color: #8b919a; font-size: 0.71rem; }
.legal-body { padding: 75px 0 115px; background: white; }
.legal-grid { display: grid; grid-template-columns: 255px 1fr; gap: 100px; }
.legal-sidebar { position: sticky; top: 115px; align-self: start; }
.legal-sidebar > p { margin-bottom: 16px; color: #8a909a; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.legal-sidebar nav { display: grid; gap: 4px; }
.legal-sidebar nav a { display: flex; gap: 11px; padding: 8px 0; color: #667080; font-size: 0.75rem; }
.legal-sidebar nav a:hover { color: var(--blue); }
.legal-sidebar nav a span { color: #a3a8b0; font-size: 0.61rem; font-weight: 750; }
.legal-help { padding: 17px; margin-top: 28px; border-radius: 11px; background: #f0f2f8; }
.legal-help strong { font-size: 0.75rem; }
.legal-help p { margin: 3px 0 8px; color: var(--muted); font-size: 0.68rem; }
.legal-help a { color: var(--blue); font-size: 0.7rem; font-weight: 750; }
.legal-content { max-width: 740px; }
.legal-content section { position: relative; padding: 0 0 52px 55px; scroll-margin-top: 110px; }
.legal-content section:not(:last-child) { margin-bottom: 48px; border-bottom: 1px solid #e5e6e5; }
.legal-number { position: absolute; top: 6px; left: 0; color: var(--blue); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.09em; }
.legal-content h2 { margin-bottom: 20px; font-size: 1.65rem; }
.legal-content p { color: #566172; font-size: 0.91rem; line-height: 1.85; }

/* Authentication */
.auth-body { background: white; }
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(420px, 0.88fr) minmax(540px, 1.12fr); }
.auth-brand-panel { position: relative; display: flex; min-height: 100vh; flex-direction: column; padding: 45px 58px; overflow: hidden; color: white; background: var(--navy); }
.auth-brand-panel::after { position: absolute; right: -150px; bottom: -200px; width: 480px; height: 480px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 50%; content: ""; }
.auth-panel-copy { margin: auto 0 35px; }
.auth-panel-copy h1 { max-width: 610px; margin-bottom: 21px; font-size: clamp(2.75rem, 4.2vw, 4.2rem); letter-spacing: -0.055em; }
.auth-panel-copy p { max-width: 500px; color: #a9b3c5; font-size: 0.96rem; line-height: 1.75; }
.auth-mini-product { position: relative; z-index: 1; max-width: 530px; padding: 17px; border: 1px solid rgb(255 255 255 / 0.12); border-radius: 14px; background: rgb(255 255 255 / 0.07); }
.mini-product-top,
.mini-product-post { display: flex; align-items: center; gap: 11px; }
.mini-product-top { padding-bottom: 13px; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.mini-product-top strong,
.mini-product-top small,
.mini-product-post strong,
.mini-product-post small { display: block; }
.mini-product-top strong { font-size: 0.75rem; }
.mini-product-top small,
.mini-product-post small { margin-top: 3px; color: #8995ab; font-size: 0.61rem; }
.mini-product-post { padding: 13px 2px 0; }
.mini-product-post + .mini-product-post { margin-top: 12px; border-top: 1px solid rgb(255 255 255 / 0.08); }
.mini-product-post strong { font-size: 0.72rem; }
.auth-copyright { position: relative; z-index: 1; margin: 26px 0 0; color: #737f95; font-size: 0.65rem; }
.auth-form-panel { display: grid; min-height: 100vh; padding: 60px; place-items: center; background: #fafaf9; }
.auth-form-wrap { width: min(100%, 430px); }
.auth-step { display: block; margin-bottom: 13px; color: var(--blue); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.12em; }
.auth-heading h2 { margin-bottom: 10px; font-size: 2.3rem; }
.auth-heading p { margin-bottom: 29px; color: var(--muted); font-size: 0.86rem; }
.auth-form input::placeholder { color: #adb1b8; }
.label-row { display: flex !important; justify-content: space-between; }
.label-row a { color: var(--blue); font-weight: 700; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 48px; }
.password-field button { position: absolute; top: 4px; right: 5px; display: grid; width: 40px; height: 40px; place-items: center; border: 0; background: transparent; }
.password-field img { width: 17px; opacity: 0.6; }
.check-label { display: flex !important; align-items: flex-start; gap: 10px; color: #6d7582; font-size: 0.72rem; line-height: 1.5; }
.check-label input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue); }
.check-label a { color: var(--blue); font-weight: 700; }
.auth-divider { position: relative; margin: 25px 0; border-top: 1px solid #dedfe2; text-align: center; }
.auth-divider span { position: relative; top: -12px; padding: 0 11px; color: #90969f; background: #fafaf9; font-size: 0.65rem; }
.auth-switch { margin: 24px 0 0; color: #717985; font-size: 0.76rem; text-align: center; }
.auth-switch a { color: var(--blue); font-weight: 750; }

.waitlist-panel-copy {
  align-self: center;
  padding-block: clamp(56px, 8vh, 100px);
  margin: 0;
}

.waitlist-panel-copy h1 {
  max-width: 650px;
  font-size: clamp(2.7rem, 3.8vw, 3.9rem);
  line-height: 1.04;
}

.waitlist-brand-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.waitlist-brand-panel > .brand,
.waitlist-brand-panel > .auth-panel-copy,
.waitlist-brand-panel > .auth-copyright {
  position: relative;
  z-index: 1;
}

.waitlist-brand-panel > .auth-copyright {
  margin: 0;
}

.waitlist-heading h2 {
  font-size: 2.55rem;
}

.waitlist-heading p {
  max-width: 410px;
  line-height: 1.65;
}

.waitlist-form .button {
  margin-top: 3px;
}

.turnstile-wrap {
  min-height: 65px;
  margin: 2px 0 17px;
}

.waitlist-consent {
  margin: 19px 0 0;
  color: #7b8491;
  font-size: 0.7rem;
  line-height: 1.6;
}

.waitlist-consent a {
  color: var(--blue);
  font-weight: 750;
}

.waitlist-success-state {
  display: grid;
  justify-items: center;
  text-align: center;
}

.waitlist-success-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 19px;
  background: var(--mint-soft);
}

.waitlist-success-icon img {
  width: 28px;
  height: 28px;
}

.waitlist-success-state h2 {
  max-width: 420px;
  font-size: 2.2rem;
}

.waitlist-success-state > p {
  max-width: 390px;
  margin: 13px 0 8px;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.waitlist-success-state .button {
  margin-top: 27px;
}

/* Error page */
.error-body { background: var(--paper); }
.error-page { display: flex; min-height: 100vh; flex-direction: column; padding: 35px 5vw; }
.error-page > div { max-width: 700px; margin: auto; text-align: center; }
.error-code { color: var(--blue); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; }
.error-page h1 { margin: 18px 0; font-size: clamp(2.8rem, 6vw, 5rem); }
.error-page p { margin-bottom: 28px; color: var(--muted); }

/* Application shell */
.app-body {
  min-width: 320px;
  background: #f4f5f7;
  font-size: 14px;
}

.app-shell {
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  z-index: 120;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 20px 14px 15px;
  border-right: 1px solid #dfe1e5;
  background: white;
}

.app-brand-row {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8px;
}

.app-brand-row .brand-name {
  font-size: 1.05rem;
}

.community-switcher {
  display: grid;
  width: 100%;
  min-height: 58px;
  padding: 8px;
  margin: 19px 0 18px;
  align-items: center;
  border: 1px solid #e0e2e6;
  border-radius: 10px;
  background: #fafafa;
  grid-template-columns: 36px 1fr 16px;
  gap: 9px;
  text-align: left;
}

.community-switcher:hover {
  border-color: #c7cad0;
  background: #f7f7f6;
}

.community-switcher .community-tile {
  width: 35px;
  height: 35px;
  border-radius: 8px;
}

.community-switcher strong,
.community-switcher small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-switcher strong {
  font-size: 0.73rem;
}

.community-switcher small {
  margin-top: 2px;
  color: #959ba5;
  font-size: 0.59rem;
}

.community-switcher > img {
  width: 14px;
  opacity: 0.45;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-nav > p {
  padding: 0 10px;
  margin: 0 0 6px;
  color: #a0a5ae;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-nav > p.nav-group-label {
  margin-top: 17px;
}

.app-nav a {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border-radius: 8px;
  color: #687182;
  font-size: 0.76rem;
  font-weight: 700;
  transition: color 130ms ease, background-color 130ms ease;
}

.app-nav a:hover {
  color: var(--ink);
  background: #f3f4f6;
}

.app-nav a.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.app-nav a img {
  width: 17px;
  height: 17px;
  opacity: 0.75;
}

.app-nav a.active img {
  opacity: 1;
}

.app-nav a small {
  display: grid;
  min-width: 19px;
  height: 19px;
  margin-left: auto;
  place-items: center;
  border-radius: 100px;
  color: var(--blue);
  background: white;
  font-size: 0.55rem;
}

.app-sidebar-bottom {
  margin-top: auto;
}

.early-access-card {
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #e0e2e6;
  border-radius: 11px;
  background: #f5f6f9;
}

.early-access-card > span {
  display: grid;
  width: 27px;
  height: 27px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 7px;
  background: var(--gold-soft);
}

.early-access-card > span img {
  width: 14px;
}

.early-access-card strong {
  font-size: 0.69rem;
}

.early-access-card p {
  margin: 4px 0 8px;
  color: #858d9a;
  font-size: 0.62rem;
  line-height: 1.45;
}

.early-access-card a {
  color: var(--blue);
  font-size: 0.61rem;
  font-weight: 750;
}

.sidebar-profile {
  display: grid;
  min-height: 54px;
  align-items: center;
  padding: 7px;
  border-top: 1px solid #e5e6e8;
  grid-template-columns: 34px 1fr 29px;
  gap: 9px;
}

.sidebar-profile .avatar {
  width: 33px;
  height: 33px;
}

.sidebar-profile strong,
.sidebar-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-profile strong {
  font-size: 0.68rem;
}

.sidebar-profile small {
  margin-top: 2px;
  color: #969ca6;
  font-size: 0.55rem;
}

.sidebar-profile form,
.sidebar-profile button {
  display: contents;
}

.sidebar-profile button img {
  width: 15px;
  opacity: 0.55;
}

.app-main {
  min-height: 100vh;
  margin-left: 252px;
}

.app-topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  height: 67px;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid #dfe1e5;
  background: rgb(255 255 255 / 0.95);
}

.app-topbar h1 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.app-top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-search {
  display: flex;
  width: 220px;
  height: 37px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid #dfe1e4;
  border-radius: 8px;
  color: #8a919d;
  background: #f7f8f9;
  font-size: 0.68rem;
  text-align: left;
}

.app-search img {
  width: 14px;
  opacity: 0.57;
}

.app-search kbd {
  padding: 2px 5px;
  margin-left: auto;
  border: 1px solid #dddfe3;
  border-radius: 4px;
  color: #979ca5;
  background: white;
  font-family: inherit;
  font-size: 0.55rem;
}

.icon-button {
  position: relative;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid #dfe1e4;
  border-radius: 8px;
  background: white;
}

.icon-button img {
  width: 16px;
  opacity: 0.7;
}

.icon-button.has-dot > span {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 5px;
  height: 5px;
  border: 1px solid white;
  border-radius: 50%;
  background: var(--coral);
}

.app-flash {
  position: fixed;
  z-index: 200;
  top: 78px;
  right: 24px;
  display: flex;
  min-width: 280px;
  min-height: 45px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #b6dfd2;
  border-radius: 9px;
  color: #2e6d5a;
  background: #f0fbf7;
  box-shadow: var(--shadow-md);
  font-size: 0.71rem;
}

.app-flash > img {
  width: 16px;
  padding: 2px;
  border-radius: 50%;
  background: var(--mint-soft);
}

.app-flash button {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: auto;
  place-items: center;
  border: 0;
  background: transparent;
}

.app-flash button img {
  width: 13px;
  opacity: 0.55;
}

.app-content {
  width: min(100%, 1340px);
  padding: 32px 34px 60px;
  margin-inline: auto;
}

.dashboard-welcome,
.page-action-row,
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.dashboard-welcome {
  margin-bottom: 25px;
}

.dashboard-date {
  display: block;
  margin-bottom: 5px;
  color: #9299a5;
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.dashboard-welcome h2,
.page-action-row h2 {
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.dashboard-welcome p,
.page-action-row p {
  margin: 0;
  color: #7c8491;
  font-size: 0.76rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
}

.welcome-banner {
  position: relative;
  display: grid;
  min-height: 250px;
  padding: 32px 34px;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  color: white;
  background: var(--navy);
  grid-template-columns: 1fr 220px;
}

.welcome-banner-copy {
  position: relative;
  z-index: 2;
}

.demo-label {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 5px;
  color: #b8c5fb;
  background: rgb(255 255 255 / 0.09);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.welcome-banner h3 {
  margin: 17px 0 10px;
  font-size: 1.75rem;
}

.welcome-banner p {
  max-width: 570px;
  color: #abb5c7;
  font-size: 0.78rem;
  line-height: 1.65;
}

.welcome-meta {
  display: flex;
  gap: 17px;
  margin-top: 20px;
}

.welcome-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #919daf;
  font-size: 0.65rem;
}

.welcome-meta img {
  width: 13px;
}

.welcome-art {
  position: relative;
  height: 200px;
}

.art-card {
  position: absolute;
  display: grid;
  width: 105px;
  height: 130px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 13px;
  font-size: 0.75rem;
  font-weight: 850;
}

.card-one { top: 44px; left: 0; color: #9eb1ff; background: #24365f; transform: rotate(-11deg); }
.card-two { top: 21px; left: 56px; z-index: 2; color: #88402d; background: var(--coral-soft); transform: rotate(3deg); }
.card-three { top: 53px; right: 0; color: #205e4d; background: var(--mint-soft); transform: rotate(12deg); }
.art-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #718ffc; }
.dot-one { top: 12px; right: 27px; }
.dot-two { bottom: 6px; left: 32px; background: var(--coral); }

.section-row {
  padding: 29px 2px 13px;
}

.section-row h3 {
  margin: 0;
  font-size: 0.92rem;
}

.section-row a {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 750;
}

.dashboard-feed {
  display: grid;
  gap: 12px;
}

.dash-post {
  padding: 21px 22px;
  border: 1px solid #e0e2e6;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 2px rgb(23 32 51 / 0.025);
}

.dash-post .post-meta .avatar {
  width: 37px;
  height: 37px;
  font-size: 0.64rem;
}

.dash-post .post-meta strong {
  font-size: 0.72rem;
}

.dash-post .post-meta small {
  font-size: 0.59rem;
}

.dash-post .post-meta > button {
  margin-left: 7px;
  border: 0;
}

.dash-post h3 {
  margin: 18px 0 8px;
  font-size: 1.04rem;
  letter-spacing: -0.025em;
}

.dash-post > p {
  margin-bottom: 17px;
  color: #687182;
  font-size: 0.75rem;
  line-height: 1.65;
}

.neutral-tag {
  color: #5d6675;
  background: #eef0f3;
}

.dash-post-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid #eceef1;
}

.dash-post-actions > button,
.dash-post-actions > a {
  display: inline-flex;
  height: 29px;
  align-items: center;
  gap: 5px;
  padding-inline: 8px;
  border: 0;
  border-radius: 6px;
  color: #747d8c;
  background: transparent;
  font-size: 0.62rem;
}

.dash-post-actions > button:hover,
.dash-post-actions > a:hover {
  background: #f1f2f4;
}

.dash-post-actions > button.liked {
  color: #b64e3a;
  background: var(--coral-soft);
}

.dash-post-actions img {
  width: 13px;
  height: 13px;
}

.dash-post-actions .post-avatars i {
  width: 24px;
  height: 24px;
  font-size: 0.4rem;
}

.dashboard-secondary {
  display: grid;
  align-content: start;
  gap: 13px;
}

.side-panel {
  padding: 18px;
  border: 1px solid #e0e2e6;
  border-radius: 12px;
  background: white;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.panel-heading h3 {
  margin: 0;
  font-size: 0.81rem;
}

.panel-heading a {
  color: var(--blue);
  font-size: 0.6rem;
  font-weight: 700;
}

.side-event {
  display: flex;
  gap: 10px;
  padding-block: 12px;
  border-top: 1px solid #eceef1;
}

.event-day {
  display: grid;
  width: 41px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  line-height: 1;
}

.event-day-gold {
  color: #8f6218;
  background: var(--gold-soft);
}

.event-day small { font-size: 0.43rem; font-weight: 850; }
.event-day strong { font-size: 0.84rem; }
.side-event div { min-width: 0; }
.side-event div > strong,
.side-event div > small,
.side-event div > span { display: block; }
.side-event div > strong { margin: 2px 0 3px; overflow: hidden; font-size: 0.69rem; text-overflow: ellipsis; white-space: nowrap; }
.side-event div > small { color: #8c939f; font-size: 0.55rem; }
.side-event div > span { margin-top: 5px; color: var(--mint); font-size: 0.53rem; font-weight: 700; }

.course-panel-art {
  position: relative;
  display: flex;
  height: 100px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 15px;
  overflow: hidden;
  border-radius: 9px;
  color: white;
  background: var(--navy);
}

.course-panel-art::before {
  position: absolute;
  top: -50px;
  right: -30px;
  width: 140px;
  height: 140px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  content: "";
}

.course-panel-art span { font-size: 1.35rem; font-weight: 850; }
.course-panel-art small { color: #9baaf0; font-size: 0.45rem; font-weight: 850; letter-spacing: 0.08em; }
.course-panel h4 { margin: 14px 0 4px; font-size: 0.83rem; }
.course-panel > p { margin-bottom: 11px; color: #8b929f; font-size: 0.58rem; }
.course-panel-progress { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.course-panel-progress > span { display: block; height: 5px; flex: 1; overflow: hidden; border-radius: 5px; background: #e2e5eb; }
.course-panel-progress i { display: block; width: 38%; height: 100%; background: var(--blue); }
.course-panel-progress small { color: #87909e; font-size: 0.54rem; }
.course-panel .button { min-height: 37px; font-size: 0.67rem; }
.course-panel .button img { width: 13px; }

.new-member-stack {
  display: flex;
  margin-top: 8px;
}

.new-member-stack .avatar {
  width: 35px;
  height: 35px;
  margin-left: -6px;
  border: 3px solid white;
}

.new-member-stack .avatar:first-child { margin-left: 0; }
.member-panel > p { margin: 9px 0 0; color: #838b98; font-size: 0.59rem; }

/* Community workspace */
.page-action-row {
  margin-bottom: 25px;
}

.community-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
  border: 1px solid #e1e3e7;
  border-radius: 10px;
  background: white;
}

.community-tabs button {
  min-height: 34px;
  padding-inline: 13px;
  border: 0;
  border-radius: 7px;
  color: #737c8a;
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
}

.community-tabs button.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

.community-stream {
  display: grid;
  align-content: start;
  gap: 13px;
}

.inline-composer {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid #e0e2e6;
  border-radius: 11px;
  background: white;
}

.inline-composer > button {
  height: 36px;
  flex: 1;
  padding-inline: 12px;
  border: 1px solid #e2e3e6;
  border-radius: 8px;
  color: #9a9fa8;
  background: #f7f8f9;
  font-size: 0.68rem;
  text-align: left;
}

.featured-post {
  border-top: 3px solid var(--blue);
}

.topic-image {
  position: relative;
  display: flex;
  min-height: 165px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 10px;
  color: white;
  background: var(--navy);
}

.topic-image::before {
  position: absolute;
  top: -60px;
  left: 40%;
  width: 210px;
  height: 210px;
  border: 1px solid rgb(255 255 255 / 0.17);
  border-radius: 50%;
  content: "";
}

.topic-image > span {
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.topic-image i {
  color: #abb5c7;
  font-size: 0.68rem;
  font-style: normal;
  text-align: right;
}

.community-about {
  display: grid;
  align-content: start;
  gap: 13px;
}

.community-about-cover {
  display: grid;
  height: 105px;
  margin: -18px -18px 17px;
  place-items: center;
  border-radius: 12px 12px 0 0;
  background: var(--navy);
}

.community-about-cover span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 14px;
  color: white;
  background: rgb(255 255 255 / 0.08);
  font-weight: 850;
}

.community-about > .side-panel > h3 { margin-bottom: 9px; font-size: 1rem; }
.community-about > .side-panel > p { color: #77808e; font-size: 0.68rem; line-height: 1.6; }
.community-stats { display: grid; padding-top: 15px; border-top: 1px solid #eceef1; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.community-stats div { text-align: center; }
.community-stats strong,
.community-stats small { display: block; }
.community-stats strong { font-size: 0.85rem; }
.community-stats small { margin-top: 3px; color: #9198a3; font-size: 0.48rem; line-height: 1.3; }
.mini-guidelines { display: grid; gap: 12px; padding: 0; margin: 0 0 15px; list-style: none; }
.mini-guidelines li { display: flex; align-items: flex-start; gap: 9px; color: #687181; font-size: 0.64rem; line-height: 1.45; }
.mini-guidelines li span { display: grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: 0.5rem; font-weight: 800; }
.small-link { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 0.63rem; font-weight: 750; }

.composer-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 150ms ease, visibility 150ms ease;
}

.composer-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(11 18 31 / 0.65);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  padding: 26px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 23px;
}

.modal-head span { color: var(--blue); font-size: 0.56rem; font-weight: 850; letter-spacing: 0.1em; }
.modal-head h2 { margin: 6px 0 0; font-size: 1.55rem; }
.modal-head > button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #e0e2e6; border-radius: 8px; background: white; }
.modal-head > button img { width: 15px; }
.modal-card form label { display: block; margin-bottom: 17px; }
.modal-card form label > span { display: block; margin-bottom: 7px; color: #566071; font-size: 0.67rem; font-weight: 750; }
.modal-card input,
.modal-card textarea { width: 100%; border: 1px solid #d9dbe0; border-radius: 9px; outline: 0; }
.modal-card input { height: 47px; padding-inline: 12px; }
.modal-card textarea { padding: 12px; resize: vertical; }
.modal-card input:focus,
.modal-card textarea:focus { border-color: #91a4ed; box-shadow: 0 0 0 3px rgb(49 89 217 / 0.1); }
.modal-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; }
.modal-form-foot > span { display: flex; align-items: center; gap: 6px; color: #87909d; font-size: 0.59rem; }
.modal-form-foot > span img { width: 14px; }
.demo-created-post { animation: post-in 250ms ease both; }

@keyframes post-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Classroom */
.dark-demo-label {
  color: var(--blue);
  background: var(--blue-soft);
}

.featured-course {
  display: grid;
  min-height: 340px;
  padding: 43px;
  overflow: hidden;
  border-radius: 17px;
  color: white;
  background: var(--navy);
  grid-template-columns: 1fr 380px;
}

.featured-course-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.course-kicker {
  color: #9eb0f5;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.featured-course h2 {
  margin: 16px 0 10px;
  font-size: 2.6rem;
}

.featured-course p {
  max-width: 570px;
  color: #abb4c6;
  font-size: 0.76rem;
  line-height: 1.7;
}

.featured-progress {
  display: flex;
  max-width: 390px;
  align-items: center;
  gap: 10px;
  margin: 24px 0 20px;
}

.featured-progress > span {
  height: 5px;
  flex: 1;
  overflow: hidden;
  border-radius: 5px;
  background: rgb(255 255 255 / 0.17);
}

.featured-progress i { display: block; width: 38%; height: 100%; background: #87a0ff; }
.featured-progress small { color: #95a0b3; font-size: 0.58rem; }
.featured-course .button { min-height: 39px; font-size: 0.68rem; }
.featured-course-art { position: relative; min-height: 250px; }
.featured-course-art > p { position: absolute; z-index: 3; right: 30px; bottom: 16px; margin: 0; color: white; font-size: 1.8rem; font-weight: 850; letter-spacing: -0.05em; line-height: 0.9; text-align: right; }
.course-shape { position: absolute; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 0.2); font-weight: 850; }
.shape-a { top: 5px; left: 35px; width: 125px; height: 150px; border-radius: 18px; color: #9eb0f5; background: #23345c; font-size: 2.2rem; transform: rotate(-10deg); }
.shape-b { top: 42px; left: 128px; z-index: 2; width: 130px; height: 150px; border-radius: 18px; color: #8f462f; background: var(--coral-soft); font-size: 2.3rem; transform: rotate(6deg); }
.shape-c { top: 16px; right: 5px; width: 120px; height: 150px; border-radius: 18px; color: #296e59; background: var(--mint-soft); font-size: 2.1rem; transform: rotate(14deg); }
.classroom-heading > span { color: #8c939f; font-size: 0.63rem; }
.course-library { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 17px; }
.course-card { overflow: hidden; border: 1px solid #e0e2e6; border-radius: 13px; background: white; }
.course-card-cover { position: relative; display: flex; min-height: 195px; flex-direction: column; padding: 25px; overflow: hidden; }
.course-card-cover::after { position: absolute; top: -65px; right: -40px; width: 190px; height: 190px; border: 1px solid currentColor; border-radius: 50%; content: ""; opacity: 0.18; }
.cover-blue { color: white; background: var(--navy); }
.cover-paper { color: var(--ink); background: #e8e5dc; }
.course-card-cover > span { font-size: 0.54rem; font-weight: 850; letter-spacing: 0.1em; }
.course-card-cover > strong { margin: auto 0; font-size: 1.65rem; letter-spacing: -0.04em; line-height: 1; }
.course-card-cover > i { font-size: 0.59rem; font-style: normal; opacity: 0.65; }
.course-card-body { padding: 21px; }
.course-card-body > span { color: var(--blue); font-size: 0.52rem; font-weight: 850; letter-spacing: 0.09em; }
.course-card-body h3 { margin: 10px 0 7px; font-size: 1rem; }
.course-card-body p { color: #737c8a; font-size: 0.68rem; line-height: 1.55; }
.course-card-body .course-panel-progress { margin: 17px 0 0; }

/* Calendar */
.page-action-row .button img { width: 15px; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; }
.calendar-main { overflow: hidden; border: 1px solid #e0e2e6; border-radius: 13px; background: white; }
.calendar-controls { display: flex; min-height: 65px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid #e3e5e8; }
.calendar-controls > div { display: flex; align-items: center; gap: 7px; }
.calendar-controls h3 { min-width: 125px; margin: 0; font-size: 0.88rem; text-align: center; }
.calendar-controls button { min-width: 31px; height: 31px; border: 1px solid #e0e2e6; border-radius: 7px; color: #677080; background: white; font-size: 0.67rem; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.weekday { display: grid; height: 38px; place-items: center; border-right: 1px solid #eceef1; border-bottom: 1px solid #e4e6e9; color: #9a9fa8; font-size: 0.51rem; font-weight: 850; }
.weekday:nth-child(7) { border-right: 0; }
.day { position: relative; min-height: 92px; padding: 10px; border-right: 1px solid #eceef1; border-bottom: 1px solid #eceef1; }
.day:nth-child(7n) { border-right: 0; }
.day span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #606a7a; font-size: 0.62rem; }
.day.muted span { color: #b4b8bf; }
.day.today span { color: white; background: var(--blue); }
.day.event-date small { display: block; padding: 4px 5px; margin-top: 12px; overflow: hidden; border-left: 3px solid var(--blue); border-radius: 3px; color: #3550a4; background: var(--blue-soft); font-size: 0.48rem; text-overflow: ellipsis; white-space: nowrap; }
.day.gold-event small { color: #7b5414; border-left-color: var(--gold); background: var(--gold-soft); }
.day.green-event small { color: #23634f; border-left-color: var(--mint); background: var(--mint-soft); }
.calendar-agenda { display: grid; align-content: start; gap: 12px; padding: 18px; border: 1px solid #e0e2e6; border-radius: 13px; background: white; }
.calendar-agenda .panel-heading { margin: 0 0 2px; }
.calendar-agenda .panel-heading span { color: #9a9fa8; font-size: 0.51rem; font-weight: 850; letter-spacing: 0.09em; }
.calendar-agenda .panel-heading h3 { margin-top: 5px; font-size: 1rem; }
.agenda-card { padding: 16px; border-radius: 10px; }
.blue-agenda { color: #283f95; background: var(--blue-soft); }
.gold-agenda { color: #765013; background: var(--gold-soft); }
.agenda-time { font-size: 0.52rem; font-weight: 850; letter-spacing: 0.07em; }
.agenda-card h4 { margin: 11px 0 6px; color: var(--ink); font-size: 0.81rem; }
.agenda-card p { color: #677080; font-size: 0.62rem; line-height: 1.5; }
.agenda-card > div { display: flex; align-items: center; justify-content: space-between; }
.agenda-card .post-avatars { margin-left: 0; }
.agenda-card .post-avatars i { border-color: transparent; }
.agenda-card button { height: 27px; padding-inline: 9px; border: 0; border-radius: 6px; color: white; background: var(--blue); font-size: 0.54rem; font-weight: 750; }
.gold-agenda button { color: #765013; background: white; }
.timezone-note { display: flex; align-items: center; gap: 6px; margin: 5px 0 0; color: #9399a2; font-size: 0.55rem; }
.timezone-note img { width: 13px; }

/* Members */
.member-actions { display: flex; gap: 8px; }
.member-summary { display: grid; margin-bottom: 18px; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.member-summary > div { display: flex; min-height: 100px; align-items: center; gap: 13px; padding: 18px; border: 1px solid #e0e2e6; border-radius: 11px; background: white; }
.member-summary .icon-box { width: 41px; height: 41px; }
.member-summary small,
.member-summary strong,
.member-summary div > div > span { display: block; }
.member-summary small { color: #8b929e; font-size: 0.57rem; }
.member-summary strong { margin: 2px 0; font-size: 1.4rem; }
.member-summary div > div > span { color: var(--mint); font-size: 0.54rem; }
.member-directory { overflow: hidden; border: 1px solid #e0e2e6; border-radius: 12px; background: white; }
.directory-head { display: flex; min-height: 61px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid #e4e6e9; }
.directory-head > div { display: flex; gap: 4px; }
.directory-head button { height: 31px; padding-inline: 10px; border: 0; border-radius: 7px; color: #77808e; background: transparent; font-size: 0.62rem; font-weight: 700; }
.directory-head button.active { color: var(--blue); background: var(--blue-soft); }
.directory-head > span { color: #979da6; font-size: 0.56rem; }
.member-table-head,
.member-table-row { display: grid; align-items: center; padding-inline: 18px; grid-template-columns: minmax(220px, 1.6fr) 0.7fr 0.8fr 0.9fr 32px; gap: 12px; }
.member-table-head { min-height: 39px; color: #979da6; background: #f7f8f9; font-size: 0.53rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.member-table-row { min-height: 72px; border-top: 1px solid #eceef1; color: #687181; font-size: 0.62rem; }
.member-table-row > div:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; }
.member-table-row strong,
.member-table-row small { display: block; }
.member-table-row strong { color: var(--ink); font-size: 0.69rem; }
.member-table-row small { margin-top: 3px; overflow: hidden; color: #949aa4; font-size: 0.55rem; text-overflow: ellipsis; white-space: nowrap; }
.member-table-row > button { display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 6px; background: transparent; }
.member-table-row > button:hover { background: #f1f2f4; }
.member-table-row > button img { width: 14px; opacity: 0.55; }
.role-badge { display: inline-block; padding: 4px 8px; border-radius: 100px; color: #667080; background: #eef0f3; font-size: 0.53rem; font-style: normal; font-weight: 750; }
.host-role { color: var(--blue); background: var(--blue-soft); }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #c0c4ca; }
.status-dot.online { background: var(--mint); }

/* Settings */
.settings-layout { display: grid; grid-template-columns: 190px minmax(0, 760px); gap: 24px; }
.settings-nav { display: flex; flex-direction: column; gap: 3px; }
.settings-nav a { display: flex; min-height: 39px; align-items: center; gap: 9px; padding-inline: 10px; border-radius: 8px; color: #6d7685; font-size: 0.68rem; font-weight: 700; }
.settings-nav a.active { color: var(--blue); background: var(--blue-soft); }
.settings-nav img { width: 15px; }
.settings-content { display: grid; gap: 13px; }
.settings-card { overflow: hidden; border: 1px solid #e0e2e6; border-radius: 12px; background: white; }
.settings-card-head { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #e7e8eb; }
.settings-card h3 { margin-bottom: 6px; font-size: 0.96rem; }
.settings-card p { margin: 0; color: #808895; font-size: 0.65rem; }
.save-state { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 100px; color: var(--mint); background: var(--mint-soft); font-size: 0.53rem; font-weight: 750; white-space: nowrap; }
.save-state img { width: 12px; }
.setting-row { position: relative; display: flex; min-height: 83px; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 22px; border-bottom: 1px solid #eceef1; cursor: pointer; }
.setting-row > div { display: flex; align-items: center; gap: 12px; }
.setting-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #f0f2f5; }
.setting-icon img { width: 16px; opacity: 0.68; }
.setting-row strong { display: block; margin-bottom: 4px; font-size: 0.71rem; }
.setting-row p { max-width: 480px; }
.required-pill { padding: 5px 8px; border-radius: 100px; color: #727b88; background: #eef0f3; font-size: 0.52rem; font-weight: 750; white-space: nowrap; }
.toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-control { flex: 0 0 auto; cursor: pointer; }
.toggle-input:focus-visible + .toggle-control { outline: 3px solid rgb(49 89 217 / 0.23); outline-offset: 3px; }
.settings-form-foot { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 22px; background: #f7f8f9; }
.settings-form-foot p { font-size: 0.59rem; }
.settings-form-foot .button { min-height: 38px; font-size: 0.65rem; }
.compact-settings { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; }
.compact-settings .button { min-height: 36px; font-size: 0.63rem; }

.preview-notice {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  max-width: 340px;
  padding: 12px 16px;
  border: 1px solid #2e3a51;
  border-radius: 9px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.preview-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sidebar-backdrop {
  display: none;
}

/* Responsive behavior */
@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 35px;
  }

  .product-stage {
    width: 700px;
  }

  .window-body {
    grid-template-columns: 135px 1fr 170px;
  }

  .audience-list {
    gap: 18px;
  }

  .detail-grid,
  .detail-grid.reverse {
    gap: 55px;
  }

  .permission-card {
    padding: 60px;
    gap: 52px;
  }

  .app-content {
    padding-inline: 25px;
  }

  .dashboard-grid,
  .community-layout,
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .featured-course {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 1080px) {
  .hero {
    padding-top: 66px;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
  }

  .hero-copy h1,
  .hero-lede {
    margin-inline: auto;
  }

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

  .product-stage {
    width: min(100%, 790px);
    margin-inline: auto;
  }

  .audience-inner {
    display: block;
    padding-block: 0;
  }

  .audience-list {
    margin-top: 22px;
  }

  .detail-grid,
  .detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .detail-grid.reverse .detail-copy {
    order: 0;
  }

  .detail-copy {
    max-width: 720px;
  }

  .controls-section .control-grid {
    gap: 65px;
  }

  .contact-grid {
    gap: 60px;
  }

  .auth-shell {
    grid-template-columns: minmax(400px, 0.85fr) minmax(500px, 1.15fr);
  }

  .auth-brand-panel {
    padding-inline: 40px;
  }

  .app-sidebar {
    width: 228px;
  }

  .app-main {
    margin-left: 228px;
  }

  .dashboard-grid {
    display: block;
  }

  .dashboard-secondary {
    margin-top: 16px;
    grid-template-columns: repeat(3, 1fr);
  }

  .side-panel {
    min-width: 0;
  }

  .community-layout,
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .welcome-banner {
    grid-template-columns: 1fr 185px;
  }

  .member-table-head,
  .member-table-row {
    grid-template-columns: minmax(190px, 1.5fr) 0.6fr 0.8fr 0.9fr 30px;
  }
}

@media (max-width: 960px) {
  .section-pad {
    padding-block: 88px;
  }

  .feature-card-wide {
    grid-template-columns: 1fr 1.2fr;
    gap: 35px;
  }

  .steps-grid,
  .permission-card,
  .control-grid,
  .about-grid,
  .contact-grid,
  .email-choice-wrap,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sticky-heading {
    position: static;
  }

  .permission-card {
    padding: 58px;
  }

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

  .final-actions {
    flex-direction: row;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .about-lede {
    padding-top: 0;
  }

  .beliefs-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-help {
    display: none;
  }

  .auth-shell {
    display: block;
  }

  .auth-brand-panel {
    display: none;
  }

  .auth-form-panel {
    display: block;
    padding: 35px 30px 70px;
  }

  .auth-mobile-brand {
    display: block;
    margin-bottom: 90px;
  }

  .auth-form-wrap {
    margin-inline: auto;
  }

  .app-sidebar {
    width: 252px;
    box-shadow: 16px 0 40px rgb(11 18 31 / 0.17);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .app-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-close,
  .sidebar-open {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: #f1f2f4;
  }

  .sidebar-close img,
  .sidebar-open img {
    width: 16px;
  }

  .sidebar-backdrop {
    position: fixed;
    z-index: 110;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgb(11 18 31 / 0.48);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .sidebar-backdrop.is-open {
    visibility: visible;
    opacity: 1;
  }

  .app-main {
    margin-left: 0;
  }

  .app-topbar-left {
    display: flex;
    align-items: center;
    gap: 13px;
  }

  .mobile-community-name {
    display: block;
    margin-bottom: 2px;
    color: #949aa4;
    font-size: 0.52rem;
  }

  .community-layout,
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .settings-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: 68px;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100vh - 68px);
    padding: 18px 20px 25px;
    overflow-y: auto;
    border-bottom: 1px solid #dcdedc;
    background: var(--paper);
    box-shadow: 0 20px 35px rgb(23 32 51 / 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    display: grid;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 8px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-actions {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 1fr;
  }

  .mobile-only {
    display: block;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 11.5vw, 4.6rem);
  }

  .product-window {
    overflow-x: hidden;
  }

  .window-body {
    grid-template-columns: 130px 1fr;
  }

  .preview-rail {
    display: none;
  }

  .window-bar {
    grid-template-columns: 1fr 210px 1fr;
  }

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

  .feature-card-wide {
    display: block;
    grid-column: auto;
  }

  .discussion-demo {
    margin-top: 38px;
  }

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

  .permission-card {
    padding: 45px 35px;
  }

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

  .home-plan-price {
    justify-content: start;
  }

  .final-cta {
    padding: 48px 36px;
  }

  .detail-visual {
    border-radius: 15px;
  }

  .classroom-visual {
    grid-template-columns: 1fr;
  }

  .course-cover {
    min-height: 390px;
  }

  .event-visual {
    padding: 32px;
    grid-template-columns: 130px 1fr;
    gap: 30px;
  }

  .event-date-large {
    height: 190px;
  }

  .plan-grid,
  .belief-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .note-card {
    padding: 50px;
    grid-template-columns: 1fr;
  }

  .note-mark {
    width: 75px;
    height: 75px;
    border-radius: 22px 22px 22px 7px;
    font-size: 2.2rem;
  }

  .contact-form-card {
    padding: 32px;
  }

  .community-layout,
  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .community-about {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-agenda {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-agenda .panel-heading,
  .timezone-note {
    grid-column: 1 / -1;
  }

  .featured-course {
    grid-template-columns: 1fr 250px;
  }

  .member-table-head,
  .member-table-row {
    grid-template-columns: minmax(190px, 1.5fr) 0.6fr 0.85fr 30px;
  }

  .member-table-head > span:nth-child(3),
  .member-table-row > span:nth-child(3) {
    display: none;
  }

  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-nav {
    flex-direction: row;
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .settings-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding-block: 72px;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .button-large {
    min-height: 49px;
    padding-inline: 18px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy {
    margin-bottom: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .final-actions,
  .centered-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .final-actions .button,
  .centered-actions .button {
    width: 100%;
  }

  .window-bar {
    grid-template-columns: 1fr auto;
  }

  .window-search {
    display: none;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .product-window {
    border-radius: 13px;
  }

  .stage-caption {
    right: 8px;
  }

  .audience-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
  }

  .audience-card {
    min-height: 90px;
    padding: 14px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .audience-icon {
    width: 48px;
    height: 48px;
  }

  .audience-icon img {
    width: 50px;
    height: 50px;
  }

  .feature-card {
    padding: 27px;
    border-radius: 18px;
  }

  .feature-card h3 {
    font-size: 1.45rem;
  }

  .discussion-demo {
    padding: 10px;
    transform: none;
  }

  .topic-row {
    padding: 10px;
  }

  .topic-row .topic-badge,
  .topic-row > span:last-child:not(.avatar) {
    display: none;
  }

  .permission-card {
    padding: 38px 22px;
    border-radius: 20px;
  }

  .preference-panel {
    transform: none;
  }

  .preference-row {
    padding-inline: 15px;
  }

  .preference-row small {
    max-width: 210px;
  }

  .home-plan {
    padding: 34px 28px;
  }

  .final-cta {
    min-height: auto;
    padding: 40px 25px;
    border-radius: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    gap: 8px;
    flex-direction: column;
  }

  .page-hero h1,
  .about-grid h1,
  .contact-copy h1,
  .email-choice-copy h1,
  .legal-head h1 {
    font-size: clamp(2.7rem, 13vw, 3.7rem);
  }

  .feature-detail-section {
    padding-block: 78px;
  }

  .board-visual {
    padding: 12px;
  }

  .board-filter {
    overflow-x: auto;
  }

  .board-filter span {
    white-space: nowrap;
  }

  .event-visual {
    grid-template-columns: 1fr;
  }

  .event-date-large {
    height: 145px;
  }

  .event-date-large strong {
    font-size: 3.4rem;
  }

  .control-grid {
    gap: 40px;
  }

  .control-points article {
    grid-template-columns: 38px 1fr;
  }

  .beliefs-head {
    padding-bottom: 40px;
  }

  .note-card {
    padding: 38px 27px;
  }

  .contact-form-card {
    min-height: auto;
    padding: 25px 20px;
  }

  .legal-hero {
    padding-block: 68px 55px;
  }

  .legal-sidebar nav {
    grid-template-columns: 1fr;
  }

  .legal-content section {
    padding-left: 35px;
  }

  .legal-number {
    font-size: 0.58rem;
  }

  .auth-form-panel {
    padding: 25px 20px 60px;
  }

  .auth-mobile-brand {
    margin-bottom: 65px;
  }

  .auth-heading h2 {
    font-size: 2rem;
  }

  .app-topbar {
    height: 61px;
    padding-inline: 14px;
  }

  .app-search {
    width: 37px;
    padding: 0;
    justify-content: center;
  }

  .app-search span,
  .app-search kbd {
    display: none;
  }

  .mobile-avatar {
    display: grid;
    width: 34px;
    height: 34px;
  }

  .app-content {
    padding: 23px 14px 50px;
  }

  .dashboard-welcome,
  .page-action-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-welcome .button,
  .page-action-row > .button,
  .member-actions {
    width: 100%;
  }

  .member-actions .button {
    flex: 1;
  }

  .welcome-banner {
    display: block;
    min-height: 310px;
    padding: 27px;
  }

  .welcome-art {
    position: absolute;
    right: 20px;
    bottom: -40px;
    width: 190px;
    opacity: 0.45;
  }

  .dashboard-secondary {
    grid-template-columns: 1fr;
  }

  .dash-post {
    padding: 17px;
  }

  .dash-post .post-tag {
    display: none;
  }

  .dash-post .post-meta > button {
    margin-left: auto;
  }

  .dash-post-actions .post-avatars {
    display: none;
  }

  .community-about {
    grid-template-columns: 1fr;
  }

  .topic-image {
    min-height: 130px;
    padding: 20px;
  }

  .topic-image > span {
    font-size: 1.35rem;
  }

  .modal-card {
    padding: 20px;
  }

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

  .modal-form-foot .button {
    width: 100%;
  }

  .featured-course {
    display: block;
    min-height: 460px;
    padding: 30px;
  }

  .featured-course-art {
    position: absolute;
    right: 12px;
    bottom: -45px;
    width: 280px;
    opacity: 0.48;
  }

  .course-library {
    grid-template-columns: 1fr;
  }

  .calendar-agenda {
    grid-template-columns: 1fr;
  }

  .calendar-agenda .panel-heading,
  .timezone-note {
    grid-column: auto;
  }

  .calendar-main {
    overflow-x: auto;
  }

  .calendar-main > * {
    min-width: 620px;
  }

  .member-summary {
    grid-template-columns: 1fr;
  }

  .member-table {
    overflow-x: auto;
  }

  .member-table-head,
  .member-table-row {
    min-width: 640px;
  }

  .settings-card-head,
  .settings-form-foot,
  .compact-settings {
    align-items: flex-start;
    flex-direction: column;
  }

  .setting-row {
    padding-inline: 15px;
  }

  .setting-row p {
    max-width: 220px;
  }

  .setting-icon {
    display: none;
  }

  .app-flash,
  .preview-notice {
    right: 14px;
    left: 14px;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .audience-list {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .home-plan {
    padding-inline: 22px;
  }

  .contact-details .icon-box,
  .contact-details .generated-badge {
    display: none;
  }

  .preference-row small {
    max-width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Image-led home refresh */
.brand-symbol {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  object-fit: contain;
  transform: scale(1.52);
  transform-origin: center;
}

.brand-symbol-small {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
}

.hero {
  padding-top: 76px;
  overflow: visible;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(390px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(44px, 5.5vw, 76px);
}

.hero-copy {
  max-width: 565px;
  margin: 0;
  text-align: left;
}

.hero-copy h1 {
  max-width: 560px;
  margin-bottom: 25px;
  font-size: clamp(3.65rem, 5.35vw, 5rem);
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 550px;
  margin: 0 0 30px;
  color: #606a7b;
  font-size: 1.12rem;
  line-height: 1.68;
}

.hero-actions .button {
  padding-inline: 18px;
  white-space: nowrap;
}

.hero-trust-list {
  display: grid;
  gap: 9px;
  padding: 18px 0 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr;
  list-style: none;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #606a78;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-trust-list img {
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
  background: var(--mint-soft);
}

.hero-photo-card {
  position: relative;
  min-width: 0;
  padding-bottom: 44px;
  margin: 0;
  isolation: isolate;
}

.hero-photo-card > img {
  width: 100%;
  aspect-ratio: 1.21 / 1;
  border: 1px solid #d5d4ce;
  border-radius: 22px;
  object-fit: cover;
  object-position: 51% center;
  box-shadow: 0 22px 56px rgb(23 32 51 / 0.14);
}

.hero-photo-caption {
  position: absolute;
  z-index: 2;
  right: 44px;
  bottom: 0;
  left: 26px;
  display: grid;
  min-height: 86px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid #26334d;
  border-radius: 13px;
  color: white;
  background: var(--navy);
  box-shadow: 0 14px 30px rgb(18 27 46 / 0.21);
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
}

.hero-photo-caption .caption-date {
  display: grid;
  min-height: 54px;
  align-content: center;
  justify-items: center;
  border-right: 1px solid #39445a;
  line-height: 1;
}

.caption-date strong {
  margin-bottom: 4px;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.caption-date small {
  color: #b7c0cf;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.hero-photo-caption > span:nth-child(2) {
  min-width: 0;
}

.hero-photo-caption > span:nth-child(2) > * {
  display: block;
}

.hero-photo-caption > span:nth-child(2) small {
  margin-bottom: 4px;
  color: #9eabd0;
  font-size: 0.51rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.hero-photo-caption > span:nth-child(2) strong {
  overflow: hidden;
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-photo-caption > span:nth-child(2) em {
  margin-top: 3px;
  color: #aeb7c7;
  font-size: 0.61rem;
  font-style: normal;
}

.caption-members {
  display: flex;
  padding-left: 6px;
}

.caption-members i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  margin-left: -7px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: #39445a;
  background: #f0e7d9;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 850;
}

.caption-members i:nth-child(2) {
  background: #dfeee8;
}

.caption-members i:last-child {
  color: white;
  background: var(--blue);
}

.hero-community-card {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 20px;
  display: flex;
  min-width: 232px;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid #d8d9d5;
  border-radius: 12px;
  background: white;
  box-shadow: 0 12px 28px rgb(23 32 51 / 0.15);
}

.hero-community-card .community-tile {
  width: 39px;
  height: 39px;
  border-radius: 9px;
  background: var(--blue);
}

.hero-community-card > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.hero-community-card strong,
.hero-community-card small {
  display: block;
}

.hero-community-card strong {
  margin-bottom: 2px;
  font-size: 0.76rem;
}

.hero-community-card small {
  color: #7a8290;
  font-size: 0.58rem;
}

.hero-community-card > img {
  width: 16px;
  height: 16px;
  opacity: 0.58;
}

.host-story-section {
  border-block: 1px solid #dcddd7;
  background: #eeede7;
}

.host-story-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(52px, 7vw, 92px);
}

.host-story-photo {
  position: relative;
  margin: 0;
}

.host-story-photo > img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  border: 1px solid #d2d2cc;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 38px rgb(23 32 51 / 0.1);
}

.host-story-photo figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #deded8;
  border-radius: 9px;
  color: #4e5867;
  background: white;
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 750;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-soft);
}

.host-story-copy h2 {
  max-width: 510px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.host-story-copy > p {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.host-story-points {
  margin-bottom: 31px;
  border-top: 1px solid #d4d5cf;
}

.host-story-points article {
  display: grid;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid #d4d5cf;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
}

.host-story-points article > .host-story-badge {
  width: 46px;
  height: 46px;
  margin-top: -2px;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px rgb(23 32 51 / 0.1));
}

.host-story-points strong,
.host-story-points span {
  display: block;
}

.host-story-points strong {
  margin: 1px 0 3px;
  font-size: 0.86rem;
}

.host-story-points span {
  color: #707887;
  font-size: 0.76rem;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(350px, 0.82fr) minmax(0, 1.18fr);
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(3.35rem, 5.6vw, 4.45rem);
  }

  .hero-photo-caption {
    right: 22px;
    left: 20px;
  }

  .host-story-grid {
    gap: 48px;
  }
}

@media (max-width: 1040px) {
  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 740px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy h1,
  .hero-lede {
    max-width: 690px;
    margin-inline: auto;
  }

  .hero-lede {
    margin-bottom: 30px;
  }

  .hero-actions,
  .hero-trust-list {
    justify-content: center;
  }

  .hero-photo-card {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .host-story-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .host-story-photo {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .host-story-copy {
    max-width: 700px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .brand-symbol {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .brand-symbol-small {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 72px;
  }

  .hero-grid {
    gap: 39px;
  }

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

  .hero-copy h1 {
    max-width: 520px;
    margin-inline: 0;
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 14.5vw, 3.75rem);
    line-height: 0.99;
  }

  .hero-lede {
    margin-inline: 0;
    margin-bottom: 25px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-trust-list {
    display: grid;
    justify-content: stretch;
    gap: 8px;
    padding-top: 18px;
    margin-top: 20px;
  }

  .hero-trust-list li {
    font-size: 0.72rem;
    white-space: normal;
  }

  .hero-photo-card {
    padding-bottom: 0;
  }

  .hero-photo-card > img {
    aspect-ratio: 1 / 0.86;
    border-radius: 16px;
    object-position: 50% center;
    box-shadow: 0 14px 34px rgb(23 32 51 / 0.12);
  }

  .hero-photo-caption {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 2;
    min-height: 76px;
    padding: 11px 13px;
    margin: -11px 9px 0;
    border-radius: 11px;
    grid-template-columns: 43px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .hero-photo-caption .caption-date {
    min-height: 49px;
  }

  .caption-date strong {
    font-size: 1.1rem;
  }

  .caption-members i {
    width: 25px;
    height: 25px;
    font-size: 0.42rem;
  }

  .hero-community-card {
    top: 11px;
    right: 11px;
    min-width: 0;
    max-width: calc(100% - 22px);
    padding: 9px 10px;
    border-radius: 10px;
  }

  .hero-community-card .community-tile {
    width: 34px;
    height: 34px;
  }

  .hero-community-card strong {
    font-size: 0.7rem;
  }

  .hero-community-card small {
    font-size: 0.52rem;
  }

  .host-story-section {
    padding-block: 70px;
  }

  .host-story-grid {
    gap: 37px;
  }

  .host-story-photo > img {
    aspect-ratio: 1 / 0.88;
    border-radius: 14px;
    object-position: 47% center;
    box-shadow: 0 10px 24px rgb(23 32 51 / 0.09);
  }

  .host-story-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: center;
    padding-inline: 9px;
    font-size: 0.62rem;
  }

  .host-story-copy h2 {
    margin-bottom: 17px;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .host-story-copy > p {
    margin-bottom: 25px;
    font-size: 0.94rem;
    line-height: 1.67;
  }

  .host-story-points {
    margin-bottom: 25px;
  }

  .host-story-points article {
    padding-block: 14px;
  }

  .host-story-copy > .button {
    width: 100%;
  }
}

@media (max-width: 410px) {
  .hero-photo-caption {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .caption-members {
    display: none;
  }

  .hero-community-card > img {
    display: none;
  }

  .host-story-photo figcaption {
    font-size: 0.58rem;
  }
}

/* Monetization-led home */
.home-page {
  overflow: clip;
}

.home-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 11%, rgb(49 89 217 / 0.08), transparent 24rem),
    linear-gradient(180deg, #f7f6f2 0%, var(--paper) 100%);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(23 32 51 / 0.11) 0.65px, transparent 0.65px);
  background-size: 16px 16px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 40%, black 100%);
  opacity: 0.18;
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-eyebrow i {
  padding: 5px 8px;
  border: 1px solid #ccd4f3;
  border-radius: 100px;
  color: #52607a;
  background: rgb(255 255 255 / 0.72);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.home-hero .hero-copy {
  max-width: 610px;
}

.home-hero .hero-copy h1 {
  max-width: 600px;
  font-size: clamp(3.65rem, 5.45vw, 5.2rem);
}

.home-hero .hero-lede {
  max-width: 590px;
}

.hero-beta-note {
  max-width: 505px;
  padding-left: 14px;
  margin: 17px 0 0;
  border-left: 2px solid #c8cee0;
  color: #7c8391;
  font-size: 0.68rem;
  line-height: 1.55;
}

.hero-membership-card {
  position: absolute;
  z-index: 3;
  top: 21px;
  right: 20px;
  width: min(270px, calc(100% - 40px));
  padding: 15px;
  border: 1px solid rgb(255 255 255 / 0.66);
  border-radius: 13px;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 16px 34px rgb(23 32 51 / 0.17);
  backdrop-filter: blur(12px);
}

.sample-label {
  display: block;
  margin-bottom: 12px;
  color: #687189;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.sample-offer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sample-offer-heading > span:last-child {
  min-width: 0;
}

.sample-offer-heading strong,
.sample-offer-heading small {
  display: block;
}

.sample-offer-heading strong {
  margin-bottom: 2px;
  font-size: 0.82rem;
}

.sample-offer-heading small {
  overflow: hidden;
  color: #7b8493;
  font-size: 0.57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-membership-card .community-tile {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  background: var(--blue);
}

.sample-price {
  display: flex;
  align-items: end;
  gap: 5px;
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid #e4e5e8;
}

.sample-price strong {
  font-size: 1.55rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.sample-price span {
  padding-bottom: 2px;
  color: #7b8390;
  font-size: 0.62rem;
}

.hero-offer-bar {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 0;
  left: 26px;
  display: grid;
  min-height: 88px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid #26334d;
  border-radius: 13px;
  color: white;
  background: var(--navy);
  box-shadow: 0 14px 30px rgb(18 27 46 / 0.22);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-offer-bar > span {
  min-width: 0;
  padding: 3px 15px;
  border-right: 1px solid #344057;
}

.hero-offer-bar > span:first-child {
  padding-left: 0;
}

.hero-offer-bar > span:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-offer-bar small,
.hero-offer-bar strong {
  display: block;
}

.hero-offer-bar small {
  margin-bottom: 5px;
  color: #91a3dd;
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.hero-offer-bar strong {
  overflow: hidden;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.revenue-paths-section {
  background: white;
}

.revenue-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.68fr);
  gap: 70px;
}

.revenue-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -43px;
}

.revenue-heading h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.7rem, 4.4vw, 4.1rem);
}

.revenue-heading p {
  margin: 0 0 4px;
}

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

.revenue-path-card {
  display: flex;
  min-height: 370px;
  padding: 31px;
  flex-direction: column;
  border: 1px solid #dddeda;
  border-radius: 18px;
  background: #f8f8f5;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8) inset;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.revenue-path-card:hover {
  border-color: #c9cbd0;
  box-shadow: 0 18px 36px rgb(23 32 51 / 0.08);
  transform: translateY(-4px);
}

.revenue-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.money-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
}

.money-icon img {
  width: 21px;
  height: 21px;
}

.money-icon-blue { color: var(--blue); background: var(--blue-soft); }
.money-icon-coral { color: var(--coral); background: var(--coral-soft); }
.money-icon-mint { color: var(--mint); background: var(--mint-soft); }

.revenue-badge {
  width: 50px;
  height: 50px;
}

.revenue-badge img {
  width: 52px;
  height: 52px;
}

.example-chip {
  padding: 5px 9px;
  border: 1px solid #d9dad7;
  border-radius: 100px;
  color: #7a818c;
  background: white;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.offer-card-media {
  height: 180px;
  margin: 22px 0 23px;
  overflow: hidden;
  border: 1px solid #dedfdb;
  border-radius: 13px;
  background: #f5ede4;
}

.offer-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.revenue-path-card:hover .offer-card-media img {
  transform: scale(1.025);
}

.revenue-path-card h3 {
  margin: 0 0 13px;
  font-size: 1.58rem;
}

.revenue-path-card > p {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.72;
}

.offer-example {
  display: flex;
  min-height: 83px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid #dedfdb;
}

.offer-example > span {
  display: flex;
  align-items: end;
  gap: 5px;
}

.offer-example strong {
  font-size: 2rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.offer-example small {
  padding-bottom: 2px;
  color: #808691;
  font-size: 0.62rem;
}

.offer-example em {
  max-width: 120px;
  color: #707886;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.revenue-model-section {
  color: white;
  background:
    radial-gradient(circle at 24% 42%, rgb(34 73 157 / 0.22), transparent 31rem),
    radial-gradient(circle at 88% 12%, rgb(77 110 226 / 0.26), transparent 26rem),
    #081326;
}

.revenue-model-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: clamp(55px, 7vw, 96px);
}

.revenue-artwork {
  position: relative;
  margin: 0;
}

.revenue-artwork > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.2);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.revenue-artwork:hover > img {
  transform: scale(1.012);
}

.revenue-model-copy .eyebrow {
  color: #aebcff;
}

.revenue-model-copy h2 {
  max-width: 600px;
  margin-bottom: 21px;
  font-size: clamp(2.65rem, 4.2vw, 3.9rem);
  line-height: 1.03;
}

.revenue-model-copy > p {
  max-width: 590px;
  margin-bottom: 29px;
  color: #adb8ca;
  font-size: 1rem;
  line-height: 1.7;
}

.revenue-example-card {
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 16px;
  color: var(--ink);
  background: white;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.2);
}

.revenue-example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e6e8;
  color: #697287;
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.revenue-example-head span:last-child {
  padding: 4px 7px;
  border-radius: 100px;
  color: var(--blue);
  background: var(--blue-soft);
}

.revenue-equation {
  display: grid;
  align-items: center;
  padding: 22px 0;
  grid-template-columns: auto 22px auto 22px minmax(0, 1fr);
  gap: 8px;
}

.revenue-equation > span {
  display: grid;
  gap: 2px;
}

.revenue-equation strong {
  font-size: 1.55rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.revenue-equation small {
  color: #7a8290;
  font-size: 0.55rem;
}

.revenue-equation > i {
  color: #a0a5ad;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.revenue-total {
  padding-left: 15px;
  border-left: 1px solid #dfe1e5;
}

.revenue-total strong {
  color: var(--blue);
  font-size: 2.15rem;
}

.revenue-value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid #e5e6e8;
}

.revenue-value-row span {
  padding: 6px 9px;
  border-radius: 100px;
  color: #566074;
  background: #f0f2f5;
  font-size: 0.58rem;
  font-weight: 700;
}

.revenue-example-card > p {
  margin: 15px 0 0;
  color: #7d8490;
  font-size: 0.57rem;
  line-height: 1.55;
}

.revenue-model-copy > .button {
  color: white;
  border-color: rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.06);
}

.revenue-model-copy > .button:hover {
  border-color: rgb(255 255 255 / 0.48);
  background: rgb(255 255 255 / 0.1);
}

.retention-section {
  background: #f4f3ef;
}

.retention-section .feature-card {
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.72) inset;
  transition: border-color 220ms ease, transform 220ms ease;
}

.retention-section .feature-card:hover {
  border-color: #cfd1d3;
  transform: translateY(-3px);
}

.retention-section .dark-card:hover {
  border-color: #2b3955;
}

.preview-label {
  margin: 0 2px 12px;
  color: #7b8391;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.dark-card .preview-label {
  color: #8895ac;
}

.permission-copy .eyebrow {
  margin-bottom: 18px;
}

.preference-status {
  min-width: 58px;
  padding: 5px 8px;
  border-radius: 100px;
  color: #767e8c;
  background: #eef0f3;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
}

.preference-status.enabled {
  color: #2447ba;
  background: var(--blue-soft);
}

.home-plan-copy > small {
  display: block;
  max-width: 570px;
  margin-top: 13px;
  color: #828893;
  font-size: 0.62rem;
  line-height: 1.55;
}

.final-cta > div:first-child > span {
  display: block;
  margin-bottom: 14px;
  color: #cbd4ff;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

/* Progressive, one-time entrance motion. Content stays visible without JavaScript. */
.home-hero .hero-eyebrow,
.home-hero .hero-copy h1,
.home-hero .hero-lede,
.home-hero .hero-actions,
.home-hero .hero-trust-list,
.home-hero .hero-beta-note {
  animation: home-rise 680ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero .hero-copy h1 { animation-delay: 55ms; }
.home-hero .hero-lede { animation-delay: 110ms; }
.home-hero .hero-actions { animation-delay: 165ms; }
.home-hero .hero-trust-list { animation-delay: 220ms; }
.home-hero .hero-beta-note { animation-delay: 265ms; }
.home-hero .hero-photo-card { animation: home-photo-in 800ms 120ms both cubic-bezier(0.22, 1, 0.36, 1); }
.home-hero .hero-membership-card { animation: home-card-in 700ms 360ms both cubic-bezier(0.22, 1, 0.36, 1); }
.home-hero .hero-offer-bar { animation: home-card-in 700ms 440ms both cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-photo-in {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes home-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

html.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .home-hero .hero-copy h1 {
    font-size: clamp(3.4rem, 5.7vw, 4.55rem);
  }

  .revenue-heading {
    gap: 45px;
  }

  .revenue-path-card {
    padding: 26px;
  }

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

  .offer-example em {
    max-width: none;
    text-align: left;
  }

  .revenue-model-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 48px;
  }
}

@media (max-width: 1040px) {
  .home-hero .hero-copy {
    max-width: 760px;
  }

  .home-hero .hero-copy h1,
  .home-hero .hero-lede,
  .hero-beta-note {
    margin-inline: auto;
  }

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

  .hero-beta-note {
    padding-left: 0;
    border-left: 0;
    text-align: center;
  }

  .revenue-model-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .revenue-artwork {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .revenue-artwork > img {
    aspect-ratio: 1.36 / 1;
  }

  .revenue-model-copy {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .revenue-heading {
    display: block;
  }

  .revenue-heading .eyebrow {
    margin-bottom: 22px;
  }

  .revenue-heading h2 {
    margin-bottom: 20px;
  }

  .revenue-path-grid {
    grid-template-columns: 1fr;
  }

  .revenue-path-card {
    min-height: 0;
  }

  .offer-card-media {
    width: min(100%, 520px);
    height: 290px;
    margin-inline: auto;
  }

  .offer-example {
    align-items: end;
    flex-direction: row;
  }

  .offer-example em {
    max-width: 220px;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .home-hero::before {
    display: none;
  }

  .hero-eyebrow {
    justify-content: flex-start;
    margin-bottom: 17px;
  }

  .home-hero .hero-copy h1 {
    max-width: 570px;
    font-size: clamp(2.75rem, 14.6vw, 3.72rem);
  }

  .hero-beta-note {
    margin-inline: 0;
    text-align: left;
  }

  .hero-membership-card {
    top: 11px;
    right: 11px;
    width: min(226px, calc(100% - 22px));
    padding: 12px;
  }

  .sample-label {
    margin-bottom: 8px;
    font-size: 0.45rem;
  }

  .sample-offer-heading small {
    display: none;
  }

  .sample-price {
    padding-top: 9px;
    margin-top: 9px;
  }

  .sample-price strong {
    font-size: 1.25rem;
  }

  .hero-offer-bar {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    min-height: 0;
    padding: 13px;
    margin: -10px 8px 0;
    border-radius: 11px;
    grid-template-columns: 1fr;
  }

  .hero-offer-bar > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 2px;
    border-right: 0;
    border-bottom: 1px solid #344057;
  }

  .hero-offer-bar > span:first-child {
    padding-left: 2px;
  }

  .hero-offer-bar > span:last-child {
    padding-right: 2px;
    border-bottom: 0;
  }

  .hero-offer-bar small {
    margin: 0;
  }

  .revenue-heading h2,
  .revenue-model-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.05rem);
  }

  .revenue-path-card {
    padding: 25px;
  }

  .offer-card-media {
    width: min(100%, 380px);
    height: 215px;
    margin-block: 20px 22px;
  }

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

  .offer-example em {
    max-width: none;
    text-align: left;
  }

  .revenue-artwork > img {
    aspect-ratio: 1 / 0.92;
    border-radius: 15px;
    object-position: center;
  }

  .revenue-example-card {
    padding: 19px;
  }

  .revenue-equation {
    grid-template-columns: 1fr auto 1fr;
  }

  .revenue-equation > i:nth-of-type(2) {
    display: none;
  }

  .revenue-total {
    padding: 16px 0 0;
    border-top: 1px solid #dfe1e5;
    border-left: 0;
    grid-column: 1 / -1;
  }

  .revenue-total strong {
    font-size: 2rem;
  }

  .preference-head > span {
    display: none;
  }

  .preference-row small {
    max-width: 190px;
  }

  .preference-status,
  .status-required {
    flex: 0 0 auto;
    margin-left: 12px;
  }

  .home-plan-price {
    width: 100%;
  }

  .home-plan-price .button {
    width: 100%;
  }
}

@media (max-width: 410px) {
  .hero-membership-card {
    width: 205px;
  }

  .hero-membership-card .community-tile {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .sample-offer-heading strong {
    font-size: 0.73rem;
  }

  .revenue-value-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .preference-row small {
    max-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }

  html.reveal-enabled [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .revenue-path-card:hover .offer-card-media img {
    transform: none;
  }
}

/* Refined course and live-session previews */
.course-feature-card,
.rhythm-feature-card {
  display: flex;
  min-height: 590px;
  flex-direction: column;
}

.course-feature-card > .icon-box,
.rhythm-feature-card > .icon-box,
.course-feature-card > .feature-badge,
.rhythm-feature-card > .feature-badge {
  align-self: flex-start;
}

.course-feature-card > p,
.rhythm-feature-card > p {
  margin-bottom: 30px;
}

.course-product-preview {
  padding: 16px;
  margin-top: auto;
  border: 1px solid #dfe1e5;
  border-radius: 18px;
  background: #f5f5f2;
  box-shadow: 0 18px 38px rgb(23 32 51 / 0.1);
}

.course-preview-cover {
  position: relative;
  display: grid;
  min-height: 126px;
  align-items: center;
  padding: 21px;
  overflow: hidden;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, #345cd5 0%, #2947aa 58%, #1b2b52 100%);
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
}

.course-preview-cover::after {
  position: absolute;
  right: -42px;
  bottom: -74px;
  width: 170px;
  height: 170px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 50%;
  content: "";
}

.course-preview-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.13);
}

.course-preview-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.course-preview-cover div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.course-preview-cover strong,
.course-preview-cover small {
  display: block;
}

.course-preview-cover strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.course-preview-cover small {
  margin-top: 6px;
  color: #dbe2ff;
  font-size: 0.69rem;
  font-weight: 600;
}

.course-progress-number {
  position: relative;
  z-index: 1;
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.course-preview-progress {
  height: 6px;
  margin: 15px 5px;
  overflow: hidden;
  border-radius: 100px;
  background: #d9dce2;
}

.course-preview-progress i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.course-preview-lessons {
  display: grid;
  gap: 8px;
}

.course-preview-lesson {
  display: grid;
  min-height: 64px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e0e2e5;
  border-radius: 11px;
  background: white;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
}

.course-preview-lesson > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #707887;
  background: #eef0f3;
  font-size: 0.67rem;
  font-weight: 850;
}

.course-preview-lesson > span img {
  width: 15px;
}

.course-preview-lesson.complete > span {
  background: var(--mint-soft);
}

.course-preview-lesson.current {
  border-color: #b8c4f1;
  box-shadow: 0 6px 16px rgb(49 89 217 / 0.08);
}

.course-preview-lesson.current > span {
  color: white;
  background: var(--blue);
}

.course-preview-lesson strong,
.course-preview-lesson small {
  display: block;
}

.course-preview-lesson strong {
  font-size: 0.78rem;
}

.course-preview-lesson small {
  margin-top: 4px;
  color: #858d9a;
  font-size: 0.68rem;
}

.event-product-preview {
  padding: 18px;
  margin-top: auto;
  border: 1px solid #dfe2e7;
  border-radius: 18px;
  color: var(--ink);
  background: #f3f4f3;
  box-shadow: 0 18px 38px rgb(5 12 26 / 0.2);
}

.event-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 15px;
}

.event-preview-toolbar small,
.event-preview-toolbar strong {
  display: block;
}

.event-preview-toolbar small {
  margin-bottom: 4px;
  color: #8b929e;
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.event-preview-toolbar strong {
  font-size: 0.86rem;
}

.event-preview-toolbar > span {
  padding: 6px 9px;
  border-radius: 100px;
  color: #3854a7;
  background: #e7ebfa;
  font-size: 0.61rem;
  font-weight: 750;
}

.event-featured-session {
  padding: 18px 19px 19px;
  border: 1px solid #dfe2e7;
  border-radius: 13px;
  background: white;
  box-shadow: 0 10px 24px rgb(23 32 51 / 0.07);
}

.event-session-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-session-heading time {
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 800;
}

.event-session-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a24732;
  font-size: 0.61rem;
  font-weight: 750;
}

.event-session-kind i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.event-featured-session h4 {
  margin: 16px 0 13px;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.event-session-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  color: #747d8c;
  font-size: 0.67rem;
}

.event-session-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-session-meta img {
  width: 15px;
  height: 15px;
  opacity: 0.62;
}

.event-upcoming-session {
  display: grid;
  min-height: 70px;
  align-items: center;
  padding: 12px 15px;
  margin-top: 10px;
  border: 1px solid #e0e3e7;
  border-radius: 11px;
  background: white;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 15px;
}

.event-upcoming-session time {
  padding-right: 14px;
  border-right: 1px solid #e3e5e8;
}

.event-upcoming-session strong,
.event-upcoming-session small {
  display: block;
}

.event-upcoming-session strong {
  font-size: 0.74rem;
}

.event-upcoming-session small {
  margin-top: 4px;
  color: #8c939e;
  font-size: 0.62rem;
}

.event-upcoming-session > span {
  color: #7d8490;
  font-size: 0.61rem;
  font-weight: 700;
  white-space: nowrap;
}

.event-preview-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  margin-top: 10px;
  border: 1px solid #cfd8f5;
  border-radius: 11px;
  color: #2f50bd;
  background: #edf1ff;
  font-size: 0.72rem;
  font-weight: 750;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.event-preview-link:hover {
  border-color: #aebceb;
  background: #e5ebff;
  transform: translateY(-1px);
}

.event-preview-link:focus-visible {
  outline: 3px solid rgb(49 89 217 / 0.22);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .course-feature-card,
  .rhythm-feature-card {
    min-height: 0;
  }

  .course-product-preview,
  .event-product-preview {
    margin-top: 34px;
  }
}

@media (max-width: 640px) {
  .course-product-preview,
  .event-product-preview {
    padding: 12px;
  }

  .course-preview-cover {
    min-height: 116px;
    padding: 17px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .course-preview-icon {
    width: 40px;
    height: 40px;
  }

  .event-featured-session {
    padding: 16px;
  }

  .event-upcoming-session {
    grid-template-columns: 91px minmax(0, 1fr);
    gap: 13px;
  }

  .event-upcoming-session > span {
    display: none;
  }
}

@media (max-width: 410px) {
  .course-preview-cover {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .course-progress-number {
    display: none;
  }

  .event-preview-toolbar > span {
    display: none;
  }

  .event-session-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-preview-link {
    transition: none;
  }
}

/* Support request widget */
.support-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: grid;
  justify-items: end;
}

.support-chat-trigger {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 20px rgb(49 89 217 / 0.25);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.support-chat-trigger:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  box-shadow: 0 11px 25px rgb(49 89 217 / 0.3);
  transform: translateY(-1px);
}

.support-chat-trigger:active {
  transform: translateY(0);
}

.support-chat-trigger:focus-visible,
.support-chat-close:focus-visible,
.support-chat-submit:focus-visible,
.support-chat-done:focus-visible {
  outline: 3px solid rgb(49 89 217 / 0.25);
  outline-offset: 3px;
}

.support-chat-trigger-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
}

.support-chat-trigger-icon img {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

.support-chat-panel {
  display: flex;
  width: min(392px, calc(100vw - 32px));
  max-height: calc(100dvh - 112px);
  flex-direction: column;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: support-chat-in 170ms ease-out both;
  transform-origin: right bottom;
}

@keyframes support-chat-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.support-chat-header {
  display: grid;
  min-height: 76px;
  flex: 0 0 auto;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  background: #fbfaf7;
  grid-template-columns: 38px minmax(0, 1fr) 34px;
  gap: 11px;
}

.support-chat-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}

.support-chat-brand-mark img {
  width: 34px;
  height: 34px;
}

.support-chat-header strong {
  display: block;
  font-size: 0.88rem;
}

.support-chat-away {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  margin-top: 4px;
  border-radius: 100px;
  color: #76551b;
  background: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.35;
}

.support-chat-away i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.support-chat-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dedfdb;
  border-radius: 9px;
  background: white;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.support-chat-close:hover {
  border-color: #c6c8c5;
  background: #f5f4f0;
}

.support-chat-close img {
  width: 15px;
  height: 15px;
}

.support-chat-body,
.support-chat-success {
  min-height: 0;
  padding: 25px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.support-chat-body h2,
.support-chat-success h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.038em;
  line-height: 1.2;
}

.support-chat-body > p,
.support-chat-success > p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.support-chat-body form {
  display: grid;
  gap: 15px;
}

.support-chat-body label > span {
  display: block;
  margin-bottom: 7px;
  color: #4d5767;
  font-size: 0.74rem;
  font-weight: 750;
}

.support-chat-body input,
.support-chat-body textarea {
  width: 100%;
  border: 1px solid #d9dbe0;
  border-radius: 9px;
  background: white;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.support-chat-body input {
  height: 48px;
  padding: 0 13px;
}

.support-chat-body textarea {
  min-height: 94px;
  padding: 12px 13px;
  line-height: 1.5;
  resize: vertical;
}

.support-chat-body input::placeholder,
.support-chat-body textarea::placeholder {
  color: #9ba1aa;
}

.support-chat-body input:focus,
.support-chat-body textarea:focus {
  border-color: #91a4ed;
  box-shadow: 0 0 0 3px rgb(49 89 217 / 0.1);
}

.support-chat-error {
  padding: 10px 12px;
  margin: -2px 0 0;
  border: 1px solid #edc0b5;
  border-radius: 8px;
  color: #8d3c29;
  background: #fff1ec;
  font-size: 0.72rem;
  line-height: 1.5;
}

.support-chat-submit,
.support-chat-done {
  width: 100%;
  min-height: 48px;
  margin-top: 1px;
  font-size: 0.86rem;
}

.support-chat-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.support-chat-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -1px 0 0 !important;
  color: #7e8794 !important;
  font-size: 0.7rem !important;
  line-height: 1.45 !important;
}

.support-chat-note img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.68;
}

.support-chat-success {
  min-height: 318px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.support-chat-success:not([hidden]) {
  display: grid;
}

.support-chat-success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--mint-soft);
}

.support-chat-success-icon img {
  width: 25px;
  height: 25px;
}

.support-chat-success > p {
  max-width: 292px;
  margin-bottom: 23px;
  overflow-wrap: anywhere;
}

.support-chat-done {
  align-self: end;
}

@media (max-width: 520px) {
  .support-chat {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .support-chat-panel {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 86px - env(safe-area-inset-bottom));
    margin-bottom: 10px;
    border-radius: 16px;
  }

  .support-chat-header {
    padding: 13px 15px;
  }

  .support-chat-body,
  .support-chat-success {
    padding: 22px;
  }

  .support-chat-trigger {
    min-height: 50px;
    padding-inline: 15px;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-panel {
    animation: none;
  }

  .support-chat-trigger,
  .support-chat-close,
  .support-chat-body input,
  .support-chat-body textarea {
    transition: none;
  }
}
