/* Perk public landing page — standalone stylesheet (not part of application.css). */

:root {
  --lp-bg: #ffffff;
  --lp-soft: #f4f5f7;
  --lp-ink: #111113;
  --lp-muted: #66676d;
  --lp-line: rgba(17, 17, 19, 0.08);
  --lp-blue: #0a66e8;
  --lp-blue-hover: #0857c8;
  --lp-blue-soft: #d3e6ff;
  --lp-shadow: 0 1px 2px rgba(17, 17, 19, 0.03), 0 12px 36px -8px rgba(17, 17, 19, 0.12);
  --lp-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp-body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lp-body a { color: inherit; text-decoration: none; }
.lp-body h1, .lp-body h2, .lp-body h4, .lp-body p, .lp-body figure { margin: 0; }
.lp-body ul { margin: 0; padding: 0; list-style: none; }
.lp-body u { text-decoration: none; }
.lp-body img, .lp-body svg { display: block; }
.lp-body i, .lp-body em { font-style: normal; }
.lp-body a:focus-visible, .lp-lang summary:focus-visible { outline: 2px solid var(--lp-blue); outline-offset: 3px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #fff !important;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.lp-btn:hover { background: var(--lp-blue-hover); }
.lp-btn-sm { height: 40px; padding: 0 20px; font-size: 15px; }
.lp-btn-lg { height: 56px; padding: 0 40px; font-size: 18px; }

/* ───────── Nav ───────── */
.lp-nav { position: sticky; top: 0; z-index: 40; background: var(--lp-bg); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.lp-nav.is-scrolled { border-bottom-color: var(--lp-line); }
.lp-nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 40px; }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.lp-nav-links { display: flex; gap: 4px; }
.lp-nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--lp-muted); }
.lp-nav-links a:hover { background: var(--lp-soft); color: var(--lp-ink); }
.lp-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.lp-lang { position: relative; }
.lp-lang summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--lp-muted); }
.lp-lang summary:hover { background: var(--lp-soft); }
.lp-lang summary::-webkit-details-marker { display: none; }
.lp-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  display: grid;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--lp-shadow), 0 0 0 1px var(--lp-line);
}
.lp-lang-menu a { padding: 9px 12px; border-radius: 10px; font-size: 15px; }
.lp-lang-menu a:hover { background: var(--lp-soft); }

/* ───────── Hero ───────── */
.lp-hero { display: flex; flex-direction: column; align-items: center; padding: 64px 24px 88px; text-align: center; }
.lp-hero-title { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 500; }
.lp-hero-title > span { display: block; }
.lp-words { display: grid !important; justify-items: center; }
.lp-word {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 0.24em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.18em);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lp-word.is-on { opacity: 1; transform: none; transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s; }
.lp-tile { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 28%; background: var(--c); color: #fff; }
.lp-word .lp-tile { width: 0.84em; height: 0.84em; }
.lp-word .lp-tile svg { width: 0.5em; height: 0.5em; }
.lp-hero-sub { max-width: 560px; margin: 16px 0 32px !important; font-size: 20px; color: var(--lp-muted); text-wrap: balance; }
.lp-hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

.lp-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--lp-ink);
  color: #fff !important;
  text-align: left;
  line-height: 1.15;
  transition: background-color 0.15s ease;
}
.lp-store:hover { background: #34343a; }
.lp-store span { display: block; }
.lp-store small { display: block; font-size: 12px; opacity: 0.78; }
.lp-store b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }

.lp-apps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 1180px; margin: 72px auto 0 !important; }
.lp-apps li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: var(--lp-muted); }
.lp-apps .lp-tile { width: 56px; height: 56px; }

/* ───────── Simulated Perk: shared pieces ───────── */
.lp-stage, .lp-visual, .lp-phones { font-size: 14.5px; line-height: 1.4; text-align: left; }
.lp-stage b, .lp-visual b, .lp-phones b { font-weight: 600; }
.lp-stage small, .lp-visual small, .lp-phones small { font-size: 13px; color: var(--lp-muted); }
.lp-win { box-sizing: border-box; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line), 0 30px 80px -24px rgba(17, 17, 19, 0.2); }
.lp-card { box-sizing: border-box; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow); }
.lp-float { position: absolute; z-index: 2; }
.lp-phone { box-sizing: border-box; width: 270px; padding: 22px 16px; border-radius: 42px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line), 0 0 0 7px #fff, 0 0 0 8px var(--lp-line), 0 30px 70px -18px rgba(17, 17, 19, 0.28); }
.lp-face { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: var(--lp-ink); font-size: 14px; font-weight: 500; }
.lp-faces { display: inline-flex; padding-left: 6px; }
.lp-faces i { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; background: var(--c); font-size: 12px; font-weight: 500; }
.lp-orb { flex: none; display: block; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 32% 24%, #fff 0, #cfe6ff 22%, #6fb4ff 52%, #2f86f6 100%); box-shadow: 0 2px 8px rgba(47, 134, 246, 0.28); }
.lp-orb.is-lg { width: 60px; height: 60px; }
.lp-bubble { max-width: 250px; padding: 11px 16px; border-radius: 20px; background: var(--lp-soft); }
.lp-bubble.is-me { align-self: flex-end; background: var(--lp-blue-soft); }
.lp-round { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.lp-round.is-blue { background: var(--lp-blue); color: #fff; }
.lp-ask { display: flex; align-items: center; gap: 12px; padding: 9px 9px 9px 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow); color: var(--lp-muted); }
.lp-ask span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-voice { flex: none; display: flex; align-items: center; justify-content: center; gap: 2.5px; width: 38px; height: 38px; border-radius: 50%; background: var(--lp-blue); }
.lp-voice u { width: 2.5px; height: 9px; border-radius: 2px; background: #fff; }
.lp-voice u:nth-child(2) { height: 17px; }
.lp-voice u:nth-child(3) { height: 12px; }

/* Parts appear one after another once the scene is on screen. */
.is-armed .lp-s { opacity: 0; transform: translateY(10px); }
.is-armed.is-in .lp-s { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 0.16s + 0.15s); }

/* ───────── Hero scene ───────── */
.lp-stage { position: relative; width: 100%; max-width: 1180px; margin-top: 64px; }
.lp-home { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 600px; margin-right: 110px; }
.lp-rail { display: flex; flex-direction: column; gap: 3px; padding: 22px 12px; border-right: 1px solid var(--lp-line); background: #fbfbfc; }
.lp-rail-logo { display: flex; align-items: center; gap: 10px; padding: 0 12px 16px; font-size: 17px; }
.lp-rail span { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 11px; color: #4c4d54; white-space: nowrap; }
.lp-rail svg { flex: none; }
.lp-rail span.is-on { background: var(--lp-blue-soft); color: var(--lp-blue); font-weight: 500; }
.lp-rail em, .lp-ph-row em { display: grid; place-items: center; min-width: 19px; height: 19px; margin-left: auto; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11.5px; font-weight: 600; }
.lp-home-main { display: flex; flex-direction: column; min-width: 0; padding: 32px 190px 28px 40px; }
.lp-thread { flex: 1; display: flex; flex-direction: column; gap: 20px; padding-bottom: 24px; }
.lp-thread .lp-bubble { max-width: 340px; font-size: 15.5px; }
.lp-ai-reply { display: flex; gap: 14px; }
.lp-ai-reply > div { flex: 1; min-width: 0; }
.lp-ai-reply p { max-width: 460px; padding-top: 5px; font-size: 15.5px; }
.lp-plan { margin-top: 16px; padding: 6px 18px; border-radius: 20px; box-shadow: 0 0 0 1px var(--lp-line); }
.lp-plan-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; }
.lp-plan-row + .lp-plan-row { border-top: 1px solid var(--lp-line); }
.lp-plan-row > span { width: 44px; font-weight: 500; font-variant-numeric: tabular-nums; }
.lp-plan-row small { display: block; }
.lp-plan-row .lp-tile { width: 36px; height: 36px; }
.lp-plan-row b { flex: 1; min-width: 0; }
.lp-plan-row em { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: 99px; background: var(--lp-blue-soft); color: #0b4fb3; font-size: 13px; font-weight: 500; white-space: nowrap; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; box-shadow: 0 0 0 1px var(--lp-line); font-size: 13.5px; white-space: nowrap; }
.lp-hero-phone { position: absolute; right: 8px; bottom: -28px; min-height: 520px; }

/* ───────── Phone screens ───────── */
.lp-ph-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; }
.lp-ph-head b { font-size: 21px; letter-spacing: -0.02em; }
.lp-ph-search { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; padding: 9px 13px; border-radius: 13px; background: var(--lp-soft); color: var(--lp-muted); }
.lp-ph-row { display: flex; align-items: center; gap: 11px; padding: 10px 2px; }
.lp-ph-row .lp-face { width: 42px; height: 42px; font-size: 16px; }
.lp-ph-row span { flex: 1; min-width: 0; }
.lp-ph-row b, .lp-ph-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-ph-row em { background: var(--lp-blue); }
.lp-ph-logo { margin: 8px auto 18px; }
.lp-ask.is-sm { padding: 6px 6px 6px 13px; background: var(--lp-soft); box-shadow: none; }
.lp-ask.is-sm .lp-voice { width: 34px; height: 34px; }
.lp-ph-k { margin: 20px 4px 12px !important; color: var(--lp-muted); font-weight: 600; }
.lp-ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px 4px; }
.lp-ph-grid span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; text-align: center; white-space: nowrap; }
.lp-ph-grid .lp-tile { width: 44px; height: 44px; }
.lp-seg { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0; padding: 3px; border-radius: 12px; background: var(--lp-soft); text-align: center; font-size: 13px; color: var(--lp-muted); }
.lp-seg span { padding: 5px 0; border-radius: 9px; }
.lp-seg .is-on { background: #fff; color: var(--lp-ink); font-weight: 500; box-shadow: 0 1px 3px rgba(17, 17, 19, 0.1); }
.lp-cal { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font-size: 12px; color: var(--lp-muted); }
.lp-cal-d b { display: grid; place-items: center; width: 26px; height: 26px; margin: 3px auto 8px; border-radius: 50%; color: var(--lp-ink); font-size: 13px; }
.lp-cal-d.is-on b { background: var(--lp-blue); color: #fff; }
.lp-cal-grid { grid-column: 1 / -1; display: grid; grid-template: repeat(9, 38px) / repeat(5, minmax(0, 1fr)); background: repeating-linear-gradient(var(--lp-line) 0 1px, transparent 1px 38px); }
.lp-cal-grid i { margin: 2px 1px; padding: 5px 2px; overflow: hidden; border-left: 3px solid var(--c); border-radius: 7px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--lp-ink); font-size: 10px; line-height: 1.25; letter-spacing: -0.02em; text-align: left; overflow-wrap: anywhere; }

/* ───────── Feature rows ───────── */
.lp-row.is-soft { background: var(--lp-soft); }
.lp-row-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 72px; box-sizing: border-box; max-width: 1300px; margin: 0 auto; padding: 104px 40px; }
.lp-row.is-flip .lp-row-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-row.is-flip .lp-copy { order: 2; }
.lp-copy h2, .lp-download h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.lp-copy p, .lp-download-copy > p { margin-top: 18px; font-size: 19px; color: var(--lp-muted); text-wrap: pretty; }
.lp-download-copy > p { text-wrap: balance; }
.lp-copy ul { display: grid; gap: 14px; margin-top: 28px; }
.lp-copy li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.lp-copy li svg { flex: none; margin-top: 2px; color: var(--lp-blue); }
.lp-visual { position: relative; display: flex; justify-content: center; }

/* Chat */
.lp-chat { display: grid; grid-template-columns: 210px minmax(0, 1fr); width: 100%; min-height: 590px; }
.lp-chat-list { padding: 20px 10px; border-right: 1px solid var(--lp-line); }
.lp-chat-title { display: block; padding: 0 10px 14px; font-size: 18px; }
.lp-chat-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 13px; }
.lp-chat-item.is-on { background: var(--lp-soft); }
.lp-chat-item span { min-width: 0; }
.lp-chat-item b, .lp-chat-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-chat-main { display: flex; flex-direction: column; min-width: 0; padding: 0 22px 18px; }
.lp-chat-main header { display: flex; align-items: center; gap: 10px; height: 60px; margin: 0 -22px 12px; padding: 0 22px; border-bottom: 1px solid var(--lp-line); }
.lp-msg { display: flex; gap: 12px; padding: 9px 0; }
.lp-msg div { min-width: 0; }
.lp-msg b small { margin-left: 8px; font-weight: 400; }
.lp-file { display: inline-flex; align-items: center; gap: 12px; margin-top: 9px; padding: 10px 18px 10px 10px; border-radius: 14px; box-shadow: 0 0 0 1px var(--lp-line); }
.lp-file i, .lp-doc-bar > i { display: grid; place-items: center; width: 34px; height: 38px; border-radius: 8px; background: var(--lp-blue); color: #fff; font-weight: 600; }
.lp-file b, .lp-file small { display: block; }
.lp-reacts { display: flex; gap: 6px; margin-top: 7px; }
.lp-reacts u { padding: 3px 9px; border-radius: 99px; background: var(--lp-soft); font-size: 13px; }
.lp-compose { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 8px 8px 8px 14px; border-radius: 16px; box-shadow: 0 0 0 1px var(--lp-line); color: var(--lp-muted); }
.lp-compose span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-compose i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lp-blue); color: #fff; }
.lp-task { right: -24px; bottom: 84px; display: grid; gap: 8px; padding: 16px 22px 16px 18px; }
.lp-task > small { display: flex; align-items: center; gap: 6px; color: var(--lp-blue); font-weight: 500; }
.lp-task > b { font-size: 16px; }
.lp-task > span { display: flex; align-items: center; gap: 8px; color: var(--lp-muted); }
.lp-task .lp-face { width: 26px; height: 26px; font-size: 12px; }

/* AI */
.lp-ai-visual { align-items: center; gap: 28px; }
.lp-ai-phone { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 340px; padding: 24px 18px 26px; }
.lp-ai-phone .lp-bubble { max-width: 290px; }
.lp-who { align-self: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 6px; }
.lp-who b { margin-top: 9px; font-size: 16px; }
.lp-approve { align-self: stretch; padding: 16px; }
.lp-approve-head { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.lp-approve-head svg { flex: none; }
.lp-mail { margin: 12px 0; padding: 14px; border-radius: 15px; background: var(--lp-soft); }
.lp-mail p { margin-top: 5px; color: var(--lp-muted); }
.lp-fake { display: grid; place-items: center; height: 44px; border-radius: 99px; background: var(--lp-soft); font-weight: 500; }
.lp-fake + .lp-fake { margin-top: 8px; }
.lp-fake.is-primary { background: var(--lp-blue); color: #fff; }
.lp-chars { display: grid; grid-template-columns: repeat(2, 132px); gap: 14px; }
.lp-chars figure { padding: 7px 7px 11px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow); }
.lp-chars figure:nth-child(even) { position: relative; top: 26px; }
.lp-chars img { width: 100%; height: auto; border-radius: 16px; aspect-ratio: 120 / 146; object-fit: cover; }
.lp-chars figcaption { padding: 8px 5px 0; }
.lp-chars figcaption b, .lp-chars figcaption small { display: block; }
.lp-chars figcaption small { font-size: 12.5px; line-height: 1.3; }

/* Docs */
.lp-doc { width: 100%; max-width: 600px; }
.lp-doc-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--lp-line); }
.lp-doc-bar > i { width: 28px; height: 31px; border-radius: 7px; font-size: 14px; }
.lp-doc-bar span { display: flex; gap: 16px; margin-left: 16px; color: var(--lp-muted); font-weight: 600; }
.lp-doc-bar u:nth-child(2) { font-style: italic; }
.lp-doc-bar u:nth-child(3) { text-decoration: underline; }
.lp-doc-bar em { margin-left: auto; }
.lp-doc-page { padding: 44px 56px 96px; font-size: 16px; }
.lp-doc-page h4 { margin-bottom: 14px !important; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.lp-doc-page p + p { margin-top: 12px; }
.lp-doc-page mark { background: var(--lp-blue-soft); color: inherit; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 2px 3px; }
.lp-doc-ai { display: inline-flex; align-items: center; gap: 11px; margin: 14px 0 20px; padding: 8px 8px 8px 10px; border-radius: 99px; box-shadow: 0 0 0 1px var(--lp-line), var(--lp-shadow); font-size: 14.5px; }
.lp-doc-ai .lp-orb { width: 26px; height: 26px; }
.lp-doc-ai em { padding: 6px 14px; border-radius: 99px; background: var(--lp-blue); color: #fff; font-weight: 500; white-space: nowrap; }
.lp-todo { display: flex; align-items: center; gap: 11px; }
.lp-todo i { flex: none; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 19, 0.22); }
.lp-todo i.is-on { background: var(--lp-blue); box-shadow: none; color: #fff; }
.lp-sheet { right: 0; bottom: -36px; width: 264px; padding: 18px; }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 104px; margin: 14px 0 12px; }
.lp-bars i { flex: 1; height: var(--h); border-radius: 7px; background: var(--lp-blue-soft); }
.lp-bars i.is-on { background: var(--lp-blue); }
.lp-sheet p { display: flex; justify-content: space-between; color: var(--lp-muted); }
.lp-sheet p b { color: var(--lp-ink); }

/* Business */
.lp-crm { width: 100%; padding: 24px 24px 100px; }
.lp-crm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lp-crm-head > b { font-size: 21px; letter-spacing: -0.02em; }
.lp-crm-head span { color: var(--lp-muted); white-space: nowrap; }
.lp-crm-head span b { color: var(--lp-ink); }
.lp-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-col { padding: 12px; border-radius: 18px; background: #f7f7f9; }
.lp-col > p { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lp-col em { padding: 3px 9px; border-radius: 7px; font-size: 13px; font-weight: 500; }
.lp-deal { display: grid; gap: 6px; padding: 13px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line); }
.lp-deal + .lp-deal { margin-top: 9px; }
.lp-deal small { display: flex; align-items: center; gap: 7px; }
.lp-deal small i { flex: none; width: 13px; height: 13px; border-radius: 4px; background: var(--c); }
.lp-deal strong { font-weight: 500; }
.lp-leave { left: -20px; bottom: -22px; display: flex; align-items: center; gap: 13px; padding: 15px 18px; }
.lp-leave b, .lp-leave small, .lp-invoice b, .lp-invoice small { display: block; }
.lp-leave em { margin-left: 10px; padding: 5px 12px; border-radius: 99px; background: var(--lp-blue-soft); color: #0b4fb3; font-size: 13px; font-weight: 500; }
.lp-invoice { right: -16px; bottom: 34px; display: flex; align-items: center; gap: 13px; padding: 14px 22px 14px 14px; }
.lp-invoice .lp-tile { width: 40px; height: 40px; }

/* Build */
.lp-storebox { width: 100%; max-width: 520px; padding: 28px 30px 92px; }
.lp-store-k { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; }
.lp-app { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.lp-app span { flex: 1; min-width: 0; }
.lp-app b, .lp-app small { display: block; }
.lp-app b { font-size: 16px; }
.lp-app em { padding: 7px 16px; border-radius: 99px; background: var(--lp-soft); font-size: 14px; font-weight: 500; white-space: nowrap; }
.lp-app .lp-tile { width: 52px; height: 52px; }
.lp-app.is-yours em { background: var(--lp-blue); color: #fff; }
.lp-eng { right: 0; bottom: -26px; display: flex; align-items: center; gap: 13px; padding: 16px 26px 16px 16px; }
.lp-eng small, .lp-eng b { display: block; }

/* ───────── Download + footer ───────── */
.lp-download { display: flex; flex-direction: column; align-items: center; padding: 112px 24px 0; overflow: hidden; overflow: clip; background: #fff; text-align: center; }
.lp-download-copy { display: flex; flex-direction: column; align-items: center; max-width: 640px; }
.lp-download-copy .lp-stores { justify-content: center; margin: 32px 0 20px; }
.lp-body .lp-textlink { color: var(--lp-blue); }
.lp-body .lp-textlink:hover { text-decoration: underline; }
.lp-phones { display: flex; align-items: flex-start; justify-content: center; gap: 40px; width: 100%; height: 470px; margin-top: 64px; padding-top: 48px; background: radial-gradient(60% 90% at 50% 100%, #e3efff, rgba(227, 239, 255, 0)); }
.lp-phones .lp-phone { flex: none; min-height: 560px; }
.lp-phones .lp-phone:not(.is-mid) { margin-top: 56px; }
.lp-footer { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px 40px; border-top: 1px solid var(--lp-line); background: #fff; font-size: 14px; color: var(--lp-muted); }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lp-footer a:hover { color: var(--lp-ink); }

@media (max-width: 1180px) {
  .lp-nav-links { display: none; }
  .lp-nav-inner { grid-template-columns: 1fr auto; }
  .lp-home { margin-right: 0; grid-template-columns: minmax(0, 1fr); }
  .lp-home-main { padding: 32px; }
  .lp-rail, .lp-hero-phone { display: none; }
  .lp-stage { max-width: 780px; }
  .lp-apps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; max-width: 700px; }
  .lp-row-inner, .lp-row.is-flip .lp-row-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 780px; padding: 88px 40px; }
  .lp-row.is-flip .lp-copy { order: 0; }
  .lp-task, .lp-invoice { right: -8px; }
  .lp-leave { left: -8px; }
}
@media (max-width: 700px) {
  .lp-nav-inner { padding: 0 20px; }
  .lp-nav-actions { gap: 4px; }
  .lp-hero { padding: 48px 20px 64px; }
  .lp-hero-title { font-size: clamp(26px, 8.6vw, 48px); }
  .lp-hero-sub { font-size: 18px; margin-bottom: 28px !important; }
  .lp-hero-cta > .lp-btn-lg { box-sizing: border-box; width: 100%; max-width: 340px; padding: 0 24px; }
  .lp-stores { justify-content: center; gap: 10px; }
  .lp-store { padding: 0 16px 0 14px; gap: 9px; }
  .lp-store b { font-size: 15.5px; }
  .lp-stage { margin-top: 44px; }
  .lp-home { min-height: 0; }
  .lp-home-main { padding: 22px 16px 18px; }
  .lp-ai-reply { gap: 10px; }
  .lp-plan { margin-left: -44px; padding: 4px 14px; }
  .lp-plan-row { gap: 11px; }
  .lp-plan-row em { width: 26px; height: 26px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .lp-chips span:nth-child(n + 3) { display: none; }
  .lp-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 8px; margin-top: 52px !important; }
  .lp-apps li { font-size: 12.5px; text-align: center; }
  .lp-row-inner, .lp-row.is-flip .lp-row-inner { padding: 64px 20px; gap: 44px; }
  .lp-copy p, .lp-download-copy > p { font-size: 18px; }
  .lp-chat { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lp-chat-list { display: none; }
  .lp-chat-main { padding: 0 16px 108px; }
  .lp-chat-main header { margin: 0 -16px 8px; padding: 0 16px; }
  .lp-compose { margin-top: 12px; }
  .lp-task { bottom: -24px; }
  .lp-ai-visual { flex-direction: column; gap: 32px; }
  .lp-ai-phone { width: 100%; max-width: 340px; }
  .lp-chars { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 320px; }
  .lp-chars figure:nth-child(even) { top: 0; }
  .lp-doc-bar span { display: none; }
  .lp-doc-page { padding: 26px 22px 196px; font-size: 15.5px; }
  .lp-doc-page h4 { font-size: 23px; }
  .lp-doc-ai { gap: 8px; font-size: 13.5px; }
  .lp-doc-ai em { padding: 6px 11px; }
  .lp-crm { padding: 18px 16px 148px; }
  .lp-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lp-col { padding: 9px; }
  .lp-col:nth-child(3) { display: none; }
  .lp-deal { padding: 11px; }
  .lp-leave { left: 8px; right: 8px; bottom: -22px; }
  .lp-leave em { margin-left: auto; }
  .lp-invoice { right: 8px; bottom: 58px; }
  .lp-storebox { padding: 22px 20px 72px; }
  .lp-app { gap: 12px; }
  .lp-app em { padding: 7px 12px; }
  .lp-download { padding-top: 80px; }
  .lp-phones .lp-phone:not(.is-mid) { display: none; }
  .lp-footer { padding: 24px 20px; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .lp-phones { gap: 24px; }
  .lp-phones .lp-phone { width: 250px; }
}
