:root {
  --bg: #fbf8f3;
  --card: #ffffff;
  --tint: #f3eee6;
  --ink: #1a1a1a;
  --soft: #3b3836;
  --muted: #6e6a66;
  --line: rgba(26, 26, 26, 0.1);
  --line-strong: rgba(26, 26, 26, 0.28);
  --accent: #f28c28;
  --link: #1a1a1a;
  --focus: #1a1a1a;
  --btn-bg: #1a1a1a;
  --btn-ink: #ffffff;
  --radius: 12px;
  --radius-card: 16px;
  --shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  --nav-bg: rgba(251, 248, 243, 0.88);
  --media-bg: radial-gradient(closest-side, rgba(242, 140, 40, 0.16), rgba(242, 140, 40, 0.04) 70%, transparent);
  --band-bg: #ffffff;
  --phone-shadow: rgba(26, 26, 26, 0.2);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
.ambient { display: none; }
.app--pitlane { --a: #f26a1b; --a-soft: #fff0e3; --a-line: rgba(242, 106, 27, 0.3); --a-ink: #8a3a06; }
.app--docket { --a: #c98a1c; --a-soft: #fbf1d9; --a-line: rgba(201, 138, 28, 0.34); --a-ink: #74500a; }
.app--metrics { --a: #2f6fe8; --a-soft: #e8efff; --a-line: rgba(47, 111, 232, 0.3); --a-ink: #1b47a6; }
.btn-download { min-height: 50px; padding: 10px 22px; font-size: 16.5px; border-radius: 10px; }
.winshot { display: block; width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 22px 34px rgba(26, 26, 26, 0.2)); }
.wideshot { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(26, 26, 26, 0.22); }
.row-media:has(.winshot), .row-media:has(.wideshot) { padding: clamp(16px, 2.4vw, 28px); }

html:has(body.landing) { background: #fff; }
.landing .nav { background: rgba(255, 255, 255, 0.9); }
.nowrap { white-space: nowrap; }
.dot::after { content: "."; color: #0066cc; }
.shop-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(20px, 3vw, 40px); }
.shop-hero h1 { margin: 0 0 18px; font-size: clamp(38px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; max-width: 12em; }
.arrow { position: relative; margin: 0; padding-left: 30px; font-size: 18px; color: var(--soft); }
.arrow::before { content: "\2192"; position: absolute; left: 0; color: #0066cc; }
.apptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 6vw, 80px); }
.apptile-slot { display: flex; flex-direction: column; min-width: 0; }
.apptile-slot .apptile { flex: 1; }
.ghost { display: block; margin: 0 0 -0.14em 2px; font-size: clamp(54px, 7.4vw, 104px); font-weight: 800; line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase; color: #ebebeb; user-select: none; }
.chapter-kicker { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--a-ink); }
.apptile { position: relative; display: flex; flex-direction: column; padding: 30px 28px 0; border-radius: 28px; background: var(--a-soft); overflow: hidden; transition: transform 0.2s ease; }
.apptile:hover { transform: translateY(-4px); }
.apptile-icon { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); }
.apptile h2, .apptile h3 { margin: 18px 0 6px; font-size: 28px; }
.apptile-name { color: inherit; text-decoration: none; }
.apptile-name::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.apptile-promise { margin: 0; min-height: 3em; font-size: 17px; line-height: 1.45; color: var(--soft); }
.apptile-meta { margin: 12px 0 0; font-size: 14px; color: var(--a-ink); }
.apptile-shot { display: flex; justify-content: center; align-items: flex-start; height: 250px; margin-top: 26px; }
.apptile-shot .phone { --w: 210px; filter: drop-shadow(0 14px 22px rgba(26, 26, 26, 0.18)); }
.apptile-shot .winshot { width: 112%; max-width: none; flex: none; filter: drop-shadow(0 14px 24px rgba(26, 26, 26, 0.18)); }

.chapter { padding: clamp(20px, 3vw, 40px) 0; }
.chapter .row-media { background: var(--a-soft); padding: clamp(24px, 3.4vw, 44px) clamp(16px, 2.4vw, 32px); }
.chapter .fine { margin-top: 12px; }
.ticks { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.500 6.300l2.300 2.300L9.500 3.800' fill='none' stroke='%23fff' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.duo { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 560px; }
.duo .wideshot { flex: none; width: 80%; max-width: none; }
.duo .phone { flex: none; margin-left: -12%; --w: clamp(118px, 12vw, 160px); }
.pair { display: flex; justify-content: center; gap: clamp(12px, 2vw, 22px); }
.pair .phone { --w: clamp(140px, 15vw, 200px); }
.pair .phone + .phone { margin-top: 44px; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(20px, 3vw, 32px); }
.feat { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.feat-media { display: flex; justify-content: center; align-items: flex-start; height: 214px; padding: 22px 20px 0; overflow: hidden; background: var(--a-soft); }
.feat-media--center { align-items: center; padding: 20px; }
.feat-media--shot { background-repeat: no-repeat; background-size: 150% auto; background-position: 78% 22%; }
.feat-media .phone { --w: 196px; filter: drop-shadow(0 12px 20px rgba(26, 26, 26, 0.2)); }
.feat-body { padding: 18px 20px 22px; }
.feat-body h3 { margin: 0 0 6px; font-size: 19px; }
.feat-body p { margin: 0; color: var(--muted); font-size: 15.500px; line-height: 1.5; }

.membars { display: grid; gap: 12px; width: 100%; }
.membars div { display: grid; grid-template-columns: 6.6em 1fr 3.8em; align-items: center; gap: 10px; font-size: 14px; }
.membars i { display: block; height: 16px; border-radius: 8px; background: rgba(26, 26, 26, 0.14); }
.membars i::before { content: ""; display: block; width: 0; height: 100%; border-radius: 8px; background: #6e6a66; transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.membars .is-good i::before { background: var(--a); transition-delay: 0.25s; }
.is-in .membars i::before { width: var(--v); }
.membars b { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.membars small { color: var(--a-ink); font-size: 12.5px; line-height: 1.4; }
.ladder { display: grid; gap: 7px; width: 100%; margin: 0; padding: 0; list-style: none; counter-reset: rung; }
.ladder li { counter-increment: rung; display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 9px; background: var(--card); border: 1px solid var(--a-line); font-size: 14px; opacity: 0.35; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.ladder li::before { content: counter(rung); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--a); color: #fff; font-size: 12px; font-weight: 700; }
.ladder li:nth-child(2) { margin-left: 5%; transition-delay: 0.12s; }
.ladder li:nth-child(3) { margin-left: 10%; transition-delay: 0.24s; }
.ladder li:nth-child(4) { margin-left: 15%; transition-delay: 0.36s; }
.ladder li:nth-child(5) { margin-left: 20%; transition-delay: 0.48s; }
.is-in .ladder li { opacity: 1; transform: none; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; width: 100%; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.checklist li { display: flex; align-items: center; gap: 9px; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--a); background: var(--card) center / 12px no-repeat; transition: background-color 0.3s ease; }
.is-in .checklist li::before { background-color: var(--a); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.6L10 3.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checklist li:nth-child(2)::before { transition-delay: 0.12s; }
.checklist li:nth-child(3)::before { transition-delay: 0.24s; }
.checklist li:nth-child(4)::before { transition-delay: 0.36s; }
.checklist li:nth-child(5)::before { transition-delay: 0.48s; }
.checklist li:nth-child(6)::before { transition-delay: 0.6s; }
.is-in .checklist li.todo::before { background-color: var(--card); background-image: none; }
.bubbles { display: grid; gap: 9px; width: 100%; margin: 0; padding: 0; list-style: none; }
.bubbles li { justify-self: start; max-width: 92%; padding: 8px 14px; border-radius: 16px 16px 16px 5px; background: var(--card); border: 1px solid var(--a-line); font-size: 14.5px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.bubbles li:nth-child(2) { justify-self: end; border-radius: 16px 16px 5px 16px; transition-delay: 0.2s; }
.bubbles li:nth-child(3) { transition-delay: 0.4s; }
.is-in .bubbles li { opacity: 1; transform: none; }
.direct { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; width: 100%; font-size: 13.5px; text-align: center; }
.direct span { display: grid; gap: 6px; justify-items: center; padding: 14px 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--a-line); }
.direct svg { width: 30px; height: 30px; color: var(--a); }
.direct i { width: clamp(28px, 5vw, 56px); height: 2px; background: repeating-linear-gradient(90deg, var(--a) 0 6px, transparent 6px 12px); }
.direct small { grid-column: 1 / -1; color: var(--a-ink); font-size: 12.5px; }

.agents { margin-top: clamp(20px, 4vw, 48px); padding: clamp(44px, 7vw, 92px) 0; background: #17161a; color: #f3efe8; }
.agents h2 { color: #fff; }
.agents .lead { color: rgba(243, 239, 232, 0.78); max-width: 34em; }
.agents .text-link { color: #fff; }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.term { border-radius: 14px; background: #0d0c0f; border: 1px solid rgba(255, 255, 255, 0.13); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-size: 12.5px; color: rgba(243, 239, 232, 0.62); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.term-bar span { margin-left: 8px; }
.term pre { margin: 0; padding: 16px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #ece7dd; }
.term .c { color: rgba(243, 239, 232, 0.5); }
.term .p { color: #f2a65a; }
.prose .terms { margin: 24px 0; }
.prose .term { background: #17161a; }

.claim { display: grid; gap: 10px; margin-top: 22px; padding: 18px; max-width: 32em; border-radius: 14px; background: var(--card); border: 1px solid var(--line-strong); }
.claim p { margin: 0; font-size: 15.5px; }
.claim-form { display: flex; flex-wrap: wrap; gap: 8px; }
.claim-form input { flex: 1; min-width: 200px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; }
.claim--promo { border-color: var(--a-line); background: var(--a-soft); }
.tool-hero { padding-top: 0; }
.tool-hero .header-media { background-image: var(--poster); }
.tool-hero .hero-stage { margin-top: 0; }
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

@media (max-width: 1000px) {
  .apptiles { grid-template-columns: 1fr; max-width: 520px; gap: 34px; }
  .apptile-promise { min-height: 0; }
  .feats { grid-template-columns: 1fr; }
  .feat { max-width: 560px; }
}
@media (max-width: 900px) {
  .terms, .others { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .checklist { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .direct i { animation: none; }
}
