/* Spryly — extra styles for compare + landing pages. Loaded after site.css. */

/* ---------- Page hero ---------- */
.ph { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.ph h1 { font-size: clamp(36px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 20px 0 20px; max-width: 18ch; }
.ph .lede { max-width: 64ch; }
.meta-line { margin-top: 22px; font: 500 13px/1.4 var(--f-mono); color: var(--ink-mute); }

/* ---------- Win / lose grid ---------- */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vbox { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-1); border-top: 6px solid var(--c, var(--t-contact)); }
.vbox h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.vbox > p { color: var(--ink-soft); }
.vbox .ticks { margin-top: 18px; }
.verdict--solo { grid-template-columns: 1fr; }
.verdict--solo .vbox > p { max-width: 64ch; }
.verdict--solo .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 900px) { .verdict, .verdict--solo .ticks { grid-template-columns: 1fr; } }

/* ---------- Compare table extras ---------- */
.compare td small { display: block; font-size: 12px; line-height: 1.3; margin-top: 4px; color: var(--on-dark-mute); }
.compare .us small { color: var(--on-dark-mute); }
.compare td.txt { font-size: 14px; line-height: 1.35; }
.compare--wide { min-width: 980px; }
.compare tbody th { min-width: 200px; }

/* ---------- Competitor cards ---------- */
.cmp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cmp { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 14px; }
.cmp h3 { font-size: 28px; }
.cmp .tag { font: 500 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.cmp dl { margin: 0; display: grid; gap: 12px; }
.cmp dt { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.cmp dd { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.cmp dd strong { color: var(--ink); }
.cmp--us { border-top: 6px solid var(--t-contact); }
.cmp .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .cmp-grid { grid-template-columns: 1fr; } }

/* ---------- Sources ---------- */
.src { columns: 2; column-gap: 40px; padding-left: 1.2em; font-size: 15px; color: var(--ink-soft); }
.src li { margin: 0 0 8px; break-inside: avoid; overflow-wrap: anywhere; }
.src a { color: var(--spryly-2); text-underline-offset: 3px; }
.src em { font-style: normal; font: 500 11px/1 var(--f-mono); padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--t-copy) 30%, #fff); color: var(--ink); margin-left: 4px; white-space: nowrap; }
@media (max-width: 800px) { .src { columns: 1; } }
.method { max-width: 74ch; }
.method p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-1); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 19px/1.3 var(--f-display); letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--paper); font: 600 18px/1 var(--f-mono); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq a { color: var(--spryly-2); text-underline-offset: 3px; }

/* =====================================================================
   Landing pages (lp/*) — built by tools/build_lp.py
   Hero with two phones, a strip of places the code goes, one full-bleed
   color field per card type, then extras, how it works, pricing + FAQ.
   ===================================================================== */

/* ---------- Hero ---------- */
.lph { --c: var(--brand); position: relative; overflow: clip; padding: clamp(28px, 5vw, 72px) 0 clamp(48px, 7vw, 104px);
  background: radial-gradient(55% 70% at 80% 45%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.lph__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lph .eyebrow { --dot: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.lph h1 { font-size: clamp(40px, 4.9vw, 74px); line-height: .94; letter-spacing: -.035em; font-stretch: 116%; margin: 22px 0 26px; max-width: 15ch; text-wrap: balance; }
.lph h1 em { font-style: normal; color: color-mix(in srgb, var(--c) 80%, var(--ink));
  background: linear-gradient(var(--lemon), var(--lemon)) 0 94% / 100% .14em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lph .lede { max-width: 34em; }
.lph__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lph__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.lph__facts li::before { content: "✓"; color: var(--contact); margin-right: 6px; font-weight: 800; }

.lph__duo { position: relative; height: clamp(500px, 50vw, 680px); }
.lph__front, .lph__back { position: absolute; top: 50%; animation: lph-in 1s var(--ease) both; }
.lph__front { z-index: 2; width: min(56%, 290px); right: 10%; transform: translateY(-50%) rotate(3deg); animation-delay: .15s; }
.lph__back { z-index: 1; width: min(48%, 250px); left: 4%; transform: translateY(-44%) rotate(-8deg); }
@keyframes lph-in { from { opacity: 0; translate: 0 48px; } }
.lph__chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: var(--white); padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: var(--shadow-xl);
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; animation: lph-chip .7s var(--spring) both;
}
.lph__chip i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--c); color: #fff; }
.lph__chip i svg { width: 20px; height: 20px; }
.lph__chip small { display: block; font-weight: 500; color: var(--ink-3); font-size: 13px; }
.lph__chip--a { left: 0; top: 12%; animation-delay: .7s; }
.lph__chip--b { right: 0; bottom: 12%; animation-delay: .95s; }
@keyframes lph-chip { from { opacity: 0; transform: translateY(14px) scale(.94); } }

@media (max-width: 900px) {
  .lph__grid { grid-template-columns: 1fr; }
  .lph h1 { max-width: 15ch; }
  .lph__duo { height: min(124vw, 620px); margin-top: 8px; }
  .lph__front { width: 54%; right: 8%; }
  .lph__back { width: 46%; left: 2%; }
}
@media (max-width: 560px) {
  .lph h1 { font-size: clamp(36px, 10.4vw, 56px); }
  .lph__actions .btn { width: 100%; max-width: 340px; }
  .lph__chip { font-size: 13px; padding: 8px 12px 8px 8px; border-radius: 15px; }
  .lph__chip i { width: 30px; height: 30px; border-radius: 10px; }
  .lph__chip i svg { width: 17px; height: 17px; }
  .lph__chip small { font-size: 12px; }
  .lph__chip--a { top: 6%; } .lph__chip--b { bottom: 6%; }
}

/* ---------- Where the code goes ---------- */
.uses { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; }
.uses__track { display: flex; gap: 36px; width: max-content; animation: uses 38s linear infinite;
  font: 800 clamp(20px, 2.4vw, 30px)/1 var(--f-display); font-stretch: 115%; letter-spacing: -.02em; }
.uses__track span { display: inline-flex; align-items: center; gap: 36px; }
.uses__track span::after { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--lemon); }
.uses__track span:nth-child(4n+1)::after { background: var(--contact); }
.uses__track span:nth-child(4n+2)::after { background: var(--event); }
.uses__track span:nth-child(4n+3)::after { background: var(--data); }
@keyframes uses { to { transform: translateX(-50%); } }

/* ---------- One color field per card type ---------- */
.feat { --bg: var(--contact-deep); --c: var(--contact); position: relative; overflow: clip; background: var(--bg); color: #fff; padding: clamp(80px, 10vw, 150px) 0; }
.feat::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 78% 50%, color-mix(in srgb, var(--c) 50%, transparent), transparent 72%); }
.feat--flip::before { background: radial-gradient(45% 60% at 22% 50%, color-mix(in srgb, var(--c) 50%, transparent), transparent 72%); }
.feat__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.feat--flip .feat__grid { grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); }
.feat--flip .feat__shot { order: -1; }
.feat__num { display: flex; align-items: center; gap: 12px; font: 800 15px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.feat__num b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 14px; letter-spacing: 0; }
.feat__plan { font-style: normal; margin-left: 2px; padding: 6px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .1em; }
.feat__plan--free { background: rgba(255,255,255,.18); color: #fff; }
.feat__plan--pro { background: var(--lemon); color: var(--ink); }
.feat h2 { font-size: clamp(38px, 4.8vw, 70px); line-height: .94; letter-spacing: -.035em; font-stretch: 118%; margin: 22px 0 24px; max-width: 14ch; text-wrap: balance; }
.feat p.big { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: rgba(255,255,255,.88); max-width: 34em; }
.feat .ticks { margin-top: 26px; color: rgba(255,255,255,.92); font-size: 18px; max-width: 34em; }
.feat .ticks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1630' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E"); }
.feat__shot { position: relative; width: 100%; max-width: 280px; margin: 0 auto; }
.feat__front { position: relative; z-index: 2; }
.feat__front .phone { box-shadow: inset 0 0 0 1.5px #24272c, 0 0 0 .5px rgba(0,0,0,.4), 0 60px 110px -40px rgba(0,0,0,.65); }
.feat__back { position: absolute; z-index: 1; width: 86%; top: 7%; left: 44%; transform: rotate(8deg); opacity: .92; }
.feat--flip .feat__back { left: auto; right: 44%; transform: rotate(-8deg); }
.feat__back .phone { box-shadow: inset 0 0 0 1.5px #24272c, 0 40px 80px -30px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .feat__grid, .feat--flip .feat__grid { grid-template-columns: 1fr; }
  .feat--flip .feat__shot { order: 0; }
  .feat h2 { max-width: none; }
  .feat__shot { width: min(60vw, 270px); margin-top: 12px; }
}

/* ---------- Pricing card + FAQ, side by side ---------- */
.lp-close { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-price { position: sticky; top: 100px; background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-xl); }
.lp-price .eyebrow { --dot: var(--lemon); }
.lp-price h2 { color: #fff; margin: 16px 0 12px; }
.lp-price p { color: rgba(255,255,255,.82); font-size: 17px; }
.lp-price__rows { display: grid; gap: 10px; margin: 24px 0 28px; }
.lp-price__rows > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.1); }
.lp-price__rows b { font: 800 18px/1.2 var(--f-display); font-stretch: 110%; }
.lp-price__rows span { font: 800 22px/1 var(--f-display); font-stretch: 110%; text-align: right; }
.lp-price__rows span small { font: 600 14px/1 var(--f-body); }
.lp-price__rows > div > small { grid-column: 1 / -1; font-size: 14px; color: rgba(255,255,255,.75); }
.lp-price__rows .is-hot { background: #fff; color: var(--ink); }
.lp-price__rows .is-hot > small { color: var(--ink-3); }
.lp-price .btn { --bg: var(--lemon); --fg: var(--ink); }
@media (max-width: 900px) { .lp-close { grid-template-columns: 1fr; } .lp-price { position: static; } }

/* ---------- The other audience pages ---------- */
.others__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.other { --c: var(--brand); display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); border-top: 6px solid var(--c); text-decoration: none; transition: transform .4s var(--spring), box-shadow .4s; }
.other:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.other .eyebrow { --dot: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.other b { font: 800 clamp(22px, 2.2vw, 30px)/1.05 var(--f-display); font-stretch: 110%; letter-spacing: -.02em; max-width: 22ch; }
.other i { display: grid; place-items: center; width: 44px; height: 44px; margin-top: auto; border-radius: 50%; background: var(--ink); color: #fff; }
.other i svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.other:hover i svg { transform: translateX(3px); }
@media (max-width: 760px) { .others__row { grid-template-columns: 1fr; } }

/* ---------- Redirect page ---------- */
.redirect { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.redirect p { color: var(--ink-soft); }
