/* =========================================================
   火巨AI获客 · 安装落地页
   设计方向：青柠绿品牌色 / 净白基底 / 玻璃拟态 / Bento 卡片
   ========================================================= */

:root {
  --font-sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;

  --ink: #101912;
  --ink-2: #3c4b40;
  --ink-3: #5d6b60;
  --ink-4: #879389;
  --paper: #f4f6fa;
  --white: #ffffff;

  --lime: #c7fb3f;
  --lime-soft: #f0ffd7;
  --accent: #3d5c00;
  --accent-strong: #2c4a00;
  --blue: #1557d6;
  --green: #0f7a55;
  --flame: #e94d18;

  --dark: #0c1a0f;

  --line: rgba(16, 25, 18, 0.09);
  --line-strong: rgba(16, 25, 18, 0.15);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 8px 24px rgba(29, 56, 16, 0.07);
  --shadow-md: 0 20px 56px rgba(29, 56, 16, 0.1);
  --shadow-cta: 0 17px 38px rgba(101, 157, 0, 0.27), 0 4px 10px rgba(35, 63, 8, 0.12);
  --shadow-modal: 0 40px 100px rgba(10, 23, 13, 0.3);

  --container: 1120px;
  --gutter: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 300px;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 68% 34% at 100% 0%, rgba(199, 251, 63, 0.28), transparent 72%),
    radial-gradient(ellipse 42% 30% at 0% 64%, rgba(199, 251, 63, 0.1), transparent 70%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(21, 87, 214, 0.72);
  outline-offset: 3px;
}

::selection {
  background: rgba(199, 251, 63, 0.62);
  color: var(--ink);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  pointer-events: none;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 34px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Global type + buttons
   ========================================================= */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.17em;
}

.kicker::before {
  width: 18px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.6;
  content: "";
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.section-heading p {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.btn:active {
  transform: scale(0.985);
}

.btn-primary {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: 70px;
  padding: 10px 14px 10px 11px;
  overflow: hidden;
  border: 1px solid rgba(16, 25, 18, 0.13);
  border-radius: var(--radius-md);
  background:
    linear-gradient(118deg, #d7ff67 0%, #c7fb3f 46%, #b7ef24 100%);
  box-shadow: var(--shadow-cta);
  color: var(--ink);
  text-align: left;
}

.btn-primary::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: calc(var(--radius-md) - 2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 52%);
  content: "";
  pointer-events: none;
}

.btn-primary::after {
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -42%;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  content: "";
  animation: ctaSheen 6.5s var(--ease-soft) infinite;
  pointer-events: none;
}

.btn-primary:hover {
  box-shadow:
    0 22px 44px rgba(96, 150, 0, 0.32),
    0 5px 12px rgba(33, 60, 8, 0.12);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.985);
}

.btn-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 4px 10px rgba(16, 34, 8, 0.14);
  color: var(--lime);
}

.btn-icon .icon {
  width: 23px;
  height: 23px;
}

.btn-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.btn-copy strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy small {
  display: block;
  overflow: hidden;
  color: rgba(16, 25, 18, 0.7);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-tail {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  place-items: center;
  color: rgba(16, 25, 18, 0.5);
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}

.btn-tail .icon {
  width: 20px;
  height: 20px;
}

.btn-primary:hover .btn-tail {
  transform: translateX(3px);
  color: var(--ink);
}

.btn-secondary {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 5px 14px rgba(35, 69, 9, 0.05);
  color: var(--ink);
  font-size: 13px;
}

.btn-secondary:hover {
  border-color: rgba(61, 92, 0, 0.18);
  background: #fff;
  box-shadow: 0 8px 20px rgba(35, 69, 9, 0.08);
}

.btn-secondary .icon {
  width: 16px;
  height: 16px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-block: -8px;
  margin-left: auto;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding-top: var(--safe-top);
  background: var(--lime);
  transition:
    background-color 260ms var(--ease-soft),
    box-shadow 260ms var(--ease-soft),
    backdrop-filter 260ms var(--ease-soft);
}

.site-header.is-scrolled {
  background: rgba(247, 251, 244, 0.86);
  box-shadow: 0 1px 0 rgba(16, 25, 18, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.header-inner {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 22%, #ffffff 0%, #f8ffeb 64%, #e8ffd0 100%);
  box-shadow:
    0 7px 18px rgba(58, 105, 11, 0.16),
    inset 0 1px 0 #ffffff;
}

.brand-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-sub {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 7.5px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
}

.version-badge {
  display: inline-flex;
  height: 28px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(16, 25, 18, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.live-dot::after {
  position: absolute;
  inset: -3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--green);
  content: "";
  opacity: 0;
  animation: softPulse 2.8s var(--ease-soft) infinite;
}

.header-guide {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 5px 16px rgba(37, 76, 9, 0.06);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  transition:
    border-color 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.header-guide .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.header-guide:hover {
  border-color: rgba(41, 72, 6, 0.18);
  background: #fff;
  transform: translateY(-1px);
}

.header-guide:active,
.sticky-guide:active,
.modal-close:active,
.modal-tab:active,
.footer-links button:active,
.text-link:active,
.download-meta-link:active {
  transform: scale(0.97);
}

/* =========================================================
   In-app browser banner
   ========================================================= */

.inapp-banner {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "icon copy"
    "action action";
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 18px;
  padding: 13px 12px 13px 14px;
  border: 1.5px solid rgba(109, 156, 23, 0.32);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 255, 224, 0.98));
  box-shadow:
    0 14px 34px rgba(39, 78, 6, 0.15),
    inset 0 1px 0 #ffffff;
  animation: bannerIn 420ms var(--ease-out) both;
}

.inapp-banner::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--lime);
}

.inapp-banner[hidden] {
  display: none;
}

.inapp-icon {
  display: grid;
  grid-area: icon;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--dark);
}

.inapp-icon .icon {
  width: 20px;
  height: 20px;
}

.inapp-copy {
  grid-area: copy;
  min-width: 0;
}

.inapp-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--accent-strong);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.inapp-copy strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.inapp-copy p {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.inapp-copy p b {
  padding: 0 3px;
  border-radius: 4px;
  background: rgba(199, 251, 63, 0.5);
  color: var(--accent-strong);
  font-weight: 900;
}

.inapp-action {
  display: inline-flex;
  grid-area: action;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 13px;
  background: var(--dark);
  box-shadow: 0 9px 20px rgba(12, 26, 15, 0.18);
  color: var(--lime);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.inapp-action:hover {
  background: #1e3324;
}

.inapp-action:active {
  transform: scale(0.97);
}


.inapp-action .icon {
  width: 13px;
  height: 13px;
  opacity: 0.8;
}

.safari-banner .safari-icon {
  background: #fff4d6;
  color: #8a6100;
}

.safari-banner .inapp-action {
  background: var(--dark);
  color: var(--lime);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 26px 0 36px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(ellipse 90% 58% at 50% 0%, rgba(255, 255, 255, 0.26), transparent 72%),
    linear-gradient(180deg, #cbff50 0%, #c7fb3f 48%, #b9ef2f 100%);
}

.hero-ambient {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-ambient--one {
  top: -160px;
  right: -180px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 42%, transparent 71%);
}

.hero-ambient--two {
  top: 370px;
  left: -230px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(31, 82, 18, 0.12) 0%, transparent 68%);
}

.hero-grid-glow {
  position: absolute;
  z-index: -1;
  top: 68px;
  right: 0;
  left: 0;
  height: 640px;
  background-image:
    linear-gradient(rgba(22, 49, 11, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 49, 11, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 42%, #000 0%, transparent 67%);
  mask-image: radial-gradient(ellipse at 65% 42%, #000 0%, transparent 67%);
  opacity: 0.52;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-areas:
    "copy"
    "art"
    "actions";
  gap: 0;
}

.hero-copy {
  grid-area: copy;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 7px 20px rgba(42, 81, 8, 0.08);
  color: var(--ink-2);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.09em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.eyebrow-en {
  color: var(--ink-2);
  white-space: nowrap;
}

.eyebrow-line {
  width: 12px;
  height: 1px;
  background: rgba(16, 25, 18, 0.24);
}

.eyebrow-new {
  color: var(--accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero-title {
  margin-top: 17px;
  color: var(--ink);
  font-size: clamp(1.95rem, 9.6vw, 3.2rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.title-dot {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--dark);
  box-shadow: 0 0 0 0.05em rgba(12, 26, 15, 0.12);
  vertical-align: baseline;
  -webkit-text-fill-color: initial;
}

.hero-lead {
  max-width: 36em;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.8;
  letter-spacing: 0.005em;
}

.hero-lead .lead-line {
  display: block;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.hero-tags .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.hero-tags li:nth-child(2) .icon {
  color: var(--blue);
}

.hero-tags li:nth-child(3) .icon {
  color: var(--flame);
}

.hero-art {
  position: relative;
  display: grid;
  grid-area: art;
  width: 100%;
  min-height: 248px;
  margin: 2px 0 -1px;
  place-items: center;
  isolation: isolate;
}

.hero-halo {
  position: absolute;
  z-index: -1;
  width: min(86vw, 380px);
  height: min(86vw, 380px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92) 0%, rgba(245, 255, 225, 0.4) 40%, rgba(255, 255, 255, 0.08) 65%, transparent 76%);
  filter: blur(4px);
}

.hero-mascot {
  position: relative;
  z-index: 2;
  width: min(72vw, 295px);
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(43, 77, 8, 0.2));
  transform: rotate(-1.5deg);
  animation: mascotFloat 5.6s var(--ease-soft) infinite;
  user-select: none;
  -webkit-user-drag: none;
}

.orbit {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.orbit--outer {
  width: 276px;
  height: 276px;
  border: 1px dashed rgba(16, 45, 8, 0.22);
  animation: orbitSpin 38s linear infinite;
}

.orbit--inner {
  width: 218px;
  height: 218px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, 0.14),
    inset 0 0 28px rgba(255, 255, 255, 0.34);
}

.orbit-dot {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  background: var(--dark);
  box-shadow: 0 3px 8px rgba(27, 55, 8, 0.25);
}

.orbit-dot--one {
  top: 31px;
  right: 30%;
}

.orbit-dot--two {
  bottom: 44px;
  left: 21%;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 10px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 30px rgba(45, 81, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: -0.01em;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  animation: chipFloat 6.5s var(--ease-soft) infinite;
}

.hero-chip-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime-soft);
  color: var(--accent);
}

.hero-chip-icon .icon {
  width: 14px;
  height: 14px;
}

.hero-chip-icon--green {
  background: rgba(15, 122, 85, 0.1);
  color: var(--green);
}

.hero-chip--a {
  top: 26px;
  left: 0;
}

.hero-chip--b {
  right: 0;
  bottom: 37px;
  animation-delay: -2.4s;
}

.hero-chip--status {
  display: none;
  right: 18%;
  bottom: 10px;
  padding: 6px 10px;
  animation-delay: -4s;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 122, 85, 0.1);
}

.hero-actions {
  grid-area: actions;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 20px 46px rgba(39, 79, 6, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.device-line {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.4;
}

.detect-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-4);
}

.detect-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  content: "";
  opacity: 0.2;
}

.device-line[data-platform="android"] .detect-dot {
  background: var(--green);
  color: var(--green);
}

.device-line[data-platform="ios"] .detect-dot {
  background: var(--blue);
  color: var(--blue);
}

.device-line[data-platform="desktop"] .detect-dot {
  background: var(--ink-3);
  color: var(--ink-3);
}

.device-line[data-platform="android"] .detect-dot::after {
  animation: dotBreath 2.4s var(--ease-soft) infinite;
}

.platform-badge {
  display: inline-flex;
  height: 19px;
  align-items: center;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--dark);
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
}

.device-line[data-inapp="true"] .platform-badge {
  background: var(--lime-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px #d7efaa;
}

.cta-assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: 11px;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.5;
}

.cta-assurance > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.cta-assurance .icon {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
}

.assurance-divider {
  width: 1px;
  height: 10px;
  background: var(--line-strong);
}

.cta-assurance .text-link {
  margin-left: 0;
  font-size: 10.5px;
}

/* =========================================================
   Download + QR
   ========================================================= */

.download-section {
  padding-top: 22px;
}

.download-card {
  position: relative;
  display: grid;
  gap: 26px;
  overflow: hidden;
  padding: 26px 22px 22px;
  border: 1px solid rgba(61, 92, 0, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(95% 110% at 100% 0%, rgba(199, 251, 63, 0.38), transparent 54%),
    linear-gradient(150deg, #ffffff 0%, #f8ffed 100%);
  box-shadow:
    0 30px 70px rgba(38, 78, 7, 0.13),
    inset 0 1px 0 #ffffff;
  color: var(--ink);
  isolation: isolate;
}

.download-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 92, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 92, 0, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: linear-gradient(140deg, #000 0%, rgba(0, 0, 0, 0.22) 62%, transparent 92%);
  mask-image: linear-gradient(140deg, #000 0%, rgba(0, 0, 0, 0.22) 62%, transparent 92%);
  pointer-events: none;
}

.download-glow {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -150px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 251, 63, 0.6) 0%, rgba(199, 251, 63, 0.14) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.download-watermark {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: -21px;
  color: transparent;
  font-size: 86px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  opacity: 0.55;
  -webkit-text-stroke: 1px rgba(61, 92, 0, 0.11);
  user-select: none;
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy h2 {
  margin-top: 11px;
  color: var(--ink);
  font-size: clamp(2.1rem, 9.3vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.download-copy > p {
  max-width: 36ch;
  margin-top: 11px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.75;
}

.download-copy .btn-primary {
  margin-top: 20px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.5;
  list-style: none;
}

.download-meta li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.download-meta .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.download-meta-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 2px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  transition: color 160ms var(--ease-out);
}

.download-meta-link:hover {
  color: var(--accent-strong);
}

.download-meta-link .icon {
  width: 12px;
  height: 12px;
}

.qr-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 330px;
  justify-self: center;
  padding: 18px 17px 16px;
  border: 1px solid rgba(61, 92, 0, 0.12);
  border-radius: 23px;
  background:
    radial-gradient(circle at 50% 0%, #ffffff, #f7ffea 68%),
    #ffffff;
  box-shadow:
    0 18px 40px rgba(40, 80, 7, 0.13),
    inset 0 1px 0 #ffffff;
  color: var(--ink);
  text-align: center;
}

.qr-frame {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(61, 92, 0, 0.12);
  border-radius: 17px;
  background: #fff;
  box-shadow:
    0 9px 24px rgba(40, 78, 8, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.qr-code {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
}

.qr-code canvas,
.qr-code img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 27px;
  height: 27px;
  padding: 2px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 2px solid #fff;
  border-radius: 8px;
  background: var(--lime-soft);
  box-shadow: 0 2px 7px rgba(42, 76, 9, 0.15);
}

.qr-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-frame.has-custom-qr .qr-logo,
.qr-frame.has-qr-error .qr-logo {
  display: none;
}

.qr-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(61, 92, 0, 0.34);
  border-style: solid;
  pointer-events: none;
}

.qr-corner--tl {
  top: 5px;
  left: 5px;
  border-width: 1px 0 0 1px;
  border-top-left-radius: 4px;
}

.qr-corner--tr {
  top: 5px;
  right: 5px;
  border-width: 1px 1px 0 0;
  border-top-right-radius: 4px;
}

.qr-corner--bl {
  bottom: 5px;
  left: 5px;
  border-width: 0 0 1px 1px;
  border-bottom-left-radius: 4px;
}

.qr-corner--br {
  right: 5px;
  bottom: 5px;
  border-width: 0 1px 1px 0;
  border-bottom-right-radius: 4px;
}

.qr-kicker {
  margin-top: 13px;
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.qr-panel h3 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.qr-hint {
  min-height: 35px;
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
}

.btn-copy-link {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  background: #fff;
  border-color: rgba(61, 92, 0, 0.13);
  font-size: 12px;
}

.btn-copy-link .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.qr-safe {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  color: var(--ink-3);
  font-size: 9.5px;
  line-height: 1.4;
}

.qr-safe .icon {
  width: 11px;
  height: 11px;
  color: var(--green);
}

.qr-frame.is-highlight {
  animation: qrHighlight 900ms var(--ease-out) 2;
}

.qr-error {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   Feature cards
   ========================================================= */

.features::before {
  position: absolute;
  z-index: -1;
  top: 70px;
  left: 50%;
  width: min(1000px, 120vw);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(199, 251, 63, 0.26), transparent 68%);
  content: "";
  pointer-events: none;
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 211px;
  overflow: hidden;
  flex-direction: column;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 18px 44px rgba(40, 78, 9, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.feature-card--lead {
  min-height: 244px;
  border-color: rgba(146, 205, 42, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 251, 63, 0.48), transparent 54%),
    linear-gradient(145deg, #ffffff 0%, #f2ffdc 100%);
}

.feature-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 17px rgba(45, 83, 9, 0.09);
  color: var(--accent);
}

.feature-icon .icon {
  width: 21px;
  height: 21px;
}

.feature-icon--blue {
  color: var(--blue);
}

.feature-icon--green {
  color: var(--green);
}

.feature-copy {
  position: relative;
  z-index: 2;
  margin-top: 17px;
}

.feature-card--lead .feature-copy {
  max-width: 74%;
}

.feature-copy h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.feature-copy p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.7;
}

.feature-tag {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  margin-top: 13px;
  padding: 0 9px;
  border: 1px solid rgba(61, 92, 0, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
}

.radar-art {
  position: absolute;
  right: -40px;
  bottom: -49px;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.68), transparent 64%);
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(61, 92, 0, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--one {
  width: 76%;
  height: 76%;
}

.radar-ring--two {
  width: 52%;
  height: 52%;
}

.radar-ring--three {
  width: 27%;
  height: 27%;
  background: rgba(255, 255, 255, 0.3);
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 42%;
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, rgba(44, 74, 0, 0.58), transparent);
  animation: radarSweep 5.2s linear infinite;
}

.radar-sweep::before {
  position: absolute;
  top: -1px;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 4px rgba(233, 77, 24, 0.09);
}

.radar-dot--one {
  top: 30%;
  right: 25%;
}

.radar-dot--two {
  bottom: 21%;
  left: 31%;
  width: 5px;
  height: 5px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 87, 214, 0.07);
}

.radar-dot--three {
  top: 45%;
  left: 23%;
  width: 4px;
  height: 4px;
  background: var(--green);
}

.mini-chat {
  position: relative;
  display: flex;
  max-width: 78%;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
}

.mini-chat-line {
  height: 7px;
  border-radius: 99px;
  background: rgba(30, 55, 38, 0.1);
}

.mini-chat-line--wide {
  width: 92%;
  background: rgba(21, 87, 214, 0.13);
}

.mini-chat-line--short {
  width: 60%;
}

.mini-chat-badge {
  position: absolute;
  top: 12px;
  right: -38px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(35, 70, 9, 0.08);
  color: var(--blue);
}

.mini-chat-badge .icon {
  width: 16px;
  height: 16px;
}

.mini-channels {
  position: relative;
  display: flex;
  margin-top: auto;
  padding-top: 21px;
}

.mini-channels > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 37px;
  height: 37px;
  margin-right: -6px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 15px rgba(35, 70, 9, 0.08);
  color: var(--green);
}

.mini-channels > span:nth-child(2) {
  color: var(--blue);
}

.mini-channels > span:nth-child(3) {
  color: var(--accent);
}

.mini-channels .icon {
  width: 17px;
  height: 17px;
}

.mini-channels-line {
  position: absolute;
  right: 10%;
  bottom: 18px;
  width: 58%;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(20, 45, 20, 0.16) 50%, transparent 50%);
  background-size: 7px 1px;
}

/* =========================================================
   Install guide
   ========================================================= */

.install-section {
  padding-top: 16px;
  padding-bottom: 10px;
}

.install-panel {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 29px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(246, 255, 232, 0.68));
  box-shadow:
    0 22px 60px rgba(37, 75, 8, 0.08),
    inset 0 1px 0 #ffffff;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.install-panel::after {
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 251, 63, 0.32), transparent 70%);
  content: "";
  pointer-events: none;
}

.section-heading--inline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.section-heading--inline p {
  margin-top: 0;
}

.install-heading-side {
  display: flex;
  max-width: 390px;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.install-heading-side .btn {
  gap: 7px;
  padding: 0 14px;
}

.section-heading--inline h2 {
  font-size: clamp(2rem, 8vw, 2.85rem);
}

.steps-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(16, 25, 18, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 18px rgba(35, 70, 9, 0.04);
}

.step-number {
  position: absolute;
  top: 2px;
  right: 12px;
  color: transparent;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
  opacity: 0.72;
  -webkit-text-stroke: 1px rgba(61, 92, 0, 0.16);
  user-select: none;
  pointer-events: none;
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--accent);
}

.step-icon--amber {
  background: #fff4d9;
  color: #a16400;
}

.step-icon--green {
  background: #e7f5ef;
  color: var(--green);
}

.step-icon .icon {
  width: 20px;
  height: 20px;
}

.step-copy {
  min-width: 0;
  padding-right: 14px;
}

.step-copy h3 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.step-copy p {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.65;
}

.install-footnote {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 15px;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.55;
}

.install-footnote .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--green);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  margin-top: 24px;
  padding: 34px 0 calc(116px + var(--safe-bottom));
  border-top: 1px solid rgba(16, 25, 18, 0.07);
  background:
    radial-gradient(ellipse 65% 90% at 10% 100%, rgba(199, 251, 63, 0.24), transparent 72%),
    linear-gradient(180deg, rgba(241, 248, 235, 0.45), rgba(233, 242, 226, 0.8));
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-mark {
  display: grid;
  width: 45px;
  height: 45px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(37, 75, 8, 0.07);
}

.footer-mark img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 17px;
}

.footer-links button {
  min-height: 44px;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  transition: color 160ms var(--ease-out);
}

.footer-links button:hover {
  color: var(--accent);
}

.footer-safety {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid rgba(16, 25, 18, 0.08);
  color: var(--ink-3);
}

.footer-safety .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--green);
}

.footer-safety p {
  max-width: 68ch;
  font-size: 10.5px;
  line-height: 1.65;
}

.footer-safety span {
  color: var(--ink-2);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  margin-top: 13px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.6;
}

/* =========================================================
   Sticky CTA
   ========================================================= */

.sticky-bar {
  position: fixed;
  z-index: 40;
  bottom: calc(10px + var(--safe-bottom));
  left: 50%;
  display: flex;
  width: calc(100% - 24px);
  max-width: 460px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(252, 255, 249, 0.9);
  box-shadow:
    0 22px 55px rgba(26, 58, 7, 0.2),
    0 3px 12px rgba(26, 58, 7, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 24px));
  transition:
    transform 420ms var(--ease-out),
    opacity 240ms var(--ease-out),
    visibility 240ms;
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
}

.sticky-bar.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sticky-guide {
  display: grid;
  width: 48px;
  height: 56px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
  transition: background-color 160ms var(--ease-out);
}

.sticky-guide:hover {
  background: #fff;
}

.sticky-guide .icon {
  width: 20px;
  height: 20px;
}

.sticky-cta {
  flex: 1;
  min-height: 56px;
  padding: 6px 10px 6px 8px;
  border-radius: 15px;
  box-shadow:
    0 11px 24px rgba(98, 153, 0, 0.28),
    0 2px 7px rgba(37, 68, 8, 0.12);
}

.sticky-cta .btn-icon {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.sticky-cta .btn-icon .icon {
  width: 19px;
  height: 19px;
}

.sticky-cta .btn-copy strong {
  font-size: 14px;
}

.sticky-cta .btn-copy small {
  font-size: 9.5px;
}

.sticky-cta .btn-tail {
  flex-basis: 22px;
  width: 22px;
}

.sticky-cta .btn-tail .icon {
  width: 17px;
  height: 17px;
}

/* =========================================================
   Modal
   ========================================================= */

.modal-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 280ms var(--ease-soft), visibility 280ms;
}

.modal-layer.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 11, 0.56);
  -webkit-backdrop-filter: blur(7px) saturate(0.9);
  backdrop-filter: blur(7px) saturate(0.9);
}

.modal-panel {
  position: relative;
  z-index: 2;
  outline: none;
  display: flex;
  width: 100%;
  max-height: min(92vh, 880px);
  max-height: min(92dvh, 880px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: #fbfff7;
  box-shadow: var(--shadow-modal);
  transform: translateY(103%);
  transition: transform 460ms var(--ease-out);
}

.modal-layer.is-open .modal-panel {
  transform: translateY(0);
}

.modal-grab {
  width: 38px;
  height: 4px;
  flex: none;
  margin: 9px auto 0;
  border-radius: 99px;
  background: rgba(16, 25, 18, 0.16);
}

.modal-header {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px 10px;
}

.modal-heading {
  min-width: 0;
}

.modal-eyebrow {
  display: block;
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.15em;
}

.modal-heading h2 {
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.modal-heading p {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.55;
}

.modal-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 4px 12px rgba(35, 69, 9, 0.06);
  color: var(--ink-2);
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.modal-close:hover {
  background: #fff;
  transform: rotate(4deg);
}

.modal-close .icon {
  width: 19px;
  height: 19px;
}

.modal-tabs {
  display: grid;
  flex: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 3px 20px 0;
  padding: 4px;
  border: 1px solid rgba(61, 92, 0, 0.07);
  border-radius: 14px;
  background: rgba(236, 247, 226, 0.9);
}

.modal-tab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 750;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.modal-tab[aria-selected="true"] {
  background: #fff;
  box-shadow:
    0 4px 12px rgba(35, 69, 9, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tab-dot--android {
  background: #39a86b;
}

.tab-dot--ios {
  background: #3f82ef;
}

.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 5px 20px 18px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 92, 0, 0.2) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(61, 92, 0, 0.2);
}

.modal-inapp-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0 2px;
  padding: 11px 12px;
  border: 1px solid #d8efac;
  border-radius: 14px;
  background: #f4ffe0;
  color: var(--ink);
}

.modal-inapp-notice > .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  color: var(--accent);
}

.modal-inapp-notice div {
  flex: 1;
  min-width: 0;
}

.modal-inapp-notice strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

.modal-inapp-notice p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.5;
}

.modal-inapp-notice button {
  min-height: 34px;
  flex: none;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 750;
}

.safari-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0 2px;
  padding: 12px;
  border: 1px solid #efd6a0;
  border-radius: 14px;
  background: #fff8e5;
  color: var(--ink);
}

.safari-notice > .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  color: #8a6100;
}

.safari-notice div {
  flex: 1;
  min-width: 0;
}

.safari-notice strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

.safari-notice p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.5;
}

.safari-notice button {
  min-height: 44px;
  flex: none;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--dark);
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 750;
}

.tutorial {
  padding-top: 2px;
}

.tutorial-step {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) 90px;
  gap: 10px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(16, 25, 18, 0.13);
}

.tutorial-step:last-of-type {
  border-bottom: 0;
}

.tutorial-step-number {
  display: grid;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 850;
  line-height: 1;
}

.tutorial--ios .tutorial-step-number {
  background: #edf4ff;
  color: #1557d6;
}

.tutorial-step-copy {
  min-width: 0;
}

.tutorial-step-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.tutorial-step-copy p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.68;
}

.tutorial-step-copy strong {
  color: var(--ink);
  font-weight: 750;
}

.tutorial-shot {
  position: relative;
  width: 90px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(100, 148, 28, 0.2);
  border-radius: 11px;
  background:
    linear-gradient(160deg, #f6ffe8 0%, #d9f7a2 100%);
  box-shadow: 0 5px 13px rgba(42, 80, 8, 0.08);
}

.tutorial--ios .tutorial-shot {
  border-color: rgba(43, 92, 168, 0.15);
  background: linear-gradient(160deg, #f4f8ff 0%, #dbe9ff 100%);
}

.tutorial-shot__chrome {
  display: flex;
  height: 14px;
  align-items: center;
  gap: 2px;
  padding: 0 5px;
  background: rgba(255, 255, 255, 0.58);
}

.tutorial-shot__chrome i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(43, 65, 24, 0.26);
}

.tutorial-shot__screen {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 17px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  color: var(--accent);
}

.tutorial--ios .tutorial-shot__screen {
  color: #3268bb;
}

.tutorial-shot__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.73);
  box-shadow: 0 3px 8px rgba(40, 73, 8, 0.08);
}

.tutorial-shot__icon .icon {
  width: 14px;
  height: 14px;
}

.tutorial-shot__label {
  font-size: 7px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.tutorial-shot__tag {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3px 2px;
  background: rgba(252, 255, 246, 0.72);
  color: rgba(53, 82, 18, 0.72);
  font-size: 6.5px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.02em;
}

.tutorial--ios .tutorial-shot__tag {
  color: rgba(42, 88, 155, 0.72);
}

.tutorial-shot--image {
  display: block;
  padding: 0;
  border: 0;
  background: #f2f8e9;
  cursor: zoom-in;
  text-align: left;
}

.tutorial-shot--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms var(--ease-out);
}

.tutorial-shot--image:hover img {
  transform: scale(1.035);
}

.tutorial-shot--image:focus-visible {
  outline: 3px solid rgba(21, 87, 214, 0.75);
  outline-offset: 2px;
}

.tutorial-shot__zoom {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(12, 26, 15, 0.82);
  box-shadow: 0 2px 6px rgba(8, 19, 11, 0.2);
  color: var(--lime);
  font-size: 6.5px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.tutorial-shot__zoom .icon {
  width: 8px;
  height: 8px;
}

.tutorial-notes {
  margin: 6px 0 4px;
  padding: 13px 14px;
  border: 1px solid #d8efac;
  border-radius: 15px;
  background: #f4ffe0;
}

.tutorial-notes-head {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
}

.tutorial-notes-head .icon {
  width: 13px;
  height: 13px;
}

.tutorial-notes ul {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding-left: 16px;
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.tutorial-notes li::marker {
  color: rgba(61, 92, 0, 0.5);
}

.modal-footer {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 10px 20px calc(12px + var(--safe-bottom));
  border-top: 1px solid rgba(16, 25, 18, 0.08);
  background: rgba(251, 255, 247, 0.96);
  box-shadow: 0 -12px 30px rgba(35, 69, 9, 0.05);
}

.modal-footer .btn {
  min-height: 50px;
  border-radius: 14px;
  font-size: 13px;
}

.modal-footer .btn-primary {
  flex: 1;
  min-height: 50px;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
}

.modal-footer .btn-secondary {
  flex: 0 0 auto;
  padding: 0 14px;
}

/* Browser guide mode */

.modal-panel.is-guide .modal-tabs,
.modal-panel.is-guide .modal-footer {
  display: none;
}

.modal-panel.is-guide .modal-header {
  padding-bottom: 7px;
}

.modal-panel.is-guide .modal-body {
  padding-bottom: calc(22px + var(--safe-bottom));
}

.modal-layer.is-browser-guide::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at 100% 0, rgba(199, 251, 63, 0.38), rgba(199, 251, 63, 0) 68%);
  pointer-events: none;
}

.modal-pointer {
  position: fixed;
  z-index: 3;
  top: calc(var(--safe-top) + 10px);
  right: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--lime);
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 300ms var(--ease-out) 120ms, transform 300ms var(--ease-out) 120ms;
  filter: drop-shadow(0 2px 8px rgba(8, 19, 11, 0.45));
  pointer-events: none;
}

.modal-layer.is-browser-guide .modal-pointer {
  opacity: 1;
  transform: translateY(0);
}

.modal-pointer-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(199, 251, 63, 0.55);
  border-radius: 999px;
  background: rgba(8, 20, 10, 0.94);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
  color: #eaff9a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.modal-pointer-label b {
  display: grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
  font-size: 10px;
  font-weight: 900;
  animation: pointerBadgePulse 1.9s var(--ease-soft) infinite;
}

.modal-pointer-label em {
  font-style: normal;
}

.modal-pointer svg {
  width: 54px;
  height: 60px;
  filter: drop-shadow(0 0 5px rgba(199, 251, 63, 0.55));
  animation: pointerBob 2.2s var(--ease-soft) infinite;
}

.guide-hero {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 8px 0 16px;
  padding: 13px;
  border: 1px solid rgba(126, 176, 35, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, #f8ffed, #e6ffc1);
}

.guide-hero-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 13px rgba(42, 78, 8, 0.08);
  color: var(--accent);
}

.guide-hero-icon .icon {
  width: 21px;
  height: 21px;
}

.guide-hero strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.guide-hero p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.5;
}

.guide-steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(16, 25, 18, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.guide-step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(16, 25, 18, 0.07);
}

.guide-step:last-child {
  border-bottom: 0;
}

.guide-step-number {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: var(--lime-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
}

.guide-step-copy {
  flex: 1;
  min-width: 0;
}

.guide-step-copy strong {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.4;
}

.guide-step-copy span {
  display: block;
  margin-top: 1px;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.5;
}

.guide-step .icon {
  width: 19px;
  height: 19px;
  color: var(--ink-4);
}

.guide-actions {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.guide-actions .btn {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-size: 13px;
}

.guide-actions .btn-primary {
  display: inline-flex;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
}

.guide-actions .btn-secondary {
  min-height: 47px;
}

.guide-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 11px;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.55;
}

.guide-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: #8a6100;
}

.image-viewer {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--safe-top) + 16px) 16px calc(var(--safe-bottom) + 16px);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 240ms var(--ease-out),
    visibility 0s linear 240ms;
}

.image-viewer.is-open {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 240ms var(--ease-out),
    visibility 0s linear 0s;
}

.image-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 8, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(0.9);
  backdrop-filter: blur(12px) saturate(0.9);
}

.image-viewer__dialog {
  position: relative;
  z-index: 2;
  display: flex;
  width: auto;
  max-width: min(92vw, 560px);
  max-height: 100%;
  flex-direction: column;
  align-items: center;
  outline: none;
}

.image-viewer__bar {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  color: #fbfff7;
}

.image-viewer__eyebrow {
  display: block;
  color: var(--lime);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.16em;
}

.image-viewer__bar h3 {
  margin-top: 2px;
  color: #fbfff7;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.image-viewer__close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fbfff7;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.image-viewer__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(4deg);
}

.image-viewer__close .icon {
  width: 19px;
  height: 19px;
}

.image-viewer__frame {
  display: flex;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(4, 12, 6, 0.42);
}

.image-viewer__frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 560px);
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  object-fit: contain;
}

.image-viewer__caption {
  margin-top: 9px;
  color: rgba(251, 255, 247, 0.66);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 640px) {
  .tutorial-shot__zoom {
    right: 6px;
    bottom: 6px;
    padding: 4px 6px;
    font-size: 7px;
  }

  .tutorial-shot__zoom .icon {
    width: 9px;
    height: 9px;
  }

  .image-viewer__bar h3 {
    font-size: 15px;
  }

  .image-viewer__frame {
    max-height: calc(100vh - 168px);
    max-height: calc(100dvh - 168px);
  }

  .image-viewer__frame img {
    max-height: calc(100vh - 168px);
    max-height: calc(100dvh - 168px);
  }

  .image-viewer__caption {
    margin-top: 11px;
    font-size: 10.5px;
  }
}

/* =========================================================
   Toast + noscript
   ========================================================= */

.toast {
  position: fixed;
  z-index: 130;
  bottom: calc(104px + var(--safe-bottom));
  left: 50%;
  display: flex;
  width: max-content;
  max-width: calc(100% - 32px);
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: var(--dark);
  box-shadow: 0 14px 36px rgba(7, 19, 10, 0.28);
  color: #f4ffe6;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 220ms var(--ease-out),
    transform 320ms var(--ease-out);
  visibility: hidden;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(199, 251, 63, 0.12);
  color: var(--lime);
}

.toast-icon .icon {
  width: 14px;
  height: 14px;
}

.toast-text {
  min-width: 0;
}

.nojs-notice {
  position: fixed;
  z-index: 200;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--dark);
  color: #f4ffe6;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.nojs-notice a {
  color: var(--lime);
  text-decoration: underline;
}

/* =========================================================
   Mobile: keep the hero as the complete landing page
   PC keeps the full download / benefits / install / footer flow
   ========================================================= */

@media (max-width: 899px) {
  /* 手机端只保留首屏：绿色铺满视口，内容在首屏内自适应分布 */
  body {
    background: var(--lime);
  }

  .page-shell {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    background: var(--lime);
  }

  #main {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .hero {
    display: flex;
    flex: 1;
    flex-direction: column;
    border-radius: 0;
  }

  .hero-grid {
    flex: 1;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .hero-actions {
    align-self: end;
  }

  .download-section,
  .features,
  .install-section,
  .site-footer {
    display: none !important;
  }
}

/* =========================================================
   Reveal + keyframes
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 680ms var(--ease-out) var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ctaSheen {
  0%,
  56% {
    left: -42%;
    opacity: 0;
  }
  62% {
    opacity: 1;
  }
  76%,
  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-9px) rotate(0.3deg);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes softPulse {
  0% {
    transform: scale(0.65);
    opacity: 0.38;
  }
  70%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes dotBreath {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.16;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.34;
  }
}

@keyframes bannerIn {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes qrHighlight {
  0%,
  100% {
    box-shadow:
      0 9px 24px rgba(38, 76, 8, 0.1),
      inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    transform: scale(1);
  }
  45% {
    box-shadow:
      0 0 0 9px rgba(143, 205, 0, 0.14),
      0 12px 32px rgba(40, 78, 8, 0.16);
    transform: scale(1.025);
  }
}

@keyframes pointerBob {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, -4px);
  }
}

@keyframes pointerBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(199, 251, 63, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(199, 251, 63, 0);
  }
}

/* =========================================================
   Responsive: larger phones / tablets / desktop
   ========================================================= */

@media (max-width: 359px) {
  :root {
    --gutter: 16px;
  }

  .header-inner {
    height: 62px;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 6.5px;
  }

  .header-guide {
    padding: 0 11px;
    font-size: 11.5px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-lead {
    font-size: 13.5px;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags li {
    padding-inline: 8px;
    font-size: 10.5px;
  }

  .hero-tags .icon {
    width: 12px;
    height: 12px;
  }

  .btn-primary {
    min-height: 66px;
    padding-right: 10px;
  }

  .btn-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .btn-copy strong {
    font-size: 15.5px;
  }

  .btn-tail {
    display: none;
  }

  .cta-assurance {
    font-size: 10px;
  }

  .hero-art {
    min-height: 230px;
  }

  .orbit--outer {
    width: 246px;
    height: 246px;
  }

  .orbit--inner {
    width: 196px;
    height: 196px;
  }

  .hero-chip {
    min-height: 33px;
    font-size: 9.5px;
  }

  .download-card {
    padding: 23px 16px 16px;
    border-radius: 26px;
  }

  .download-copy h2 {
    font-size: 1.95rem;
  }

  .qr-panel {
    padding-inline: 13px;
  }

  .qr-frame {
    width: 142px;
    height: 142px;
  }

  .feature-card {
    padding: 18px;
  }

  .install-panel {
    padding: 18px;
    border-radius: 25px;
  }

  .modal-tabs {
    margin-inline: 16px;
  }

  .modal-header {
    padding-inline: 16px;
  }

  .modal-body {
    padding-inline: 16px;
  }

  .tutorial-step {
    grid-template-columns: 22px minmax(0, 1fr) 82px;
    gap: 8px;
  }

  .tutorial-shot {
    width: 82px;
  }

  .modal-footer {
    padding-inline: 16px;
  }

  .modal-footer .btn {
    font-size: 12px;
  }

  .sticky-bar {
    width: calc(100% - 16px);
  }

  .sticky-cta .btn-copy small {
    display: none;
  }
}

@media (max-width: 639px) {
  .version-badge {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .hero-chip--status {
    display: none;
  }

  .hero-art {
    margin-bottom: 1px;
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }

  .header-inner {
    height: 78px;
  }

  .brand-mark {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 17px;
  }

  .header-guide {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 8.5vw, 4.8rem);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-art {
    min-height: 340px;
  }

  .hero-mascot {
    width: min(52vw, 360px);
  }

  .orbit--outer {
    width: 330px;
    height: 330px;
  }

  .orbit--inner {
    width: 260px;
    height: 260px;
  }

  .hero-chip {
    min-height: 40px;
    padding: 6px 13px 6px 7px;
    border-radius: 15px;
    font-size: 11.5px;
  }

  .hero-chip--a {
    top: 35px;
    left: 6%;
  }

  .hero-chip--b {
    right: 5%;
    bottom: 48px;
  }

  .hero-actions {
    max-width: 410px;
    margin-inline: auto;
    padding: 14px;
  }

  .download-card {
    grid-template-columns: minmax(0, 1fr) 272px;
    align-items: center;
    gap: 28px;
    padding: 34px 30px;
    border-radius: 34px;
  }

  .qr-panel {
    max-width: none;
    padding: 20px 18px 18px;
  }

  .download-watermark {
    font-size: 110px;
  }

  .section {
    padding: 44px 0;
  }

  .download-section {
    padding-top: 26px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card--lead {
    grid-column: 1 / -1;
    min-height: 230px;
  }

  .feature-card--lead .feature-copy {
    max-width: 58%;
  }

  .install-panel {
    padding: 28px;
  }

  .section-heading--inline {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }

  .install-heading-side {
    align-items: flex-end;
    text-align: right;
  }

  .install-heading-side p {
    margin-left: auto;
  }

  .steps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .step-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 158px;
    align-content: start;
  }

  .step-number {
    top: 4px;
    right: 10px;
    font-size: 48px;
  }

  .step-copy {
    padding-right: 0;
  }

  .step-copy h3 {
    font-size: 15.5px;
  }

  .step-copy p {
    margin-top: 4px;
    font-size: 12px;
  }

  .install-footnote {
    margin-top: 18px;
  }

  .site-footer {
    padding-top: 42px;
    padding-bottom: 40px;
  }

  .footer-main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-safety {
    margin-top: 27px;
  }

  .toast {
    bottom: calc(104px + var(--safe-bottom));
  }

  .modal-panel {
    align-self: center;
    max-width: 620px;
    margin: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    transform: translateY(20px) scale(0.975);
  }

  .modal-layer {
    align-items: center;
  }

  .modal-layer.is-open .modal-panel {
    transform: translateY(0) scale(1);
  }

  .modal-grab {
    display: none;
  }

  .modal-header {
    padding: 24px 24px 10px;
  }

  .modal-body {
    padding-inline: 24px;
  }

  .modal-tabs {
    margin-inline: 24px;
  }

  .modal-footer {
    padding-inline: 24px;
    padding-bottom: 20px;
  }

  .modal-panel.is-guide .modal-body {
    padding-bottom: 24px;
  }

  .tutorial-step {
    grid-template-columns: 27px minmax(0, 1fr) 132px;
    gap: 15px;
    padding: 19px 0;
  }

  .tutorial-step-number {
    width: 27px;
    height: 27px;
    font-size: 10.5px;
  }

  .tutorial-step-copy h3 {
    font-size: 15.5px;
  }

  .tutorial-step-copy p {
    font-size: 12px;
  }

  .tutorial-shot {
    width: 132px;
  }

  .hero-chip--status {
    display: inline-flex;
    bottom: 20px;
    left: 10%;
    right: auto;
  }

  .modal-pointer {
    display: flex;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
  }

  .site-header {
    background: var(--lime);
  }

  .header-inner {
    height: 84px;
  }

  .inapp-banner {
    display: flex;
    align-items: center;
    max-width: 760px;
    margin: 0 auto 18px;
  }

  .inapp-icon {
    flex: 0 0 40px;
  }

  .inapp-copy {
    flex: 1;
  }

  .inapp-action {
    width: auto;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.94fr);
    grid-template-areas:
      "copy art"
      "actions art";
    column-gap: 48px;
    align-items: center;
  }

  .hero-copy {
    align-self: end;
  }

  .hero-actions {
    align-self: start;
    max-width: 390px;
    margin: 25px 0 0;
  }

  .eyebrow {
    padding: 8px 13px;
    font-size: 10px;
  }

  .hero-title {
    max-width: none;
    margin-top: 22px;
    font-size: clamp(2.55rem, 4.5vw, 4.2rem);
    line-height: 1.05;
  }

  .hero-lead {
    max-width: 33em;
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-lead .lead-line {
    display: inline;
  }

  .hero-tags {
    margin-top: 18px;
  }

  .hero-art {
    min-height: 584px;
    margin: 0;
  }

  .hero-mascot {
    width: min(38vw, 445px);
  }

  .hero-halo {
    width: 540px;
    height: 540px;
  }

  .orbit--outer {
    width: 490px;
    height: 490px;
  }

  .orbit--inner {
    width: 378px;
    height: 378px;
  }

  .orbit-dot--one {
    top: 50px;
    right: 20%;
  }

  .orbit-dot--two {
    bottom: 80px;
    left: 20%;
  }

  .hero-chip--a {
    top: 106px;
    left: 2%;
  }

  .hero-chip--b {
    right: 0;
    bottom: 127px;
  }

  .hero-chip--status {
    right: 5%;
    bottom: 42px;
    left: auto;
  }

  .device-line {
    margin-bottom: 9px;
    font-size: 11.5px;
  }

  .btn-primary {
    min-height: 76px;
    border-radius: 21px;
  }

  .btn-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .btn-copy strong {
    font-size: 18px;
  }

  .btn-copy small {
    font-size: 11.5px;
  }

  .cta-assurance {
    margin-top: 13px;
    font-size: 11px;
  }

  .cta-assurance .text-link {
    font-size: 11px;
  }

  .download-section {
    padding-top: 18px;
  }

  .download-card {
    grid-template-columns: minmax(0, 1.12fr) 300px;
    gap: 50px;
    padding: 48px 50px;
    border-radius: 42px;
  }

  .download-copy h2 {
    font-size: clamp(3rem, 4.2vw, 4rem);
  }

  .download-copy > p {
    margin-top: 14px;
    font-size: 14px;
  }

  .download-copy .btn-primary {
    max-width: 395px;
    margin-top: 25px;
  }

  .download-meta {
    gap: 8px 18px;
    margin-top: 16px;
    font-size: 11px;
  }

  .download-meta-link {
    font-size: 11px;
  }

  .qr-panel {
    padding: 23px 20px 20px;
    border-radius: 25px;
  }

  .qr-frame {
    width: 164px;
    height: 164px;
  }

  .qr-panel h3 {
    font-size: 19px;
  }

  .qr-hint {
    font-size: 11.5px;
  }

  .download-watermark {
    right: -4px;
    bottom: -26px;
    font-size: 150px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: clamp(2.4rem, 3.5vw, 3.55rem);
  }

  .section-heading p {
    max-width: 39ch;
    margin: 0 0 5px;
    font-size: 14px;
  }

  .feature-grid {
    grid-template-columns: 1.18fr 0.91fr 0.91fr;
    gap: 16px;
  }

  .feature-card,
  .feature-card--lead {
    grid-column: auto;
    min-height: 280px;
    padding: 25px;
    border-radius: 27px;
  }

  .feature-card--lead .feature-copy {
    max-width: 65%;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .feature-icon .icon {
    width: 23px;
    height: 23px;
  }

  .feature-copy {
    margin-top: 22px;
  }

  .feature-copy h3 {
    font-size: 19px;
  }

  .feature-copy p {
    font-size: 12.5px;
    line-height: 1.72;
  }

  .radar-art {
    right: -56px;
    bottom: -58px;
    width: 246px;
    height: 246px;
  }

  .mini-chat {
    max-width: 70%;
  }

  .mini-chat-badge {
    right: -50px;
  }

  .features::before {
    top: 30px;
    height: 620px;
  }

  .install-section {
    padding-top: 10px;
    padding-bottom: 24px;
  }

  .install-panel {
    padding: 38px 40px 32px;
    border-radius: 34px;
  }

  .section-heading--inline {
    margin-bottom: 26px;
  }

  .section-heading--inline h2 {
    font-size: 2.9rem;
  }

  .section-heading--inline p {
    max-width: 40ch;
  }

  .install-heading-side {
    max-width: 425px;
  }

  .step-card {
    min-height: 174px;
    padding: 20px;
    border-radius: 20px;
  }

  .step-number {
    font-size: 54px;
  }

  .step-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .step-copy h3 {
    font-size: 16px;
  }

  .step-copy p {
    font-size: 12px;
    line-height: 1.7;
  }

  .install-footnote {
    font-size: 11px;
  }

  .site-footer {
    margin-top: 36px;
    padding: 48px 0 34px;
  }

  .footer-brand strong {
    font-size: 15px;
  }

  .footer-brand p,
  .footer-links button {
    font-size: 12px;
  }

  .footer-safety p,
  .footer-bottom {
    font-size: 10.5px;
  }

  .sticky-bar {
    display: none;
  }

  .modal-pointer {
    display: none;
  }

  .toast {
    bottom: 28px;
  }
}

@media (min-width: 1240px) {
  :root {
    --container: 1180px;
  }

  .hero-grid {
    column-gap: 66px;
  }

  .hero-art {
    min-height: 620px;
  }

  .hero-mascot {
    width: 470px;
  }

  .download-card {
    padding-inline: 58px;
  }
}

@media (max-height: 700px) and (max-width: 899px) {
  .hero {
    padding-top: 18px;
  }

  .hero-art {
    min-height: 220px;
  }

  .hero-mascot {
    width: min(62vw, 255px);
  }

  .orbit--outer {
    width: 242px;
    height: 242px;
  }

  .orbit--inner {
    width: 194px;
    height: 194px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn-primary::after {
    display: none;
  }

  .hero-mascot,
  .hero-chip,
  .orbit--outer,
  .radar-sweep,
  .live-dot::after,
  .device-line[data-platform="android"] .detect-dot::after,
  .modal-pointer svg {
    animation: none !important;
  }
}
