: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%;
}

html {
  overflow-x: clip;
}

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: 44px;
  height: 44px;
  display: inline-block;
  background-color: var(--white);
  mask-image: url('Quests%20Logo.svg');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('Quests%20Logo.svg');
  -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.6rem;
  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: clamp(40px, 8vh, 80px);
  padding-bottom: clamp(40px, 8vh, 80px);
  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: clamp(40px, 8vh, 80px);
  padding-bottom: clamp(40px, 8vh, 80px);
}

.features {
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(60px, 10vh, 120px);
}

.cta {
  padding-top: clamp(40px, 8vh, 80px);
}

.hero--minimal {
  padding-top: 0;
  padding-bottom: clamp(20px, 4vh, 60px);
  display: flex;
  align-items: center;
  min-height: calc(100vh - 70px);
  position: relative;
  overflow: visible;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin-top: 14vh;
  z-index: 10;
  text-align: left;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__content.is-loaded {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.hero__title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
}

.highlight-text {
  color: var(--accent-light);
  display: inline;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 90%;
  margin: 0;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  align-self: flex-start;
}

.hero__phones {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  transform-style: preserve-3d;
  overflow: visible;
}

.hero__phone {
  position: absolute;
  width: 55%;
  max-width: 300px;
  aspect-ratio: 9 / 19.5;
  background: transparent;
  box-shadow: none;
  transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.hero__phone-motion {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero__phone--front {
  left: 5%;
  top: 10%;
  z-index: 2;
  box-shadow: none;
}

.hero__phone--front.is-loaded {
  opacity: 1 !important;
  transform: rotate(0deg) scale(1) !important;
}

.hero__phone--back {
  right: 0%;
  top: 0%;
  z-index: 1;
}

.hero__phone--back.is-loaded {
  opacity: 1 !important;
  transform: rotate(12deg) scale(0.85) !important;
}

.hero__phone--front.is-loaded .hero__phone-motion {
  animation: floatFront 6s ease-in-out infinite alternate;
}

.hero__phone--back.is-loaded .hero__phone-motion {
  animation: floatBack 6s ease-in-out infinite alternate;
  animation-delay: -3s;
  animation-duration: 8.5s;
}

@keyframes floatFront {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

@keyframes floatBack {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.hero__app-store {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.2s ease;
  transform-origin: center center;
}

.hero__app-store img {
  height: 56px;
  width: auto;
  display: block;
}

.hero__app-store:not(.hero__app-store--disabled):hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(51, 102, 204, 0.15));
}

.hero__app-store--disabled {
  opacity: 0.5;
  filter: grayscale(100%);
  cursor: not-allowed;
  transform: none !important;
}

.hero__app-store--disabled:hover {
  transform: none;
  filter: grayscale(100%);
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  background: black;
  border-radius: 8px;
  color: white;
  border: 1px solid #a6a6a6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

.store-btn i {
  font-size: 28px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.store-btn__sub {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.store-btn__main {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.cta__group {
  justify-content: center;
  align-self: center;
}

/* Realistic iPhone Hardware Styles (Simplified & Minimal) */
.iphone-hardware {
  position: absolute;
  inset: 0;
  border-radius: 46px; /* Outer physical edge */
  background: #0D0F12;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.iphone-hardware__bezel {
  position: absolute;
  inset: 2px;
  border-radius: 44px;
  background: #050608;
  overflow: hidden;
  z-index: 2;
}

.iphone-hardware__screen {
  position: absolute;
  inset: 6px;
  border-radius: 38px;
  background: var(--blue-900);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-hardware__placeholder {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CSS notch removed since it breaks real phone screenshots */

/* Hardware Buttons */
.iphone-hardware__btn-mute,
.iphone-hardware__btn-vol,
.iphone-hardware__btn-power {
  position: absolute;
  background: #33363A;
  border-radius: 2px;
  z-index: 1;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}

.iphone-hardware__btn-mute {
  width: 3px;
  height: 25px;
  top: 100px;
  left: -2px;
}

.iphone-hardware__btn-vol {
  width: 3px;
  height: 45px;
  left: -2px;
}

.iphone-hardware__btn-vol--up { top: 140px; }
.iphone-hardware__btn-vol--down { top: 200px; }

.iphone-hardware__btn-power {
  width: 3px;
  height: 60px;
  top: 160px;
  right: -2px;
}

/* Faint Background Icons (Habits) */
.hero__floating-icons {
  position: absolute;
  inset: -15%;
  pointer-events: none;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  color: var(--blue-400);
  opacity: 0.05;
  animation: floatIcon 30s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-1 { font-size: 24px; top: 15%; left: 15%; animation-delay: 0s; animation-duration: 25s; filter: blur(2px); }
.icon-2 { font-size: 32px; top: 60%; left: 85%; animation-delay: -5s; color: var(--blue-500); animation-duration: 35s; filter: blur(4px); }
.icon-3 { font-size: 20px; top: 80%; left: 10%; animation-delay: -12s; animation-duration: 30s; filter: blur(1px); }
.icon-4 { font-size: 28px; top: 10%; left: 80%; animation-delay: -8s; opacity: 0.08; animation-duration: 28s; filter: blur(3px); }
.icon-5 { font-size: 40px; top: 40%; left: -5%; animation-delay: -15s; color: var(--blue-300); opacity: 0.03; filter: blur(5px); animation-duration: 40s; }
.icon-6 { font-size: 22px; top: 85%; left: 70%; animation-delay: -3s; animation-duration: 22s; filter: blur(2px); }

@keyframes floatIcon {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(15px, -20px) rotate(10deg); }
}

@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .hero__content {
    align-items: center;
    text-align: center;
    margin: 0 auto;
    gap: 20px;
  }
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    white-space: nowrap;
  }
  .hero__subtitle {
    margin-top: -10px;
  }
  .hero__cta-group {
    justify-content: center;
    align-self: center;
  }
  .hero__phones {
    order: -1;
    aspect-ratio: 1 / 1.15;
    margin-top: 0;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 48px;
  }
  .hero__phone {
    width: 52%;
    max-width: 260px;
  }
  .hero__phone--front {
    left: 8%;
    top: 12%;
  }
  .hero__phone--back {
    right: 5%;
    top: 0%;
  }
}

@media (max-width: 576px) {
  .hero--minimal {
    padding-top: 0;
    padding-bottom: 0;
    min-height: calc(100svh - 44px);
    align-items: flex-start;
    justify-content: flex-start;
  }
  .hero__container {
    gap: 0;
    align-content: start;
    padding-top: 0;
  }
  .hero__content {
    gap: 4px;
    padding: 0 8px;
  }
  .site-header {
    padding: 8px 12px 6px 6px;
  }
  .hero__title {
    font-size: clamp(1.4rem, 7vw, 2rem);
    text-align: center;
    width: 100%;
  }
  .hero__subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0;
  }
  .hero__cta-group {
    margin-top: 28px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    align-self: center;
  }
  .hero__app-store img {
    height: 44px;
  }
  .store-btn {
    height: 44px;
    padding: 0 14px;
    gap: 8px;
  }
  .store-btn i {
    font-size: 20px;
  }
  .store-btn__sub {
    font-size: 7px;
  }
  .store-btn__main {
    font-size: 12px;
  }
  .hero__phones {
    order: -1;
    height: 46svh;
    max-height: 370px;
    width: 100%;
    max-width: none;
    margin-bottom: 80px;
    margin-top: 0;
  }
  .hero__phone {
    width: 44%;
    max-width: 180px;
  }
  .hero__phone--front {
    left: 15%;
    top: 8%;
  }
  .hero__phone--back {
    right: 15%;
    top: 0%;
  }
  .iphone-hardware {
    border-radius: 24px;
  }
  .iphone-hardware__bezel {
    inset: 1.5px;
    border-radius: 22px;
  }
  .iphone-hardware__screen {
    inset: 3px;
    border-radius: 20px;
  }
  .iphone-hardware__screen img {
    border-radius: 20px !important;
  }
  .iphone-hardware__btn-mute,
  .iphone-hardware__btn-vol,
  .iphone-hardware__btn-power {
    width: 2px;
  }
  .iphone-hardware__btn-mute {
    height: 16px;
    top: 65px;
  }
  .iphone-hardware__btn-vol {
    height: 30px;
  }
  .iphone-hardware__btn-vol--up { top: 92px; }
  .iphone-hardware__btn-vol--down { top: 130px; }
  .iphone-hardware__btn-power {
    height: 40px;
    top: 105px;
  }
}

.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: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(60px, 10vh, 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: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s 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--visible:hover {
  transform: translateY(-4px) !important;
  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: clamp(40px, 8vh, 80px);
  padding-bottom: clamp(40px, 8vh, 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: 260px;
  height: 260px;
  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 24px 18px 12px;
    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: 8px 12px 4px 6px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .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: 0;
    padding-bottom: 40px;
    gap: 0;
    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: 6px;
  }
  
  .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;
  }
}

/* Scroll Reveal Utility Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal--delay-1 { transition-delay: 0.1s; }
.scroll-reveal--delay-2 { transition-delay: 0.2s; }
.scroll-reveal--delay-3 { transition-delay: 0.3s; }

