/* Nativify home only. Design review: unslop by Damir Sokolovsky, CC BY 4.0.
   https://github.com/heydamir/unslop

   Direction
   - Product: turns an existing website into Android and iOS apps; native features are called from web code
   - Character: exact, plain, a little warm
   - World: a code editor next to a phone on the desk
   - Moment: the hero, bridge code on the left and the notification it produces on the phone
   - Signature: bridge call names set as mono chips */

.landing-home {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --g-0: #ffffff;
  --g-25: #fafafa;
  --g-50: #f5f5f6;
  --g-100: #ececee;
  --g-900: #18181b;
  --text: #18181b;
  --ink: #18181b;
  --text-light: #52525b;
  --muted: #71717a;
  --border: rgba(24, 24, 27, 0.09);
  --border-strong: rgba(24, 24, 27, 0.16);
  --line: rgba(24, 24, 27, 0.09);
  --bg: #ffffff;
  --bg-gray: #f5f5f6;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--g-0);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.landing-home *, .landing-home *::before, .landing-home *::after { letter-spacing: 0; }
.landing-home :is(h1, h2, h3, h4, strong) { font-weight: 600; color: var(--ink); }
.landing-home :is(h1, h2, h3, h4) { word-break: keep-all; text-wrap: balance; }
.landing-home :is(p, li) { word-break: keep-all; }
.landing-home :is(a, button, input):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.landing-home :is(button, a) {
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.landing-home .container { max-width: 1200px; padding-inline: 32px; }

/* Signature: bridge call chips */
.landing-home .chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--g-50);
  color: #3f3f46;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.landing-home .text-link { color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; }
.landing-home .text-link:hover { text-decoration-color: currentColor; }

/* Buttons */
.landing-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  box-shadow: none;
}
.landing-home .btn-large { min-height: 48px; padding: 0 24px; font-size: 15px; }
.landing-home .btn-primary { background: var(--primary); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.landing-home .btn-primary:hover { background: var(--primary-dark); }
.landing-home .btn-secondary { background: var(--g-0); border-color: var(--border-strong); color: var(--ink); }
.landing-home .btn-secondary:hover { background: var(--g-50); border-color: var(--border-strong); }

/* Navigation */
.landing-home .navbar { position: sticky; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); box-shadow: none !important; }
.landing-home .nav-content { min-height: 64px; gap: 24px; padding-block: 12px; }
.landing-home .logo { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; }
.landing-home .logo-mark { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.landing-home .nav-links { gap: 4px; }
.landing-home .nav-links a { border-radius: 8px; padding: 8px 12px; color: var(--text-light); font-size: 14px; font-weight: 500; }
.landing-home .nav-links a:hover, .landing-home .nav-links a.active { color: var(--ink); background: var(--g-50); }
.landing-home .auth-links { gap: 8px; }
.landing-home .user-email { max-width: 180px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 13px; }
.landing-home .nav-links a.cta-button, .landing-home .cta-button { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 8px; background: var(--g-900); color: #fff; font-weight: 500; box-shadow: none; }
.landing-home .nav-links a.cta-button:hover, .landing-home .cta-button:hover { transform: none; opacity: 1; background: #3f3f46; color: #fff; }
.landing-home .lang-switch-container { padding: 2px; gap: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--g-0); box-shadow: none; }
.landing-home .lang-switch { width: 32px; height: 28px; border-radius: 6px; font-size: 11px; font-weight: 500; }
.landing-home .mobile-menu-btn { border-radius: 8px; box-shadow: none; }
.landing-home .mobile-menu-btn::before { content: "\2630"; font-size: 20px; line-height: 1; }
.landing-home .mobile-menu-btn[aria-expanded="true"]::before { content: "\00d7"; font-size: 26px; }
.landing-home .mobile-menu-btn > i { display: none; }

/* Hero */
.landing-home .hero { display: flex; align-items: center; min-height: calc(100svh - 64px); padding: 72px 0; background: var(--g-25); border-bottom: 1px solid var(--border); overflow: hidden; }
.landing-home .hero > .container { width: 100%; }
.landing-home .hero-bg, .landing-home .badge { display: none; }
.landing-home .hero-shell { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; text-align: left; }
.landing-home .hero-copy { max-width: 520px; }
.landing-home .hero-title { margin: 0 0 24px; color: var(--ink); font-size: 56px; font-weight: 600; line-height: 1.16; letter-spacing: -0.02em; }
.landing-home .hero-subtitle { max-width: 480px; margin: 0 0 32px; color: var(--text-light); font-size: 18px; line-height: 1.7; }
.landing-home .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.landing-home .hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.landing-home .hero-meta li { position: relative; }
.landing-home .hero-meta li + li::before { content: ""; position: absolute; left: -11px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #a1a1aa; }
.landing-home .hero-meta [data-policy-android-base] { color: var(--muted); font-variant-numeric: tabular-nums; }

.landing-home .hero-visual { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 540px; padding: 0; border: 0; background: none; }
.landing-home .hero-editor { position: relative; z-index: 1; width: calc(100% - 120px); margin: 0; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; background: var(--g-900); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(24, 24, 27, 0.1); overflow: hidden; }
.landing-home .hero-editor-bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.landing-home .hero-editor-dots { display: inline-flex; gap: 6px; }
.landing-home .hero-editor-dots i { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.landing-home .hero-editor-file { color: #a1a1aa; font-family: var(--mono); font-size: 12px; }
.landing-home .hero-code { max-width: none; min-width: 0; margin: 0; padding: 20px 0 24px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.landing-home .hero-code { overflow: hidden; }
.landing-home .hero-code pre { margin: 0; padding: 0 24px; overflow: hidden; }
.landing-home .hero-code code { display: block; color: #e4e4e7; font-family: var(--mono); font-size: 13px; line-height: 1.85; white-space: pre; }
.landing-home .hero-code .copy-button { display: none !important; }
.landing-home .code-line-mark { display: inline-block; width: calc(100% + 48px); margin-left: -24px; padding-left: 22px; border-left: 2px solid #818cf8; background: rgba(129, 140, 248, 0.1); }
.landing-home .code-comment { color: #71717a; font-style: normal; }
.landing-home .code-keyword { color: #a5b4fc; font-weight: 400; }
.landing-home .code-string { color: #e7c787; }
.landing-home .code-call { color: #fff; font-weight: 500; }

/* Hero moment: the phone */
.landing-home .hero-phone { position: absolute; z-index: 2; top: 50%; right: 0; width: 248px; height: 508px; padding: 10px; border-radius: 44px; background: #0c0c0e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1), 0 28px 56px rgba(24, 24, 27, 0.22); transform: translateY(-50%); }
.landing-home .hero-phone-screen { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px 10px 0; border-radius: 34px; background: radial-gradient(120% 70% at 30% 0%, #4c45c9 0%, #2c2786 45%, #17153f 100%); overflow: hidden; color: #fff; }
.landing-home .hero-phone-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 14px 0; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.landing-home .hero-phone-signal { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.landing-home .hero-phone-signal i { width: 3px; border-radius: 1px; background: #fff; }
.landing-home .hero-phone-signal i:nth-child(1) { height: 4px; }
.landing-home .hero-phone-signal i:nth-child(2) { height: 7px; }
.landing-home .hero-phone-signal i:nth-child(3) { height: 10px; }
.landing-home .hero-phone-signal b { width: 18px; height: 9px; margin-left: 4px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 3px; background: linear-gradient(90deg, #fff 70%, transparent 70%) content-box; padding: 1px; }
.landing-home .hero-phone-clock { display: flex; flex-direction: column; align-items: center; margin: 32px 0 28px; }
.landing-home .hero-phone-date { color: rgba(255, 255, 255, 0.78); font-size: 13px; font-weight: 500; }
.landing-home .hero-phone-time { color: #fff; font-size: 64px; font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.landing-home .hero-notif { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px; border-radius: 20px; background: rgba(250, 250, 250, 0.86); backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16); }
.landing-home .hero-notif img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.landing-home .hero-notif-head { display: flex; justify-content: space-between; gap: 8px; color: #52525b; font-size: 11px; line-height: 1.4; }
.landing-home .hero-notif strong { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; }
.landing-home .hero-notif p { margin: 0; color: #3f3f46; font-size: 13px; line-height: 1.4; }
.landing-home .hero-phone-home { position: absolute; left: 50%; bottom: 8px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); }

/* Sections */
.landing-home :is(.frameworks, .stats, .landing-panel-section, .business-model-refined, .js-bridge-section, .use-cases, .benefits, .cta, .faq) { margin-top: 0; padding: 96px 0; background: var(--g-0); border-top: 1px solid var(--border); }
.landing-home .hero + * { border-top: 0; }
.landing-home :is(.section-header, .section-header-tight) { max-width: none; margin: 0 0 48px; text-align: left; }
.landing-home :is(.section-title, .solution-panel h2, .cta-title) { margin: 0 0 12px; color: var(--ink); font-size: 32px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-align: left; }
.landing-home .section-subtitle { max-width: 640px; margin: 0; color: var(--text-light); font-size: 16px; line-height: 1.7; }

/* Instant demo */
.landing-home .instant-demo-section { padding: 64px 0; background: var(--g-0); border-top: 1px solid var(--border); }
.landing-home .instant-apk-widget { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; }
.landing-home .instant-apk-intro { grid-row: 1 / 3; }
.landing-home .instant-apk-intro h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.4; }
.landing-home .instant-apk-intro p { margin: 0; color: var(--text-light); font-size: 15px; line-height: 1.7; }
.landing-home .instant-apk-panel { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--g-25); }
.landing-home .instant-apk-widget .guest-only p { margin: 0 0 16px; color: var(--text-light); font-size: 15px; }
.landing-home #instant-apk-form { flex-direction: column; gap: 16px; }
.landing-home .instant-apk-field { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.landing-home .instant-apk-field input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--g-0); color: var(--ink); font-size: 15px; outline: none; }
.landing-home .instant-apk-field input:focus-visible { border-color: var(--primary); outline: 2px solid rgba(79, 70, 229, 0.25); outline-offset: 0; }
.landing-home .instant-apk-tip { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.landing-home #instant-apk-submit { width: 100%; }
.landing-home #instant-apk-status { grid-column: 2; padding: 12px 16px; border-radius: 10px; font-size: 14px; }

/* Frameworks */
.landing-home .frameworks-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.landing-home .frameworks-layout .section-header { margin: 0; }
.landing-home .frameworks-layout .section-subtitle { margin-bottom: 16px; color: var(--ink); }
.landing-home .framework-key { margin: 0; color: var(--text-light); font-size: 15px; line-height: 1.7; }
.landing-home .framework-key strong { font-weight: 500; }
.landing-home .frameworks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 24px !important; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.landing-home .framework-card { display: flex; align-items: center; min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; transform: none; text-align: left; transition: none; }
.landing-home .framework-card:hover { border-color: var(--border); background: none; box-shadow: none; transform: none; }
.landing-home .framework-card h3 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 400; }
.landing-home .framework-card-any h3 { color: var(--muted); }

/* Stats + bridge calls */
.landing-home .stats { padding: 64px 0; background: var(--g-25); }
.landing-home .stats-refined { position: static; margin-top: 0; }
.landing-home .stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; text-align: left; }
.landing-home .stats-refined .stat-item, .landing-home .stat-item { padding: 0 24px; border: 0; border-left: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; }
.landing-home .stats-refined .stat-item:first-child { padding-left: 0; border-left: 0; }
.landing-home .stat-value { margin-bottom: 4px; color: var(--ink); font-size: 40px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.landing-home .stat-label { color: var(--muted); font-size: 14px; }
.landing-home .bridge-calls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.landing-home .bridge-calls-label { color: var(--text-light); font-size: 14px; }
.landing-home .chip-list { display: flex; flex: 1 1 480px; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.landing-home .chip-list .chip { background: var(--g-0); }

/* Pain points + solution */
.landing-home .pain-points-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0 0 64px; }
.landing-home .pain-point-card { padding: 20px 0 0; border: 0; border-top: 1px solid var(--g-900); border-radius: 0; background: none; box-shadow: none; }
.landing-home .pain-point-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 17px; font-weight: 600; }
.landing-home .pain-point-card ul { margin: 0; padding: 0; list-style: none; }
.landing-home .pain-point-card li { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-light); font-size: 15px; line-height: 1.6; }
.landing-home .pain-point-card li::before { content: none; }
.landing-home .pain-point-card li:last-child { border-bottom: 0; }
.landing-home .solution-bridge { display: none; }
.landing-home .solution-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; padding: 40px; border: 1px solid var(--border); border-radius: 16px; background: var(--g-25); color: var(--ink); text-align: left; }
.landing-home .solution-panel h2 { margin-bottom: 12px; font-size: 24px; }
.landing-home .solution-panel-copy { max-width: none; margin: 0; color: var(--text-light); font-size: 15px; line-height: 1.7; }
.landing-home .solution-panel-copy strong { color: var(--ink); font-size: inherit !important; font-weight: 500; }
.landing-home .solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; align-self: start; }
.landing-home .solution-card { padding: 0 0 0 16px; border: 0; border-left: 1px solid var(--border-strong); border-radius: 0; background: none; text-align: left; }
.landing-home .solution-card-value { margin-bottom: 4px; color: var(--ink); font-size: 16px; font-weight: 600; }
.landing-home .solution-card-copy { color: var(--text-light); font-size: 14px; line-height: 1.6; }
.landing-home .solution-panel-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.landing-home .solution-btn { background: var(--g-900); color: #fff; box-shadow: none; }
.landing-home .solution-btn:hover { background: #3f3f46; }
.landing-home .solution-panel-note { margin: 0; color: var(--muted); font-size: 14px; }

/* Business model: rows */
.landing-home .model-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--border); }
.landing-home .model-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 64px; padding: 28px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; text-align: left; }
.landing-home .model-card h3 { grid-row: 1 / 3; margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; }
.landing-home .model-card h4 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.landing-home .model-card p { margin: 0; max-width: 640px; color: var(--text-light); font-size: 15px; line-height: 1.7; }

/* JS bridge */
.landing-home .js-bridge-container { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; margin-top: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.landing-home .js-bridge-tabs { display: flex; flex-direction: column; gap: 4px; }
.landing-home .js-tab-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; padding: 12px 16px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--text-light); font-size: 15px; font-weight: 500; text-align: left; box-shadow: none; cursor: pointer; }
.landing-home .js-tab-btn:hover { background: var(--g-50); color: var(--ink); }
.landing-home .js-tab-btn.active { border-color: var(--border); background: var(--g-50); color: var(--ink); box-shadow: none; }
.landing-home .js-tab-btn .chip { background: var(--g-0); color: var(--muted); }
.landing-home .js-tab-btn.active .chip { color: var(--primary-dark); border-color: rgba(79, 70, 229, 0.22); }
.landing-home .js-bridge-content { display: block; min-width: 0; padding: 0; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; background: var(--g-900); box-shadow: none; overflow: hidden; }
.landing-home .js-tab-pane pre { margin: 0; padding: 28px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.85; }
.landing-home .js-tab-pane code { color: #e4e4e7; font-family: var(--mono); white-space: pre; }
.landing-home .copy-button { top: 12px !important; right: 12px !important; padding: 4px 10px !important; border: 1px solid rgba(255, 255, 255, 0.12) !important; border-radius: 6px !important; background: rgba(255, 255, 255, 0.06) !important; color: #d4d4d8 !important; font-size: 12px !important; font-weight: 500 !important; }

/* Examples (hidden by default) */
.landing-home .use-cases-grid { gap: 24px; }
.landing-home .use-case-card { padding: 24px; border: 1px solid var(--border); border-radius: 16px; box-shadow: none; transform: none; }
.landing-home .use-case-icon { display: none; }
.landing-home .framework-note { margin-top: 32px; padding: 0; border: 0; background: none; text-align: left; }

/* Benefits */
.landing-home .benefits { background: var(--g-25); }
.landing-home .benefits-content { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.landing-home .benefits-text .section-title { margin-bottom: 32px; }
.landing-home .benefit-item { display: block; gap: 0; margin: 0; padding: 16px 0; border-top: 1px solid var(--border); }
.landing-home .benefit-icon { display: none; }
.landing-home .benefit-item h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.landing-home .benefit-item p { margin: 0; color: var(--text-light); font-size: 15px; line-height: 1.7; }
.landing-home .comparison-card { padding: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--g-0); box-shadow: none; overflow: hidden; }
.landing-home .comparison-header { margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--border); background: none; color: var(--ink); font-size: 16px; font-weight: 600; text-align: left; }
.landing-home :is(.comparison-row, .comparison-head-row) { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--border); border-radius: 0; background: none; font-size: 15px; }
.landing-home .comparison-head-row { padding-block: 10px; background: var(--g-25); color: var(--muted); font-size: 13px; }
.landing-home .comparison-row:last-child { border-bottom: 0; }
.landing-home .comparison-row span:first-child { color: var(--text-light); font-weight: 400; }
.landing-home .comparison-row .bad { color: var(--muted); }
.landing-home .comparison-row .good { color: var(--ink); font-weight: 500; }

/* CTA */
.landing-home .cta { padding: 96px 0; background: var(--g-0); color: var(--ink); }
.landing-home .cta-shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding: 56px; border: 0; border-radius: 20px; background: var(--g-900); color: #fff; }
.landing-home .cta-content { padding: 0; text-align: left; }
.landing-home .cta-shell .cta-title { color: #fff; }
.landing-home .cta-subtitle { margin: 0 0 32px; color: #a1a1aa; font-size: 16px; opacity: 1; }
.landing-home .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.landing-home .cta-buttons .btn-primary { background: var(--primary); border-color: transparent; color: #fff; }
.landing-home .cta-buttons .btn-primary:hover { background: var(--primary-dark); }
.landing-home .cta-buttons .cta-docs-btn { background: transparent; border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.landing-home .cta-buttons .cta-docs-btn:hover { background: rgba(255, 255, 255, 0.06); }
.landing-home .cta-features { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.landing-home .cta-feature { font-size: 14px; }
.landing-home .cta-feature a { color: #d4d4d8; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.24); text-underline-offset: 4px; }
.landing-home .cta-feature a:hover { color: #fff; text-decoration-color: currentColor; }
.landing-home .cta-side-panel { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.landing-home .cta-side-card { padding: 0; border: 0; border-radius: 0; background: none; }
.landing-home .cta-side-card strong { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; font-weight: 600; }
.landing-home .cta-side-card p { margin: 0; color: #a1a1aa; font-size: 14px; line-height: 1.7; }

/* FAQ */
.landing-home .faq { padding: 96px 0; background: var(--g-0); }
.landing-home .faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.landing-home .faq-layout .section-header { margin: 0; }
.landing-home .faq-list { max-width: none; margin: 0; border-top: 1px solid var(--border); }
.landing-home .faq-item { margin: 0 !important; padding: 24px 0 !important; border: 0; border-bottom: 1px solid var(--border); border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.landing-home .faq-item h3 { margin: 0 0 8px !important; color: var(--ink) !important; font-size: 16px !important; font-weight: 600; line-height: 1.5; }
.landing-home .faq-item p { max-width: 720px; color: var(--text-light) !important; font-size: 15px; line-height: 1.7 !important; }

/* Footer */
.landing-home .footer { padding: 64px 0 32px; background: var(--g-25); border-top: 1px solid var(--border); color: var(--text-light); }
.landing-home .footer-content { gap: 40px; }
.landing-home .footer-section h4 { margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.landing-home .footer-section :is(a, p), .landing-home .footer-bottom { color: var(--text-light); font-size: 14px; }
.landing-home .footer-section a:hover { color: var(--ink); }
.landing-home .footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); text-align: left; }

.landing-home .animate-on-scroll, .landing-home .stat-item, .landing-home .use-case-card {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1024px) {
  .landing-home .nav-content { gap: 12px; }
  .landing-home .nav-links a { padding-inline: 8px; }
  .landing-home .user-email { max-width: 120px; }
  .landing-home .hero-shell { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .landing-home .hero-copy { max-width: 640px; }
  .landing-home .hero-title { font-size: 48px; }
  .landing-home .hero-visual { max-width: 720px; }
  .landing-home :is(.frameworks-layout, .instant-apk-widget, .benefits-content, .faq-layout, .solution-panel) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .landing-home .instant-apk-intro, .landing-home #instant-apk-status, .landing-home .solution-panel-actions { grid-column: auto; grid-row: auto; }
  .landing-home .cta-shell { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px; }
  .landing-home .cta-side-panel { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
}

@media (max-width: 768px) {
  .landing-home .container { padding-inline: 16px !important; }
  .landing-home .nav-content { min-height: 56px; flex-wrap: nowrap !important; gap: 8px; padding-block: 8px; }
  .landing-home .lang-switch-container { margin-left: auto; }
  .landing-home .lang-switch { width: 28px; height: 28px; }
  .landing-home .mobile-menu-btn { width: 44px; height: 44px; border: 1px solid var(--border) !important; }
  .landing-home .nav-links.show-mobile-nav { top: 100%; position: absolute; max-height: calc(100dvh - 56px); overflow-y: auto; align-items: stretch; padding: 12px 16px 16px; gap: 4px !important; background: var(--g-0); border-bottom: 1px solid var(--border); box-shadow: 0 8px 16px rgba(24, 24, 27, 0.06); }
  .landing-home .nav-links.show-mobile-nav a { min-height: 44px; display: flex; align-items: center; }
  .landing-home .nav-links.show-mobile-nav .auth-links { padding-top: 8px; border-top: 1px solid var(--border); }
  .landing-home .nav-links .user-email { max-width: 100%; padding: 8px 12px; }

  .landing-home .hero { display: block; min-height: 0; padding: 40px 0 0; }
  .landing-home .hero-shell { gap: 40px; }
  .landing-home .hero-title { font-size: 36px !important; line-height: 1.22 !important; margin-bottom: 16px; }
  .landing-home .hero-subtitle { font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
  .landing-home .hero-buttons { margin-bottom: 24px; }
  .landing-home .hero-buttons .btn { flex: 0 0 auto; }
  .landing-home .hero-meta { gap: 4px 16px; font-size: 13px; }
  .landing-home .hero-meta li + li::before { display: none; }
  .landing-home .hero-visual { display: block; min-height: 0; }
  .landing-home .hero-editor { width: 100%; }
  .landing-home .hero-code { padding: 16px 0 72px; }
  .landing-home .hero-code pre { padding: 0 16px; }
  .landing-home .hero-code code { font-size: 12px; line-height: 1.75; }
  .landing-home .code-line-mark { width: calc(100% + 32px); margin-left: -16px; padding-left: 14px; }
  .landing-home .hero-phone { position: relative; top: auto; right: auto; width: 232px; height: 288px; margin: -56px 8px 0 auto; padding-bottom: 0; border-radius: 40px 40px 0 0; transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 -8px 32px rgba(24, 24, 27, 0.16); }
  .landing-home .hero-phone-screen { border-radius: 30px 30px 0 0; }
  .landing-home .hero-phone-clock { margin: 20px 0 20px; }
  .landing-home .hero-phone-time { font-size: 52px; }
  .landing-home .hero-phone-home { display: none; }

  .landing-home :is(.frameworks, .stats, .landing-panel-section, .business-model-refined, .js-bridge-section, .use-cases, .benefits, .cta, .faq) { padding: 64px 0 !important; }
  .landing-home :is(.section-header, .section-header-tight) { margin-bottom: 32px; }
  .landing-home :is(.section-title, .solution-panel h2, .cta-title) { font-size: 26px; }
  .landing-home .instant-demo-section { padding: 48px 0; }
  .landing-home .instant-apk-widget .guest-only .btn { width: 100%; }
  .landing-home .frameworks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 16px !important; }
  .landing-home .framework-card { min-height: 48px; }
  .landing-home .framework-card h3 { font-size: 14px; }
  .landing-home .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0 !important; }
  .landing-home .stats-refined .stat-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .landing-home .stats-refined .stat-item:nth-child(even) { padding-left: 16px; }
  .landing-home .stat-value { font-size: 32px; }
  .landing-home .stat-label { font-size: 13px; }
  .landing-home .bridge-calls { margin-top: 32px; }
  .landing-home .chip-list { flex-basis: 100%; }
  .landing-home .pain-points-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 40px; }
  .landing-home .solution-panel { padding: 24px; }
  .landing-home .solution-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .landing-home .solution-panel-actions .btn { width: 100%; }
  .landing-home .model-card { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .landing-home .model-card h3 { grid-row: auto; margin-bottom: 4px; font-size: 18px; }
  .landing-home .js-bridge-container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .landing-home .js-bridge-tabs { flex-direction: row; gap: 4px; overflow-x: auto; }
  .landing-home .js-tab-btn { flex: 1 0 auto; padding: 8px 12px; font-size: 14px; }
  .landing-home .js-tab-pane pre { padding: 20px 16px; font-size: 12px; }
  .landing-home .benefits-content { gap: 40px; }
  .landing-home :is(.comparison-row, .comparison-head-row) { padding-inline: 16px; gap: 8px; font-size: 14px; }
  .landing-home .comparison-header { padding-inline: 16px; }
  .landing-home .cta { padding: 48px 0 !important; }
  .landing-home .cta-shell { padding: 32px 24px; border-radius: 16px; }
  .landing-home .cta-buttons .btn { width: 100%; }
  .landing-home .faq-layout { gap: 24px; }
  .landing-home .footer-content { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px !important; }
}

@media (max-width: 380px) {
  .landing-home .lang-switch { width: 24px; }
  .landing-home .hero-title { font-size: 32px !important; }
  .landing-home .hero-code code { font-size: 11px; }
  .landing-home .hero-phone { width: 212px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-home *, .landing-home *::before, .landing-home *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Color moments: the hero scene, bridge call categories, the key stat and the CTA.
   Chrome (nav, body text, borders) stays graphite */
.landing-home .hero { background: linear-gradient(180deg, #eceefe 0%, #f4f4fd 55%, var(--g-25) 100%); }

.landing-home .chip[data-cat] { --cat: #71717a; gap: 6px; border-color: color-mix(in srgb, var(--cat) 24%, transparent); background: color-mix(in srgb, var(--cat) 7%, #fff); color: #27272a; }
.landing-home .chip[data-cat]::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cat); }
.landing-home .chip[data-cat="push"] { --cat: #6366f1; }
.landing-home .chip[data-cat="media"] { --cat: #d97706; }
.landing-home .chip[data-cat="secure"] { --cat: #059669; }
.landing-home .chip[data-cat="place"] { --cat: #0284c7; }
.landing-home .chip[data-cat="device"] { --cat: #db2777; }
.landing-home .js-tab-btn .chip[data-cat], .landing-home .js-tab-btn.active .chip[data-cat] { color: #27272a; }
.landing-home .js-tab-btn.active { border-color: color-mix(in srgb, var(--primary) 22%, transparent); background: #f4f4fe; }

.landing-home .stat-item-key .stat-value { color: var(--primary); }

.landing-home .cta-shell { background: linear-gradient(180deg, #24206b 0%, #1a1750 100%); }
.landing-home .cta-subtitle, .landing-home .cta-side-card p { color: #b9bbe8; }
.landing-home .cta-side-panel { border-left-color: rgba(255, 255, 255, 0.14); }
.landing-home .cta-buttons .btn-primary { background: #fff; color: #312e81; }
.landing-home .cta-buttons .btn-primary:hover { background: #e0e7ff; }
.landing-home .cta-buttons .cta-docs-btn { border-color: rgba(255, 255, 255, 0.24); }
.landing-home .cta-feature a { color: #dcdcf7; }
