:root {
  --blue-900: #04102a;
  --blue-800: #14213c;
  --blue-700: #21458e;
  --blue-500: #3366cc;
  --blue-400: #5c85d6;
  --white: #ffffff;
  --surface-strong: rgba(32, 44, 79, 0.92);
  --surface-medium: rgba(32, 44, 79, 0.78);
  --surface-soft: rgba(32, 44, 79, 0.6);
  --border-strong: rgba(48, 61, 98, 0.95);
  --border-soft: rgba(48, 61, 98, 0.6);
  --glass: rgba(32, 44, 79, 0.68);
  --glass-strong: rgba(32, 44, 79, 0.82);
  --text-strong: #ffffff;
  --text-muted: #a7b1d0;
  --text-soft: rgba(167, 177, 208, 0.6);
  --accent: #3366cc;
  --accent-light: #5c85d6;
  --accent-lighter: #6688ee;
  --accent-success: #34c759;
  --shadow-lg: 0 40px 90px -35px rgba(4, 16, 42, 0.7);
  --shadow-md: 0 24px 60px -30px rgba(6, 22, 58, 0.55);
  --shadow-sm: 0 12px 36px -22px rgba(9, 24, 54, 0.45);
  --max-width: min(1120px, 90vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--white);
  background: var(--blue-800);
  min-height: 100vh;
}

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

a:hover,
.button:hover {
  filter: brightness(1.05);
}

.page__background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(92, 133, 214, 0.1), transparent 55%),
    radial-gradient(circle at 78% -10%, rgba(102, 136, 238, 0.08), transparent 45%),
    linear-gradient(145deg, var(--blue-900) 0%, var(--blue-800) 60%, #1a3a7d 100%);
  z-index: -2;
}

.page__wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 0;
}

.site-footer,
main > section {
  width: var(--max-width);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 20px clamp(24px, 5vw, 64px);
  gap: 24px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(4, 16, 42, 0.88) 0%, rgba(4, 16, 42, 0) 100%);
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow-sm);
  z-index: 20;
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__glyph {
  width: 38px;
  height: 38px;
  display: inline-block;
  background-color: var(--white);
  mask-image: url('logo-glyph.png');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('logo-glyph.png');
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  filter: drop-shadow(0 10px 22px rgba(4, 16, 42, 0.4));
}

.brand__name {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.download-chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-medium);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.download-chip:hover,
.download-chip:focus-visible {
  background: rgba(51, 102, 204, 0.18);
  border-color: var(--accent);
  box-shadow: 0 18px 42px -22px rgba(4, 16, 42, 0.7);
  transform: translateY(-2px);
}

.download-chip:active {
  transform: translateY(0);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
  gap: 80px;
  min-height: 100vh;
  justify-content: center;
}

.intro {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.intro__text-block {
  text-align: left;
  max-width: 540px;
}

.intro__heading {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 32px;
  letter-spacing: -0.03em;
  color: var(--white);
}

.intro__description {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

.intro__description strong {
  color: var(--white);
  font-weight: 600;
}

.intro__visual {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.intro__day-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.intro__avatar-group {
  display: flex;
  align-items: center;
  gap: -12px;
  position: relative;
}

.intro__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 4px solid var(--blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 52px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: color 0.5s ease, transform 0.3s ease;
}

.intro__avatar--checked {
  color: var(--accent-light);
}

.intro__avatar--1 {
  z-index: 5;
}

.intro__avatar--2 {
  z-index: 4;
  margin-left: -32px;
}

.intro__avatar--3 {
  z-index: 3;
  margin-left: -32px;
}

.intro__avatar--4 {
  z-index: 2;
  margin-left: -32px;
}

.intro__avatar--5 {
  z-index: 1;
  margin-left: -32px;
}

.intro__avatar--pop {
  transform: scale(1.2) !important;
}

.intro__avatar--wave-jump {
  animation: avatarWaveJump 0.4s ease-out;
}

@keyframes avatarWaveJump {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-24px);
  }
  100% {
    transform: translateY(0);
  }
}

.intro__check-in-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .intro__text-block {
    text-align: center;
  }
}

.why {
  padding-top: 60px;
  padding-bottom: 60px;
}

.features {
  padding-top: 100px;
  padding-bottom: 80px;
}

.cta {
  padding-top: 80px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  z-index: 10;
}

.hero__label {
  align-self: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(102, 136, 238, 0.35);
  background: linear-gradient(135deg, rgba(51, 102, 204, 0.2), rgba(38, 60, 120, 0.35));
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__label::before,
.hero__label::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-light);
  box-shadow: 0 0 18px rgba(92, 133, 214, 0.6);
}

.hero__label::after {
  background: rgba(102, 136, 238, 0.55);
  box-shadow: 0 0 18px rgba(102, 136, 238, 0.6);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface-medium);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero__pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-success);
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(52, 199, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
  }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 32px 0;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0;
}

.hero__benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.hero__benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
}

.hero__benefit::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(51, 102, 204, 0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__quest-cards {
  position: relative;
  width: min(520px, 95vw);
  height: 300px;
  margin-bottom: -20px;
}

.quest-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-strong);
  background: var(--surface-strong);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quest-card[data-card="1"] {
  transform: translate(calc(-50% - 20px), calc(-50% + 10px)) rotate(-4deg);
  z-index: 1;
  animation: deckCard1 12s infinite;
}

.quest-card[data-card="2"] {
  transform: translate(calc(-50% + 20px), calc(-50% + 5px)) rotate(3deg);
  z-index: 2;
  animation: deckCard2 12s infinite;
}

.quest-card[data-card="3"] {
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
  animation: deckCard3 12s infinite;
}

@keyframes deckCard1 {
  0%, 25% {
    transform: translate(calc(-50% - 20px), calc(-50% + 10px)) rotate(-4deg);
    z-index: 1;
  }
  33% {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 4;
  }
  33.33%, 58.33% {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 3;
  }
  66.66%, 91.66% {
    transform: translate(calc(-50% + 20px), calc(-50% + 5px)) rotate(3deg);
    z-index: 2;
  }
  100% {
    transform: translate(calc(-50% - 20px), calc(-50% + 10px)) rotate(-4deg);
    z-index: 1;
  }
}

@keyframes deckCard2 {
  0%, 25% {
    transform: translate(calc(-50% + 20px), calc(-50% + 5px)) rotate(3deg);
    z-index: 2;
  }
  33.33%, 58.33% {
    transform: translate(calc(-50% - 20px), calc(-50% + 10px)) rotate(-4deg);
    z-index: 1;
  }
  66.66% {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 4;
  }
  66.67%, 91.66% {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 3;
  }
  100% {
    transform: translate(calc(-50% + 20px), calc(-50% + 5px)) rotate(3deg);
    z-index: 2;
  }
}

@keyframes deckCard3 {
  0%, 25% {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 3;
  }
  33.33%, 58.33% {
    transform: translate(calc(-50% + 20px), calc(-50% + 5px)) rotate(3deg);
    z-index: 2;
  }
  66.66%, 91.66% {
    transform: translate(calc(-50% - 20px), calc(-50% + 10px)) rotate(-4deg);
    z-index: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 4;
  }
  100.01% {
    z-index: 3;
  }
}

.quest-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.quest-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

.quest-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  text-align: center;
}

.quest-card__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--surface-strong);
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  color: var(--white);
}

.quest-card__icon i {
  font-size: 50px;
}

.quest-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.quest-card__meta {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.button__icon {
  font-size: 18px;
  line-height: 1;
}

.button--primary {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-400) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.button--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 46px 95px -32px rgba(4, 16, 42, 0.75);
}

.button--ghost {
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

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

.hero__card {
  position: relative;
  padding: 32px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.hero__card--orb {
  overflow: hidden;
}

.hero__card--orb::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 44px;
  background: radial-gradient(circle at 22% 18%, rgba(102, 136, 238, 0.25), transparent 60%);
  z-index: -1;
}

.hero__card--orb::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 52px;
  background: radial-gradient(circle at 80% 85%, rgba(92, 133, 214, 0.22), transparent 70%);
  z-index: -2;
}
.card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-soft);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.card__tile {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-medium);
  border: 1px solid var(--border-strong);
}

.card__eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.card__title {
  margin: 12px 0 8px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card__pill {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(51, 102, 204, 0.24);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
}

.card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.card__mini {
  border-radius: 18px;
  padding: 18px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
}

.card__stat {
  margin: 10px 0 4px;
  font-size: 24px;
  font-weight: 700;
}

.card__reflection {
  border-radius: 18px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  font-size: 14px;
  line-height: 1.6;
}

.card__quote {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-style: italic;
}

.stats {
  padding: 0 0 30px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.stat {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
  text-align: center;
  backdrop-filter: blur(16px);
}

.stat__value {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
}

.stat__label {
  margin: 8px 0 4px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stat__meta {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.section-heading {
  max-width: 620px;
  margin-bottom: 48px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-soft);
}

.section-heading__title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.25;
  font-weight: 700;
  margin-top: 16px;
}

.why {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 80px;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.why__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__stat-display {
  text-align: center;
}

.why__stat-number {
  margin: 0 0 24px;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  color: var(--white);
  line-height: 0.9;
}

.why__stat-counter {
  display: inline-block;
}

.why__stat-percent {
  font-size: 0.65em;
  color: var(--accent-light);
  font-weight: 900;
  margin-left: 4px;
}

.why__mobile-text {
  display: none;
}

.why__stat-caption {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  max-width: 420px;
  margin: 0 auto;
}

.why__stat-caption sup {
  color: var(--accent-light);
  font-weight: 700;
  font-size: 0.7em;
  margin-left: 2px;
}

.why__description strong {
  color: var(--white);
  font-weight: 600;
}

.why__text-block {
  text-align: left;
  max-width: 540px;
}

.why__heading {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 32px;
  letter-spacing: -0.03em;
  color: var(--white);
}

.why__description {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 400;
}

.why__footnote {
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 400;
}

.why__footnote sup {
  color: var(--accent-light);
  font-weight: 700;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .why__visual {
    flex-direction: column;
  }
  
  .why__stat-card {
    max-width: 100%;
  }
  
  .why__text-block {
    text-align: center;
    max-width: 100%;
  }
}

.features {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 120px;
}

.features__container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.features__heading {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 64px;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.feature-card {
  padding: 40px 48px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  transition: all 0.6s ease;
  opacity: 0;
}

.feature-card--slide[data-slide="left"] {
  transform: translateX(-60px);
}

.feature-card--slide[data-slide="right"] {
  transform: translateX(60px);
}

.feature-card--visible {
  opacity: 1;
  transform: translateX(0) !important;
}

.feature-card:hover {
  transform: translateX(0) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 22px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
  color: var(--accent-light);
}

.feature-card__icon i {
  font-size: 40px;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.feature-card__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

@media (max-width: 768px) {
  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .feature-card__icon {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .features__heading {
    margin-bottom: 48px;
  }
}

.stories__layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.stories__list {
  display: grid;
  gap: 18px;
}

.story {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
}

.story__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.story__text {
  margin: 0;
  color: var(--text-muted);
}

.testimonials {
  display: grid;
  gap: 18px;
}

.testimonial {
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
}

.testimonial__quote {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-strong);
}

.testimonial__meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.community__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.community__pill {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface-medium);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.community__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.community__card {
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  line-height: 1.6;
}

.faq__items {
  display: grid;
  gap: 16px;
}

.faq__item {
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
}

.faq__summary {
  cursor: pointer;
  font-weight: 600;
  outline: none;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__summary::after {
  content: '+';
  float: right;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__summary::after {
  transform: rotate(45deg);
}

.faq__text {
  margin: 16px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 80px;
  text-align: center;
}

.cta__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
}

.cta__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__glyph-svg {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 12px 32px rgba(4, 16, 42, 0.5));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta__glyph-svg image {
  filter: brightness(0) invert(1);
}


.cta__title {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  text-align: center;
}

.button--cta {
  padding: 24px 56px;
  font-size: 20px;
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.button--cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.site-footer {
  padding: 40px 0 24px;
  color: var(--text-soft);
}

.site-footer__content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.site-footer__brand .brand__glyph {
  width: 32px;
  height: 32px;
}

.site-footer__brand .brand__name {
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__social {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.site-footer__social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-medium);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.site-footer__social a:hover {
  background: var(--surface-strong);
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-3px);
}

.site-footer__social i {
  font-size: 22px;
}

.site-footer__meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-top: 16px;
}

@media (max-width: 960px) {
  .site-header {
    padding: 18px clamp(20px, 6vw, 40px);
    border-radius: 0 0 20px 20px;
  }

  .site-header__inner {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .hero__card {
    order: -1;
  }

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

@media (max-width: 640px) {
  .page__wrapper {
    gap: 80px;
  }

  main > section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 12px 16px;
    background: transparent;
  }

  .site-header__inner {
    justify-content: space-between;
  }
  
  .brand__glyph {
    width: 28px;
    height: 28px;
  }
  
  .brand__name {
    font-size: 1rem;
  }
  
  .download-chip {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  
  .download-chip:focus {
    background: var(--surface-medium);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    transform: none;
  }
  
  .download-chip:active {
    background: var(--surface-medium);
  }

  .hero__benefit {
    font-size: 0.95rem;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
  
  /* Hero section mobile optimizations */
  .hero {
    padding-top: 20px;
    padding-bottom: 140px;
    gap: 32px;
    min-height: auto;
    justify-content: flex-start;
  }
  
  .hero__quest-cards {
    width: min(300px, 88vw);
    height: 180px;
    margin-bottom: 16px;
    margin-top: 0;
  }
  
  .hero__content {
    margin-top: 0;
    padding: 0 20px;
  }
  
  .quest-card {
    height: 180px;
  }
  
  .quest-card__icon {
    width: 60px;
    height: 60px;
  }
  
  .quest-card__icon i {
    font-size: 28px;
  }
  
  .quest-card__title {
    font-size: 15px;
  }
  
  .hero__title {
    font-size: clamp(1.75rem, 6.5vw, 2.1rem);
    margin-bottom: 20px;
  }
  
  .button--cta {
    padding: 18px 36px;
    font-size: 17px;
    width: 100%;
  }
  
  /* Intro section mobile optimizations */
  .intro {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: auto;
  }
  
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .intro__visual {
    order: -1;
    margin-bottom: 48px;
    gap: 8px;
  }
  
  .intro__text-block {
    order: 1;
    text-align: center;
    padding: 0 20px;
  }
  
  .intro__heading,
  .why__heading,
  .features__heading {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 16px;
  }
  
  .intro__description,
  .why__description {
    font-size: clamp(1rem, 4vw, 1.15rem);
  }
  
  .intro__avatar {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .intro__avatar--2,
  .intro__avatar--3,
  .intro__avatar--4,
  .intro__avatar--5 {
    margin-left: -20px;
  }
  
  .intro__day-count {
    font-size: 13px;
    padding: 8px 18px;
  }
  
  .intro__avatar-group {
    margin-bottom: 20px;
  }
  
  .intro__check-in-count {
    font-size: 12px;
  }
  
  /* Why section mobile optimizations */
  .why {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  
  .why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why__visual {
    order: -1;
  }
  
  .why__text-block {
    order: 1;
    text-align: center;
    padding: 0 20px;
  }
  
  .why__heading {
    display: none;
  }
  
  .why__stat-number {
    font-size: clamp(5rem, 18vw, 7rem);
    margin-bottom: 20px;
  }
  
  .why__stat-caption {
    display: none;
  }
  
  .why__stat-number {
    margin-bottom: 32px;
  }
  
  .why__mobile-text {
    display: block;
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.75;
    margin: 32px 0 0;
    font-weight: 400;
  }
  
  .why__mobile-text strong {
    color: var(--white);
    font-weight: 600;
  }
  
  .why__mobile-text sup {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.7em;
    margin-left: 2px;
  }
  
  .why__description {
    display: none;
  }
  
  .why__text-block {
    display: none;
  }
  
  .why__footnote {
    margin-top: 8px;
    font-size: 9px;
    opacity: 0.5;
    text-align: center;
  }
  
  .site-footer__meta::after {
    content: '¹ American Society of Training and Development, 2014';
    display: block;
    font-size: 9px;
    color: var(--text-soft);
    opacity: 0.5;
    text-align: center;
    margin-top: 8px;
  }
  
  /* Features section mobile optimizations */
  .features {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  
  .features__heading {
    margin-bottom: 32px;
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    padding: 0 8px;
  }
  
  .features__list {
    gap: 16px;
    padding: 0 8px;
  }
  
  .feature-card {
    padding: 20px;
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: left;
    gap: 20px;
  }
  
  .feature-card__content {
    order: 2;
  }
  
  .feature-card__icon {
    order: 1;
    width: 60px;
    height: 60px;
    margin: 0;
    flex-shrink: 0;
    border: none;
    background: transparent;
  }
  
  .feature-card__icon i {
    font-size: 32px;
  }
  
  .feature-card__title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .feature-card__text {
    font-size: 13px;
    line-height: 1.6;
  }
  
  /* CTA section mobile optimizations */
  .cta__glyph-svg {
    width: 120px;
    height: 120px;
  }
  
  .cta__title {
    font-size: clamp(2.25rem, 8vw, 2.75rem);
  }
  
  /* Footer mobile optimizations */
  .site-footer__links {
    gap: 16px;
    font-size: 11px;
  }
  
  .site-footer__social {
    gap: 16px;
  }
  
  .site-footer__social a {
    width: 38px;
    height: 38px;
  }
  
  .site-footer__social i {
    font-size: 18px;
  }
  
  .site-footer__social svg {
    width: 18px;
    height: 18px;
  }
  
  .site-footer__meta {
    font-size: 11px;
  }
}

