@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@700;800;900&display=swap');

:root {
  --cream: #fff8e9;
  --paper: #fffdf7;
  --orange: #ef8c27;
  --orange-dark: #c86713;
  --gold: #f7b533;
  --gold-light: #ffd979;
  --brown: #3c2617;
  --brown-soft: #6d4a2f;
  --line: rgba(90, 50, 20, .13);
  --green: #83a85a;
  --shadow: 0 24px 70px rgba(120, 67, 23, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 6% 10%, rgba(255, 207, 98, .28), transparent 28rem),
    radial-gradient(circle at 96% 16%, rgba(245, 142, 41, .15), transparent 29rem),
    var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

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

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
  min-height: 66px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(103, 56, 16, .11);
  background: rgba(255, 253, 247, .78);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 16px;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(80, 47, 20, .07);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 22px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 13px 13px 16px 16px;
  background: linear-gradient(145deg, var(--gold), var(--orange));
  box-shadow: inset 0 -4px 0 rgba(127, 66, 12, .13), 0 8px 18px rgba(227, 125, 27, .2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-soft);
}

.nav-links a,
.nav-links button.nav-link {
  transition: color .2s ease, transform .2s ease;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-links a:hover,
.nav-links button.nav-link:hover {
  color: var(--orange-dark);
  transform: translateY(-1px);
}

.button {
  border: 0;
  border-radius: 15px;
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-small {
  min-height: 44px;
  padding: 0 17px;
  font-size: 14px;
}

.button-primary {
  color: white;
  background: linear-gradient(145deg, #f7a72c, #e97d1e);
  box-shadow: inset 0 -4px 0 rgba(128, 61, 7, .17), 0 14px 24px rgba(219, 115, 23, .22);
}

.button-secondary,
.button-ghost {
  color: var(--brown);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(93, 53, 20, .05);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 740px;
  margin: 0 auto;
  padding: 84px 0 68px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 56px;
}

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

.eyebrow,
.section-kicker {
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}

.eyebrow {
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(226, 124, 27, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spark {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 680px;
  margin-top: 22px;
  font-size: clamp(58px, 7vw, 88px);
  letter-spacing: -.055em;
}

.highlight {
  position: relative;
  color: var(--orange);
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: 3px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: .55;
  transform: rotate(-2deg);
  z-index: -1;
}

.hero-text {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--brown-soft);
  font-size: 18px;
  line-height: 1.72;
}

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

.trust-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--brown-soft);
  font-size: 13px;
  font-weight: 600;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 35px;
  height: 35px;
  margin-right: -8px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(78, 42, 14, .08);
}

.hero-visual {
  min-height: 610px;
  display: grid;
  place-items: center;
  position: relative;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(208, 113, 22, .22);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
  animation: rotate 24s linear infinite;
}

.orbit-two {
  width: 430px;
  height: 430px;
  animation: rotate 18s linear infinite reverse;
}

.phone {
  width: 355px;
  min-height: 630px;
  padding: 14px;
  border: 5px solid #3f2a1c;
  border-radius: 48px;
  background: #3f2a1c;
  box-shadow: 0 42px 90px rgba(99, 50, 14, .28), inset 0 0 0 2px rgba(255,255,255,.12);
  position: relative;
  z-index: 4;
  transform: rotate(2deg);
}

.phone::after {
  content: "";
  position: absolute;
  top: 145px;
  right: -8px;
  width: 5px;
  height: 90px;
  border-radius: 4px;
  background: #2f1f15;
}

.phone-top {
  height: 42px;
  padding: 0 8px;
  border-radius: 30px 30px 0 0;
  background: #fffaf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-pill {
  width: 92px;
  height: 24px;
  margin-left: 93px;
  border-radius: 999px;
  background: #3f2a1c;
}

.coin-pill {
  color: #96500f;
  font-size: 10px;
  font-weight: 800;
}

.phone-content {
  min-height: 560px;
  padding: 16px 17px 18px;
  border-radius: 0 0 31px 31px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 201, 83, .24), transparent 15rem),
    #fffaf0;
  overflow: hidden;
}

.app-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-title-row small {
  color: #9a7759;
  font-size: 10px;
}

.app-title-row h2 {
  margin-top: 4px;
  font-size: 19px;
}

.profile-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  font-weight: 900;
}

.mascot-scene {
  height: 285px;
  position: relative;
}

.mascot-image {
  width: 100%;
  max-width: 265px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 16px 20px rgba(122, 69, 20, .12);
}

.elephant {
  width: 265px;
  position: absolute;
  left: 19px;
  bottom: -1px;
  filter: drop-shadow(0 16px 20px rgba(122, 69, 20, .12));
}

.speech-bubble {
  position: absolute;
  top: 18px;
  right: -6px;
  width: 142px;
  padding: 10px 12px;
  border-radius: 15px 15px 15px 4px;
  background: white;
  border: 1px solid rgba(127, 74, 31, .1);
  box-shadow: 0 9px 20px rgba(89, 44, 11, .08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.speech-bubble strong {
  font-family: "Nunito", sans-serif;
  font-size: 12px;
}

.speech-bubble span {
  color: #8b684e;
  font-size: 9px;
}

.daily-path {
  height: 78px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.path-line {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 38px;
  height: 5px;
  border-radius: 999px;
  background: #f0ddbd;
}

.path-node {
  width: 50px;
  height: 50px;
  border: 5px solid #fffaf0;
  border-radius: 50%;
  background: #f0dfc4;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 10px rgba(91, 49, 17, .12);
  cursor: pointer;
}

.path-node.completed {
  color: white;
  background: #8caf62;
}

.path-node.current {
  width: 59px;
  height: 59px;
  font-size: 20px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(246, 181, 51, .18), 0 8px 16px rgba(143, 78, 18, .16);
  animation: pulse 2.2s ease-in-out infinite;
}

.path-node.locked {
  opacity: 1;
  background: #e9e0c8;
  color: rgba(63, 42, 28, .55);
  border-color: #e9e0c8;
}

.path-node.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #e9e0c8;
  border-radius: 50%;
  z-index: -1;
}

.app-cta {
  width: 100%;
  min-height: 47px;
  margin-top: 7px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, var(--gold), var(--orange));
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(115, 56, 8, .15);
  cursor: pointer;
}

.floating-card {
  border: 1px solid rgba(113, 61, 19, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(94, 52, 17, .12);
  position: absolute;
  z-index: 5;
}

.streak-card {
  left: -8px;
  top: 175px;
  width: 132px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}

.streak-card .mini-icon,
.streak-card img.mini-icon {
  width: 24px;
  height: 24px;
  border-radius: 11px;
  background: #fff0d6;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.streak-card img.mini-icon {
  width: 60%;
  height: 60%;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.streak-card div,
.score-card {
  display: flex;
  flex-direction: column;
}

.streak-card strong {
  font-size: 12px;
}

.streak-card small,
.score-card small {
  color: #8c6c50;
  font-size: 9px;
}

.score-card {
  right: -18px;
  bottom: 110px;
  width: 132px;
  padding: 14px;
  animation: float 4.5s ease-in-out infinite reverse;
}

.score-card strong {
  margin: 2px 0 7px;
  color: var(--orange-dark);
  font-family: "Nunito", sans-serif;
  font-size: 27px;
}

.score-bar {
  height: 6px;
  border-radius: 99px;
  background: #f0dfc2;
  overflow: hidden;
}

.score-bar span {
  width: 92%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.memory-demo {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 60px;
  padding: 34px;
  border: 1px solid rgba(104, 57, 18, .11);
  border-radius: 30px;
  background: rgba(255, 253, 247, .86);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 32px;
  transition: opacity .35s ease, transform .35s ease;
}

.memory-demo.hidden {
  display: none;
}

/* Follow / social block */
.follow-card {
  width: min(760px, 96%);
  margin: 0 auto;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-row {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
}

.social-link {
  text-decoration: none;
}

.social-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff8f0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--orange-dark);
  font-family: "Nunito", sans-serif;
  font-size: 28px;
  border: 1px solid rgba(160, 100, 45, .08);
  box-shadow: 0 8px 18px rgba(93, 53, 20, .06);
}

.social-icon.instagram {
  font-size: 30px;
}

/* Ensure the inline SVG icon displays and sizes like the other tiles */
.social-icon-svg {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}


}

@media (max-width: 800px) {
  .social-row { gap: 12px; }
  .social-item { min-width: 110px; }
  .social-icon { width: 56px; height: 56px; font-size: 20px; }
}

.demo-copy h2 {
  margin: 11px 0 14px;
  font-size: 36px;
}

.demo-copy p {
  color: var(--brown-soft);
  line-height: 1.65;
}

.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
}

.demo-photo {
  min-height: 280px;
  border-radius: 22px;
  background: linear-gradient(#ffc65b 0 38%, #f49f42 38% 55%, #85a661 55%);
  overflow: hidden;
  position: relative;
}

.sun {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff1b6;
  position: absolute;
  top: 44px;
  right: 50px;
  box-shadow: 0 0 38px #fff0a9;
}

.hill {
  width: 250px;
  height: 130px;
  border-radius: 50%;
  position: absolute;
  bottom: 20px;
}

.hill-one {
  left: -80px;
  background: #668a4b;
}

.hill-two {
  right: -100px;
  background: #779a55;
}

.blanket {
  width: 105px;
  height: 47px;
  left: 85px;
  bottom: 44px;
  background: #f6d36b;
  border-radius: 45%;
  position: absolute;
  transform: rotate(-4deg);
}

.person {
  width: 21px;
  height: 44px;
  border-radius: 14px 14px 6px 6px;
  bottom: 74px;
  position: absolute;
}

.person::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: -15px;
  background: #6d4326;
}

.person-one {
  left: 115px;
  background: #d95d3d;
}

.person-two {
  left: 155px;
  background: #6656a4;
}

.photo-label {
  position: absolute;
  left: 13px;
  bottom: 13px;
  padding: 7px 9px;
  border-radius: 9px;
  color: white;
  background: rgba(53, 31, 18, .56);
  backdrop-filter: blur(8px);
  font-size: 10px;
}

.demo-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice {
  flex: 1;
  padding: 13px 14px;
  text-align: left;
  color: var(--brown);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  transition: transform .2s ease, border .2s ease, background .2s ease;
}

.choice:hover {
  transform: translateX(3px);
  border-color: var(--orange);
}

.choice.correct {
  background: #eef7e6;
  border-color: #8daf63;
}

.choice.incorrect {
  background: #fff1e8;
  border-color: #e39965;
}

.demo-result {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--brown-soft);
  background: #f5ead9;
  font-size: 12px;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 105px 0;
}

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

.section-heading h2 {
  margin-top: 12px;
  max-width: 760px;
  font-size: clamp(39px, 5vw, 59px);
  letter-spacing: -.04em;
}

.section-heading p {
  color: var(--brown-soft);
  line-height: 1.7;
  font-size: 17px;
}

.centered {
  text-align: center;
}

.centered h2,
.centered p {
  margin-left: auto;
  margin-right: auto;
}

.centered p {
  max-width: 650px;
}

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

.step-card,
.bento-card {
  border: 1px solid rgba(105, 57, 17, .1);
  border-radius: 28px;
  background: rgba(255, 253, 247, .82);
  box-shadow: 0 18px 55px rgba(92, 50, 15, .08);
}

.step-card {
  min-height: 430px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(92, 50, 15, .14);
}

.featured-step {
  background: linear-gradient(160deg, #fff8e9, #ffe0a1);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(99, 50, 15, .24);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
}

.feature-icon {
  width: 61px;
  height: 61px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: #fff0d4;
  display: grid;
  place-items: center;
  font-size: 27px;
  transform: rotate(-3deg);
}

.feature-icon img,
.avatar-stack img,
.path-node img,
.memory-orb img,
.streak-card .icon-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.streak-card .icon-img.big-flame {
  width: 44px;
  height: 44px;
}

.avatar-stack img {
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 10px rgba(78, 42, 14, .08);
  object-fit: contain;
}

.path-node img {
  width: 92%;
  height: 92%;
}

.memory-orb img {
  width: 70%;
  height: 70%;
}

.step-card h3,
.bento-card h3 {
  font-size: 27px;
  letter-spacing: -.025em;
}

.step-card > p,
.bento-copy p {
  color: var(--brown-soft);
  line-height: 1.65;
}

.mini-preview,
.typing-preview,
.match-preview {
  margin-top: 28px;
}

.photo-preview {
  height: 126px;
  border-radius: 19px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(#ffbe58 0 45%, #739258 45%);
}

.mini-sun {
  width: 28px;
  height: 28px;
  top: 18px;
  right: 27px;
  border-radius: 50%;
  background: #fff3c8;
  position: absolute;
}

.mini-mountain {
  width: 190px;
  height: 95px;
  left: -30px;
  bottom: -48px;
  border-radius: 50%;
  background: #5c7b46;
  position: absolute;
}

.mini-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  color: white;
  background: rgba(52, 32, 18, .55);
  font-size: 10px;
}

.typing-preview {
  min-height: 128px;
  padding: 18px;
  border-radius: 19px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(91, 51, 20, .09);
  position: relative;
}

.typing-preview span {
  color: #9b7655;
  font-size: 12px;
}

.typing-line {
  width: 91%;
  height: 8px;
  margin-top: 15px;
  border-radius: 99px;
  background: #e9cfaa;
}

.typing-line.short {
  width: 64%;
  margin-top: 9px;
}

.cursor {
  width: 2px;
  height: 16px;
  display: block;
  margin: 8px 0 0 65%;
  background: var(--orange);
  animation: blink .9s infinite;
}

.match-preview {
  min-height: 128px;
  border-radius: 19px;
  background: #fff1d7;
  display: grid;
  place-items: center;
  position: relative;
}

.match-ring {
  width: 92px;
  height: 92px;
  border: 10px solid #f4b335;
  border-right-color: #f6d999;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-12deg);
}

.match-ring strong,
.match-ring span {
  transform: rotate(12deg);
}

.match-ring strong {
  font-family: "Nunito", sans-serif;
  font-size: 28px;
}

.match-ring span {
  color: #96714f;
  font-size: 9px;
}

.point-burst {
  position: absolute;
  top: 12px;
  right: 13px;
  padding: 6px 9px;
  border-radius: 10px;
  color: white;
  background: var(--orange);
  font-weight: 900;
  transform: rotate(6deg);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 70px;
}

.feature-bento {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.bento-card {
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.pill-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff0d4;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.bento-copy {
  max-width: 550px;
}

.shop-feature {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 200, 76, .4), transparent 16rem),
    #fffaf0;
}

.shop-shelf {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.shop-item {
  min-height: 152px;
  padding: 14px;
  border: 1px solid rgba(102, 58, 20, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform .2s ease;
}

.shop-item:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.shop-item.active {
  background: linear-gradient(160deg, #ffd978, #f9b33e);
  transform: translateY(-12px) rotate(2deg);
  box-shadow: 0 20px 34px rgba(166, 87, 13, .2);
}

.shop-item span,
.shop-item img {
  width: 56px;
  height: 56px;
  display: block;
}

.shop-item img {
  object-fit: contain;
}

.shop-item strong {
  margin-top: 7px;
  font-size: 12px;
}

.shop-item small {
  color: #8b6547;
  font-size: 9px;
}

.games-feature {
  color: #fff8ec;
  background: linear-gradient(155deg, #52351f, #2e2118);
}

.games-feature .pill-label {
  color: #ffc45a;
  background: rgba(255, 190, 73, .12);
}

.games-feature .bento-copy p {
  color: #d9c6b5;
}

.game-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.game-grid button {
  aspect-ratio: 1.5;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  color: #ffd06c;
  background: rgba(255,255,255,.06);
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.game-grid button:hover {
  transform: scale(1.04);
}

.game-grid button.revealed,
.game-grid button.matched {
  background: #fff1ce;
}

.game-grid button.matched {
  outline: 2px solid #e8a731;
}

.game-tip {
  display: block;
  margin-top: 10px;
  color: #bba896;
}

.notebook-feature {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(#fffdf7 0 33px, #ecdabe 34px, #fffdf7 35px);
}

.notebook-card {
  width: min(430px, 92%);
  min-height: 305px;
  padding: 32px 28px 25px 48px;
  border-radius: 10px 22px 22px 10px;
  background: rgba(255, 249, 233, .92);
  border: 1px solid #d7b98b;
  box-shadow: 15px 16px 0 #e99a38, 0 24px 40px rgba(89, 47, 13, .12);
  position: relative;
  transform: rotate(-2deg);
}

.notebook-ring {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  border-left: 3px dashed #dba85c;
}

.notebook-card small {
  color: var(--orange-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.notebook-card h3 {
  margin: 15px 0;
  font-size: 26px;
}

.notebook-card p {
  min-height: 52px;
  color: var(--brown-soft);
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
}

.notebook-card button {
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  color: var(--orange-dark);
  background: #ffe7b3;
  font-weight: 800;
  cursor: pointer;
}

.streak-feature {
  background: linear-gradient(155deg, #f8a62e, #e77d1f);
  color: white;
}

.streak-feature .pill-label {
  color: white;
  background: rgba(255,255,255,.18);
}

.streak-feature p {
  color: #fff1de;
  line-height: 1.6;
}

.streak-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.big-flame {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(117, 54, 5, .2));
}

.week-row {
  margin: 44px 0 25px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.week-row div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}

.week-row span {
  font-size: 10px;
  font-weight: 800;
  opacity: .78;
}

.week-row b {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--orange-dark);
  background: white;
  font-size: 12px;
}

.week-row .today b {
  color: white;
  border: 2px solid white;
  background: transparent;
  box-shadow: 0 0 0 5px rgba(255,255,255,.13);
}

.week-row .future b {
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.14);
}

.leaderboard-section {
  width: 100%;
  max-width: none;
  padding: 110px max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 181, 46, .18), transparent 26rem),
    radial-gradient(circle at 95% 80%, rgba(255, 181, 46, .11), transparent 27rem),
    #352319;
  color: white;
}

.leaderboard-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.light-kicker {
  color: #ffc45e;
}

.leaderboard-copy h2 {
  margin: 12px 0 19px;
  font-size: clamp(40px, 5vw, 61px);
  letter-spacing: -.04em;
}

.leaderboard-copy p {
  color: #d9c5b5;
  line-height: 1.7;
}

.leaderboard-tabs {
  width: fit-content;
  margin-top: 28px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  display: flex;
  gap: 4px;
}

.tab {
  min-width: 105px;
  min-height: 39px;
  border: 0;
  border-radius: 10px;
  color: #d8c5b6;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  color: var(--brown);
  background: #ffc45a;
}

.leaderboard-card {
  max-width: 610px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}

.founders-section.hidden {
  display: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.founder-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  padding: 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.founder-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.founder-details {
  min-width: 0;
}

.founder-details strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.founder-details small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

.founder-details small {
  color: rgba(255,255,255,.72);
}

.leaderboard-disclaimer {
  grid-column: 1 / -1;
  margin-top: 24px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.6;
}

.leaderboard-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.leaderboard-card-top small {
  color: #cbb7a5;
}

.leaderboard-card-top h3 {
  margin-top: 5px;
  font-size: 27px;
}

.trophy {
  width: 51px;
  height: 51px;
  border-radius: 16px;
  background: rgba(255, 193, 75, .12);
  display: grid;
  place-items: center;
  font-size: 27px;
}

.podium {
  min-height: 270px;
  margin-top: 25px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 13px;
}

.podium-person {
  width: 28%;
  text-align: center;
}

.crown-space {
  height: 25px;
  display: block;
  color: #ffc45a;
  font-size: 22px;
}

.avatar {
  width: 59px;
  height: 59px;
  margin: 0 auto 8px;
  border: 4px solid rgba(255,255,255,.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
}

.avatar.purple { background: #8b6cc1; }
.avatar.gold { background: #eaa328; }
.avatar.green { background: #6f995d; }
.avatar.orange { background: #e67f28; }

.podium-person strong {
  display: block;
  font-size: 12px;
}

.podium-person small {
  color: #d0bcaa;
  font-size: 9px;
}

.podium-block {
  margin-top: 12px;
  border-radius: 15px 15px 4px 4px;
  display: grid;
  place-items: center;
  color: rgba(63, 37, 22, .6);
  background: linear-gradient(#ffc860, #e89a31);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 24px;
}

.second .podium-block { height: 105px; opacity: .82; }
.first .podium-block { height: 145px; }
.third .podium-block { height: 82px; opacity: .65; }

.your-rank {
  min-height: 70px;
  padding: 10px 14px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .09);
  display: grid;
  grid-template-columns: 28px 40px 1fr auto;
  align-items: center;
  gap: 9px;
}

.rank-number {
  color: #ffc45a;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
}

.small-avatar {
  width: 38px;
  height: 38px;
  margin: 0;
  border-width: 2px;
}

.your-rank strong,
.your-rank small {
  display: block;
}

.your-rank small {
  color: #c9b5a4;
  font-size: 9px;
}

.your-rank b {
  font-size: 12px;
}

.values-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.values-visual {
  min-height: 520px;
  border-radius: 45% 55% 43% 57% / 47% 41% 59% 53%;
  background:
    radial-gradient(circle at 52% 44%, #ffd57c, #f4a02c 55%, #e77d20);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.16), 0 35px 80px rgba(184, 91, 15, .2);
}

.elephant-badge {
  width: 250px;
  height: 250px;
  padding: 18px;
  border: 8px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: #fff8e8;
  display: grid;
  place-items: center;
  box-shadow: 0 25px 50px rgba(103, 52, 12, .22);
}

.elephant-badge svg {
  width: 100%;
}

.memory-orb {
  width: 92px;
  height: 92px;
  border: 6px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: #fff8e8;
  display: grid;
  place-items: center;
  font-size: 34px;
  position: absolute;
  box-shadow: 0 14px 25px rgba(94, 46, 9, .15);
  animation: float 4s ease-in-out infinite;
}

.memory-orb img {
  width: 78%;
  height: 78%;
}
.orb-photo {
  left: 8%;
  top: 19%;
}

.orb-note {
  right: 7%;
  top: 15%;
  animation-delay: .8s;
}

.orb-game {
  right: 15%;
  bottom: 12%;
  animation-delay: 1.5s;
}

.values-copy h2 {
  margin: 13px 0 22px;
  font-size: clamp(40px, 4.5vw, 58px);
  letter-spacing: -.04em;
}

.values-copy > p {
  color: var(--brown-soft);
  line-height: 1.75;
}

.value-list {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-list > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 12px;
}

.value-list span {
  color: var(--orange);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
}

.value-list p {
  margin: 0;
  color: var(--brown-soft);
  line-height: 1.55;
}

.value-list strong {
  color: var(--brown);
}

.join-section {
  padding-top: 55px;
}

.join-card {
  min-height: 460px;
  padding: 70px 25px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.28), transparent 16rem),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,.18), transparent 18rem),
    linear-gradient(145deg, #ffc85e, #ee8b25);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(174, 83, 12, .22);
}

.join-card::before,
.join-card::after {
  content: "";
  width: 230px;
  height: 230px;
  border: 2px dashed rgba(255,255,255,.23);
  border-radius: 50%;
  position: absolute;
}

.join-card::before {
  left: -70px;
  top: -70px;
}

.join-card::after {
  right: -50px;
  bottom: -90px;
}

.join-sparkles {
  margin-bottom: 14px;
  color: white;
  font-size: 22px;
}

.join-card .section-kicker {
  color: #79400e;
}

.join-card h2 {
  max-width: 700px;
  margin: 14px auto;
  color: #4b2b18;
  font-size: clamp(43px, 5vw, 66px);
  letter-spacing: -.04em;
}

.join-card p {
  max-width: 650px;
  margin: 0 auto 27px;
  color: #71451f;
  font-size: 17px;
  line-height: 1.65;
}

.signup-form {
  max-width: 540px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  display: flex;
  position: relative;
  z-index: 2;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: none;
  color: var(--brown);
  background: transparent;
}

.join-card > small {
  display: block;
  margin-top: 13px;
  color: #7b4b22;
}

footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 180px;
  margin: 0 auto;
  padding: 45px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
  color: var(--brown-soft);
  font-size: 12px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: var(--brown);
  font-size: 18px;
}

.footer-brand small {
  margin-top: 2px;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}

footer p {
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(246,181,51,.15), 0 8px 16px rgba(143,78,18,.16); }
  50% { box-shadow: 0 0 0 11px rgba(246,181,51,.04), 0 8px 16px rgba(143,78,18,.16); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 650px;
  }

  .steps-grid,
  .split-heading,
  .leaderboard-wrap,
  .values-section,
  .memory-demo {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 12px;
  }

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

  .leaderboard-wrap {
    gap: 40px;
  }

  .leaderboard-card {
    margin: auto;
  }

  .values-visual {
    min-height: 470px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .site-header .button-ghost {
    display: none;
  }

  .hero,
  .section,
  .memory-demo {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 45px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .hero-visual {
    min-height: 610px;
    transform: scale(.92);
  }

  .phone {
    width: 336px;
  }

  .orbit-one {
    width: 450px;
    height: 450px;
  }

  .orbit-two {
    width: 390px;
    height: 390px;
  }

  .streak-card {
    left: -10px;
  }

  .score-card {
    right: -9px;
  }

  .memory-demo {
    padding: 22px;
  }

  .demo-panel {
    grid-template-columns: 1fr;
  }

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

  .feature-bento {
    display: block;
  }

  .bento-card {
    margin-bottom: 16px;
  }

  .shop-shelf {
    gap: 7px;
  }

  .shop-item {
    padding: 10px 4px;
  }

  .shop-item strong {
    font-size: 10px;
  }

  .shop-item small {
    font-size: 8px;
  }

  .leaderboard-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .leaderboard-card {
    padding: 20px 13px;
  }

  .your-rank {
    grid-template-columns: 22px 36px 1fr auto;
  }

  .values-visual {
    min-height: 400px;
  }

  .elephant-badge {
    width: 205px;
    height: 205px;
  }

  .memory-orb {
    width: 55px;
    height: 55px;
  }

  .signup-form {
    padding: 6px;
    flex-direction: column;
    gap: 7px;
    background: transparent;
  }

  .signup-form input {
    min-height: 54px;
    border-radius: 15px;
    background: rgba(255,255,255,.9);
  }

  footer {
    width: calc(100% - 28px);
  }
}
