:root {
  color-scheme: light;
  --navy-950: #011b46;
  --navy-900: #05264f;
  --navy-800: #0c3763;
  --ink: #172238;
  --muted: #687286;
  --cream: #faf7f2;
  --paper: #fffdf9;
  --white: #ffffff;
  --teal: #12c8b5;
  --teal-700: #197f72;
  --teal-100: #dff6f1;
  --coral: #ff7166;
  --coral-100: #ffe3df;
  --line: #e9e2d8;
  --shadow-sm: 0 10px 28px rgba(10, 34, 57, 0.08);
  --shadow-md: 0 24px 70px rgba(5, 26, 52, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 280px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo,
    ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
select,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(23, 34, 56, 0.08);
  background: rgba(250, 247, 242, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--navy-950);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(1, 27, 70, 0.18);
}

.brand small {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  min-height: 44px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: #445066;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(18, 200, 181, 0.1);
  color: var(--teal-700);
}

.language-control {
  position: relative;
  flex: 0 0 auto;
}

.language-control::before {
  content: "A";
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-52%);
  pointer-events: none;
}

.language-select {
  width: auto;
  min-width: 116px;
  min-height: 44px;
  padding: 8px 32px 8px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 15px) 19px / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 10px) 19px / 5px 5px no-repeat,
    var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(23, 34, 56, 0.04);
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 73% 48%, rgba(17, 224, 197, 0.98) 0, rgba(16, 189, 180, 0.76) 20%, rgba(3, 75, 103, 0.52) 46%, transparent 68%),
    linear-gradient(135deg, #01183e, var(--navy-950) 54%, #063255);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -260px;
  left: -140px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.hero::after {
  width: 280px;
  height: 280px;
  right: -160px;
  bottom: -160px;
  background: rgba(255, 113, 102, 0.16);
  filter: blur(40px);
}

.hero-inner {
  min-height: 680px;
  padding-block: clamp(58px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
}

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

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a9fff5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
}

.hero-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.25rem, 6vw, 5.4rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-title .title-mark {
  position: relative;
  z-index: 0;
  color: var(--white);
}

.hero-title .title-mark::after {
  content: "";
  position: absolute;
  inset: 5% -16% -2%;
  z-index: -1;
  border: 0.085em solid var(--coral);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-subtitle {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.95;
}

.store-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-link {
  min-width: 188px;
  min-height: 58px;
  padding: 9px 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 8, 28, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease;
}

.store-link:not([aria-disabled="true"]):hover {
  background: rgba(255, 255, 255, 0.19);
  transform: translateY(-2px);
}

.store-link[aria-disabled="true"] {
  cursor: default;
}

.store-symbol {
  width: 28px;
  flex: 0 0 28px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.store-copy {
  display: grid;
  line-height: 1.15;
}

.store-copy small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 800;
}

.store-copy strong {
  font-size: 15px;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.hero-glow {
  position: absolute;
  inset: 9% 7% 5%;
  border-radius: 48% 52% 44% 56% / 54% 46% 54% 46%;
  background: rgba(47, 244, 218, 0.4);
  filter: blur(52px);
}

.hero-card {
  position: absolute;
  width: min(72%, 430px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 32px 34px rgba(0, 14, 42, 0.36));
  will-change: transform;
}

.hero-card-a {
  top: 2%;
  left: 0;
  transform: rotate(-6deg);
  animation: float-a 7s ease-in-out infinite;
}

.hero-card-b {
  right: 0;
  bottom: 1%;
  transform: rotate(6deg);
  animation: float-b 7.6s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(8px, -12px, 0) rotate(-4deg); }
}

@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(6deg); }
  50% { transform: translate3d(-7px, 13px, 0) rotate(4deg); }
}

.stats-strip {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.stats-inner {
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.stat {
  padding: 8px 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--navy-950);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  margin-top: 4px;
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding-block: clamp(76px, 9vw, 126px);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.18;
  text-wrap: balance;
}

.section-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.challenge-layout {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
  align-items: center;
  gap: 34px;
}

.puzzle-frame {
  position: relative;
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy-950), #07405f);
  box-shadow: var(--shadow-md);
}

.puzzle-frame::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(18, 200, 181, 0.24);
  filter: blur(32px);
}

.puzzle-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 12px);
}

.challenge-note {
  padding: 24px 0;
}

.challenge-count {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--coral-100);
  color: var(--coral);
  font-size: 2.3rem;
  font-weight: 950;
  transform: rotate(-4deg);
}

.challenge-note p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-section {
  background: var(--white);
}

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

.feature-card {
  min-height: 235px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(23, 34, 56, 0.05);
}

.feature-card:nth-child(2) {
  background: var(--teal-100);
}

.feature-card:nth-child(3) {
  background: var(--coral-100);
}

.feature-number {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin: auto 0 0;
  color: var(--navy-950);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.screens-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(18, 200, 181, 0.11), transparent 34%),
    var(--cream);
}

.screens-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 28px;
}

.screens-intro .section-lead {
  margin: 0;
}

.phone-stage {
  margin-top: 52px;
  min-height: 650px;
  padding: clamp(28px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 68% 45%, rgba(18, 200, 181, 0.92), rgba(6, 78, 102, 0.42) 35%, transparent 60%),
    var(--navy-950);
  box-shadow: var(--shadow-md);
}

.phone-copy {
  color: var(--white);
}

.phone-copy .section-kicker {
  color: #a9fff5;
}

.phone-copy h3 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.18;
  text-wrap: balance;
}

.phone-copy p {
  max-width: 490px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.phone-stack {
  position: relative;
  min-height: 560px;
}

.device-phone {
  position: absolute;
  width: min(58%, 290px);
  padding: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 33px;
  background: #f8f5ef;
  box-shadow: 0 30px 60px rgba(0, 15, 40, 0.34);
}

.device-phone img {
  width: 100%;
  border-radius: 25px;
}

.device-phone:first-child {
  top: 5%;
  left: 4%;
  transform: rotate(-4deg);
}

.device-phone:last-child {
  right: 1%;
  bottom: 1%;
  transform: rotate(5deg);
}

.landscape-card {
  margin-top: 30px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.landscape-head {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.landscape-head h3 {
  max-width: 720px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 3.4vw, 2.7rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.landscape-head span {
  flex: 0 0 auto;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.device-tablet {
  padding: clamp(8px, 1.4vw, 14px);
  border-radius: 25px;
  background: var(--navy-950);
  box-shadow: 0 22px 60px rgba(5, 26, 52, 0.18);
}

.device-tablet img {
  width: 100%;
  border-radius: 14px;
}

.cta-section {
  padding-bottom: clamp(84px, 10vw, 132px);
}

.cta-card {
  padding: clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f0fffb, #fff7f3);
  box-shadow: inset 0 0 0 1px rgba(23, 34, 56, 0.06), var(--shadow-sm);
}

.cta-icon {
  width: clamp(96px, 13vw, 150px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 28%;
  box-shadow: 0 18px 42px rgba(1, 27, 70, 0.18);
}

.cta-copy h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.cta-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-card .store-link {
  border-color: transparent;
  background: var(--navy-950);
  box-shadow: none;
}

.cta-card .store-link + .store-link {
  margin-top: 10px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
  padding-block: 34px 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: var(--navy-950);
  font-size: 17px;
  font-weight: 950;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 16px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #586377;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin: 20px 0 0;
  color: #8b92a0;
  font-size: 11px;
}

/* Legal and support pages */
.legal-page {
  background:
    radial-gradient(circle at 90% 5%, rgba(18, 200, 181, 0.12), transparent 28%),
    var(--cream);
}

.legal-main {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 82px) clamp(78px, 9vw, 120px);
}

.legal-card {
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.legal-card .meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legal-card .intro {
  margin: 30px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--teal-100);
  color: #344257;
}

.legal-card h2 {
  margin: 42px 0 0;
  padding-top: 4px;
  color: var(--teal-700);
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.legal-card h3 {
  margin: 32px 0 0;
  color: var(--teal-700);
  font-size: 1.08rem;
}

.legal-card p,
.legal-card li,
.legal-card dd {
  color: #394458;
  overflow-wrap: anywhere;
}

.legal-card h1,
.legal-card h2,
.legal-card dt,
.footer-links a {
  overflow-wrap: anywhere;
}

html:lang(ja) .legal-card h1,
html:lang(ko) .legal-card h1,
html:lang(zh-Hans) .legal-card h1,
html:lang(zh-Hant) .legal-card h1,
html:lang(th) .legal-card h1,
html:lang(hi) .legal-card h1 {
  letter-spacing: 0;
}

.legal-card p {
  margin: 12px 0 0;
}

.legal-card ul,
.legal-card ol {
  margin: 12px 0 0;
  padding-left: 1.4em;
}

.legal-card li + li {
  margin-top: 7px;
}

.legal-card a {
  color: var(--teal-700);
  font-weight: 750;
  text-underline-offset: 3px;
}

.info-list {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 0.66fr);
  border-top: 1px solid var(--line);
}

.info-list dt,
.info-list dd {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  padding-right: 20px;
  color: var(--navy-950);
  font-weight: 950;
}

.legal-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-button {
  min-height: 48px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--navy-950);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 900 !important;
  text-decoration: none;
}

[data-lang-panel][hidden] {
  display: none !important;
}

/* Smart download page */
.download-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 32%, rgba(18, 200, 181, 0.88), rgba(5, 65, 88, 0.45) 32%, transparent 62%),
    var(--navy-950);
}

.download-card {
  width: min(100%, 560px);
  padding: clamp(28px, 6vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 36px 90px rgba(0, 10, 32, 0.32);
}

.download-card > img {
  width: 116px;
  aspect-ratio: 1;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(1, 27, 70, 0.2);
}

.download-card h1 {
  margin: 24px 0 0;
  color: var(--navy-950);
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.download-card p {
  margin: 12px auto 0;
  color: var(--muted);
}

.download-card .store-row {
  justify-content: center;
}

.download-card .store-link {
  border-color: transparent;
  background: var(--navy-950);
}

.download-home {
  min-height: 44px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  color: var(--teal-700);
  font-weight: 850;
  text-underline-offset: 4px;
}

.download-language {
  margin-top: 22px;
  display: inline-block;
}

.noscript-locales {
  width: min(calc(100% - 28px), var(--content));
  margin: 24px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.86rem;
}

.noscript-locales a {
  color: var(--teal-700);
  font-weight: 750;
  text-underline-offset: 3px;
}

.not-found-code {
  margin: 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

body[data-ready="true"] .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

body[data-ready="true"] .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(100%, 680px);
    min-height: 500px;
    margin-inline: auto;
  }

  .hero-card {
    width: min(64%, 420px);
  }

  .screens-intro,
  .phone-stage {
    grid-template-columns: 1fr;
  }

  .screens-intro .section-lead {
    margin-top: 4px;
  }

  .phone-stage {
    gap: 20px;
  }

  .phone-copy {
    max-width: 700px;
  }

  .phone-stack {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  .cta-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cta-card > .store-column {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cta-card .store-link + .store-link {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--content));
    min-height: 64px;
    gap: 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand small,
  .site-nav {
    display: none;
  }

  .language-control {
    margin-left: auto;
  }

  .language-select {
    min-width: 104px;
    max-width: min(190px, calc(100vw - 100px));
  }

  .container,
  .footer-inner,
  .legal-main {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero-inner {
    display: block;
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 54px;
  }

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

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-lead {
    margin-top: 22px;
  }

  .store-link {
    min-width: 0;
    flex: 1 1 175px;
  }

  .hero-art {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    margin-top: 34px;
    min-height: 0;
    padding: 10px 8px 34px;
  }

  .hero-card {
    position: relative;
    width: 132%;
    max-width: none;
  }

  .hero-card-a {
    top: auto;
    left: auto;
    z-index: 2;
    justify-self: end;
    margin-right: -15%;
  }

  .hero-card-b {
    right: auto;
    bottom: auto;
    z-index: 1;
    justify-self: start;
    margin-top: 58px;
    margin-left: -15%;
  }

  .hero-glow {
    inset: 0 4% 4%;
  }

  .stats-strip {
    margin-top: -18px;
  }

  .stats-inner {
    padding: 12px 8px;
  }

  .stat {
    padding: 10px 8px;
  }

  .stat span {
    font-size: 10px;
  }

  .challenge-layout {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .challenge-note {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .challenge-count {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 19px;
    font-size: 1.8rem;
  }

  .challenge-note p {
    margin: 0;
  }

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

  .feature-card {
    min-height: 180px;
  }

  .phone-stage {
    min-height: auto;
    padding: 28px 20px;
  }

  .phone-stack {
    min-height: 500px;
  }

  .device-phone {
    width: min(62%, 270px);
  }

  .landscape-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-icon {
    margin-inline: auto;
  }

  .cta-card > .store-column {
    grid-column: auto;
    justify-content: center;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .info-list dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .info-list dd {
    padding-top: 0;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 20px);
  }

  .brand-name {
    display: none;
  }

  .container,
  .footer-inner,
  .legal-main {
    width: calc(100% - 20px);
  }

  .hero-title {
    font-size: 2.55rem;
  }

  .hero-art {
    min-height: 340px;
  }

  .stats-inner {
    border-radius: 18px;
  }

  .stat strong {
    font-size: 1.35rem;
  }

  .legal-card {
    padding-inline: 20px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
