/* DeniBook landing — visual match to marketing mockup (polish first) */

:root {
  --lm-purple: #5b2fd1;
  --lm-purple-mid: #6c3ce8;
  --lm-purple-deep: #3b168f;
  --lm-purple-soft: #f1ebff;
  --lm-ink: #12182b;
  --lm-muted: #667085;
  --lm-line: #e8eaf2;
  --lm-bg: #fafafc;
  --lm-white: #ffffff;
  --lm-red: #e84747;
  --lm-orange: #ff8a1f;
  --lm-green: #18a957;
  --lm-shadow: 0 18px 50px rgba(51, 33, 110, 0.12);
  --lm-max: 1140px;
  --lm-radius: 16px;
  --lm-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body.lm {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--lm-ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(91, 47, 209, 0.1), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--lm-bg) 42%, #fff 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

/* ── Header ── */
.lm-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 234, 240, 0.95);
  padding-top: env(safe-area-inset-top, 0);
}

.lm-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--lm-purple);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.lm-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.lm-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c2438;
}

.lm-nav-links a:hover {
  color: var(--lm-purple);
}

.lm-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lm-menu {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--lm-line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lm-menu span,
.lm-menu span::before,
.lm-menu span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lm-ink);
  border-radius: 1px;
  position: relative;
}

.lm-menu span::before,
.lm-menu span::after {
  content: '';
  position: absolute;
  left: 0;
}

.lm-menu span::before {
  top: -6px;
}

.lm-menu span::after {
  top: 6px;
}

.lm-drawer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--lm-line);
  background: #fff;
}

.lm-drawer[hidden] {
  display: none !important;
}

.lm-drawer > a:not(.lm-btn) {
  padding: 14px 12px;
  font-weight: 600;
  border-radius: 12px;
}

.lm-drawer > a:not(.lm-btn):hover {
  background: var(--lm-purple-soft);
}

/* ── Buttons ── */
.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.lm-btn:hover {
  transform: translateY(-1px);
}

.lm-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--lm-purple-mid), var(--lm-purple));
  box-shadow: 0 12px 28px rgba(91, 47, 209, 0.3);
}

.lm-btn--primary:hover {
  background: linear-gradient(135deg, #7a4ef0, var(--lm-purple-deep));
  color: #fff;
}

.lm-btn--ghost {
  background: #fff;
  border-color: rgba(91, 47, 209, 0.4);
  color: var(--lm-purple);
}

.lm-btn--ghost:hover {
  background: var(--lm-purple-soft);
}

.lm-btn--white {
  background: #fff;
  color: var(--lm-purple);
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.lm-btn--white:hover {
  background: #f6f2ff;
}

.lm-btn--lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
}

.lm-btn--block {
  width: 100%;
}

.lm-link {
  color: var(--lm-purple);
  font-weight: 700;
  padding: 8px 4px;
}

.lm-link:hover {
  text-decoration: underline;
}

/* ── Hero ── */
.lm-hero {
  padding: 48px 0 28px;
}

.lm-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.lm-pill {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lm-purple-soft);
  color: var(--lm-purple);
  font-weight: 700;
  font-size: 0.88rem;
}

.lm-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--lm-ink);
  max-width: 11ch;
}

.lm-lede {
  margin: 20px 0 0;
  max-width: 40ch;
  font-size: 1.12rem;
  color: #425066;
  line-height: 1.55;
}

.lm-checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.lm-checks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #3d465c;
}

.lm-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--lm-purple);
  color: var(--lm-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 22px;
  line-height: 1;
}

.lm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
}

.lm-proof {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #59627a;
  font-weight: 600;
  font-size: 0.95rem;
}

.lm-avatars {
  display: flex;
  align-items: center;
}

.lm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: var(--lm-purple-soft);
  box-shadow: 0 2px 8px rgba(20, 20, 40, 0.12);
}

.lm-avatar:first-child {
  margin-left: 0;
}

/* Phone mock */
.lm-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.lm-phone-glow {
  position: absolute;
  inset: 8% 4% 0;
  background: radial-gradient(circle, rgba(91, 47, 209, 0.32), transparent 65%);
  filter: blur(30px);
}

.lm-phone {
  position: relative;
  width: min(310px, 88vw);
  padding: 12px;
  border-radius: 46px;
  background: #0d0d11;
  border: 2px solid #3a3a40;
  box-shadow: 0 38px 70px rgba(20, 20, 40, 0.28);
}

.lm-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #060608;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.lm-screen {
  background: #f7f7fb;
  border-radius: 36px;
  padding: 28px 14px 12px;
  min-height: 580px;
}

.lm-screen-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 14px;
}

.lm-screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.lm-screen-top strong {
  display: block;
  font-size: 0.95rem;
}

.lm-screen-top small {
  color: var(--lm-muted);
  font-size: 0.72rem;
}

.lm-screen-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddd6fe, #8b5cf6);
}

.lm-balance {
  background: linear-gradient(135deg, #5520c0, #7c45ef);
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(76, 32, 180, 0.32);
}

.lm-balance small {
  display: block;
  opacity: 0.88;
  font-size: 0.75rem;
}

.lm-balance strong {
  display: block;
  font-size: 1.35rem;
  margin: 4px 0;
  letter-spacing: -0.02em;
}

.lm-mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 14px;
}

.lm-mini {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #ececf3;
  box-shadow: 0 4px 14px rgba(30, 30, 60, 0.06);
}

.lm-mini small {
  display: block;
  color: var(--lm-muted);
  font-size: 0.68rem;
}

.lm-mini strong {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
}

.lm-red {
  color: var(--lm-red);
}

.lm-orange {
  color: var(--lm-orange);
}

.lm-green {
  color: var(--lm-green);
}

.lm-activity-hd {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.lm-activity-link {
  color: var(--lm-purple);
  font-size: 0.68rem;
  font-weight: 700;
}

.lm-activity {
  display: grid;
  gap: 7px;
}

.lm-act {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 11px;
  padding: 9px;
}

.lm-act-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #efe8ff;
  color: var(--lm-purple);
  font-weight: 900;
  font-size: 0.75rem;
  line-height: 1;
  flex: 0 0 30px;
}

.lm-act-ic--ok {
  background: #e8faf0;
  color: var(--lm-green);
}

.lm-act strong {
  display: block;
  font-size: 0.7rem;
}

.lm-act small {
  display: block;
  color: var(--lm-muted);
  font-size: 0.62rem;
}

.lm-act-amt {
  font-size: 0.68rem;
  font-weight: 800;
  text-align: right;
}

.lm-tabbar {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  text-align: center;
  font-size: 0.9rem;
  color: #62697a;
}

.lm-tabbar i {
  display: block;
  font-style: normal;
  font-size: 0.52rem;
  margin-top: 2px;
}

.lm-tabbar-plus {
  width: 38px;
  height: 38px;
  margin: 0 auto 2px;
  border-radius: 50%;
  background: var(--lm-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

/* ── Stats ── */
.lm-stats {
  padding: 8px 0 20px;
}

.lm-stats-bar {
  background: linear-gradient(135deg, #5a27c8 0%, #3e167f 100%);
  color: #fff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: var(--lm-shadow);
  overflow: hidden;
}

.lm-stat {
  padding: 26px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  position: relative;
  min-width: 0;
}

.lm-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.lm-stat-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  line-height: 0;
}

.lm-stat-ic svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lm-stat-copy {
  min-width: 0;
  flex: 1;
}

.lm-stat-copy strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lm-stat-copy span {
  display: block;
  opacity: 0.88;
  font-size: 0.86rem;
  margin-top: 4px;
  line-height: 1.35;
}

/* ── Sections ── */
.lm-section {
  padding: 52px 0;
}

.lm-section--tight {
  padding: 24px 0 40px;
}

.lm-section-hd {
  text-align: center;
  margin-bottom: 36px;
}

.lm-section-hd h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.lm-section-sub {
  margin: 12px auto 0;
  max-width: 42ch;
  color: var(--lm-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.lm-pill--centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── Pricing ── */
.lm-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Four tiers (Starter / Smart / Growth / Business): even row on desktop. */
.lm-price-grid--packs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lm-shared {
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--lm-border, #eef2f7);
  text-align: center;
  box-sizing: border-box;
}

.lm-shared__label {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lm-muted, #94a3b8);
}

.lm-shared__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.lm-shared__chip {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lm-border, #e2e8f0);
  color: var(--lm-ink, #334155);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.25;
}

.lm-shared__items {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--lm-ink, #111827);
}

.lm-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1rem 1rem;
  background: #fff;
  border: 1px solid var(--lm-line);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.lm-price-card--featured {
  border-color: rgba(91, 47, 209, 0.35);
  box-shadow: 0 0 0 1px rgba(91, 47, 209, 0.2), 0 8px 24px rgba(91, 47, 209, 0.08);
  background: linear-gradient(180deg, #faf8ff 0%, #fff 48%);
  transform: none;
}

.lm-price-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lm-purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lm-price-card__badge--inline {
  position: static;
  display: inline-flex;
  margin: 0.35rem 0 0;
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
}

.lm-price-card__tier {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lm-ink);
  letter-spacing: -0.01em;
}

.lm-price-card__amount {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--lm-ink);
}

.lm-price-card__annual-note {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--lm-accent, #5b2fd1);
  font-size: 0.82em;
  font-weight: 600;
}

.lm-price-card__period {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--lm-muted);
}

.lm-price-card__highlight {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--lm-purple-soft);
  color: var(--lm-purple);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.lm-price-card__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  align-content: start;
}

.lm-price-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #425066;
  line-height: 1.35;
}

.lm-price-card__feat-title {
  display: block;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.lm-price-card__feat-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  color: #94a3b8;
}

.lm-price-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lm-purple);
  font-weight: 800;
  line-height: 1.35;
}

.lm-price-card--premium .lm-price-card__tier {
  font-size: 0.95rem;
  line-height: 1.25;
  padding-right: 0;
  max-width: 100%;
}

.lm-price-card__offer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.85rem;
  flex: 1 1 auto;
}

.lm-price-card__offer-sec {
  min-width: 0;
}

.lm-price-card__offer-hd {
  margin: 0 0 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lm-muted, #94a3b8);
}

.lm-price-card__offer .lm-price-card__list {
  margin-top: 0;
}

.lm-price-card .lm-btn {
  margin-top: auto;
  min-height: 48px;
}

.lm-sms-panel {
  margin-top: 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--lm-line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(51, 33, 110, 0.05);
}

.lm-sms-panel[hidden] {
  display: none !important;
}

.lm-sms-panel__hd {
  text-align: center;
  margin-bottom: 16px;
}

.lm-sms-panel__hd h3 {
  margin: 0;
  font-size: 1.15rem;
}

.lm-sms-panel__hd p {
  margin: 6px 0 0;
  color: var(--lm-muted);
  font-size: 0.92rem;
}

.lm-sms-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lm-sms-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px;
  border-radius: 14px;
  background: #f7f7fb;
  border: 1px solid #ececf3;
  text-align: center;
  min-width: 0;
}

.lm-sms-card--best {
  background: var(--lm-purple-soft);
  border-color: rgba(91, 47, 209, 0.28);
}

.lm-sms-card__tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lm-purple);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.lm-sms-card__count {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lm-ink);
}

.lm-sms-card__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lm-purple);
}

.lm-sms-card__per {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lm-ink);
}

.lm-sms-card--best .lm-sms-card__per {
  color: var(--lm-purple);
  font-weight: 800;
}

.lm-sms-card__note {
  font-size: 0.78rem;
  color: var(--lm-muted);
}

.lm-sms-topups {
  margin: 28px auto 0;
  max-width: 52rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 4px;
}

.lm-sms-topups__hd {
  text-align: center;
  margin-bottom: 0.85rem;
}

.lm-sms-topups__title {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--lm-ink, #111827);
}

.lm-sms-topups__support {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.8rem;
  color: var(--lm-muted);
  line-height: 1.4;
}

.lm-sms-topups__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.lm-sms-topup-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--lm-line, #e5e7eb);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fafafa;
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}

.lm-sms-topup-card__main {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
}

.lm-sms-topup-card__name {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.2;
}

.lm-sms-topup-card__sms {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lm-ink, #111827);
  line-height: 1.2;
}

.lm-sms-topup-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  min-width: 0;
}

.lm-sms-topup-card__amount {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--lm-ink, #374151);
  white-space: nowrap;
  line-height: 1.2;
}

.lm-sms-topup-card .lm-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 3.75rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .lm-sms-topups__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lm-sms-topup-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem 0.8rem 0.75rem;
  }

  .lm-sms-topup-card__aside {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lm-price-note {
  margin: 18px auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--lm-muted);
  line-height: 1.45;
}

.lm-cta-band--pricing {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .lm-price-grid,
  .lm-price-grid--packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .lm-price-grid,
  .lm-price-grid--packs {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .lm-price-card--featured {
    transform: none;
  }

  .lm-sms-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .lm-sms-grid {
    grid-template-columns: 1fr;
  }
}

.lm-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.lm-feature-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lm-purple-soft);
  color: var(--lm-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  line-height: 0;
}

.lm-feature-ic svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lm-feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lm-feature p {
  margin: 0;
  color: #59627a;
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ── Social / testimonial ── */
.lm-social {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--lm-radius-lg);
  background: linear-gradient(135deg, #f6f0ff, #fff);
  border: 1px solid #eee5ff;
  align-items: center;
}

.lm-quote-block {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
}

.lm-portrait {
  position: relative;
  width: 132px;
  height: 132px;
}

.lm-portrait-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.85);
  object-fit: cover;
  object-position: 48% 12%;
  display: block;
  background: var(--lm-purple-soft);
  box-shadow: 0 10px 30px rgba(60, 40, 100, 0.12);
}

.lm-quote-mark {
  position: absolute;
  right: -6px;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lm-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  padding-top: 4px;
  box-shadow: 0 8px 18px rgba(91, 47, 209, 0.35);
}

.lm-quote {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--lm-ink);
}

.lm-quote-meta strong,
.lm-quote-meta span {
  display: block;
}

.lm-quote-meta span {
  color: var(--lm-muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.lm-stars {
  margin: 10px 0 0;
  color: #f4a900;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.lm-stars span {
  color: var(--lm-muted);
  letter-spacing: 0;
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: 6px;
}

.lm-press {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lm-press h3 {
  margin: 0 0 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #7a8090;
}

.lm-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  align-items: center;
  justify-items: center;
}

.lm-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 28px;
  object-fit: contain;
  opacity: 0.92;
  filter: grayscale(1);
}

/* ── CTA band ── */
.lm-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #5a27c4, #3e167f);
  box-shadow: var(--lm-shadow);
}

.lm-cta-band-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.lm-gift {
  font-size: 1.6rem;
  line-height: 1;
  margin-top: 2px;
}

.lm-cta-band-text strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lm-cta-band-text span {
  display: block;
  opacity: 0.9;
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ── FAQ + support ── */
.lm-faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.lm-support {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.lm-support-card {
  background: #fff;
  border: 1px solid var(--lm-line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 28px rgba(51, 33, 110, 0.06);
  display: grid;
  gap: 12px;
}

.lm-support-title {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lm-support-lede {
  margin: -4px 0 6px;
  color: var(--lm-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.lm-support-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  min-width: 0;
}

.lm-support-row--link {
  text-decoration: none;
  color: inherit;
  border-color: var(--lm-line);
  background: #fbfbfd;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.lm-support-row--link:hover {
  border-color: rgba(91, 47, 209, 0.28);
  background: var(--lm-purple-soft);
  transform: translateY(-1px);
}

.lm-support-row--muted {
  background: #f7f7fb;
  border-color: #ececf3;
}

.lm-support-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lm-purple-soft);
  color: var(--lm-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  line-height: 0;
}

.lm-support-ic svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lm-support-ic--wa {
  background: #ebfff2;
  color: #18a957;
}

.lm-support-ic--mail {
  background: #eef2ff;
  color: var(--lm-purple);
}

.lm-support-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lm-support-text strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.25;
}

.lm-support-text span {
  display: block;
  color: var(--lm-muted);
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
}

.lm-play-wrap {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--lm-line);
}

.lm-play-label {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lm-ink);
}

.lm-play-badge {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  line-height: 0;
  max-width: 100%;
}

.lm-play-badge:focus-visible {
  outline: 2px solid var(--lm-purple);
  outline-offset: 3px;
}

.lm-play-badge__svg {
  display: block;
  width: min(155px, 100%);
  height: auto;
}

.lm-play-soon {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lm-play-soon[hidden] {
  display: none !important;
}

.lm-play-soon__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.lm-play-soon__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  margin: 0 auto;
  padding: 22px 20px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  box-sizing: border-box;
}

.lm-play-soon__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lm-play-soon__body {
  margin: 0 0 16px;
  color: var(--lm-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

body.lm-play-soon-open {
  overflow: hidden;
}

.lm-faq h2 {
  margin: 0 0 16px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.lm-acc {
  border: 1px solid var(--lm-line);
  background: #fff;
  border-radius: 12px;
  padding: 0 18px;
  margin-bottom: 10px;
}

.lm-acc summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 16px 28px 16px 0;
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.lm-acc summary::-webkit-details-marker {
  display: none;
}

.lm-acc summary::after {
  content: '⌄';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #98a0b3;
  font-size: 1.15rem;
}

.lm-acc[open] summary::after {
  content: '⌃';
}

.lm-acc p {
  margin: 0 0 16px;
  color: var(--lm-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Footer ── */
.lm-footer {
  border-top: 1px solid var(--lm-line);
  padding: 22px 0 calc(28px + env(safe-area-inset-bottom, 0));
  color: #6f7688;
  font-size: 0.88rem;
}

.lm-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lm-footer-copy {
  margin: 0;
  max-width: 36rem;
  line-height: 1.45;
  min-width: 0;
}

.lm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  min-width: 0;
}

.lm-footer-links a:hover {
  color: var(--lm-purple);
}

/* Sticky mobile CTA */
.lm-sticky {
  display: none;
}

.lm-has-sticky {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0));
}

@media (max-width: 980px) {
  .lm-nav-links {
    display: none;
  }

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

  .lm-hero-grid,
  .lm-features,
  .lm-social,
  .lm-faq-grid,
  .lm-stats-bar {
    grid-template-columns: 1fr;
  }

  .lm-features {
    grid-template-columns: 1fr 1fr;
  }

  .lm-stat:nth-child(2)::after {
    display: none;
  }

  .lm-stat:not(:last-child)::after {
    width: 84%;
    height: 1px;
    left: 8%;
    right: auto;
    top: auto;
    bottom: 0;
  }

  .lm-quote-block {
    grid-template-columns: 1fr;
  }

  .lm-portrait {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 640px) {
  .lm-container {
    width: min(calc(100% - 24px), var(--lm-max));
  }

  .lm-nav-actions .lm-btn--ghost {
    display: none;
  }

  .lm-hero {
    padding-top: 28px;
  }

  .lm-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    max-width: none;
  }

  .lm-lede {
    font-size: 1rem;
    max-width: none;
  }

  .lm-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .lm-hero-cta .lm-btn--lg {
    width: 100%;
  }

  .lm-hero-cta .lm-link {
    text-align: center;
  }

  .lm-features {
    grid-template-columns: 1fr;
  }

  .lm-cta-band {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }

  .lm-btn--white {
    width: 100%;
    min-width: 0;
  }

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

  .lm-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--lm-line);
  }

  .lm-sticky[hidden] {
    display: none !important;
  }

  .lm-sticky .lm-btn {
    min-height: 50px;
  }
}

@media (min-width: 981px) {
  .lm-sticky {
    display: none !important;
  }
}
