/* ==========================================================================
   BAYAR GG landing page
   Design language: pastel gradient canvas with an angled edge, tight display
   typography, pill buttons, softly elevated cards, and an angled dark
   developer section.
   ========================================================================== */

:root {
  --lp-header-h: 74px;
  --lp-angle: 5vw;
  --lp-max: 1120px;
  --lp-radius: 16px;

  --lp-bg: #ffffff;
  --lp-bg-alt: #f6f9fc;
  --lp-surface: #ffffff;
  --lp-line: #e3e8ee;
  --lp-line-strong: #d7dee7;

  --lp-ink: #0a2540;
  --lp-body: #425466;
  --lp-muted: #6b7c93;

  --lp-brand: #1a86ff;
  --lp-brand-hover: #3f9bff;
  --lp-brand-ink: #0b5ed7;
  --lp-brand-wash: #e8f2ff;
  --lp-cyan: #0891b2;
  --lp-cyan-wash: #e0f4fb;
  --lp-mint: #0e9f6e;
  --lp-mint-wash: #e6f7f0;
  --lp-slate: #33507a;
  --lp-slate-wash: #e9eef7;

  --lp-navy: #0b1b2e;
  --lp-navy-soft: #a9bacd;
  --lp-code-bg: #0c1e33;

  --lp-header-bg: rgba(255, 255, 255, 0.86);
  --lp-chip-bg: #ffffff;

  --lp-shadow-sm: 0 2px 5px rgba(50, 50, 93, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --lp-shadow-md: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.06);
  --lp-shadow-lg: 0 30px 60px rgba(50, 50, 93, 0.14), 0 12px 24px rgba(0, 0, 0, 0.07);

  --lp-canvas:
    radial-gradient(1100px 620px at 4% -12%, #a9d3ff 0%, rgba(169, 211, 255, 0) 58%),
    radial-gradient(900px 560px at 34% -18%, #c9dcff 0%, rgba(201, 220, 255, 0) 60%),
    radial-gradient(1000px 640px at 88% -6%, #a6ecff 0%, rgba(166, 236, 255, 0) 58%),
    radial-gradient(900px 620px at 74% 76%, #b6f2dd 0%, rgba(182, 242, 221, 0) 62%),
    linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --lp-bg: #061423;
  --lp-bg-alt: #0a1c2f;
  --lp-surface: #0d2137;
  --lp-line: #1c3550;
  --lp-line-strong: #27415f;

  --lp-ink: #f2f7fd;
  --lp-body: #b3c3d6;
  --lp-muted: #8ea1b8;

  --lp-brand: #3f9bff;
  --lp-brand-hover: #66adff;
  --lp-brand-ink: #7cbaff;
  --lp-brand-wash: #10294a;
  --lp-cyan: #4fd0ee;
  --lp-cyan-wash: #0d3040;
  --lp-mint: #43d3a0;
  --lp-mint-wash: #0e3128;
  --lp-slate: #9fb6d6;
  --lp-slate-wash: #17293f;

  --lp-navy: #04101d;
  --lp-navy-soft: #93a8c0;
  --lp-code-bg: #04101d;

  --lp-header-bg: rgba(6, 20, 35, 0.86);
  --lp-chip-bg: #f4f7fb;

  --lp-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.32);
  --lp-shadow-md: 0 16px 36px rgba(0, 0, 0, 0.4);
  --lp-shadow-lg: 0 30px 62px rgba(0, 0, 0, 0.52);

  --lp-canvas:
    radial-gradient(1100px 640px at 4% -14%, #133a68 0%, rgba(19, 58, 104, 0) 60%),
    radial-gradient(950px 580px at 36% -18%, #17335e 0%, rgba(23, 51, 94, 0) 62%),
    radial-gradient(1000px 640px at 90% -8%, #0f3f57 0%, rgba(15, 63, 87, 0) 60%),
    radial-gradient(900px 620px at 74% 78%, #103f3a 0%, rgba(16, 63, 58, 0) 64%),
    linear-gradient(180deg, #08192b 0%, #061423 100%);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lp-header-h) + 16px);
}

body.lp-page {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--lp-bg);
  color: var(--lp-body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lp-page.lp-menu-open {
  overflow: hidden;
}

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

.lp-page a {
  color: inherit;
  text-decoration: none;
}

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

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

.lp-page :focus-visible {
  outline: 2px solid var(--lp-brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-page h1,
.lp-page h2,
.lp-page h3,
.lp-page h4 {
  margin-top: 0;
  color: var(--lp-ink);
  font-weight: 700;
  letter-spacing: -0.031em;
  line-height: 1.12;
}

.lp-page .lp-pixel {
  display: none;
}

.lp-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: var(--lp-brand);
  border-radius: 999px;
  background: var(--lp-ink);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.lp-shell {
  width: min(calc(100% - 48px), var(--lp-max));
  margin-inline: auto;
}

.lp-section {
  padding: 104px 0;
  scroll-margin-top: var(--lp-header-h);
}

.lp-section--alt {
  background: var(--lp-bg-alt);
}

/* --------------------------------------------------------------------------
   Shared type + link primitives
   -------------------------------------------------------------------------- */

.lp-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--lp-brand-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.lp-section-head {
  max-width: 660px;
  margin-bottom: 56px;
}

.lp-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.lp-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.9vw, 2.9rem);
  letter-spacing: -0.038em;
}

.lp-section-head p {
  margin: 0;
  color: var(--lp-body);
  font-size: 1.125rem;
}

.lp-lede {
  color: var(--lp-body);
}

.lp-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, transform 0.15s ease;
}

.lp-button:hover {
  transform: translateY(-1px);
}

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

.lp-button--primary {
  background: var(--lp-brand);
  box-shadow: var(--lp-shadow-sm);
  color: #fff !important;
}

.lp-button--primary:hover {
  background: var(--lp-brand-hover);
  box-shadow: var(--lp-shadow-md);
}

.lp-button--ghost {
  border-color: rgba(10, 37, 64, 0.14);
  background: rgba(255, 255, 255, 0.75);
  color: var(--lp-ink) !important;
}

html[data-theme="dark"] .lp-button--ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.lp-button--ghost:hover {
  border-color: rgba(10, 37, 64, 0.26);
  background: #fff;
}

html[data-theme="dark"] .lp-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

/* Always sits on the dark CTA card, so the label colour must not follow the
   theme token (it turns near-white in dark mode and disappears). */
.lp-button--light {
  background: #fff;
  color: #0b1b2e !important;
}

.lp-button--light:hover {
  background: #eef2f7;
}

.lp-button--large {
  min-height: 52px;
  padding: 13px 28px;
  font-size: 1rem;
}

.lp-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-brand-ink) !important;
  font-size: 0.9375rem;
  font-weight: 600;
}

.lp-arrow-link::after {
  content: "\203A";
  display: inline-block;
  font-size: 1.35em;
  line-height: 1;
  transform: translate(0, -1px);
  transition: transform 0.15s ease;
}

.lp-arrow-link:hover::after {
  transform: translate(4px, -1px);
}

.lp-arrow-link--light {
  color: #8ac6ff !important;
}

.lp-arrow-link--large {
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-header.is-scrolled,
body.lp-menu-open .lp-header {
  border-bottom-color: var(--lp-line);
  background: var(--lp-header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.lp-header-row {
  display: flex;
  min-height: var(--lp-header-h);
  align-items: center;
  gap: 30px;
}

.lp-brand {
  flex: 0 0 auto;
}

.lp-brand img {
  width: auto;
  height: 30px;
}

/* Scoped with .lp-page so these beat the generic `.lp-page img` display rule,
   otherwise both logo variants render at once in the light theme. */
.lp-page .lp-logo--dark {
  display: none;
}

html[data-theme="dark"] .lp-page .lp-logo--light {
  display: none;
}

html[data-theme="dark"] .lp-page .lp-logo--dark {
  display: block;
}

.lp-desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.lp-desktop-nav a,
.lp-header-login {
  color: var(--lp-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.lp-desktop-nav a:hover,
.lp-header-login:hover {
  color: var(--lp-brand-ink);
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lp-icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(10, 37, 64, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--lp-ink);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

html[data-theme="dark"] .lp-icon-button {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.lp-icon-button:hover {
  border-color: rgba(10, 37, 64, 0.26);
  background: #fff;
}

html[data-theme="dark"] .lp-icon-button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.lp-lang-link {
  min-width: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lp-menu-toggle {
  display: none;
}

.lp-mobile-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.lp-hero {
  position: relative;
  padding: 76px 0 108px;
}

.lp-hero-canvas {
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--lp-header-h));
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--lp-canvas);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--lp-angle)), 0 100%);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 60px;
}

.lp-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 5.4vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.lp-hero h1 span {
  background: linear-gradient(94deg, #1a86ff 10%, #00b6d4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="dark"] .lp-hero h1 span {
  background: linear-gradient(94deg, #66adff 10%, #4fd8f2 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-hero-lead {
  max-width: 34rem;
  margin: 0 0 32px;
  color: var(--lp-body);
  font-size: 1.1875rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-bottom: 30px;
}

.lp-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  color: var(--lp-muted);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
}

.lp-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lp-assurances i {
  color: var(--lp-mint);
}

/* Hero visual: browser frame + floating status card */
.lp-hero-visual {
  position: relative;
  margin: 0;
}

.lp-frame {
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-lg);
}

html[data-theme="dark"] .lp-frame {
  border-color: var(--lp-line);
}

.lp-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--lp-line);
  background: var(--lp-bg-alt);
}

.lp-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7dee7;
}

html[data-theme="dark"] .lp-frame-bar span {
  background: #2b445f;
}

.lp-frame-url {
  width: auto !important;
  height: auto !important;
  overflow: hidden;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px !important;
  background: var(--lp-surface) !important;
  color: var(--lp-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mockups are authored at their final 3:2 ratio, so they are never cropped:
   the intrinsic width/height attributes reserve the space instead. */
.lp-frame img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Payment marks
   -------------------------------------------------------------------------- */

.lp-logos {
  padding: 8px 0 78px;
}

.lp-logos p {
  margin: 0 0 26px;
  color: var(--lp-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.lp-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
}

.lp-logo-row img {
  width: auto;
  max-width: 92px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.lp-logo-row img:hover {
  filter: none;
  opacity: 1;
}

html[data-theme="dark"] .lp-logo-row img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.55;
}

html[data-theme="dark"] .lp-logo-row img:hover {
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Android app / Google Play promo
   -------------------------------------------------------------------------- */

.lp-app-promo {
  padding: 18px 0 92px;
}

.lp-app-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 28px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-md);
}

.lp-app-media {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(26, 134, 255, 0.18), transparent 50%),
    var(--lp-bg-alt);
}

.lp-app-media::after {
  position: absolute;
  right: 8%;
  bottom: 5%;
  left: 8%;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.15);
  content: "";
  filter: blur(18px);
}

.lp-phone {
  position: relative;
  z-index: 1;
  width: 224px;
  padding: 10px;
  border: 4px solid #111820;
  border-radius: 38px;
  background: #080b10;
  box-shadow: 0 28px 48px rgba(10, 24, 40, 0.24);
  transform: rotate(4deg);
}

.lp-phone img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 27px;
}

.lp-phone-camera {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 50%;
  width: 58px;
  height: 15px;
  border-radius: 999px;
  background: #030507;
  transform: translateX(-50%);
}

.lp-app-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 58px;
}

.lp-app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  color: var(--lp-ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.lp-app-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.lp-app-copy .lp-eyebrow {
  margin-bottom: 12px;
}

.lp-app-copy h2 {
  max-width: 480px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.lp-app-copy p {
  max-width: 500px;
  margin: 0 0 30px;
  color: var(--lp-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.lp-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-play-badge {
  display: inline-flex;
  min-width: 182px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #0b0b0d;
  color: #fff !important;
  transition: background-color 0.16s ease;
}

.lp-play-badge:hover {
  background: #18181b;
}

.lp-play-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.lp-apple-logo {
  width: 32px;
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.lp-play-badge span {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.lp-play-badge small {
  color: #cdd3db;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.lp-play-badge strong {
  color: #fff;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lp-feature-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
}

.lp-feature-copy {
  flex: 1;
  padding: 32px 32px 26px;
}

.lp-feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 11px;
  background: var(--lp-brand-wash);
  color: var(--lp-brand-ink);
  font-size: 1.1rem;
}

.lp-feature-card:nth-child(2) .lp-feature-icon {
  background: var(--lp-mint-wash);
  color: var(--lp-mint);
}

.lp-feature-card:nth-child(3) .lp-feature-icon {
  background: var(--lp-cyan-wash);
  color: var(--lp-cyan);
}

.lp-feature-card:nth-child(4) .lp-feature-icon {
  background: var(--lp-slate-wash);
  color: var(--lp-slate);
}

.lp-feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.lp-feature-card p {
  margin: 0 0 18px;
  color: var(--lp-body);
  font-size: 0.9875rem;
}

.lp-feature-media {
  overflow: hidden;
  border-top: 1px solid var(--lp-line);
  background: var(--lp-bg-alt);
}

.lp-feature-media img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Developer section (angled, dark)
   -------------------------------------------------------------------------- */

.lp-dev {
  position: relative;
  margin: 40px 0;
  padding: calc(var(--lp-angle) + 96px) 0 calc(var(--lp-angle) + 96px);
  background: var(--lp-navy);
  clip-path: polygon(0 var(--lp-angle), 100% 0, 100% calc(100% - var(--lp-angle)), 0 100%);
  color: #cfdbe8;
  scroll-margin-top: var(--lp-header-h);
}

.lp-dev-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 60px;
}

.lp-dev .lp-eyebrow {
  color: #8ac6ff;
}

.lp-dev h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.036em;
}

.lp-dev-lede {
  margin: 0 0 26px;
  color: var(--lp-navy-soft);
  font-size: 1.0625rem;
}

.lp-dev-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.lp-dev-list li {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  color: #dbe6f1;
  font-size: 0.9375rem;
}

.lp-dev-list i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #56d6a8;
}

/* Code card */
.lp-code {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: var(--lp-code-bg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.36);
}

.lp-code-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lp-code-tab {
  padding: 9px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8fa6bd;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-code-tab:hover {
  color: #dce7f2;
}

.lp-code-tab[aria-selected="true"] {
  border-bottom-color: #8ac6ff;
  color: #fff;
}

.lp-code-body {
  overflow-x: auto;
  padding: 20px 22px 22px;
}

.lp-code pre {
  margin: 0;
  color: #c8d7e6;
  font-family: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.75;
  tab-size: 2;
}

.lp-code-panel[hidden] {
  display: none;
}

.tk-com { color: #6f89a3; }
.tk-key { color: #7fe3ff; }
.tk-str { color: #9be6b4; }
.tk-num { color: #ffc978; }
.tk-fn  { color: #b7aaff; }
.tk-var { color: #e5edf5; }
.tk-op  { color: #90a4bb; }

.lp-code-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #8fa6bd;
  font-size: 0.78rem;
  font-weight: 600;
}

.lp-code-foot i {
  color: #56d6a8;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  counter-reset: lp-step;
}

.lp-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--lp-line);
  counter-increment: lp-step;
}

.lp-step::before {
  display: block;
  margin-bottom: 12px;
  color: var(--lp-brand-ink);
  content: counter(lp-step, decimal-leading-zero);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lp-step h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
}

.lp-step p {
  margin: 0;
  color: var(--lp-body);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lp-price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
}

.lp-price-card--featured {
  border-color: var(--lp-brand);
  box-shadow: 0 18px 44px rgba(26, 134, 255, 0.18);
}

.lp-price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  /* Fixed deep blue: the theme brand token is too light behind 11px white
     uppercase text in dark mode. */
  background: #0b5ed7;
  border-radius: 999px;
  background: var(--lp-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-price-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--lp-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-price {
  min-height: 66px;
  margin-bottom: 20px;
  color: var(--lp-ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lp-price small {
  display: block;
  margin-top: 6px;
  color: var(--lp-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.lp-price-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.lp-price-list li {
  display: flex;
  gap: 9px;
  color: var(--lp-body);
  font-size: 0.875rem;
  line-height: 1.55;
}

.lp-price-list i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--lp-mint);
}

.lp-price-card .lp-button {
  width: 100%;
}

.lp-pricing-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--lp-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.lp-stat strong {
  display: block;
  margin-bottom: 6px;
  background: linear-gradient(94deg, #1a86ff 10%, #00b6d4 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

html[data-theme="dark"] .lp-stat strong {
  background: linear-gradient(94deg, #66adff 10%, #4fd8f2 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-stat span {
  color: var(--lp-muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.lp-faq {
  max-width: 780px;
  margin-inline: auto;
}

.lp-faq-item {
  border-bottom: 1px solid var(--lp-line);
}

.lp-faq-item:first-child {
  border-top: 1px solid var(--lp-line);
}

.lp-faq-item summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 2px;
  color: var(--lp-ink);
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
}

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

.lp-faq-item summary:hover {
  color: var(--lp-brand-ink);
}

.lp-faq-item summary i {
  flex: 0 0 auto;
  color: var(--lp-muted);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.lp-faq-item[open] summary i {
  transform: rotate(45deg);
}

.lp-faq-answer {
  max-width: 66ch;
  padding: 0 44px 24px 2px;
  color: var(--lp-body);
  font-size: 0.9875rem;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.lp-final {
  padding-bottom: 112px;
}

.lp-final-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 44px;
  padding: 62px 56px;
  border-radius: 24px;
  background: var(--lp-navy);
  box-shadow: var(--lp-shadow-lg);
}

.lp-final-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.038em;
}

.lp-final-card p {
  margin: 0;
  color: var(--lp-navy-soft);
  font-size: 1.0625rem;
}

.lp-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.lp-final-card .lp-button--ghost,
html[data-theme="dark"] .lp-final-card .lp-button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff !important;
}

.lp-final-card .lp-button--ghost:hover,
html[data-theme="dark"] .lp-final-card .lp-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.lp-footer {
  border-top: 1px solid var(--lp-line);
  background: var(--lp-bg-alt);
  padding: 72px 0 30px;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 46px;
  padding-bottom: 52px;
}

.lp-footer-logo img {
  width: auto;
  height: 30px;
  margin-bottom: 18px;
}

.lp-footer-about {
  max-width: 320px;
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.lp-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: var(--lp-surface);
  color: var(--lp-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-socials a:hover {
  border-color: var(--lp-brand);
  color: var(--lp-brand-ink);
}

.lp-footer h3 {
  margin-bottom: 18px;
  color: var(--lp-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-footer li,
.lp-footer a {
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-footer a:hover {
  color: var(--lp-brand-ink);
}

.lp-footer-identity {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-muted);
  font-size: 0.8rem;
  text-align: center;
}

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-muted);
  font-size: 0.8rem;
}

.lp-cookie-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lp-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  transition: color 0.15s ease;
}

.lp-cookie-link:hover {
  color: var(--lp-brand-ink);
}

/* --------------------------------------------------------------------------
   Cookie consent (banner + preferences modal)
   -------------------------------------------------------------------------- */

.lp-cookie-banner {
  position: fixed;
  z-index: 1200;
  bottom: 24px;
  left: 24px;
  width: min(440px, calc(100% - 48px));
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-lg);
}

.lp-cookie-banner[hidden] {
  display: none;
}

.lp-cookie-banner-inner {
  padding: 22px;
}

.lp-cookie-banner-copy {
  flex: 1;
  min-width: 0;
}

.lp-cookie-banner-copy h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.lp-cookie-banner-copy p {
  margin: 0;
  color: var(--lp-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.lp-cookie-banner-copy a {
  color: var(--lp-brand-ink);
  text-decoration: underline;
}

.lp-cookie-manage-link {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lp-brand-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}

.lp-cookie-manage-link:hover {
  text-decoration: underline;
}

.lp-cookie-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.lp-cookie-banner-actions .lp-button {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.875rem;
}

.lp-cookie-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lp-cookie-modal[hidden] {
  display: none;
}

.lp-cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 22, 0.55);
  backdrop-filter: blur(2px);
}

.lp-cookie-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-surface);
  box-shadow: var(--lp-shadow-lg);
}

.lp-cookie-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.lp-cookie-dialog-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.lp-cookie-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: var(--lp-bg-alt);
  color: var(--lp-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lp-cookie-close:hover {
  border-color: var(--lp-line-strong);
}

.lp-cookie-intro {
  margin: 0 0 18px;
  color: var(--lp-body);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lp-cookie-item {
  display: block;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  background: var(--lp-bg-alt);
}

.lp-cookie-item--toggle {
  cursor: pointer;
}

.lp-cookie-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.lp-cookie-item-title {
  color: var(--lp-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.lp-cookie-item p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.lp-cookie-badge {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lp-mint-wash);
  color: var(--lp-mint);
  font-size: 0.68rem;
  font-weight: 700;
}

/* Toggle switch */
.lp-switch {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
}

.lp-switch input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.lp-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--lp-line-strong);
  transition: background-color 0.18s ease;
}

.lp-switch-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  content: "";
  transition: transform 0.18s ease;
}

.lp-switch input:checked + .lp-switch-track {
  background: var(--lp-brand);
}

.lp-switch input:checked + .lp-switch-track::after {
  transform: translateX(18px);
}

.lp-switch input:focus-visible + .lp-switch-track {
  outline: 2px solid var(--lp-brand);
  outline-offset: 2px;
}

.lp-cookie-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

body.lp-cookie-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.lp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  :root {
    --lp-angle: 4vw;
  }

  .lp-desktop-nav,
  .lp-header-login,
  .lp-header-register {
    display: none;
  }

  .lp-menu-toggle {
    display: grid;
  }

  .lp-header-actions {
    gap: 8px;
  }

  .lp-mobile-menu {
    display: block;
    max-height: calc(100dvh - var(--lp-header-h));
    overflow-y: auto;
    border-top: 1px solid var(--lp-line);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow-md);
  }

  .lp-mobile-menu[hidden] {
    display: none;
  }

  .lp-mobile-menu-inner {
    display: grid;
    padding: 8px 0 22px;
  }

  .lp-mobile-menu a {
    display: flex;
    min-height: 50px;
    align-items: center;
    border-bottom: 1px solid var(--lp-line);
    color: var(--lp-ink);
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .lp-mobile-menu .lp-button {
    justify-content: center;
    margin-top: 16px;
    border-bottom: 0;
    color: #fff !important;
  }

  .lp-hero-grid,
  .lp-dev-grid {
    gap: 40px;
  }

  .lp-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

  .lp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 880px) {
  .lp-section {
    padding: 80px 0;
  }

  .lp-hero {
    padding: 56px 0 84px;
  }

  .lp-hero-grid,
  .lp-dev-grid,
  .lp-final-card {
    grid-template-columns: 1fr;
  }

  .lp-hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

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

  .lp-app-card {
    grid-template-columns: 1fr;
  }

  .lp-app-media {
    min-height: 470px;
  }

  .lp-app-copy {
    padding: 46px;
  }

  .lp-dev {
    padding: calc(var(--lp-angle) + 74px) 0;
  }

  .lp-final-card {
    padding: 48px 34px;
    text-align: center;
  }

  .lp-final-actions {
    justify-content: center;
  }

  .lp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px;
  }
}

@media (max-width: 620px) {
  :root {
    --lp-header-h: 66px;
    --lp-angle: 7vw;
  }

  body.lp-page {
    font-size: 1rem;
  }

  .lp-shell {
    width: min(calc(100% - 32px), var(--lp-max));
  }

  .lp-section {
    padding: 64px 0;
  }

  .lp-section-head {
    margin-bottom: 40px;
  }

  .lp-brand img,
  .lp-footer-logo img {
    height: 26px;
  }

  .lp-icon-button {
    width: 38px;
    height: 38px;
  }

  .lp-hero {
    padding: 44px 0 70px;
  }

  .lp-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
  }

  .lp-hero-lead {
    font-size: 1.0625rem;
  }

  .lp-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .lp-hero-actions .lp-button {
    width: 100%;
  }

  .lp-assurances {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lp-frame-url {
    display: none;
  }

  .lp-logos {
    padding-bottom: 58px;
  }

  .lp-logo-row {
    gap: 18px 28px;
  }

  .lp-logo-row img {
    max-width: 74px;
    height: 22px;
  }

  .lp-app-promo {
    padding-bottom: 58px;
  }

  .lp-app-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .lp-app-media {
    min-height: 430px;
  }

  .lp-phone {
    width: 202px;
  }

  .lp-app-copy {
    align-items: flex-start;
    padding: 28px 24px 30px;
    text-align: left;
  }

  .lp-app-brand {
    margin-bottom: 18px;
  }

  .lp-app-copy h2 {
    max-width: 330px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  .lp-app-copy p {
    margin-bottom: 24px;
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .lp-store-badges {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lp-play-badge {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    gap: 8px;
    padding: 8px 10px;
  }

  .lp-play-logo {
    width: 27px;
    height: 27px;
  }

  .lp-apple-logo {
    width: 27px;
    font-size: 1.7rem;
  }

  .lp-play-badge small {
    font-size: 0.58rem;
  }

  .lp-play-badge strong {
    font-size: 0.96rem;
  }

  .lp-feature-copy {
    padding: 26px 22px 22px;
  }

  .lp-steps,
  .lp-pricing-grid,
  .lp-stats {
    grid-template-columns: 1fr;
  }

  .lp-steps {
    gap: 26px;
  }

  .lp-code-body {
    padding: 16px;
  }

  .lp-code pre {
    font-size: 0.75rem;
  }

  .lp-final {
    padding-bottom: 76px;
  }

  .lp-final-card {
    padding: 40px 22px;
    border-radius: 20px;
  }

  .lp-final-actions .lp-button {
    width: 100%;
  }

  .lp-faq-answer {
    padding-right: 8px;
  }

  .lp-footer {
    padding-top: 56px;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lp-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .lp-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .lp-cookie-banner-inner {
    padding: 18px;
  }

  .lp-cookie-banner-actions .lp-button {
    width: 100%;
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .lp-store-badges {
    grid-template-columns: 1fr;
  }

  .lp-play-badge {
    justify-content: flex-start;
    padding-inline: 22px;
  }
}

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

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

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