:root {
  --bg: #f6fbff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: rgba(236, 248, 255, 0.92);
  --text: #090c2b;
  --muted: #5f667e;
  --border: rgba(23, 108, 240, 0.13);
  --shadow: 0 30px 80px rgba(21, 78, 118, 0.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --blue: #176cf0;
  --mint: #43c89d;
  --pink: #f44f73;
  --purple: #835fdc;
  --yellow: #ffb82f;
  --content-width: 1180px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 184, 47, 0.18), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(23, 108, 240, 0.19), transparent 28%),
    radial-gradient(circle at 80% 44%, rgba(67, 200, 157, 0.13), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #fffdf8 44%, #eef8ff 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select, input, textarea { font: inherit; }

body::before,
body::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -8rem;
  left: -6rem;
  background: rgba(23, 108, 240, 0.16);
}

body::after {
  bottom: -10rem;
  right: -6rem;
  background: rgba(67, 200, 157, 0.18);
}

.shell,
.site-header {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(23, 108, 240, 0.18);
}

.brand span {
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.05em;
}

.brand b:nth-child(1) { color: var(--blue); }
.brand b:nth-child(2) { color: var(--pink); }
.brand b:nth-child(3) { color: var(--mint); }

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(31, 102, 158, 0.08);
  backdrop-filter: blur(18px);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 520;
}

.nav-links a:hover,
.nav-links a.active,
.footer-links a:hover {
  color: var(--blue);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  padding: 14px 22px;
  color: #091426;
  background: linear-gradient(135deg, var(--yellow), var(--mint) 46%, var(--blue));
  box-shadow: 0 24px 44px rgba(38, 154, 240, 0.18);
}

.secondary-button {
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.pulse-button {
  position: relative;
  isolation: isolate;
  animation: ctaPulse 1.9s ease-in-out infinite;
}

.pulse-button::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(23, 108, 240, 0.20);
  animation: ctaHalo 1.9s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 44px rgba(38, 154, 240, 0.18);
  }
  50% {
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 30px 58px rgba(38, 154, 240, 0.28);
  }
}

@keyframes ctaHalo {
  0%, 100% {
    opacity: 0.34;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.10;
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-button,
  .pulse-button::after {
    animation: none;
  }
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.app-store-badge-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge {
  width: auto;
  height: 44px;
}

.floating-cta {
  position: fixed;
  right: max(18px, calc((100vw - var(--content-width)) / 2 + 18px));
  bottom: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 58px rgba(9, 12, 43, 0.16);
  backdrop-filter: blur(18px);
}

.floating-try {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: #091426;
  background: linear-gradient(135deg, var(--yellow), var(--mint) 46%, var(--blue));
  font-weight: 800;
}

.floating-store,
.floating-store img {
  display: block;
}

.floating-store img {
  height: 42px;
  width: auto;
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  height: 48px;
  min-width: 150px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(31, 102, 158, 0.08);
  backdrop-filter: blur(18px);
}

.locale-switcher label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.locale-switcher select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 520;
  appearance: none;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding: clamp(54px, 8vw, 108px) 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--mint));
}

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

.hero h1,
h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.06;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.visual-card p,
.guide-card p,
.mode-card p,
.faq-list p,
.page-card p,
.contact-hero p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 520;
}

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

.hero-points {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 520;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.hero-device-card,
.guide-card,
.mode-card,
.visual-card,
.faq-list details,
.social-proof,
.page-card,
.contact-hero,
.privacy-band {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-device-card {
  padding: 24px;
}

.hero-device-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(23, 108, 240, 0.18);
}

.mini-label {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-device-top h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(23, 108, 240, 0.08);
}

.hero-shot-frame img {
  width: 100%;
}

.hero-shot-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 26px rgba(23, 108, 240, 0.12);
  font-size: 0.78rem;
  font-weight: 760;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.mini-grid span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  text-align: center;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.social-proof p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
}

.social-proof div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-proof span {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 720;
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

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

.guide-card,
.mode-card {
  padding: 28px;
}

.guide-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
}

.guide-media {
  position: relative;
  height: 170px;
  margin: -10px -10px 22px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 184, 47, 0.22), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(67, 200, 157, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.05);
}

.app-mini img {
  object-position: 50% 28%;
}

.keyboard-mini img {
  object-position: 50% 76%;
}

.mode-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 22px;
}

.mode-mini span {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 14px 30px rgba(31, 102, 158, 0.08);
  font-weight: 650;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

.visual-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
}

.visual-card.reverse {
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
}

.visual-card.reverse > div {
  order: 2;
}

.visual-card img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(9, 12, 43, 0.12);
}

.setup-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.setup-list div,
.note-card {
  display: grid;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.setup-list div {
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  align-items: center;
}

.setup-list i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(23, 108, 240, 0.13), rgba(67, 200, 157, 0.18));
  font-style: normal;
}

.setup-list b,
.note-card b {
  font-weight: 760;
}

.setup-list span,
.note-card span {
  color: var(--muted);
  line-height: 1.35;
  font-weight: 520;
}

.mode-grid {
  grid-template-columns: repeat(4, 1fr);
}

.mode-card {
  min-height: 360px;
}

.mode-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.mode-visual {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(23, 108, 240, 0.04), 0 18px 36px rgba(31, 102, 158, 0.07);
}

.mode-visual span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 520;
}

.mode-visual b {
  color: var(--text);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.emoji-example {
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 184, 47, 0.22), transparent 40%),
    rgba(255, 255, 255, 0.70);
}

.morse-example {
  background:
    radial-gradient(circle at 85% 18%, rgba(67, 200, 157, 0.20), transparent 42%),
    rgba(255, 255, 255, 0.70);
}

.caesar-example {
  background:
    radial-gradient(circle at 18% 84%, rgba(244, 79, 115, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.70);
}

.custom-example {
  background:
    radial-gradient(circle at 85% 20%, rgba(131, 95, 220, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.70);
}

.mode-card small {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(9, 12, 43, 0.08);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
  font-weight: 520;
}

.mode-card.blue { background: linear-gradient(145deg, rgba(237, 247, 255, 0.96), rgba(214, 236, 255, 0.76)); }
.mode-card.mint { background: linear-gradient(145deg, rgba(236, 255, 251, 0.96), rgba(213, 251, 245, 0.78)); }
.mode-card.pink { background: linear-gradient(145deg, rgba(255, 240, 245, 0.96), rgba(255, 222, 232, 0.76)); }
.mode-card.purple { background: linear-gradient(145deg, rgba(246, 240, 255, 0.96), rgba(230, 218, 255, 0.76)); }

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 24px 28px;
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.faq-list p {
  padding: 0 28px 26px;
  margin: 0;
}

.page {
  padding: clamp(44px, 7vw, 96px) 0;
}

.page-card,
.contact-hero,
.privacy-band {
  width: min(calc(100% - 32px), 980px);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
}

.page-card h1,
.contact-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.page-card h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.privacy-grid article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(23, 108, 240, 0.06);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 36px;
  align-items: center;
}

.contact-hero img {
  width: 180px;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.trust-strip,
.mode-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip {
  margin-top: 28px;
}

.trust-strip span,
.mode-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(31, 102, 158, 0.08);
  font-weight: 720;
}

.hero-showcase {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 184, 47, 0.28), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(67, 200, 157, 0.23), transparent 28%),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(9, 12, 43, 0.16);
}

.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
}

.hero-showcase::before {
  width: 180px;
  height: 180px;
  right: -42px;
  top: -28px;
  background: rgba(23, 108, 240, 0.18);
}

.hero-showcase::after {
  width: 132px;
  height: 132px;
  left: -34px;
  bottom: 44px;
  background: rgba(244, 79, 115, 0.14);
}

.hero-showcase img,
.phone-frame img,
.global-section img,
.step-card img {
  width: 100%;
  border-radius: 30px;
}

.mode-ribbon {
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(21, 78, 118, 0.11);
}

.step-card > span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  font-weight: 760;
}

.step-card.featured {
  grid-column: span 2;
  min-height: 420px;
  display: grid;
  align-content: end;
}

.step-card.featured img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.step-card.featured::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.97));
}

.step-card.featured > span,
.step-card.featured h3,
.step-card.featured p {
  position: relative;
  z-index: 1;
}

.step-card.image-card {
  padding: 0;
  background: #fff;
}

.step-card.image-card img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.setup-panel,
.decode-panel,
.global-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 184, 47, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.decode-panel {
  grid-template-columns: minmax(300px, 480px) minmax(0, 1fr);
  background:
    radial-gradient(circle at 8% 16%, rgba(67, 200, 157, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.74);
}

.phone-frame {
  max-width: 420px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 68px rgba(9, 12, 43, 0.12);
}

.setup-timeline {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.setup-timeline div,
.decode-stack article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.setup-timeline i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  background: var(--blue);
  font-style: normal;
  font-weight: 760;
}

.setup-timeline b,
.decode-stack b {
  color: var(--text);
  font-weight: 760;
}

.setup-timeline span,
.decode-stack span {
  color: var(--muted);
  line-height: 1.42;
  font-weight: 520;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  align-items: end;
  max-width: none;
}

.decode-stack {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.decode-stack article {
  grid-template-columns: 1fr;
}

.global-section {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
}

.global-section img {
  box-shadow: 0 24px 68px rgba(9, 12, 43, 0.12);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.learn-grid article,
.try-panel,
.try-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.learn-grid article {
  min-height: 290px;
  padding: 26px;
  border-radius: 30px;
}

.learn-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 58px;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 18px;
  color: var(--blue);
  background: rgba(23, 108, 240, 0.08);
  font-weight: 800;
}

.learn-grid article:nth-child(2) span {
  color: var(--mint);
  background: rgba(67, 200, 157, 0.12);
}

.learn-grid article:nth-child(3) span {
  color: var(--pink);
  background: rgba(244, 79, 115, 0.10);
}

.learn-grid article:nth-child(4) span {
  color: var(--purple);
  background: rgba(131, 95, 220, 0.10);
}

.learn-grid p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 520;
}

.try-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 184, 47, 0.18), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(23, 108, 240, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.72);
}

.try-copy .note-card {
  margin-top: 24px;
}

.try-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 30px;
}

.try-card label {
  display: grid;
  gap: 8px;
}

.try-card label > span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 760;
}

.try-card textarea,
.try-card input,
.try-card select {
  width: 100%;
  border: 1px solid rgba(23, 108, 240, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-weight: 560;
}

.try-card textarea {
  resize: vertical;
  min-height: 132px;
  padding: 16px;
  line-height: 1.5;
}

.try-card input,
.try-card select {
  height: 52px;
  padding: 0 14px;
}

.try-card textarea:focus,
.try-card input:focus,
.try-card select:focus {
  border-color: rgba(23, 108, 240, 0.42);
  box-shadow: 0 0 0 4px rgba(23, 108, 240, 0.10);
}

.try-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.try-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.try-actions button,
.copy-button {
  border: 0;
  cursor: pointer;
}

.copy-button {
  min-height: 48px;
  border-radius: var(--radius-pill);
  color: var(--blue);
  background: rgba(23, 108, 240, 0.09);
  font-weight: 760;
}

/* Release polish: keep the guide dense enough for marketing pages without feeling cramped. */
.site-header {
  padding: 16px 0 8px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.66fr);
  gap: clamp(24px, 4.8vw, 64px);
  padding: clamp(34px, 5.5vw, 72px) 0 clamp(24px, 3.4vw, 38px);
}

.hero h1,
h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2.65rem, 5.35vw, 5rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.95rem, 3.65vw, 3.35rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.048em;
}

.hero-text,
.section-heading p,
.visual-card p,
.guide-card p,
.mode-card p,
.faq-list p,
.page-card p,
.contact-hero p {
  font-size: clamp(1rem, 1.6vw, 1.26rem);
  line-height: 1.42;
}

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

.trust-strip {
  margin-top: 20px;
}

.hero-showcase {
  max-width: 390px;
  padding: 8px;
  border-radius: 36px;
}

.hero-showcase img {
  border-radius: 28px;
}

.section {
  padding: clamp(38px, 5.8vw, 72px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.mode-ribbon {
  padding: 14px 18px;
}

.steps-grid {
  gap: 14px;
}

.step-card {
  min-height: 210px;
  padding: 20px;
  border-radius: 26px;
}

.step-card > span {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.step-card.featured {
  min-height: 300px;
}

.step-card.image-card {
  max-height: 300px;
}

.learn-grid {
  gap: 14px;
}

.learn-grid article {
  min-height: 236px;
  padding: 22px;
  border-radius: 26px;
}

.learn-grid span {
  min-width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

.mode-card {
  min-height: 315px;
  padding: 22px;
}

.mode-visual {
  min-height: 104px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 20px;
}

.mode-card strong {
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.mode-card small {
  margin-top: 14px;
  padding-top: 12px;
}

.setup-panel,
.decode-panel,
.global-section,
.try-panel {
  gap: clamp(22px, 3.5vw, 40px);
  padding: clamp(24px, 4vw, 46px);
}

.phone-frame {
  max-width: 285px;
  padding: 8px;
  border-radius: 30px;
}

.keyboard-guide-card {
  display: grid;
  gap: 18px;
  align-self: stretch;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 184, 47, 0.22), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(23, 108, 240, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 58px rgba(9, 12, 43, 0.12);
}

.settings-mock {
  display: grid;
  gap: 12px;
}

.settings-mock div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.settings-mock span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.settings-mock b {
  color: var(--text);
  font-weight: 760;
}

.keyboard-mini-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(238, 243, 249, 0.86);
}

.keyboard-mini-board span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(31, 102, 158, 0.08);
  font-weight: 760;
}

.split-heading {
  gap: 22px;
}

.global-section img {
  max-width: 290px;
  justify-self: center;
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.language-chips span {
  padding: 10px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 108, 240, 0.10);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(31, 102, 158, 0.06);
  font-size: 0.94rem;
  font-weight: 720;
}

.try-card {
  gap: 13px;
  padding: clamp(18px, 3vw, 26px);
}

.try-card textarea {
  min-height: 112px;
}

.try-copy .note-card {
  margin-top: 18px;
}

.faq-list summary {
  padding: 19px 24px;
}

.faq-list p {
  padding: 0 24px 22px;
}

.site-footer {
  margin-top: 28px;
  padding: 24px 0 36px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero,
  .visual-card,
  .visual-card.reverse,
  .contact-hero,
  .setup-panel,
  .decode-panel,
  .global-section,
  .split-heading,
  .try-panel {
    grid-template-columns: 1fr;
  }

  .visual-card.reverse > div {
    order: 0;
  }

  .guide-grid,
  .mode-grid,
  .privacy-grid,
  .steps-grid,
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .step-card.featured {
    grid-column: auto;
  }

  .social-proof,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-device-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .hero-showcase {
    max-width: 330px;
  }
}

@media (max-width: 620px) {
  .app-store-badge-link {
    display: none;
  }

  .locale-switcher {
    min-width: 128px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1,
  h1 {
    font-size: clamp(2.32rem, 11.5vw, 3.35rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.82rem, 8.5vw, 2.55rem);
  }

  .section {
    padding: 34px 0;
  }

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

  .hero-device-card,
  .visual-card,
  .guide-card,
  .mode-card {
    border-radius: 24px;
  }

  .guide-card {
    min-height: auto;
  }

  .guide-media {
    height: 150px;
  }

  .setup-list div {
    grid-template-columns: 42px 1fr;
  }

  .setup-list i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .try-options {
    grid-template-columns: 1fr;
  }

  .try-card textarea {
    min-height: 104px;
  }

  .floating-cta {
    left: 16px;
    right: 16px;
    bottom: 12px;
    justify-content: center;
  }

  .floating-try {
    flex: 1;
  }

  .floating-store img {
    height: 38px;
  }
}
