@font-face {
  font-family: Outfit;
  src: url(fonts/outfit-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: #f7f5ef;
  color: #25283f;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a {
  color: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #5043e8;
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 550;
}
h2 {
  font-size: clamp(38px, 5vw, 64px);
}
h3 {
  font-size: 28px;
}
p {
  color: #626373;
}
section[id] {
  scroll-margin-top: 20px;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding-block: clamp(64px, 7vw, 96px);
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #55586b;
  margin-bottom: 24px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid #e3e1da;
}
.nav-wrap {
  width: min(1320px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.brand img {
  border-radius: 10px;
}
.brand-dot {
  font-size: 10px;
  align-self: flex-start;
  margin-top: 8px;
  margin-left: -5px;
}
.site-header nav {
  display: flex;
  gap: 30px;
}
.site-header nav a {
  font-size: 14px;
  text-decoration: none;
  color: #55576a;
}
.site-header nav a:hover,
.site-footer a:hover {
  color: #5043e8;
}
.nav-cta {
  border: 1px solid #25283f;
  border-radius: 99px;
  padding: 10px 22px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta span {
  margin-left: 20px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: 740px;
  padding-block: 56px 64px;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(68px, 7.8vw, 104px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}
.highlight {
  position: relative;
  isolation: isolate;
}
.highlight:after {
  content: "";
  position: absolute;
  inset: 55% -5% 2%;
  background: #ded9fd;
  z-index: -1;
  border-radius: 50%;
  transform: rotate(-4deg);
}
.hero-intro {
  font-size: 25px;
  color: #30334b;
  margin-top: 28px;
}
.lede {
  font-size: 18px;
  line-height: 1.7;
  max-width: 450px;
  margin-top: 16px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #5043e8;
  border-radius: 50%;
}
.store-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.store-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  background: #27283e;
  color: white;
  border-radius: 13px;
  padding: 12px 21px;
  line-height: 1.2;
  font-weight: 500;
  font-size: 18px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.store-link:hover {
  background: #49416e;
  transform: translateY(-2px);
}
.store-link > span:first-child {
  font-size: 29px;
}
.store-link small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.small-note {
  font-size: 12px;
  margin-top: 18px;
}
.small-note span {
  margin-inline: 5px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}
.orbit {
  position: absolute;
  width: 510px;
  height: 510px;
  max-width: 110%;
  top: 60px;
  border-radius: 50%;
  background: conic-gradient(
    from 10deg,
    #edccf0,
    #d8d2fc,
    #c2ddf6,
    #d9e6c5,
    #f8e8a0,
    #f2ccc1,
    #edccf0
  );
  opacity: 0.8;
}
.orbit:after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid #ffffff90;
  border-radius: 50%;
}
.phone {
  position: relative;
  overflow: hidden;
  border: 6px solid #303046;
  border-radius: 38px;
  background: #f9f7f5;
  box-shadow: 0 28px 65px #28273e24;
}
.hero-phone {
  width: 282px;
  transform: rotate(4deg);
  margin-top: 10px;
}
.hero-phone img {
  width: 100%;
}
.feeling-tag {
  position: absolute;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 99px;
  background: #fff9ec;
  box-shadow: 0 5px 15px #25283f08;
  font-size: 17px;
}
.tag-one {
  left: 0;
  top: 110px;
  transform: rotate(-9deg);
  background: #fff1bc;
}
.tag-two {
  right: -4px;
  bottom: 130px;
  transform: rotate(8deg);
  background: #dde9d7;
}
.screen-caption {
  font-size: 12px;
  margin-top: 30px;
  font-style: italic;
}
.emotion-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid #deddd5;
  padding: 24px max(40px, calc((100vw - 1200px) / 2));
  gap: 24px;
}
.emotion-ribbon span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
}
.happy {
  background: #e9c943;
}
.sad {
  background: #4e9bdb;
}
.angry {
  background: #e97163;
}
.fearful {
  background: #aa7dce;
}
.disgusted {
  background: #89ad69;
}
.surprised {
  background: #e4a24e;
}
.section-heading {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-heading > p:last-child:not(.eyebrow) {
  margin-top: 22px;
  font-size: 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.step-number {
  display: inline-block;
  font-size: 14px;
  border-bottom: 1px solid #c4c1d2;
  padding-bottom: 14px;
  margin-bottom: 24px;
  width: 100%;
  color: #6b638e;
}
.steps h3 {
  margin-bottom: 14px;
}
.steps p {
  font-size: 16px;
}
.feature-section {
  padding-block: clamp(64px, 7vw, 96px);
  background: #eeece5;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.card-copy {
  padding: 38px 38px 28px;
}
.card-copy h3 {
  font-size: 36px;
  margin-top: 20px;
}
.card-copy p {
  max-width: 380px;
  margin-top: 18px;
  font-size: 16px;
}
.pill {
  display: inline-block;
  border: 1px solid #25283f30;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 11px;
}
.progress-card,
.journal-card {
  display: grid;
  grid-template-rows: 1fr 420px;
}
.progress-card {
  background: #e0dcf3;
}
.feature-phone {
  width: 290px;
  margin: 0 auto;
  align-self: start;
  border-width: 5px;
  border-radius: 34px;
}
.journal-card {
  background: #e8eddf;
}
.history-window {
  width: 325px;
  height: 420px;
  max-width: 85%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 40px #28352117;
}
.history-window img {
  width: 100%;
  transform: translateY(-108px);
}
.vocabulary-card {
  background: #f8f5ed;
  padding: 38px;
}
.vocabulary-card h3,
.reminder-card h3 {
  font-size: 34px;
}
.vocabulary-card p,
.reminder-card p {
  font-size: 16px;
  margin-top: 20px;
  max-width: 390px;
}
.word-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
}
.word-path span {
  padding: 7px 13px;
  background: #f3e6a6;
  border-radius: 50px;
}
.word-path span:last-child {
  background: #dce6d5;
}
.word-path b {
  font-weight: 400;
}
.reminder-card {
  padding: 38px;
  background: #f1dfd4;
  display: flex;
  gap: 24px;
}
.reminder-icon {
  font-size: 65px;
  line-height: 1;
  color: #8d503d;
}
.screens-note {
  font-size: 12px;
  margin-top: 24px;
  text-align: center;
}
.privacy-section {
  background: #292b43;
  color: #faf8f3;
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
}
.privacy-section .eyebrow {
  color: #bcb9d5;
}
.privacy-section p {
  color: #d0cedc;
}
.privacy-section .text-link {
  color: #f6f3ff;
}
.text-link {
  display: inline-block;
  text-underline-offset: 5px;
  font-size: 15px;
}
.privacy-section .text-link {
  margin-top: 28px;
}
.privacy-facts {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.privacy-facts > div {
  position: relative;
  padding-left: 50px;
  border-bottom: 1px solid #ffffff24;
  padding-bottom: 24px;
}
.privacy-facts > div:last-child {
  border: 0;
  padding-bottom: 0;
}
.privacy-facts > div > span {
  position: absolute;
  left: 0;
  font-size: 26px;
  color: #c7c0fc;
}
.privacy-facts h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.privacy-facts p {
  font-size: 15px;
}
.heading-inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.heading-inline > p {
  max-width: 32ch;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  padding: 28px;
  border: 1px solid #d9d6cd;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.article-card:hover {
  background: #eeebe1;
}
.article-card .eyebrow {
  font-size: 10px;
}
.article-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 26px;
}
.article-arrow {
  font-size: 26px;
  margin-top: auto;
}
.faq-section {
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 6vw, 72px);
}
.faq-section > div > p:last-child {
  margin-top: 24px;
  font-size: 14px;
}
.faq-list {
  border-top: 1px solid #d5d2c8;
}
.faq-list details {
  border-bottom: 1px solid #d5d2c8;
  padding: 22px 0;
}
.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 2px;
  font-size: 23px;
  top: -4px;
  color: #68617d;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 590px;
}
.download-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #dfdaf4;
  padding: 90px 0 72px;
}
.download-section h2 {
  font-size: clamp(48px, 6.5vw, 80px);
}
.download-section h2 span {
  font-style: italic;
  font-family: Georgia, serif;
  font-weight: 400;
}
.download-section p:not(.eyebrow) {
  margin-top: 22px;
}
.download-section .store-links {
  justify-content: center;
}
.download-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 45px;
}
.download-dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eacb62;
}
.download-dots i:nth-child(2) {
  background: #88b7dd;
}
.download-dots i:nth-child(3) {
  background: #dd9285;
}
.download-dots i:nth-child(4) {
  background: #ae8cc9;
}
.download-dots i:nth-child(5) {
  background: #96b881;
}
.download-dots i:nth-child(6) {
  background: #e3b47a;
}
.site-footer {
  padding-block: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer p,
.site-footer nav {
  font-size: 12px;
}
.site-footer nav {
  display: flex;
  gap: 24px;
}
.site-footer nav a {
  text-decoration: none;
}
@media (min-width: 1400px) {
  .hero {
    min-height: 760px;
  }
  .hero-phone {
    width: 300px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 16px;
  }
  .hero h1 {
    font-size: clamp(52px, 6.5vw, 76px);
  }
  .hero-phone {
    width: 250px;
  }
  .tag-one {
    left: -10px;
    font-size: 14px;
  }
  .tag-two {
    right: -8px;
    font-size: 14px;
  }
  .orbit {
    width: 400px;
    height: 400px;
    top: 80px;
  }
  .privacy-grid {
    gap: 50px;
  }
  .reminder-card {
    display: block;
  }
  .reminder-icon {
    display: block;
    margin-bottom: 20px;
  }
  .card-copy {
    padding: 30px;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .steps {
    gap: 30px;
  }
  .emotion-ribbon {
    padding-inline: 24px;
    gap: 20px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 140px;
  }
  .nav-wrap {
    width: calc(100% - 36px);
    min-height: 115px;
    flex-wrap: wrap;
    gap: 0;
    padding: 14px 0 10px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-top: 14px;
    gap: 12px;
  }
  .site-header nav a {
    font-size: 12px;
    padding: 4px 0;
  }
  .nav-cta {
    padding: 7px 15px;
    font-size: 12px;
  }
  .nav-cta span {
    margin-left: 10px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 40px;
    text-align: center;
    gap: 40px;
  }
  .hero .eyebrow {
    justify-content: center;
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(64px, 13vw, 90px);
  }
  .hero-intro {
    font-size: 23px;
  }
  .lede {
    font-size: 16px;
    max-width: 440px;
    margin-inline: auto;
  }
  .store-links {
    justify-content: center;
    gap: 10px;
  }
  .store-link {
    padding: 12px 17px;
    font-size: 16px;
  }
  .store-link > span:first-child {
    font-size: 25px;
  }
  .hero-art {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }
  .hero-phone {
    width: 245px;
  }
  .orbit {
    width: 360px;
    height: 360px;
    top: 65px;
    max-width: 100%;
  }
  .tag-one {
    left: -3px;
    top: 90px;
  }
  .tag-two {
    right: -3px;
    bottom: 100px;
  }
  .feeling-tag {
    font-size: 12px;
    padding: 9px 12px;
  }
  .emotion-ribbon {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    gap: 14px 26px;
  }
  .emotion-ribbon span {
    font-size: 12px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .section-heading > p:last-child:not(.eyebrow) {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step-number {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
  .steps h3 {
    font-size: 25px;
  }
  .steps p {
    max-width: 460px;
  }
  .feature-section {
    padding-block: 64px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-card {
    border-radius: 20px;
  }
  .progress-card,
  .journal-card {
    grid-template-rows: auto 380px;
  }
  .card-copy {
    padding: 28px;
  }
  .card-copy h3 {
    font-size: 32px;
  }
  .feature-phone {
    width: 270px;
  }
  .vocabulary-card,
  .reminder-card {
    padding: 28px;
  }
  .reminder-card {
    display: flex;
    gap: 18px;
  }
  .reminder-icon {
    font-size: 45px;
  }
  .vocabulary-card h3,
  .reminder-card h3 {
    font-size: 30px;
  }
  .word-path {
    gap: 8px;
    font-size: 12px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .privacy-section .lede {
    margin-inline: 0;
  }
  .privacy-facts > div {
    padding-left: 40px;
  }
  .heading-inline {
    display: block;
  }
  .heading-inline > p {
    margin-top: 20px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    padding: 24px;
    position: relative;
  }
  .article-card h3 {
    font-size: 25px;
    max-width: 80%;
    margin-bottom: 0;
  }
  .article-card .eyebrow {
    margin-bottom: 15px;
  }
  .article-arrow {
    position: absolute;
    right: 24px;
    bottom: 23px;
  }
  .faq-section {
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq-list summary {
    font-size: 16px;
  }
  .download-section {
    padding-block: 65px 50px;
  }
  .site-footer {
    justify-content: center;
    text-align: center;
    padding-block: 30px;
    gap: 18px;
  }
  .site-footer p {
    width: 100%;
    order: 3;
  }
  .site-footer nav {
    gap: 20px;
  }
  .screens-note {
    font-size: 11px;
  }
  .history-window {
    width: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Colorful emotion playground: purposeful motion settles after four seconds. */
body {
  background: #fff9ee;
}
.site-header {
  background: #fff9eef5;
  border-color: #eadbc7;
}
.hero {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 20px -25px;
  background:
    radial-gradient(ellipse at 5% 10%, #ffe58c80, transparent 42%),
    radial-gradient(ellipse at 98% 75%, #e0c1ff90, transparent 45%);
  z-index: -1;
  border-radius: 60px;
}
.hero h1 {
  color: #373077;
}
.highlight::after {
  background: #ffcb75;
  inset: 50% -5% -2%;
  border-radius: 45% 30% 40% 25%;
}
.hero .eyebrow {
  color: #5b3e91;
}
.hero-art {
  padding-block: 22px;
}
.orbit {
  background: conic-gradient(
    from 10deg,
    #ffadbd,
    #b09afa,
    #92cdff,
    #aee0a4,
    #ffe06b,
    #ffae77,
    #ffadbd
  );
  opacity: 1;
  box-shadow:
    0 0 0 18px #efdbff70,
    0 0 0 40px #f7e6d660;
  transform: rotate(-12deg);
}
.hero-phone {
  width: 254px;
  transform: rotate(3deg);
}
.flying-pill {
  --tilt: -8deg;
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 2px solid #30294a;
  border-radius: 99px;
  color: #30294a;
  font-size: 19px;
  font-weight: 550;
  text-decoration: none;
  box-shadow: 3px 5px 0 #30294a;
  transform: rotate(var(--tilt));
  animation: pill-drift 4s ease-in-out 1;
}
.flying-pill:hover,
.flying-pill:focus-visible {
  animation-play-state: paused;
  transform: rotate(0deg) scale(1.06);
  box-shadow: 5px 7px 0 #30294a;
}
.flying-pill:focus-visible,
button:focus-visible {
  outline: 3px solid #3522a4;
  outline-offset: 6px;
}
.flying-pill span {
  font-size: 22px;
}
.family-happy {
  background: #ffe278;
}
.family-sad {
  background: #a9d7ff;
}
.family-angry {
  background: #ffaba0;
}
.family-fearful {
  background: #cfb0f4;
}
.family-disgusted {
  background: #b7e49c;
}
.family-surprised {
  background: #ffc086;
}
.hero-pill-0 {
  left: -5%;
  top: 7%;
  --tilt: -12deg;
}
.hero-pill-1 {
  right: -1%;
  top: 23%;
  --tilt: 12deg;
  animation-direction: reverse;
}
.hero-pill-2 {
  left: -7%;
  top: 42%;
  --tilt: -8deg;
}
.hero-pill-3 {
  right: -4%;
  top: 59%;
  --tilt: 9deg;
  animation-direction: reverse;
}
.hero-pill-4 {
  left: -5%;
  bottom: 160px;
  --tilt: -9deg;
}
.hero-pill-5 {
  right: 0;
  bottom: 100px;
  --tilt: 6deg;
  animation-direction: reverse;
}
.hero-art .screen-caption {
  width: 32ch;
  max-width: calc(100% - 24px);
  margin-top: 38px;
  color: #544477;
  text-align: center;
}
@keyframes pill-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(var(--tilt));
  }
  30% {
    transform: translate(8px, -14px) rotate(calc(var(--tilt) + 6deg));
  }
  65% {
    transform: translate(-6px, 9px) rotate(calc(var(--tilt) - 5deg));
  }
}
.explore-section {
  padding: clamp(64px, 7vw, 96px) 0 64px;
  background: #6750c5;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.explore-section::before,
.explore-section::after {
  content: "";
  width: 240px;
  height: 240px;
  position: absolute;
  border: 38px solid #8d75e1;
  border-radius: 50%;
  pointer-events: none;
}
.explore-section::before {
  top: -160px;
  right: 5%;
}
.explore-section::after {
  bottom: -220px;
  left: 2%;
}
.explore-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
  position: relative;
}
.explore-heading .eyebrow {
  color: #f2df96;
}
.explore-heading h2 {
  font-size: clamp(36px, 4.7vw, 60px);
}
.explore-heading h2 span {
  color: #ffe290;
}
.explore-heading > p {
  max-width: 32ch;
  color: #f1eafd;
  font-size: 17px;
}
.emotion-playground {
  background: #fffaf2;
  color: #30294a;
  border-radius: 30px;
  border: 2px solid #30294a;
  box-shadow: 8px 9px 0 #3b296f;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  position: relative;
}
.explorer-primary {
  padding: 36px;
  background: #f2d5ff;
  border-right: 2px solid #30294a;
}
.emotion-playground h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 12px;
}
.emotion-playground h3 > span {
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 6px;
  font-size: 12px;
  letter-spacing: 0;
}
.primary-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 18px;
  padding-block: 44px 30px;
}
.emotion-choice {
  --rest-rotation: 0deg;
  position: relative;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: #30294a;
  cursor: pointer;
  border: 2px solid #30294a;
  border-radius: 99px;
  padding: 12px 18px;
  min-height: 48px;
  box-shadow: 3px 4px 0 #30294a;
  transition:
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 350ms ease;
  transform: rotate(var(--rest-rotation));
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.primary-choices .emotion-choice:nth-child(odd) {
  --rest-rotation: -5deg;
}
.primary-choices .emotion-choice:nth-child(even) {
  --rest-rotation: 5deg;
}
.emotion-choice:hover:not([aria-pressed="true"]) {
  transform: translateY(-3px) rotate(var(--rest-rotation));
  box-shadow: 3px 7px 0 #30294a;
}
.emotion-choice[aria-pressed="true"] {
  color: #fff;
  background: #42316b;
  box-shadow: 1px 2px 0 #30294a;
  transform: rotate(0deg);
}
.emotion-choice[aria-pressed="true"]::before {
  content: "✓";
  position: absolute;
  top: -10px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #fffaf2;
  border-radius: 50%;
  background: #42316b;
  font-size: 13px;
  line-height: 1;
}
.explorer-hint {
  text-align: center;
  font-size: 13px;
  color: #60496f;
  margin-top: 24px;
}
.explorer-detail {
  padding: 36px;
}
.branch-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  padding-top: 20px;
  min-height: 135px;
}
.branch-choices .emotion-choice {
  font-size: 15px;
  padding: 9px 16px;
}
.branch-choices .emotion-choice[aria-pressed="true"] {
  transform: rotate(-4deg);
}
.branch-choices > p {
  font-size: 15px;
  color: #6e6579;
  max-width: 330px;
  margin-top: 8px;
}
.emotion-result {
  border-top: 1px dashed #a38fae;
  padding-top: 22px;
  margin-top: 8px;
  min-height: 170px;
}
.emotion-result .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
  color: #6e5a80;
}
#emotion-path {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 550;
  color: #42316b;
}
#emotion-next {
  font-size: 13px;
  margin-top: 10px;
}
.emotion-result #explorer-download {
  margin-top: 18px;
}
.emotion-result #explorer-download[hidden] {
  display: none;
}
.emotion-result .explorer-cta {
  color: #42316b;
  font-size: 15px;
  font-weight: 600;
}
.emotion-result .store-links {
  margin-top: 12px;
}
.emotion-result .store-link {
  font-size: 15px;
  padding: 10px 15px;
}
.emotion-result .store-link > span:first-child {
  font-size: 24px;
}
.explorer-footnote {
  color: #f1eafd;
  font-size: 12px;
  margin-top: 25px;
  text-align: center;
}
.explorer-nojs {
  color: #fff;
  margin-top: 12px;
}
#how-it-works .steps article {
  border-radius: 22px;
  padding: 27px;
  background: #ffe49b;
  transform: rotate(-2deg);
}
#how-it-works .steps article:nth-child(2) {
  background: #c7e6ff;
  transform: rotate(2deg);
}
#how-it-works .steps article:nth-child(3) {
  background: #f8c4d6;
  transform: rotate(-1deg);
}
#how-it-works .steps {
  gap: 25px;
}
.feature-section {
  background: #e8dff8;
}
.progress-card {
  background: #c3b3f5;
}
.journal-card {
  background: #c5e4af;
}
.vocabulary-card {
  background: #ffe38f;
}
.reminder-card {
  background: #ffbda2;
}
.article-card:nth-child(1) {
  background: #f5d4e7;
}
.article-card:nth-child(2) {
  background: #d1e7fc;
}
.article-card:nth-child(3) {
  background: #e0e9b4;
}
.article-card {
  border-color: #30294a;
  box-shadow: 3px 4px 0 #30294a;
}
.download-section {
  background: #ffc875;
}
.download-section h2 {
  color: #4b347d;
}
.download-section .download-dots i {
  width: 32px;
  height: 32px;
  border: 1px solid #30294a;
}
@media (max-width: 1050px) {
  .flying-pill {
    font-size: 15px;
    padding: 10px 15px;
  }
  .hero-phone {
    width: 230px;
  }
  .hero-pill-0,
  .hero-pill-2,
  .hero-pill-4 {
    left: -2%;
  }
  .hero-pill-1,
  .hero-pill-3 {
    right: -2%;
  }
  .explorer-primary,
  .explorer-detail {
    padding: 26px;
  }
  .emotion-choice {
    font-size: 15px;
    padding-inline: 12px;
  }
}
@media (max-width: 760px) {
  .hero::before {
    inset: 10px 0;
  }
  .hero-art {
    max-width: 390px;
    padding-block: 20px 40px;
  }
  .hero-phone {
    width: 225px;
  }
  .hero-pill-0 {
    top: 8%;
    left: 0;
  }
  .hero-pill-1 {
    right: 0;
  }
  .hero-pill-2 {
    left: -2%;
  }
  .hero-pill-3 {
    right: -2%;
  }
  .hero-pill-4 {
    bottom: 170px;
    left: -2%;
  }
  .hero-pill-5 {
    bottom: 105px;
  }
  .flying-pill {
    font-size: 14px;
    padding: 9px 12px;
    gap: 6px;
    min-height: 44px;
  }
  .flying-pill span {
    font-size: 18px;
  }
  .hero-art .screen-caption {
    margin-top: 45px;
  }
  .explore-section {
    padding-block: 64px 48px;
  }
  .explore-heading {
    display: block;
  }
  .explore-heading > p {
    margin-top: 22px;
    font-size: 15px;
  }
  .emotion-playground {
    grid-template-columns: 1fr;
    border-radius: 22px;
    box-shadow: 5px 6px 0 #3b296f;
  }
  .explorer-primary {
    border-right: 0;
    border-bottom: 2px solid #30294a;
  }
  .primary-choices {
    gap: 20px 16px;
    padding-block: 28px 12px;
  }
  .explorer-hint {
    margin-top: 16px;
  }
  .explorer-primary,
  .explorer-detail {
    padding: 24px;
  }
  .emotion-playground h3 {
    font-size: 19px;
  }
  .branch-choices {
    min-height: 135px;
  }
  .emotion-result {
    min-height: 190px;
  }
  #emotion-path {
    font-size: 23px;
  }
  #how-it-works .steps {
    gap: 23px;
  }
  #how-it-works .steps article {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flying-pill {
    animation: none;
  }
  .flying-pill:hover,
  .flying-pill:focus-visible {
    transform: rotate(var(--tilt));
  }
}

/* Keep decorative rings and drifting pills inside the viewport on narrow phones. */
body {
  overflow-x: clip;
}
@media (max-width: 760px) {
  .hero-pill-0,
  .hero-pill-2,
  .hero-pill-4 {
    left: 4px;
  }
  .hero-pill-1,
  .hero-pill-3,
  .hero-pill-5 {
    right: 4px;
  }
  .hero-art {
    width: 100%;
    max-width: 360px;
  }
}

/* Safari propagates document overflow from the root; contain it there while
   leaving body overflow clipped so the sticky header keeps the viewport as
   its scroll container. */
html {
  overflow-x: hidden;
}

/* Language links are native HTML so translated pages also work without JS. */
.language-switcher {
  position: relative;
  flex-shrink: 0;
  font-size: 13px;
}
.language-switcher summary {
  cursor: pointer;
  padding: 10px 0;
}
.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 170px;
  padding: 8px;
  background: #fffaf2;
  border: 1px solid #30294a;
  border-radius: 12px;
  box-shadow: 3px 4px 0 #30294a;
}
.language-options a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
}
.language-options a:hover,
.language-options a[aria-current="page"] {
  background: #e8dff8;
}
html:not([lang="en"]) .hero h1 {
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
html[lang="uk"] body,
html[lang="ko"] body {
  font-family: system-ui, sans-serif;
}
html[lang="ko"] {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html:not([lang="en"]) .word-path {
  flex-wrap: wrap;
}
.nav-wrap {
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-block: 12px;
}
@media (max-width: 1050px) {
  .site-header nav {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  html {
    scroll-padding-top: 160px;
  }
}
@media (max-width: 760px) {
  .nav-wrap .brand {
    margin-right: auto;
  }
  .nav-wrap .nav-cta {
    order: 3;
  }
  .language-switcher {
    order: 2;
  }
  .site-header nav {
    margin-top: 0;
    gap: 8px 16px;
  }
  .site-header nav a {
    padding-block: 7px;
  }
  html:not([lang="en"]) .hero h1 {
    font-size: clamp(36px, 9.8vw, 66px);
  }
  html:not([lang="en"]) .flying-pill {
    font-size: 12px;
    padding-inline: 10px;
  }
  html:not([lang="en"]) .primary-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  html:not([lang="en"]) .emotion-choice {
    overflow-wrap: anywhere;
    min-width: 0;
  }
  html:not([lang="en"]) .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Stack the dense hero and explorer before tablet columns become cramped. */
@media (min-width: 761px) and (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-copy {
    max-width: 640px;
    margin-inline: auto;
  }
  .hero .eyebrow,
  .hero .store-links {
    justify-content: center;
  }
  .hero .lede {
    margin-inline: auto;
  }
  .hero-art {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
  .emotion-playground {
    grid-template-columns: 1fr;
  }
  .explorer-primary {
    border-right: 0;
    border-bottom: 2px solid #30294a;
  }
  .primary-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
