:root {
  --bg: #f6f1e8;
  --bg-soft: #ece6da;
  --bg-warm: #f3ece0;
  --surface: #fffdf9;
  --surface-soft: rgba(255, 253, 249, 0.92);
  --surface-muted: #f8f3eb;
  --ink: #1d2624;
  --ink-soft: #55615e;
  --ink-faint: #7b8784;
  --line: rgba(29, 38, 36, 0.08);
  --line-strong: rgba(29, 38, 36, 0.16);
  --brand: #17b7bc;
  --brand-deep: #0fa1a7;
  --brand-soft: #dcf5f6;
  --brand-faint: rgba(23, 183, 188, 0.08);
  --rose: #d87d64;
  --rose-soft: rgba(216, 125, 100, 0.14);
  --sand: #e0bc5b;
  --sand-soft: rgba(224, 188, 91, 0.18);
  --shadow: 0 18px 48px rgba(31, 43, 40, 0.08);
  --shadow-soft: 0 12px 30px rgba(31, 43, 40, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(23, 183, 188, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(216, 125, 100, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2ea 0%, #f2ece1 48%, #ece6da 100%);
}

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

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

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

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

.site-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-main {
  padding-bottom: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(246, 241, 232, 0.74);
  border-bottom: 1px solid rgba(29, 38, 36, 0.06);
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 28px rgba(23, 183, 188, 0.2);
  flex: 0 0 auto;
}

.brand__mark svg {
  width: 26px;
  height: 26px;
}

.brand__text {
  min-width: 0;
}

.brand__name {
  display: block;
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.brand__tagline {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-list a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-list a.is-active {
  color: var(--brand-deep);
  background: rgba(23, 183, 188, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-nav-strip {
  display: none;
}

.mobile-nav-strip__row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  scrollbar-width: none;
}

.mobile-nav-strip__row::-webkit-scrollbar {
  display: none;
}

.mobile-nav-strip__row a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  background: rgba(255, 253, 249, 0.76);
  border: 1px solid rgba(29, 38, 36, 0.06);
  white-space: nowrap;
}

.mobile-nav-strip__row a.is-active {
  color: var(--brand-deep);
  background: rgba(23, 183, 188, 0.1);
}

.btn {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  text-align: center;
}

.btn:focus-visible {
  outline: 2px solid rgba(23, 183, 188, 0.28);
  outline-offset: 3px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 26px rgba(23, 183, 188, 0.2);
}

.btn--ghost {
  color: var(--brand-deep);
  background: rgba(255, 253, 249, 0.88);
  border-color: rgba(23, 183, 188, 0.16);
}

.btn--muted {
  color: var(--ink-soft);
  background: rgba(29, 38, 36, 0.05);
  border-color: rgba(29, 38, 36, 0.08);
}

.btn--disabled {
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.badge,
.section-pill,
.eyebrow,
.showcase-tag,
.calendar-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: normal;
}

.badge {
  color: var(--brand-deep);
  background: rgba(23, 183, 188, 0.1);
}

.badge--soft {
  color: #916626;
  background: var(--sand-soft);
}

.badge--neutral {
  color: var(--ink-soft);
  background: rgba(29, 38, 36, 0.06);
}

.eyebrow {
  gap: 8px;
  justify-content: flex-start;
  width: fit-content;
  color: var(--brand-deep);
  background: rgba(23, 183, 188, 0.1);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rose);
}

.showcase-tag,
.section-pill,
.calendar-card__label {
  color: var(--ink-soft);
  background: rgba(29, 38, 36, 0.05);
}

.breadcrumb-wrap {
  padding: 26px 0 0;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(29, 38, 36, 0.08);
  color: var(--ink-soft);
  font-size: 13px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__sep {
  color: var(--ink-faint);
}

.breadcrumb__current {
  color: var(--brand-deep);
}

.hero {
  padding: 18px 0 12px;
}

.hero-grid,
.feature-band,
.activity-layout,
.personality-focus,
.member-grid,
.auth-rebuild {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
}

.hero-visual,
.surface-panel,
.card,
.calendar-card,
.footer-panel,
.auth-panel,
.cta-band {
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-xl);
}

.hero-visual,
.surface-panel,
.card,
.calendar-card,
.auth-panel {
  padding: 26px;
}

.hero-panel {
  padding: 18px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-visual {
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(29, 38, 36, 0.06);
}

.hero-title,
.section-title,
.card-title,
.panel-title,
.dashboard-card strong {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-title {
  margin-top: 18px;
  max-width: 10em;
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-desc {
  margin-top: 16px;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 16px;
}

.button-row,
.badge-row,
.assessment-card__meta,
.assessment-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button-row {
  margin-top: 26px;
}

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

.stat-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(23, 183, 188, 0.1);
}

.hero-metric {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(15, 161, 167, 0.96), rgba(11, 113, 119, 0.94));
  border: 0;
}

.stat-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.08;
  color: var(--brand-deep);
  font-weight: 700;
}

.hero-metric strong {
  display: block;
  font-size: 24px;
  line-height: 1.08;
  color: #fff;
  font-weight: 700;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.hero-showcase {
  position: relative;
  overflow: hidden;
  padding: 18px;
  display: grid;
  gap: 16px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(243, 237, 227, 0.94));
  border: 1px solid rgba(29, 38, 36, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-showcase__media {
  padding: 12px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(220, 245, 246, 0.74));
  border: 1px solid rgba(23, 183, 188, 0.12);
}

.hero-showcase__media img {
  width: 100%;
  height: 248px;
  border-radius: 20px;
  object-fit: cover;
}

.hero-showcase__art {
  position: relative;
  min-height: 236px;
  border-radius: 26px;
  background: linear-gradient(160deg, #0fa1a7 0%, #17b7bc 55%, #62d0d2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.hero-showcase__orb {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-showcase__orb--one {
  width: 220px;
  height: 220px;
  right: -48px;
  bottom: -72px;
}

.hero-showcase__orb--two {
  width: 120px;
  height: 120px;
  top: 18px;
  left: -24px;
}

.hero-showcase__body {
  padding: 0 6px 2px;
}

.panel-title {
  margin-top: 12px;
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.panel-copy,
.card-copy,
.section-desc,
.footer-copy,
.form-help,
.notice,
.agenda-item span {
  color: var(--ink-soft);
}

.panel-copy,
.card-copy {
  margin-top: 12px;
  font-size: 15px;
}

.hero-showcase__metrics {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-visual__stack {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-visual__tile,
.list-item,
.card-list__item,
.agenda-item,
.calendar__day {
  border-radius: var(--radius-md);
}

.hero-visual__tile {
  min-height: 132px;
  padding: 16px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(29, 38, 36, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.hero-visual__tile .panel-title {
  font-size: 18px;
}

.section {
  padding: 28px 0 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-title {
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-desc {
  margin-top: 10px;
  max-width: 44rem;
  font-size: 15px;
}

.grid-2,
.grid-3,
.grid-4,
.card-grid,
.compare-grid,
.dashboard-grid,
.step-grid,
.feature-band,
.member-grid,
.personality-focus {
  display: grid;
  gap: 18px;
}

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

.grid-3,
.dashboard-grid,
.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.personality-focus {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.9fr);
}

.card,
.surface-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(250, 246, 239, 0.92));
}

.card--featured {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card--featured::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(224, 188, 91, 0.2), rgba(216, 125, 100, 0.15));
}

.card-title {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.assessment-card__meta {
  margin-top: 18px;
}

.assessment-card__header {
  display: grid;
  gap: 10px;
}

.assessment-card__meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(23, 183, 188, 0.08);
  color: var(--ink-soft);
  font-size: 13px;
}

.assessment-card__actions {
  margin-top: 20px;
}

.service-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(246, 240, 230, 0.94));
  border: 1px solid rgba(29, 38, 36, 0.06);
  box-shadow: var(--shadow-soft);
}

.service-card__head,
.service-card__footer,
.activity-feed__item {
  display: flex;
}

.service-card__head {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 700;
}

.service-card__icon--aqua {
  color: var(--brand-deep);
  background: rgba(23, 183, 188, 0.16);
}

.service-card__icon--rose {
  color: #a6513c;
  background: rgba(216, 125, 100, 0.14);
}

.service-card__icon--sky {
  color: #2f7581;
  background: rgba(23, 183, 188, 0.12);
}

.service-card__icon--lavender {
  color: #7b5f8d;
  background: rgba(146, 122, 176, 0.14);
}

.service-card__icon--sand {
  color: #946c14;
  background: rgba(224, 188, 91, 0.18);
}

.service-card__count {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 38, 36, 0.05);
  color: var(--ink-soft);
  font-size: 13px;
  white-space: nowrap;
}

.service-card__title {
  margin-top: 18px;
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.service-card__copy {
  margin-top: 12px;
  min-height: 3.2em;
  color: var(--ink-soft);
  font-size: 15px;
}

.service-card__footer {
  margin-top: 22px;
  align-items: center;
  justify-content: flex-start;
}

.stack-list,
.record-list,
.history-list,
.activity-feed,
.card-list,
.calendar-card__agenda {
  display: grid;
  gap: 14px;
}

.list-item,
.card-list__item,
.agenda-item {
  padding: 16px 18px;
  background: rgba(23, 183, 188, 0.05);
  border: 1px solid rgba(23, 183, 188, 0.08);
}

.list-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.list-item__header strong {
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.card-list__item span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}

.step-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 38, 36, 0.06);
  box-shadow: var(--shadow-soft);
}

.step-card__index {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
}

.faq-card .card-title,
.compare-card .card-title {
  margin-top: 16px;
}

.feature-band {
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(29, 38, 36, 0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.feature-band__copy {
  padding: 30px;
}

.feature-band__media {
  min-height: 100%;
  background: linear-gradient(135deg, rgba(23, 183, 188, 0.08), rgba(216, 125, 100, 0.08));
}

.feature-band__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.activity-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: start;
}

.activity-feed__item {
  gap: 20px;
  align-items: stretch;
  padding: 22px;
}

.activity-feed__media {
  width: 176px;
  flex: 0 0 176px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(23, 183, 188, 0.12), rgba(224, 188, 91, 0.18));
}

.activity-feed__media img {
  width: 100%;
  height: 100%;
  min-height: 182px;
  object-fit: cover;
}

.activity-feed__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calendar-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.calendar-card__head h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.15;
}

.calendar {
  margin-top: 22px;
}

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar__weekdays {
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
}

.calendar__day {
  min-height: 40px;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(29, 38, 36, 0.06);
}

.calendar__day.is-empty {
  background: transparent;
  border-color: transparent;
}

.calendar__day.has-event {
  color: var(--brand-deep);
  background: rgba(23, 183, 188, 0.1);
}

.calendar__day.is-today {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.agenda-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.agenda-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.calendar-focus {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(220, 245, 246, 0.54), rgba(255, 253, 249, 0.96));
  border: 1px solid rgba(23, 183, 188, 0.12);
}

.calendar-focus h4 {
  margin-top: 12px;
  font-family: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.calendar-focus p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.dashboard-card strong {
  margin-top: 14px;
  display: block;
  font-size: 28px;
  line-height: 1.08;
  color: var(--brand-deep);
}

.dashboard-card .card-copy {
  margin-top: 12px;
}

.cta-band {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-rebuild {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.auth-panel {
  height: 100%;
}

.auth-title {
  max-width: 14em;
  font-size: clamp(28px, 4vw, 40px);
}

.auth-panel--form .panel-title {
  margin-top: 14px;
}

.form-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-group input,
.form-group textarea,
.form-group select {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(29, 38, 36, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(23, 183, 188, 0.36);
  box-shadow: 0 0 0 4px rgba(23, 183, 188, 0.12);
}

.form-help {
  margin-top: 14px;
  font-size: 14px;
}

.form-help a {
  color: var(--brand-deep);
  font-weight: 600;
}

.notice,
.empty-state {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(23, 183, 188, 0.08);
  border: 1px solid rgba(23, 183, 188, 0.12);
  font-size: 14px;
}

.notice.is-error {
  color: #8a4740;
  background: rgba(216, 125, 100, 0.12);
  border-color: rgba(216, 125, 100, 0.18);
}

.footer {
  padding: 40px 0 56px;
}

.footer-panel {
  padding: 24px 28px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  max-width: 30rem;
}

.footer-copy {
  margin-top: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(29, 38, 36, 0.06);
  color: var(--ink-soft);
  font-size: 14px;
}

.enneagram-experience {
  min-height: 320px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .feature-band,
  .activity-layout,
  .personality-focus,
  .member-grid,
  .auth-rebuild {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .dashboard-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header__inner,
  .section-head,
  .cta-band,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-nav-strip {
    display: block;
  }

  .grid-2,
  .grid-3,
  .service-grid,
  .dashboard-grid,
  .compare-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .stat-row,
  .hero-showcase__metrics,
  .hero-visual__stack {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-visual,
  .surface-panel,
  .card,
  .auth-panel,
  .calendar-card {
    padding: 22px;
  }

  .hero-showcase__media img {
    height: 210px;
  }

  .activity-feed__item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .activity-feed__media {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 640px) {
  .brand__name {
    font-size: 18px;
  }

  .header-actions .btn {
    flex: 1 1 auto;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-title,
  .panel-title {
    font-size: 22px;
  }

  .footer-panel {
    padding: 20px;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
