@font-face {
  font-family: Bricolage;
  src: url('./assets/fonts/BricolageGrotesque-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url('./assets/fonts/Literata-Variable.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #11233f;
  --teal: #7fb8c9;
  --coral: #e58c73;
  --sand: #efe3d3;
  --white: #fffaf3;
  --pale: #d7edf2;
  --muted: #b8c7d5;
  font-family: Bricolage,Arial,sans-serif;
  color: var(--white);
  background: var(--ink);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

button {
  color: inherit;
}

button svg,a svg {
  width: 24px;
  height: 24px;
  flex: none;
}

button:disabled {
  cursor: default;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}

svg {
  display: block;
}

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

[hidden] {
  display: none!important;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  padding: 16px;
  background: var(--sand);
  color: var(--ink);
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.section-width {
  max-width: 1200px;
  margin: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5%;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 34px;
  letter-spacing: -1.4px;
  font-weight: 800;
}

.brand img {
  border-radius: 12px;
}

.site-header>nav {
  display: flex;
  gap: 36px;
  font-weight: 650;
  font-size: 16px;
}

.site-header nav a {
  position: relative;
}

.site-header>nav a:after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.site-header>nav a:hover:after {
  transform: scaleX(1);
}

.button {
  background: var(--teal);
  color: var(--ink);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 30px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.1;
  transition: transform .22s,background .22s,box-shadow .22s;
}

.button:hover {
  transform: translateY(-3px);
  background: var(--pale);
  box-shadow: 0 8px 0 #0002;
}

.button:active {
  transform: translateY(0);
}

.header-cta {
  font-size: 16px;
  padding: 15px 26px;
}

.header-cta svg {
  width: 19px;
}

.menu-button,.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 5px;
}

.hero h1 {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1320px;
  margin: 0 auto 28px;
  font-size: clamp(58px,7.1vw,108px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -5.8px;
}

.hero h1>span {
  display: block;
  padding-bottom: 5px;
  animation: headline-in .85s cubic-bezier(.2,.75,.2,1) both;
}

.hero h1>span+span {
  animation-delay: .12s;
}

.hello-word {
  position: relative;
  display: inline-block;
}

.underline {
  position: absolute;
  bottom: -8px;
  left: -3%;
  width: 106%;
  height: 21px;
  overflow: visible;
}

.underline path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 9px;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw .65s .7s ease forwards;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 55px;
  max-width: 1250px;
  height: 590px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero-copy {
  padding-top: 108px;
  position: relative;
  z-index: 3;
}

.hero-copy>p {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -.6px;
  max-width: 350px;
  margin: 0 0 30px;
}

.main-cta {
  font-size: 20px;
  text-align: left;
  padding: 18px 24px;
  gap: 20px;
}

.main-cta svg {
  width: 30px;
  height: 30px;
}

.iphone-note {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 17px;
  padding-left: 17px;
  color: var(--sand);
}

.iphone-note svg {
  width: 20px;
  height: 22px;
}

.phone-column {
  position: relative;
  z-index: 2;
  padding-top: 0;
  scroll-margin-top: 32px;
}

.phone-backdrop {
  width: 768px;
  height: 768px;
  max-width: none;
  fill: #245063;
  pointer-events: none;
  overflow: visible;
  position: absolute;
  top: 21px;
  left: 50%;
  transform: translateX(-50%);
  animation: bubble-drift 12s ease-in-out infinite;
  z-index: -1;
}

@keyframes bubble-drift {
  0%, 100% { transform: translateX(-50%) translateY(6px) rotate(-4deg); }
  50% { transform: translateX(-50%) translateY(-12px) rotate(4deg); }
}

.phone-shell {
  width: 312px;
  height: 652px;
  margin: auto;
  padding: 7px;
  background: #080b0e;
  border: 2px solid #969b9e;
  border-radius: 51px;
  box-shadow: 0 0 0 2px #0a1520,0 30px 80px #0003;
  transform: rotate(-1deg);
  animation: phone-in 1s .15s cubic-bezier(.2,.75,.2,1) both;
}

.phone-screen {
  position: relative;
  border-radius: 42px;
  height: 100%;
  overflow: hidden;
  background-image: linear-gradient(180deg,#09172cb0,#07142799 48%,#061123bf),url('./assets/home/scenes/ko.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: white;
  touch-action: pan-y;
}

.phone-screen:after {
  pointer-events: none;
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px #fff2;
}

.phone-status {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  font-size: 11px;
  font-weight: 600;
}

.island {
  position: absolute;
  width: 89px;
  height: 23px;
  background: #030506;
  border-radius: 20px;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
}

.phone-top {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 7px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 650;
}

.phone-top img {
  border-radius: 8px;
}

.phone-top small {
  display: block;
  color: var(--sand);
  font-size: 9px;
  font-weight: 400;
  margin-top: 2px;
}

.demo-label {
  font-size: 8px;
  letter-spacing: 1.2px;
  border: 1px solid #fff5;
  border-radius: 20px;
  margin-left: auto;
  padding: 4px 6px;
}

.phone-modes {
  display: flex;
  align-self: center;
  gap: 3px;
  background: #03132670;
  padding: 3px;
  border-radius: 30px;
  margin-top: 12px;
}

.phone-modes button {
  border: 0;
  background: transparent;
  font-size: 12px;
  min-height: 44px;
  padding: 7px 17px;
  border-radius: 30px;
}

.phone-modes button.active {
  background: var(--sand);
  color: var(--ink);
}

.phrase-content {
  padding: 46px 16px 10px;
  flex: 1;
  min-height: 0;
}

.category {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 5px 8px;
  display: inline-block;
  border: 1px solid #fff2;
  background: #ffffff1c;
  border-radius: 30px;
}

.phrase-content h2 {
  font-family: Bricolage,Arial,sans-serif;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
  font-weight: 650;
  margin: 20px 0 10px;
}

.romanization {
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.translation {
  font-size: 21px;
  font-weight: 550;
  line-height: 1.15;
  margin: 0 0 14px;
}

.usage {
  font-size: 12px;
  line-height: 1.4;
  max-width: 240px;
  margin: auto;
}

.phone-bottom {
  padding: 8px 25px 26px;
}

.audio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
}

.round-button {
  background: #ffffff20;
  border: 1px solid #ffffff8a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  transition: transform .2s,background .2s;
}

.round-button:hover {
  transform: scale(1.07);
  background: #ffffff38;
}

.round-button svg {
  width: 24px;
  height: 24px;
}

.main-play {
  width: 64px;
  height: 64px;
}

.main-play[data-state=playing] {
  box-shadow: 0 0 0 8px #ffffff12;
}

.slow-button {
  width: 44px;
  height: 44px;
  font-size: 12px;
  border: 1px solid #ffffff70;
  background: #ffffff15;
  border-radius: 50%;
}

.slow-button:hover {
  background: #ffffff38;
}

.listen-count {
  width: 40px;
  font-size: 9px;
  line-height: 1.4;
  color: #fff;
}

.audio-status {
  font-size: 12px;
  min-height: 36px;
  padding-top: 9px;
  line-height: 1.3;
}

.next-phrase {
  border: 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  background: none;
  margin: 9px auto 0;
  padding: 0 15px;
  min-height: 44px;
}

.next-phrase span {
  font-size: 25px;
  line-height: 1;
}

.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 32%;
  right: 32%;
  height: 4px;
  background: #fff;
  border-radius: 5px;
}

.sound-rays {
  position: absolute;
  top: 67px;
  left: -48px;
  width: 54px;
  height: 90px;
  transform: rotate(-10deg);
}

.sound-rays i {
  position: absolute;
  width: 36px;
  height: 9px;
  background: var(--teal);
  border-radius: 20px;
}

.sound-rays i:nth-child(1) {
  top: 8px;
  right: 0;
  transform: rotate(60deg);
}

.sound-rays i:nth-child(2) {
  top: 39px;
  left: 0;
  transform: rotate(20deg);
}

.sound-rays i:nth-child(3) {
  top: 71px;
  left: 0;
  transform: rotate(-20deg);
}

.hero-samples {
  position: relative;
  padding-top: 124px;
  z-index: 3;
}

.sample-card {
  position: relative;
  width: 100%;
  max-width: 322px;
  min-height: 122px;
  border: 0;
  border-radius: 30px;
  padding: 24px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  color: var(--ink);
  transform: rotate(8deg);
  transition: translate .25s,box-shadow .25s;
  animation: float-card 5.5s ease-in-out 1.2s infinite;
}

.sample-card:hover {
  translate: 0 -7px;
  box-shadow: 0 14px 0 #0002;
}

.sample-card.ciao {
  background: var(--pale);
}

.sample-card.gracias {
  background: var(--sand);
  margin: 20px 0 0 18px;
  animation-delay: -1.5s;
}

.sample-card strong {
  font-size: 41px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  display: block;
}

.sample-card small {
  display: block;
  font-size: 15px;
  margin-top: 9px;
  white-space: nowrap;
}

.sample-play {
  height: 61px;
  width: 61px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  flex: none;
}

.sample-play svg {
  width: 29px;
  height: 29px;
}

.wave-hand {
  position: absolute;
  right: 27px;
  top: 38px;
  width: 115px;
  height: 110px;
  color: var(--teal);
  transform-origin: 60% 100%;
  animation: wave 4.5s 1.3s ease-in-out infinite;
}

.wave-hand svg {
  width: 100%;
  height: 100%;
}

.wave-hand>span {
  position: absolute;
  left: 100px;
  top: 30px;
  color: var(--teal);
  font-size: 36px;
  letter-spacing: 5px;
  transform: rotate(12deg);
}

.sample-hint {
  font-size: 14px;
  color: var(--sand);
  text-align: center;
  margin: 35px 0 0 12px;
  transform: rotate(4deg);
}

.sample-hint span {
  font-size: 26px;
  margin-right: 8px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 88px;
  fill: var(--sand);
  z-index: 4;
}

.app-section {
  background: var(--sand);
  color: var(--ink);
  padding: 80px 6% 54px;
}

.app-story {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 80px;
  padding-bottom: 35px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.story-copy h2,.packs-heading h2,.faq-section h2 {
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -2.6px;
  font-weight: 700;
  margin: 24px 0;
}

.story-copy em,.packs-heading em,.faq-section em,.closing em {
  font-family: Literata,Georgia,serif;
  font-weight: 550;
  font-style: normal;
}

.story-copy>p {
  max-width: 385px;
  font-size: 18px;
  line-height: 1.55;
  margin: 18px 0;
}

.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid;
  padding: 10px 0;
  margin-top: 12px;
}

.text-link svg {
  transition: transform .2s;
}

.text-link:hover svg {
  transform: translateX(6px);
}

.story-steps {
  padding-top: 35px;
}

.step {
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid #11233f30;
  padding: 30px 0;
}

.step:first-child {
  border-top: 1px solid #11233f30;
}

.step-number {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  opacity: .7;
  margin-top: 6px;
}

.step h3 {
  font-size: 25px;
  letter-spacing: -.6px;
  margin: 0 0 10px;
  font-weight: 700;
}

.step p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 340px;
}

.step-icon {
  width: 38px;
  height: 38px;
  flex: none;
  margin-left: auto;
  color: #416876;
}

.choice-mark {
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: auto;
}

.choice-mark span {
  background: var(--teal);
  border-radius: 12px;
  padding: 3px;
}

.step-heart {
  font-size: 54px;
  color: #416876;
  margin-left: auto;
}

.packs-section {
  padding: 100px 6% 110px;
}

.packs-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.packs-heading h2 {
  margin-bottom: 0;
}

.packs-heading h2 em {
  color: var(--teal);
  font-size: .94em;
}

.packs-heading>p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sand);
  margin-bottom: 2px;
}

.pack-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.language-picker {
  margin: 35px 0 26px;
}

.languages-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 12px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--pale);
  font-size: 14px;
  font-weight: 600;
}

.languages-toggle:hover {
  color: var(--white);
}

.toggle-plus {
  font-size: 22px;
  line-height: 1;
  transition: transform .2s;
}

.languages-toggle[aria-expanded=true] .toggle-plus {
  transform: rotate(45deg);
}

.pack-chip {
  background: transparent;
  border: 1px solid #ffffff40;
  color: var(--white);
  border-radius: 30px;
  padding: 11px 18px;
  min-height: 44px;
  font-size: 15px;
  transition: background .2s,color .2s,transform .2s;
}

.pack-chip:hover {
  background: #ffffff13;
  transform: translateY(-2px);
}

.pack-chip[aria-pressed=true] {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}

.pack-preview {
  border-top: 1px solid #ffffff38;
}

.pack-preview-heading {
  padding: 26px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
}

.pack-preview-heading>span+span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.pack-preview-heading svg {
  width: 17px;
  height: 17px;
}

.pack-sample {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr 55px;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  border: 0;
  border-bottom: 1px solid #ffffff2a;
  background: transparent;
  text-align: left;
  transition: background .2s;
}

.pack-sample:hover {
  background: #ffffff08;
}

.pack-native {
  font-size: 29px;
  line-height: 1.35;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.pack-native small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}

.pack-meaning {
  font-size: 19px;
  color: var(--sand);
}

.pack-sample .sample-play {
  width: 48px;
  height: 48px;
  background: var(--sand);
  color: var(--ink);
}

.pack-sample .sample-play svg {
  width: 23px;
  height: 23px;
}

.pack-sample[data-state=playing] {
  background: #7fb8c91c;
}

.pack-sample[data-state=playing] .sample-play {
  background: var(--teal);
}

.pack-audio-status {
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
  margin: 20px 26px 0;
}

.faq-section {
  padding: 100px 6%;
  background: var(--sand);
  color: var(--ink);
}

.faq-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 65px;
}

.faq-section h2 {
  font-size: 52px;
}

.faq-list details {
  border-bottom: 1px solid #11233f30;
}

.faq-list details:first-child {
  border-top: 1px solid #11233f30;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
  font-size: 20px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  font-size: 28px;
  line-height: 1;
  transition: transform .2s;
  font-weight: 400;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 40px 25px 0;
  max-width: 540px;
}

.closing {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 24px 84px;
  background: var(--teal);
  color: var(--ink);
}

.closing h2 {
  position: relative;
  font-size: clamp(48px,6vw,84px);
  letter-spacing: -3.5px;
  line-height: 1.1;
  margin: 28px 0 38px;
  z-index: 1;
}

.closing h2 em {
  font-size: .91em;
}

.closing .button {
  background: var(--ink);
  color: var(--white);
  padding: 22px 30px;
}

.closing .button:hover {
  background: #243e5f;
}

.closing-sound {
  position: absolute;
  font-size: 300px;
  color: #11233f0c;
  line-height: 1;
  right: -30px;
  top: 40px;
  transform: rotate(15deg);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 5%;
  font-size: 13px;
}

footer .brand {
  font-size: 25px;
  letter-spacing: -1px;
  gap: 9px;
}

footer>div {
  display: flex;
  align-items: center;
  gap: 25px;
}

footer button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
}

footer>span {
  color: var(--muted);
}

footer a:hover,footer button:hover {
  color: var(--teal);
}

.quiz-content {
  flex: 1;
  padding: 35px 18px 0;
}

.quiz-content h2 {
  font-size: 27px;
  line-height: 1.06;
  margin: 20px 0 16px;
  letter-spacing: -1px;
}

.quiz-replay {
  width: 45px;
  height: 45px;
  margin: 0 auto 22px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  touch-action: pan-y;
  transition: transform .15s;
}

.quiz-options button {
  border: 1px solid #fff8;
  background: #12213bc4;
  min-height: 62px;
  padding: 10px 6px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.3;
}

.quiz-options button:hover {
  background: #324863;
}

.quiz-options button.correct {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}

.quiz-options button.incorrect {
  background: var(--coral);
  color: var(--ink);
  border-color: var(--coral);
}

.quiz-feedback {
  min-height: 33px;
  font-size: 12px;
  line-height: 1.4;
  margin: 14px 0 0;
}

.swipe-hint {
  font-size: 9px;
  opacity: .8;
  margin: 8px 0 0;
}

.phone-screen.quiz-state .phone-bottom {
  padding-top: 0;
}

.phone-screen.quiz-state .audio-controls {
  display: none;
}

.phone-screen.quiz-state .audio-status {
  min-height: 18px;
  padding-top: 3px;
}

.phone-screen.quiz-state .next-phrase {
  margin-top: 8px;
}

.phone-screen.success:before {
  content: '✦';
  position: absolute;
  left: 20%;
  top: 20%;
  font-size: 36px;
  color: var(--teal);
  pointer-events: none;
  animation: celebrate .75s ease-out both;
  z-index: 3;
}

.audio-loading svg {
  animation: pulse .65s ease-in-out infinite alternate;
}

.reveal {
  opacity: 1;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s,transform .7s cubic-bezier(.2,.75,.2,1);
}

.js-motion .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes headline-in {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1deg);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes float-card {
  0%,100% {
    transform: translateY(0) rotate(8deg);
  }
  50% {
    transform: translateY(-9px) rotate(6deg);
  }
}

@keyframes wave {
  0%,15%,100% {
    transform: rotate(0);
  }
  3%,9% {
    transform: rotate(-12deg);
  }
  6%,12% {
    transform: rotate(10deg);
  }
}

@keyframes pulse {
  to {
    opacity: .35;
  }
}

@keyframes celebrate {
  0% {
    opacity: 0;
    transform: scale(.2) rotate(-40deg);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-25px,-40px) scale(1.4) rotate(30deg);
  }
}

html.motion-paused {
  scroll-behavior: auto;
}

.motion-paused *, .motion-paused *:before,.motion-paused *:after {
  animation: none!important;
  transition: none!important;
}

.motion-paused .underline path {
  stroke-dashoffset: 0;
}

.motion-paused .reveal {
  opacity: 1;
  transform: none;
}

/* The wave sits behind the working phone so every control remains reachable. */

.hero-wave {
  pointer-events: none;
  z-index: 1;
}

.hero h1 {
  letter-spacing: -3.8px;
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero-stage {
  height: 700px;
}

.phone-column {
  z-index: auto;
}

.phone-backdrop {
  z-index: 0;
}

.phone-shell {
  height: 662px;
  position: relative;
  z-index: 3;
}

.sound-rays {
  z-index: 2;
}

.phrase-content {
  padding-top: 34px;
}

@media(min-width:1550px) {
  .hero-stage {
    height: 700px;
  }
  .hero {
    padding-top: 20px;
  }
  .hero h1 {
    margin-bottom: 28px;
  }
}

@media(max-width:1150px) {
  .site-header {
    padding: 22px 4%;
    gap: 20px;
  }
  .brand {
    font-size: 29px;
  }
  .site-header>nav {
    gap: 22px;
    font-size: 14px;
  }
  .hero h1 {
    letter-spacing: -4px;
  }
  .hero-stage {
    grid-template-columns: 1fr 300px 1fr;
    gap: 25px;
    padding: 0 4%;
    height: 584px;
  }
  .phone-shell {
    width: 296px;
    height: 658px;
  }
  .hero-copy>p {
    font-size: 24px;
  }
  .main-cta {
    font-size: 17px;
    padding: 17px 21px;
    gap: 8px;
  }
  .sample-card {
    padding: 22px 20px;
    min-height: 110px;
    border-radius: 25px;
  }
  .sample-card strong {
    font-size: 34px;
  }
  .sample-card small {
    font-size: 12px;
  }
  .sample-play {
    width: 46px;
    height: 46px;
  }
  .sample-card.gracias {
    margin-left: 6px;
  }
  .sound-rays {
    left: -29px;
    transform: scale(.8) rotate(-10deg);
  }
  .sample-hint {
    font-size: 12px;
  }
  .phrase-content {
    padding-top: 34px;
  }
  .app-story {
    gap: 50px;
  }
  .story-copy h2,.packs-heading h2 {
    font-size: 50px;
  }
  .step {
    gap: 16px;
  }
  .step h3 {
    font-size: 23px;
  }
  .step-icon,.choice-mark,.step-heart {
    display: none;
  }
  .faq-layout {
    gap: 40px;
  }
  footer>span {
    display: none;
  }
}

@media(max-width:850px) {
  .site-header {
    min-height: 90px;
  }
  .site-header>nav {
    display: none;
  }
  .site-header .header-cta {
    margin-left: auto;
  }
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: 1px solid #fff4;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }
  .menu-button span {
    width: 17px;
    height: 2px;
    background: var(--white);
    transition: transform .2s;
  }
  .menu-button[aria-expanded=true] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-button[aria-expanded=true] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .site-header .mobile-nav {
    position: absolute;
    top: 80px;
    left: 4%;
    right: 4%;
    background: var(--sand);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 22px;
    gap: 22px;
    box-shadow: 0 15px 40px #0003;
  }
  .hero h1 {
    font-size: 8vw;
    letter-spacing: -3px;
    margin-top: 5px;
  }
  .hero-stage {
    grid-template-columns: 1fr 300px;
    max-width: 750px;
    height: 706px;
    gap: 20px;
  }
  .hero-copy {
    padding-top: 55px;
  }
  .hero-copy>p {
    max-width: 275px;
  }
  .hero-samples {
    position: absolute;
    left: 5%;
    width: 270px;
    top: 322px;
    padding-top: 0;
  }
  .wave-hand {
    display: none;
  }
  .sample-card {
    max-width: 250px;
    min-height: 88px;
    padding: 16px 20px;
    border-radius: 22px;
  }
  .sample-card strong {
    font-size: 30px;
  }
  .sample-card small {
    margin-top: 5px;
  }
  .sample-card.gracias {
    margin-top: 14px;
    margin-left: 17px;
  }
  .sample-hint {
    margin-top: 22px;
  }
  .phone-column {
    padding-top: 28px;
  }
  .phone-shell {
    height: 662px;
  }
  .phone-backdrop {
    width: 660px;
    height: 660px;
    top: 95px;
  }
  .sound-rays {
    display: none;
  }
  .app-story {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .story-copy h2 br {
    display: none;
  }
  .story-copy>p {
    max-width: 540px;
  }
  .story-steps {
    padding-top: 18px;
  }
  .step {
    padding: 25px 0;
  }
  .step p {
    max-width: 520px;
  }
  .step-icon,.choice-mark,.step-heart {
    display: block;
  }
  .story-copy h2,.packs-heading h2 {
    font-size: 48px;
  }
  .packs-heading {
    display: block;
  }
  .packs-heading>p {
    margin-top: 25px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq-section h2 {
    font-size: 45px;
  }
  .pack-native {
    font-size: 24px;
  }
  .pack-meaning {
    font-size: 17px;
  }
  .pack-sample {
    padding: 22px 8px;
  }
}

@media(max-width:640px) {
  :root {
    scroll-padding-top: 25px;
  }
  .site-header {
    padding: 18px 6%;
    min-height: 82px;
    gap: 14px;
  }
  .brand {
    font-size: 27px;
    letter-spacing: -1px;
    gap: 8px;
  }
  .brand img {
    width: 37px;
    height: 37px;
    border-radius: 10px;
  }
  .site-header .header-cta {
    display: none;
  }
  .menu-button {
    margin-left: auto;
    width: 44px;
    height: 44px;
  }
  .site-header .mobile-nav {
    top: 73px;
    left: 6%;
    right: 6%;
  }
  .hero {
    padding-top: 12px;
  }
  .hero h1 {
    font-size: clamp(40px,10.1vw,57px);
    letter-spacing: -2.4px;
    line-height: 1.1;
    margin: 0 15px 24px;
  }
  .hero h1>span {
    padding-bottom: 3px;
  }
  .underline {
    height: 13px;
    bottom: -5px;
  }
  .underline path {
    stroke-width: 8px;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    padding: 0 6%;
    align-items: center;
  }
  .hero-copy {
    padding: 0;
    text-align: center;
    order: 0;
    width: 100%;
  }
  .hero-copy>p {
    font-size: 19px;
    font-weight: 400;
    max-width: 330px;
    line-height: 1.4;
    margin: 0 auto 24px;
    letter-spacing: -.3px;
  }
  .desktop-break {
    display: none;
  }
  .main-cta {
    font-size: 17px;
    text-align: center;
    padding: 18px 23px;
  }
  .main-cta br {
    display: none;
  }
  .main-cta svg {
    width: 23px;
    height: 23px;
    margin-left: 2px;
  }
  .iphone-note {
    padding: 13px 0 0;
    justify-content: center;
    font-size: 13px;
    gap: 5px;
  }
  .phone-column {
    padding-top: 38px;
    width: 100%;
    order: 1;
    scroll-margin-top: 10px;
  }
  .phone-shell {
    width: 286px;
    height: 644px;
    transform: rotate(-1deg);
    border-radius: 48px;
  }
  .phone-screen {
    border-radius: 39px;
  }
  .phone-status {
    padding: 0 23px;
  }
  .phrase-content {
    padding-top: 35px;
  }
  .phrase-content h2 {
    font-size: 30px;
  }
  .phone-backdrop {
    width: 576px;
    height: 576px;
    top: 132px;
  }
  .hero-samples {
    position: relative;
    top: auto;
    left: auto;
    order: 2;
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 430px;
    padding-top: 28px;
    padding-bottom: 95px;
    align-items: center;
    justify-content: center;
  }
  .sample-card {
    min-height: 82px;
    width: 50%;
    padding: 15px 13px;
    gap: 7px;
    max-width: none;
    border-radius: 19px;
    transform: rotate(-5deg);
    animation: none;
  }
  .sample-card.gracias {
    margin: 0;
    transform: rotate(6deg);
  }
  .sample-card strong {
    font-size: 27px;
    letter-spacing: -1.5px;
  }
  .sample-card small {
    font-size: 10px;
    white-space: normal;
    line-height: 1.3;
  }
  .sample-play {
    width: 34px;
    height: 34px;
  }
  .sample-play svg {
    width: 21px;
    height: 21px;
  }
  .sample-hint {
    display: none;
  }
  .hero-wave {
    height: 51px;
  }
  .app-section {
    padding: 48px 7% 44px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .story-copy h2,.packs-heading h2 {
    font-size: 43px;
    letter-spacing: -2px;
    margin: 21px 0;
  }
  .story-copy h2 br {
    display: initial;
  }
  .story-copy>p {
    font-size: 16px;
  }
  .text-link {
    font-size: 15px;
  }
  .app-story {
    gap: 9px;
    padding-bottom: 10px;
  }
  .step {
    gap: 15px;
    padding: 24px 0;
  }
  .step h3 {
    font-size: 22px;
  }
  .step p {
    font-size: 15px;
  }
  .step-number {
    font-size: 11px;
  }
  .step-icon,.choice-mark,.step-heart {
    display: none;
  }
  .packs-section {
    padding: 65px 7%;
  }
  .packs-heading {
    margin-bottom: 26px;
  }
  .packs-heading h2 {
    font-size: 43px;
    margin-bottom: 20px;
  }
  .packs-heading>p {
    font-size: 15px;
  }
  .pack-picker {
    gap: 8px;
  }
  .language-picker {
    margin: 28px 0 20px;
  }
  .pack-chip {
    font-size: 14px;
    padding: 10px 12px;
  }
  .pack-preview-heading {
    font-size: 16px;
    gap: 10px;
  }
  .pack-preview-heading>span+span {
    font-size: 12px;
    gap: 5px;
  }
  .pack-preview-heading svg {
    width: 14px;
  }
  .pack-sample {
    grid-template-columns: 1fr 40px;
    gap: 10px;
    padding: 23px 3px;
    position: relative;
  }
  .pack-native {
    font-size: 25px;
    grid-column: 1;
    grid-row: 1;
  }
  .pack-native small {
    font-size: 14px;
    margin-top: 7px;
  }
  .pack-meaning {
    grid-column: 1;
    grid-row: 2;
    font-size: 15px;
  }
  .pack-sample .sample-play {
    grid-column: 2;
    grid-row: 1/3;
    width: 44px;
    height: 44px;
  }
  .pack-audio-status {
    margin-left: 0;
    font-size: 14px;
  }
  .faq-section {
    padding: 65px 7%;
  }
  .faq-section h2 {
    font-size: 42px;
    letter-spacing: -2px;
    margin-bottom: 16px;
  }
  .faq-section h2 br {
    display: block;
  }
  .faq-list summary {
    font-size: 17px;
    padding: 21px 0;
  }
  .faq-list details p {
    font-size: 15px;
    margin-right: 10px;
  }
  .closing {
    padding: 65px 6% 56px;
  }
  .closing h2 {
    font-size: 45px;
    letter-spacing: -2px;
    margin: 24px 0 30px;
  }
  .closing .button {
    font-size: 15px;
    padding: 20px;
    gap: 8px;
  }
  .closing .button svg {
    width: 20px;
  }
  .closing-sound {
    font-size: 230px;
    top: 60px;
    right: -100px;
  }
  footer {
    padding: 30px 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  footer>div {
    gap: 28px;
    font-size: 14px;
  }
  footer .brand {
    font-size: 25px;
  }
  .quiz-content {
    padding-top: 28px;
  }
  .quiz-content h2 {
    font-size: 25px;
    margin-top: 17px;
  }
  .quiz-replay {
    margin-bottom: 16px;
  }
  .quiz-options button {
    font-size: 12px;
    min-height: 59px;
  }
}

@media(max-width:360px) {
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.8px;
  }
  .hero-copy>p {
    font-size: 17px;
  }
  .main-cta {
    font-size: 14px;
    padding: 17px 18px;
  }
  .phone-shell {
    width: 272px;
    height: 634px;
  }
  .sample-card {
    padding: 13px 10px;
  }
  .sample-card strong {
    font-size: 23px;
  }
  .sample-card small {
    font-size: 9px;
  }
  .sample-play {
    width: 29px;
    height: 29px;
  }
  .closing .button {
    font-size: 13px;
  }
  .hero-samples {
    gap: 10px;
  }
}

@media(min-width:851px) and (max-width:1150px) {
  .hero-stage {
    height: 698px;
  }
}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }
  .underline path {
    stroke-dashoffset: 0;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Finishing details: stable controls, larger touch targets, and clear playback state. */
.brand {
  min-height: 44px;
}
.site-header nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-header .mobile-nav {
  gap: 8px;
}
footer>div a, footer button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.phone-modes button.is-ready:not(.active) {
  box-shadow: inset 0 0 0 1px var(--teal);
}
.audio-track {
  height: 2px;
  margin-top: 12px;
  background: #ffffff24;
  overflow: hidden;
  border-radius: 2px;
}
.audio-track span {
  display: block;
  height: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
}
.quiz-state .audio-track {
  margin-top: 6px;
}
.quiz-options button.correct svg {
  width: 16px;
  height: 16px;
  margin: 5px auto 0;
}
.quiz-options button[aria-disabled=true] {
  cursor: default;
}
.sample-card:hover, .sample-card:focus-visible, .sample-card[data-state=playing], .sample-card[data-state=loading] {
  animation-play-state: paused;
}
.sample-card[data-state=playing] .sample-play {
  box-shadow: 0 0 0 5px #11233f20;
}
.hero-samples.out-of-view *, .phone-backdrop.out-of-view, .page-hidden * {
  animation-play-state: paused !important;
}
.js-motion .reveal:focus-within {
  opacity: 1;
  transform: none;
}
.phone-screen button:focus-visible {
  outline-offset: 2px;
}
.pack-sample:focus-visible {
  outline-offset: -3px;
}
@media(hover:none) {
  .sample-card:hover {
    translate: none;
    box-shadow: none;
  }
  .button:hover, .round-button:hover, .pack-chip:hover {
    transform: none;
  }
}
.phrase-lists-link {
  margin: 30px 0 0;
}
.phrase-lists-link .text-link {
  color: var(--teal);
  margin: 0;
}
.closing-contact {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  margin: 34px auto 0;
  padding: 10px 0;
  font-size: 15px;
}
.closing-contact strong {
  border-bottom: 1px solid;
}
footer>div {
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 22px;
  row-gap: 0;
}
