:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --brand: #0071e3;
  --brand-2: #0077ed;
  --radius-lg: 28px;
  --radius-md: 18px;
  --section-y: 4rem;
  --section-y-mobile: 2.8rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

.container {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.main-content {
  position: relative;
}

.top-scene {
  --scene-progress: 0;
  --scene-visual-opacity: 1;
  --scene-concept-opacity: 0;
  position: relative;
  min-height: 500vh;
  overflow: clip;
}

.top-scene-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  display: grid;
  align-items: stretch;
}

.top-scene-stage {
  position: relative;
  min-height: 100%;
}

.top-scene-visual {
  position: absolute;
  inset: 0;
  opacity: var(--scene-visual-opacity);
  transform:
    translateY(calc(var(--scene-progress) * -48px)) scale(calc(1 - (var(--scene-progress) * 0.06)));
  transition: opacity 120ms linear;
}

.top-scene .phrase-marquee {
  position: absolute;
  inset: 0;
  margin-top: 0;
  padding: 0.4rem 0;
}

.top-scene .phrase-pill {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  color: var(--muted);
}

.top-scene-concept {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-content: center;
  gap: 0.85rem;
  padding: 0 1rem;
  text-align: center;
  opacity: var(--scene-concept-opacity);
  transform: translateY(calc(28px - (var(--scene-progress) * 28px)));
  transition: opacity 280ms ease;
  pointer-events: none;
}

.top-scene-concept::before {
  content: none;
}

.top-scene-kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #4f78a8;
}

.top-scene-title {
  margin: 0;
  display: grid;
  gap: 0.08em;
  font-size: clamp(2rem, 7.2vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #091325;
}

.top-scene-title-line {
  display: block;
}

.top-scene-lead {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 500;
  color: #3f4d62;
}

.top-scene-kicker,
.top-scene-title-line,
.top-scene-lead {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(9px);
}

.top-scene.concept-visible .top-scene-kicker {
  animation: concept-fade-up 520ms cubic-bezier(.2, .8, .2, 1) both;
}

.top-scene.concept-visible .top-scene-title-line:nth-child(1) {
  animation: concept-fade-up 620ms cubic-bezier(.2, .8, .2, 1) 80ms both;
}

.top-scene.concept-visible .top-scene-title-line:nth-child(2) {
  animation: concept-fade-up 620ms cubic-bezier(.2, .8, .2, 1) 170ms both;
}

.top-scene.concept-visible .top-scene-lead {
  animation: concept-fade-up 560ms cubic-bezier(.2, .8, .2, 1) 260ms both;
}

.top-phone-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(304px, 66vw);
  margin: 0;
  pointer-events: none;
}

.top-phone-overlay img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgb(10 40 84 / 24%));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  background: rgb(250 250 252 / 88%);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  position: static;
  gap: 1.2rem;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.8rem;
  text-align: center;
  position: static;
  left: auto;
  top: auto;
  transform: none;
  white-space: nowrap;
  overflow: hidden;
}

.nav a:not(.btn-nav) {
  font-size: 0.9rem;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
}

.store-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  height: 40px;
  overflow: hidden;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 40px;
}

.google-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  height: 40px;
  overflow: hidden;
}

.google-play-badge {
  display: block;
  width: auto;
  height: 52px;
  margin: -6px 0 -6px;
  clip-path: inset(0 round 6px);
}

html[data-badge-profile="latin"] .app-store-badge {
  height: 42px;
  margin: -1px 0;
}

html[data-badge-profile="latin"] .google-play-badge {
  height: 56px;
  margin: -8px 0 -8px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.95rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
}

.hero {
  padding: 4rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  color: var(--muted);
  max-width: 42rem;
}

.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.audience-row span {
  border: 1px solid #cbe2ff;
  background: #eef6ff;
  color: #2c5a8d;
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--brand);
}

.btn-dark {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.mini-card {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.mini-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #49709a;
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stats article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  background: #f7fbff;
}

.stats h3 {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.stats p {
  font-size: 0.86rem;
  color: var(--muted);
}

.quick-strip {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.7rem;
  align-items: stretch;
}

.quick-strip article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
}

.quick-strip h3 {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.quick-strip p {
  font-size: 0.84rem;
  color: var(--muted);
}

.quick-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  padding: 0.75rem 0.95rem;
}

.story-section {
  position: relative;
  overflow: clip;
  color: #ecf5ff;
  background:
    radial-gradient(circle at 12% 18%, rgb(59 127 219 / 36%), transparent 45%),
    radial-gradient(circle at 86% 12%, rgb(61 181 244 / 30%), transparent 48%),
    linear-gradient(140deg, #041222 0%, #0a2850 46%, #11508a 100%);
  transition: background 720ms ease;
}

.story-section.phase-1 {
  background:
    radial-gradient(circle at 12% 18%, rgb(59 127 219 / 36%), transparent 45%),
    radial-gradient(circle at 86% 12%, rgb(61 181 244 / 30%), transparent 48%),
    linear-gradient(140deg, #041222 0%, #0a2850 46%, #11508a 100%);
}

.story-section.phase-2 {
  background:
    radial-gradient(circle at 24% 20%, rgb(40 167 180 / 34%), transparent 44%),
    radial-gradient(circle at 92% 14%, rgb(77 137 233 / 28%), transparent 47%),
    linear-gradient(140deg, #06182b 0%, #073c54 50%, #0c6b7a 100%);
}

.story-section.phase-3 {
  background:
    radial-gradient(circle at 8% 24%, rgb(114 153 255 / 26%), transparent 46%),
    radial-gradient(circle at 83% 9%, rgb(83 220 255 / 34%), transparent 44%),
    linear-gradient(140deg, #0d1734 0%, #15396a 51%, #1f6faf 100%);
}

.story-section.phase-4 {
  background:
    radial-gradient(circle at 15% 17%, rgb(58 150 255 / 30%), transparent 46%),
    radial-gradient(circle at 88% 14%, rgb(130 198 255 / 36%), transparent 45%),
    linear-gradient(140deg, #11192f 0%, #234074 52%, #2f649e 100%);
}

.story-section.phase-5 {
  background:
    radial-gradient(circle at 11% 19%, rgb(87 180 253 / 34%), transparent 45%),
    radial-gradient(circle at 90% 13%, rgb(70 147 224 / 34%), transparent 46%),
    linear-gradient(140deg, #0a1631 0%, #17467a 48%, #1569a3 100%);
}

.story-section .eyebrow {
  color: #abd1f5;
}

.story-section h2 {
  color: #f4f9ff;
}

.story-section .section-lead {
  color: #bfdcf8;
  max-width: 55rem;
}

.story-layout {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.story-stage-wrap {
  position: sticky;
  top: calc(72px + 1rem);
  align-self: start;
  height: calc(100vh - 72px - 2rem);
  display: grid;
  align-content: center;
}

.story-stage {
  position: relative;
  min-height: 100%;
  height: 100%;
  border: 1px solid rgb(200 225 255 / 33%);
  border-radius: 30px;
  background: linear-gradient(160deg, rgb(7 17 35 / 74%), rgb(8 24 46 / 89%));
  padding: 0.95rem;
  display: grid;
  grid-template-rows: 1fr auto;
  box-shadow: 0 30px 80px rgb(2 8 18 / 34%);
}

.story-glow {
  position: absolute;
  inset: -26% -30%;
  background: radial-gradient(circle, rgb(120 178 255 / 40%) 0%, transparent 68%);
  filter: blur(38px);
  opacity: 0.75;
  pointer-events: none;
}

.story-device {
  position: relative;
  z-index: 1;
  border: 1px solid rgb(212 230 255 / 30%);
  border-radius: 24px;
  background: linear-gradient(170deg, rgb(8 20 37 / 94%), rgb(12 34 64 / 80%));
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.story-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.78rem;
}

.story-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec6ed;
  font-weight: 700;
}

.story-index {
  color: #d2e8ff;
  font-weight: 700;
}

.story-preview {
  position: relative;
  margin: 0 auto;
  width: min(58%, 248px);
  border-radius: 24px;
  border: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 620ms cubic-bezier(.2, .8, .2, 1), box-shadow 620ms ease, filter 620ms ease;
  transform-origin: center top;
}

.story-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.story-preview-stack {
  position: relative;
  aspect-ratio: 9 / 18.4;
  background: transparent;
}

.story-preview-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 420ms ease, transform 420ms ease;
}

.story-section[data-active-step="1"] .story-preview-stack img:nth-child(1),
.story-section[data-active-step="2"] .story-preview-stack img:nth-child(2),
.story-section[data-active-step="3"] .story-preview-stack img:nth-child(3),
.story-section[data-active-step="4"] .story-preview-stack img:nth-child(4) {
  opacity: 1;
  transform: scale(1);
}

.story-preview::after {
  content: none;
}

.story-section.phase-1 .story-preview {
  transform: translateY(0) rotate(-1.2deg) scale(1);
}

.story-section.phase-2 .story-preview {
  transform: translateY(-4px) rotate(-0.4deg) scale(1.02);
}

.story-section.phase-3 .story-preview {
  transform: translateY(-8px) rotate(0.2deg) scale(1.04);
}

.story-section.phase-4 .story-preview {
  transform: translateY(-5px) rotate(0.9deg) scale(1.03);
}

.story-section.phase-5 .story-preview {
  transform: translateY(0) rotate(1.2deg) scale(1.01);
  box-shadow: 0 22px 56px rgb(8 21 45 / 62%);
  filter: saturate(1.08);
}

.story-panes {
  position: relative;
  min-height: 232px;
}

.story-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 460ms ease, transform 560ms ease;
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.story-pane-title {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #95bee7;
  font-size: 0.76rem;
  font-weight: 700;
}

.story-pane h3 {
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  line-height: 1.08;
}

.story-pane p {
  color: #c4def9;
}

.story-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.story-chip {
  border-radius: 999px;
  border: 1px solid rgb(198 224 255 / 45%);
  background: rgb(123 184 255 / 12%);
  color: #d8ebff;
  padding: 0.3rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.story-dots {
  display: none;
}

.story-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgb(180 214 245 / 70%);
  background: transparent;
  opacity: 0.56;
  cursor: pointer;
  transition: transform 280ms ease, opacity 280ms ease, background 280ms ease;
}

.story-dot.is-active {
  transform: scale(1.34);
  opacity: 1;
  background: #c4e4ff;
}

.story-scroll {
  display: grid;
  gap: 2.8rem;
}

.story-step {
  min-height: 92vh;
  border-left: 1px solid rgb(197 225 255 / 46%);
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.34;
  transform: translateY(16px);
  transition: opacity 440ms ease, transform 440ms ease, border-color 440ms ease;
}

.story-step:last-child {
  min-height: 118vh;
  margin-bottom: 14vh;
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: #cbe5ff;
}

.story-step-no {
  margin-bottom: 0.26rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #98c2ea;
  font-weight: 700;
}

.story-step h3 {
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  margin-bottom: 0.65rem;
  color: #f4f9ff;
}

.story-step p {
  color: #c4ddf8;
  max-width: 36rem;
}

.section {
  padding: var(--section-y) 0;
}

.proof-marquee-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.proof-marquee-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.proof-marquee {
  position: absolute;
  inset: -20% -12%;
  margin-top: 0;
  gap: 1.2rem;
  opacity: 0.3;
  transform: rotate(-4deg) scale(1.06);
}

.proof-marquee .phrase-pill {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  color: rgb(29 29 31 / 34%);
}

.proof-marquee-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 46%, rgb(255 255 255 / 10%), transparent 38%),
    linear-gradient(90deg, rgb(255 255 255 / 94%) 0%, rgb(255 255 255 / 66%) 54%, rgb(255 255 255 / 94%) 100%);
}

.proof-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: 1.3rem;
  align-items: center;
}

.proof-copy h2 {
  max-width: 13ch;
}

.proof-copy .section-lead {
  max-width: 52ch;
}

.proof-points {
  margin: 1rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.proof-points li {
  line-height: 1.45;
}

.proof-figure {
  margin: 0;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 28px 40px rgb(11 42 86 / 20%));
}

.proof-figure img {
  width: 100%;
  display: block;
  border-radius: 30px;
  transform: translateY(-10px);
}

.section-soft {
  background: #f8f8fa;
  border-top: 1px solid #e5e5ea;
  border-bottom: 1px solid #e5e5ea;
}

.apple-lines {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: var(--ink);
}

.apple-lines .eyebrow {
  color: var(--muted);
}

.apple-lines h2 {
  max-width: 18ch;
}

.apple-lines-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
}

.apple-lines-list p {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #3a3a3c;
}

.apple-lines-list p:nth-child(3n) {
  color: #1d1d1f;
}

.languages-section {
  position: relative;
  background:
    radial-gradient(120% 110% at 50% -8%, #fff 0%, #f2f5ff 44%, #eef3ff 100%);
}

.languages-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 66%) 0%, rgb(255 255 255 / 0%) 44%),
    radial-gradient(60% 48% at 50% -5%, rgb(108 100 255 / 16%) 0%, transparent 72%);
}

.languages-section .container {
  position: relative;
  z-index: 1;
}

.languages-section .eyebrow,
.languages-section h2,
.languages-section .lang-sub {
  text-align: center;
}

.languages-hero {
  margin-top: 0.35rem;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
}

.lang-count {
  font-size: clamp(7.5rem, 16vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #20242b;
  text-shadow: 0 10px 28px rgb(32 36 43 / 16%);
}

.lang-label {
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  color: #40485c;
  font-weight: 600;
}

.languages-section h2 {
  max-width: 20ch;
  margin-top: 1.8rem;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  word-break: keep-all;
  font-family: "Noto Sans JP", "Noto Sans", "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
  text-transform: none;
}

.lang-sub {
  margin-top: 1rem;
  max-width: 46rem;
  color: #4b556f;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: "Noto Sans JP", "Noto Sans", "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
}

html[lang="en"] .languages-section h2,
html[lang="en"] .lang-sub {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lang-map-card {
  margin-top: 1.3rem;
  border: 1px solid rgb(115 129 179 / 20%);
  border-radius: 18px;
  background: rgb(255 255 255 / 54%);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.lang-map-head {
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid rgb(115 129 179 / 16%);
  text-align: left;
}

.lang-map-head h3 {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #1f2d49;
}

.lang-map-head p {
  margin: 0.35rem 0 0;
  color: #4f5a73;
  font-size: 0.9rem;
}


.world-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lang-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #165dff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgb(22 93 255 / 44%);
  transform: translate(-50%, -50%);
  animation: lang-pin-pulse 2.4s ease-out infinite;
}

.lang-map-pin::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.73rem;
  line-height: 1;
  color: #fff;
  background: rgb(28 34 52 / 90%);
  border-radius: 999px;
  padding: 0.35rem 0.52rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.lang-map-pin:hover::after {
  opacity: 1;
}

.lang-map-legend {
  margin: 0;
  padding: 0.9rem 0.95rem 1rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.lang-map-legend li {
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: rgb(255 255 255 / 66%);
  border: 1px solid rgb(115 129 179 / 16%);
}

.lang-map-legend strong {
  font-size: 0.83rem;
  color: #1f2d49;
}

.lang-map-legend span {
  font-size: 0.77rem;
  color: #4f5a73;
}

.lang-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 0;
  border: 1px solid rgb(115 129 179 / 20%);
  border-radius: 18px;
  overflow: hidden;
  background: rgb(255 255 255 / 52%);
  backdrop-filter: blur(14px);
}

.lang-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  min-height: 56px;
  border-radius: 0;
  padding: 0.65rem 0.78rem;
  background: rgb(255 255 255 / 34%);
  border-right: 1px solid rgb(115 129 179 / 16%);
  border-bottom: 1px solid rgb(115 129 179 / 16%);
  color: #1f2d49;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, filter 0.2s ease;
}

.lang-flag-img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  display: block;
}

.lang-badge:hover {
  background: rgb(255 255 255 / 72%);
  filter: brightness(1.05);
}

.lang-badge.is-hidden {
  display: none;
}

@keyframes lang-pin-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(22 93 255 / 44%);
  }

  70% {
    box-shadow: 0 0 0 10px rgb(22 93 255 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(22 93 255 / 0%);
  }
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.014em;
  font-weight: 600;
}

.section-header-headline {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.js-stagger-enabled .section-header-headline {
  opacity: 0.16;
  filter: blur(6px);
  transform: translateY(42px) scale(0.97);
  transform-origin: 50% 100%;
  transition:
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 760ms ease;
  will-change: opacity, transform, filter;
}

.js-stagger-enabled .section-header-headline.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.section-lead {
  margin-top: 0.8rem;
  max-width: 46rem;
  color: var(--muted);
}

.feature-grid,
.matrix-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card,
.matrix-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.feature-card h3,
.matrix-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
}

.matrix-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.32rem;
}

.matrix-card li {
  color: var(--muted);
}

.overview-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.overview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.overview-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.overview-card p {
  color: var(--muted);
}

.feature-list-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-list-grid-single {
  grid-template-columns: 1fr;
  width: min(100%, 980px);
}

.feature-item-summary p {
  font-size: 1rem;
  line-height: 1.75;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 1px 0 #ececf2;
}

.overview-card,
.feature-item,
.matrix-card,
.quote-card,
.steps li,
.exam-band {
  position: relative;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.overview-card::after,
.feature-item::after,
.matrix-card::after,
.quote-card::after,
.steps li::after,
.exam-band::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgb(56 134 255 / 0%);
  pointer-events: none;
  transition: border-color 0.28s ease, transform 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {

  .overview-card:hover,
  .feature-item:hover,
  .matrix-card:hover,
  .quote-card:hover,
  .steps li:hover,
  .exam-band:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgb(17 63 124 / 12%);
    border-color: #c7ddfb;
  }

  .overview-card:hover::after,
  .feature-item:hover::after,
  .matrix-card:hover::after,
  .quote-card:hover::after,
  .steps li:hover::after,
  .exam-band:hover::after {
    border-color: rgb(56 134 255 / 62%);
    transform: scale(1.01);
  }

  .quote-card:hover::after {
    border-color: transparent;
    transform: none;
  }

  .quote-card:hover {
    border-color: var(--line);
  }
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.feature-no {
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #b8d7ff;
  background: #edf5ff;
  color: #23558d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
}

.feature-item h3 {
  font-size: 1.04rem;
}

.feature-item p {
  color: var(--muted);
}

.feature-item>p:first-of-type {
  font-weight: 600;
  line-height: 1.45;
}

.fit-section {
  background: #f8f8fa;
}

.fit-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.fit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.fit-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.fit-card p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.fit-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fit-tags li {
  border-radius: 999px;
  border: 1px solid #d8e8fc;
  background: #edf5ff;
  color: #23558d;
  padding: 0.28rem 0.62rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.fit-tags li[data-i18n^="fit.1."],
.fit-tags li[data-i18n^="fit.2."] {
  border-color: #d8e8fc;
  background: #edf5ff;
  color: #23558d;
}

.fit-tags li[data-i18n^="fit."] {
  border-color: #d2d2d7;
  background: #f5f5f7;
  color: #6e6e73;
}

.evidence {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.evidence code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82em;
  background: #edf5ff;
  border: 1px solid #d8e8fc;
  border-radius: 7px;
  padding: 0.15rem 0.35rem;
}

.phrase-marquee {
  margin-top: 1.6rem;
  overflow: hidden;
  display: grid;
  gap: 0.95rem;
  position: relative;
  z-index: 1;
}

.phrase-track {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  animation: phrase-rtl 34s linear infinite;
}

.phrase-track-alt {
  animation-duration: 42s;
}

.phrase-track-fast {
  animation-duration: 28s;
}

/* The first 3 tracks contain far more pills, so slow them down to match later rows. */
.phrase-marquee>.phrase-track:nth-of-type(-n + 3) {
  animation-duration: 240s;
}

.phrase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
}

.quote-marquee {
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  padding-block: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 100%;
}

.quote-marquee::before,
.quote-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 80px);
  pointer-events: none;
  z-index: 2;
}

.quote-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgb(250 252 255 / 0%) 100%);
}

.quote-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgb(250 252 255 / 0%) 100%);
}

.quote-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  animation: voices-ltr 34s linear infinite;
  will-change: transform;
}

.quote-track-reverse {
  animation-name: voices-rtl;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 0 0 clamp(280px, 30vw, 380px);
  width: clamp(280px, 30vw, 380px);
  min-height: 210px;
  animation: quote-drift 5.8s ease-in-out infinite;
}

.quote-card:nth-child(3n + 2) {
  animation-delay: -1.9s;
}

.quote-card:nth-child(3n + 3) {
  animation-delay: -3.8s;
}

.quote-card p {
  color: var(--muted);
}

.quote-card h3 {
  font-size: 1rem;
  margin-top: auto;
}

.quote-card span {
  font-size: 0.86rem;
  color: var(--muted);
}

.exam-band {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.exam-band h3 {
  font-size: 1.04rem;
  margin-bottom: 0.25rem;
}

.exam-band p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.8rem;
}

.steps span {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--muted);
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.steps p {
  font-size: 0.94rem;
  color: var(--muted);
}

.faq-section {
  background: #fbfbfd;
}

.faq-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-list {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.22s ease;
}

.faq-item:hover {
  border-color: #93c5fd;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  color: #111827;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  transition: background-color 0.22s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #4b5563;
  border-bottom: 2px solid #4b5563;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%) rotate(-45deg);
}

.faq-item.is-open .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 1.4rem 1.15rem;
}

.faq-answer p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.pricing-section {
  background: linear-gradient(180deg, #f8f8fa 0%, #f2f2f7 100%);
  border-top: 1px solid #e5e5ea;
  padding: clamp(4.4rem, 7vw, 5.8rem) 0 clamp(4rem, 6vw, 5.2rem);
}

.pricing-wrap {
  width: min(1400px, 100%);
}

.pricing-head {
  text-align: center;
  margin-bottom: clamp(2.1rem, 3vw, 3rem);
}

.pricing-head h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: clamp(0.95rem, 1.8vw, 1.5rem);
}

.billing-toggle {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d2d2d7;
  box-shadow: 0 8px 20px rgb(0 0 0 / 7%);
}

.billing-btn {
  border: 0;
  background: transparent;
  color: #5f6676;
  border-radius: 999px;
  padding: 0.7rem 1.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.billing-btn:hover {
  color: #161c27;
}

.billing-btn.is-active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 16px rgb(0 113 227 / 24%);
}

.pricing-grid {
  margin: 0 auto;
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 28px;
  box-shadow: 0 16px 34px rgb(0 0 0 / 8%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgb(0 0 0 / 12%);
}

.plan-card-inner {
  padding: 2.2rem 1.8rem 1.7rem;
}

.plan-card h3 {
  font-size: clamp(2rem, 2.1vw, 2.7rem);
  margin-bottom: 0.35rem;
  line-height: 1.12;
}

.plan-sub {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.1vw, 1.45rem);
  margin-bottom: 1.2rem;
  line-height: 1.45;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.plan-price-value {
  font-size: clamp(3.3rem, 5vw, 5.1rem);
  font-weight: 800;
  color: #141b2a;
  line-height: 1;
}

.plan-price-cycle {
  color: #656c7c;
  font-size: clamp(1.6rem, 2.1vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.plan-saving {
  min-height: 2.1rem;
  margin: 0 auto 1.2rem;
  text-align: center;
  color: #2554d2;
  font-size: clamp(1rem, 0.95vw, 1.3rem);
  font-weight: 700;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  background: #dce8ff;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  padding: 1.05rem 1rem;
  font-size: clamp(1.25rem, 1.45vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1.15rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.plan-cta-light {
  background: #eef2f7;
  color: #1c2433;
}

.plan-cta-light:hover {
  background: #e4ebf5;
}

.plan-cta-strong {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgb(0 113 227 / 24%);
}

.plan-cta-strong:hover {
  box-shadow: 0 14px 24px rgb(0 113 227 / 32%);
}

.plan-meta {
  margin: 0 0 0.8rem;
  font-weight: 700;
  font-size: clamp(1.22rem, 1.25vw, 1.65rem);
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #4f5667;
  font-size: clamp(1.16rem, 1.1vw, 1.5rem);
  line-height: 1.5;
}

.plan-features li::before {
  content: "✓";
  color: #1773d5;
  font-weight: 800;
  line-height: 1;
  margin-top: 0.26rem;
  font-size: 1.25em;
}

.plan-card-featured {
  border: 3px solid #0071e3;
  transform: scale(1.03);
}

.plan-card-featured:hover {
  transform: translateY(-6px) scale(1.03);
}

.plan-badge {
  margin: 0;
  border-radius: 24px 24px 0 0;
  text-align: center;
  font-size: clamp(0.96rem, 0.95vw, 1.25rem);
  font-weight: 800;
  padding: 0.5rem 0.75rem;
  color: #fff;
  background: #0071e3;
}


.site-footer {
  border-top: 0;
  background: #fbfbfd;
  color: #6e6e73;
  padding: clamp(5.5rem, 10vw, 8rem) 0;
}

.site-footer p {
  font-size: 0.85rem;
}

.footer-meta {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem 2.4rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #dde1e8;
  border-radius: 26px;
  min-height: clamp(220px, 34vw, 320px);
  padding: clamp(2.4rem, 5.2vw, 4rem) clamp(2rem, 6vw, 4.8rem);
  box-shadow: 0 10px 24px rgb(0 0 0 / 6%);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-info {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: min(360px, 100%);
  flex: 1 1 360px;
}

.footer-link {
  font-size: 0.86rem;
  color: #3c3c43;
  text-decoration: none;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  border: 1px solid #d9e3f0;
  background: #f2f6fc;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  background: #e9f1ff;
  color: #0f5cc2;
}

.footer-link-apply {
  color: #fff;
  background: #1f64e0;
}

.footer-link-apply:hover {
  background: #0f57d2;
  color: #fff;
}

.footer-inline-form {
  flex: 1 1 430px;
  min-width: min(430px, 100%);
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid #dbe4f1;
  border-radius: 18px;
  background: #f7faff;
}

.footer-inline-title {
  margin: 0;
  font-size: 0.94rem;
  color: #1c2f49;
  font-weight: 700;
}

.footer-inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.footer-inline-form input,
.footer-inline-form textarea {
  width: 100%;
  font: inherit;
  border: 1px solid #cfdced;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  color: #1d2733;
  background: #fff;
}

.footer-inline-form textarea {
  resize: vertical;
  min-height: 88px;
}

.footer-inline-form input:focus,
.footer-inline-form textarea:focus {
  outline: none;
  border-color: #6b9de5;
  box-shadow: 0 0 0 3px rgb(43 117 227 / 15%);
}

.footer-inline-submit {
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  background: #1f64e0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}

.footer-inline-submit:hover {
  background: #1257d3;
}

.footer-inline-note {
  margin: 0;
  font-size: 0.78rem;
  color: #5f6f85;
}

.apple-footer {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, #f5f8ff 0%, #eff3fa 42%, #e8edf6 100%);
  border-top: 1px solid #d7dde8;
  color: #1d1d1f;
}

.apple-footer-content {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.2rem, 6vw, 5.8rem) 0 clamp(2rem, 4vw, 3.2rem);
}

.apple-footer-form-section {
  margin-bottom: clamp(1.7rem, 3.4vw, 2.8rem);
}

.apple-inline-form {
  padding: clamp(1.3rem, 2.3vw, 2rem);
  border-radius: 24px;
  border: 1px solid rgb(255 255 255 / 72%);
  background: linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(247 250 255 / 84%) 100%);
  box-shadow:
    0 18px 42px rgb(10 26 58 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 90%);
  backdrop-filter: saturate(150%) blur(10px);
}

.apple-form-title {
  margin: 0 0 0.95rem;
  font-size: clamp(1.12rem, 1.7vw, 1.48rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #161617;
}

.apple-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apple-form-group {
  margin: 0;
}

.apple-form-group-wide {
  grid-column: 1 / -1;
}

.apple-input {
  width: 100%;
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.42;
  color: #1d1d1f;
  background: rgb(255 255 255 / 92%);
  border: 1px solid #ccd5e5;
  border-radius: 12px;
  padding: 0.78rem 0.92rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.apple-input::placeholder {
  color: #7c8496;
}

.apple-input:hover {
  border-color: #b8c4da;
}

.apple-input:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgb(0 113 227 / 13%);
  background: #fff;
}

.apple-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7c8496 50%),
    linear-gradient(135deg, #7c8496 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
  cursor: pointer;
}

.apple-textarea {
  margin-top: 0.75rem;
  min-height: 120px;
  resize: vertical;
}

.apple-char-count {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #7b8394;
  text-align: right;
}

.apple-form-actions {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1rem;
  flex-wrap: wrap;
}

.apple-submit-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.72rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(180deg, #1a83f6 0%, #0071e3 100%);
  box-shadow:
    0 10px 22px rgb(0 113 227 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 30%);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.apple-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgb(0 113 227 / 34%),
    inset 0 1px 0 rgb(255 255 255 / 34%);
  filter: saturate(1.02);
}

.apple-submit-btn:active {
  transform: translateY(0);
}

.apple-form-note {
  margin: 0;
  font-size: 0.82rem;
  color: #687184;
}

.apple-footer-legal {
  border-top: 1px solid #d7dde8;
  padding-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  flex-wrap: wrap;
}

.apple-legal-copyright {
  font-size: 0.76rem;
  color: #7b7b85;
}

.apple-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.apple-legal-link {
  position: relative;
  font-size: 0.76rem;
  color: #6f6f77;
  transition: color 180ms ease;
  padding: 0 0.6rem;
}

.apple-legal-link:first-child {
  padding-left: 0;
}

.apple-legal-link:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0.65rem;
  transform: translateY(-50%);
  background: #cfd5e0;
}

.apple-legal-link:hover {
  color: #1d1d1f;
}

.floating-app-cta {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  padding: 0.72rem 1.05rem 0.72rem 0.72rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2761e7 0%, #6f58e6 100%);
  box-shadow: 0 18px 36px rgb(39 97 231 / 34%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.floating-app-cta:hover {
  transform: translateX(-50%) translateY(-1px) scale(1.02);
  box-shadow: 0 22px 38px rgb(39 97 231 / 40%);
  filter: saturate(1.03);
}

.floating-app-cta:active {
  transform: translateX(-50%) translateY(0) scale(0.99);
}

.floating-app-cta-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 24%);
  position: relative;
}

.floating-app-cta-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.56rem solid #fff;
  margin-left: 0.08rem;
}

.floating-app-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.14;
}

.floating-app-cta-top {
  font-size: 0.66rem;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.floating-app-cta-main {
  font-size: 0.95rem;
  font-weight: 700;
}

.floating-app-cta-arrow {
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.92;
}

@keyframes voices-ltr {
  from {
    transform: translateX(calc(-50% - 0.45rem));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes voices-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.45rem));
  }
}

@keyframes quote-drift {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

@keyframes phrase-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes concept-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 980px) {

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

  .feature-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .lang-map-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card-featured {
    transform: none;
  }

  .plan-card-featured:hover {
    transform: translateY(-6px);
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 0;
    padding: 1.6rem 1.4rem;
  }

  .footer-inline-form {
    width: 100%;
    min-width: 0;
  }

  .footer-inline-grid {
    grid-template-columns: 1fr;
  }

  .quote-track {
    animation-duration: 30s;
  }

  .quote-card {
    flex-basis: clamp(260px, 64vw, 340px);
    width: clamp(260px, 64vw, 340px);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  h1 {
    line-height: 1.04;
  }

  .quick-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-layout {
    grid-template-columns: 1fr;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-stage-wrap {
    position: static;
  }

  .story-stage-wrap {
    height: auto;
  }

  .story-stage {
    min-height: 430px;
  }

  .story-preview {
    width: min(52%, 220px);
  }

  .story-scroll {
    margin-top: 0.7rem;
    gap: 1.8rem;
  }

  .story-step {
    min-height: 72vh;
    opacity: 0.56;
    transform: translateY(0);
    padding-bottom: 1.2rem;
  }

  .story-step:last-child {
    min-height: 86vh;
    margin-bottom: 2rem;
  }

  .proof-marquee {
    inset: -26% -20%;
  }

  .proof-marquee-section::after {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 90%) 0%, rgb(255 255 255 / 82%) 100%);
  }
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    background: #ffffff;
    border: 1px solid var(--ink);
    border-radius: 18px;
    padding: 1.2rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links {
    width: 100%;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem;
    text-align: center;
    color: #000 !important;
    border-bottom: 1px solid #eee;
    font-weight: 500;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .store-badges {
    position: static;
    transform: none;
  }

  .nav.open {
    display: flex;
  }
}

@media (max-width: 760px) {
  .feature-list-grid {
    grid-template-columns: 1fr;
  }

  .lang-map-head {
    padding: 0.9rem 0.85rem 0.75rem;
  }

  .lang-map-legend {
    grid-template-columns: 1fr;
    padding: 0.8rem;
  }

  .lang-map-pin {
    width: 0.76rem;
    height: 0.76rem;
  }

  .lang-map-pin::after {
    font-size: 0.68rem;
    padding: 0.32rem 0.45rem;
  }

  .top-scene {
    min-height: 380vh;
  }

  .top-scene-sticky {
    top: 64px;
    height: calc(100vh - 64px);
  }

  .top-scene-title {
    font-size: clamp(2rem, 10vw, 3.3rem);
    line-height: 1;
  }

  .top-scene-lead {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .top-phone-overlay {
    width: min(232px, 70vw);
    top: 50%;
  }

  .quote-track {
    animation-duration: 26s;
  }

  .quote-card {
    flex-basis: min(82vw, 320px);
    width: min(82vw, 320px);
    min-height: 198px;
  }

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

  .pricing-section {
    padding: 4rem 0 3.5rem;
  }

  .pricing-head {
    margin-bottom: 2.35rem;
  }

  .pricing-head h2 {
    margin-bottom: 0.95rem;
  }

  .billing-btn {
    padding: 0.64rem 1.1rem;
  }

  .plan-card-inner {
    padding: 1.8rem 1.2rem 1.3rem;
  }

  .plan-price-value {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .plan-price-cycle {
    font-size: clamp(1.3rem, 5.5vw, 1.95rem);
  }

  .plan-cta {
    font-size: clamp(1.1rem, 5vw, 1.45rem);
  }

  .plan-meta {
    font-size: clamp(1.08rem, 4.8vw, 1.35rem);
  }

  .plan-features li {
    font-size: clamp(1rem, 4.2vw, 1.22rem);
  }

  .floating-app-cta {
    bottom: 0.75rem;
    padding: 0.62rem 0.85rem 0.62rem 0.62rem;
    gap: 0.55rem;
  }

  .floating-app-cta-icon {
    width: 1.78rem;
    height: 1.78rem;
    font-size: 0.88rem;
  }

  .floating-app-cta-top {
    font-size: 0.6rem;
  }

  .floating-app-cta-main {
    font-size: 0.83rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    background: #ffffff;
    border: 1px solid var(--ink);
    border-radius: 18px;
    padding: 1.2rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links {
    width: 100%;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem;
    text-align: center;
    color: #000 !important;
    border-bottom: 1px solid #eee;
    font-weight: 500;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .store-badges {
    position: static;
    transform: none;
  }

  .nav.open {
    display: flex;
  }

  .feature-grid,
  .matrix-grid,
  .stats,
  .feature-list-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--section-y-mobile) 0;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .quick-cta {
    width: 100%;
  }

  .story-dot {
    width: 12px;
    height: 12px;
  }

  .story-step {
    padding-left: 0.8rem;
  }

  .story-stage {
    min-height: 400px;
  }

  .story-preview {
    width: min(62%, 210px);
    border-radius: 20px;
  }

  .story-panes {
    min-height: 214px;
  }

  .apple-form-grid {
    grid-template-columns: 1fr;
  }

  .apple-inline-form {
    border-radius: 20px;
    padding: 1.1rem;
  }

  .apple-textarea {
    min-height: 112px;
  }

  .apple-form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .apple-submit-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .apple-footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .apple-legal-links {
    row-gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-header-headline {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .quote-track {
    animation: none;
    transform: none;
  }

  .quote-card {
    animation: none;
    translate: 0 0;
  }

  .lang-map-pin {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCH TOGGLE
   ═══════════════════════════════════════════ */
.lang-switch {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin-left: 0.65rem;
  flex-shrink: 0;
}

.lang-switch-trigger {
  border: 1px solid rgba(29, 29, 31, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: #1d1d1f;
  font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
  line-height: 1;
  white-space: nowrap;
  min-width: 102px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-switch-trigger:hover {
  border-color: rgba(29, 29, 31, 0.26);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.lang-switch-trigger:active {
  transform: scale(0.985);
}

.lang-switch-trigger:focus-visible {
  outline: none;
  border-color: rgba(0, 113, 227, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.24);
}

.lang-switch-current {
  display: inline-block;
}

.lang-switch-caret {
  color: #6e6e73;
  font-size: 0.56rem;
  transition: transform 0.2s ease;
}

.lang-switch.is-open .lang-switch-caret {
  transform: rotate(180deg);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 0.38rem);
  right: 0;
  z-index: 40;
  min-width: 100%;
  height: min(70vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.3rem;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(20px);
  -webkit-overflow-scrolling: touch;
  contain: paint;
}

.lang-switch-menu[hidden] {
  display: none !important;
}

.lang-switch.is-open-up .lang-switch-menu {
  top: auto;
  bottom: calc(100% + 0.38rem);
}

.lang-switch-search {
  width: 100%;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.lang-switch-options {
  flex: 0 0 auto;
  min-height: auto;
  max-height: none;
  overflow: visible;
}

.lang-switch.is-open .lang-switch-menu {
  animation: lang-menu-in 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: top right;
}

.lang-switch.is-open.is-open-up .lang-switch-menu {
  transform-origin: bottom right;
}

.lang-switch-option {
  width: 100%;
  border: none;
  background: transparent;
  color: #1d1d1f;
  font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.lang-switch-option+.lang-switch-option {
  margin-top: 0.12rem;
  border-top: 1px solid rgba(210, 210, 215, 0.6);
}

.lang-switch-option:hover {
  background: #f5f5f7;
}

.lang-switch-option.is-active {
  color: #fff;
  background: #1d1d1f;
  padding-right: 1.5rem;
}

.lang-switch-option.is-active::after {
  content: "✓";
  position: absolute;
  right: 0.56rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
}

@keyframes lang-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Mobile: show in hamburger menu too ─── */
@media (max-width: 860px) {
  .lang-switch {
    margin-left: 0;
    margin-top: 0.8rem;
    justify-self: center;
  }

  .lang-switch-trigger {
    min-width: 124px;
  }
}

/* Map Flags Overlay */
.map-flag-pin {
  position: absolute;
  width: 1.5rem;
  /* 24px */
  height: 1.5rem;
  transform: translate(-50%, -50%);
  /* Center on coordinate */
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  transition: transform 0.2s ease, z-index 0s 0.2s;
  z-index: 10;
  cursor: default;
}

.map-flag-pin:hover {
  transform: translate(-50%, -50%) scale(1.5);
  z-index: 20;
  transition: transform 0.2s ease, z-index 0s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.map-flag-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ensure map container is positioned */

/* Make map-flag-pin hover always on top */
.map-flag-pin:hover {
  z-index: 100 !important;
}

/* Scaling map to create more space */

@media (max-width: 760px) {}

/* Scaling map to create more space */
.lang-world-map {
  transform: scale(1.15);
  transform-origin: 50% 45%;
  width: 86%;
  /* Reduce width so scaling doesn't crop edges */
  margin: 5% auto 10%;
  /* Ensure vertical space clearly */
}

@media (max-width: 760px) {
  .lang-world-map {
    transform: scale(1.05);
    width: 94%;
    margin: 5% auto 12%;
  }
}
