/* Lasso — marketing site. One file, no framework. 8px spacing grid. */
:root {
  --bg: #0E1012;
  --card: #1A1D21;
  --card-2: #15181B;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --accent: #FF7A1A;
  --green: #3DD68C;
  --red: #FF5A5A;
  --text: #fff;
  --muted: rgba(255,255,255,.65);
  --faint: rgba(255,255,255,.45);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;
  --r: 16px;
  --wrap: 1120px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s10) }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100% }
p { margin: 0 0 var(--s2) }
p, li, dd { color: var(--muted) }
strong { color: var(--text); font-weight: 600 }
a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(255,122,26,.4); text-underline-offset: 3px }
a:hover { text-decoration-color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px }
h1, h2, h3 { font-family: var(--display); color: var(--text); margin: 0; text-wrap: balance }
h2 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 650 }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600 }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s2) }
@media (min-width: 768px) { .wrap { padding: 0 var(--s4) } }

.skip { position: absolute; left: var(--s2); top: -100px; z-index: 10; background: var(--accent); color: var(--bg); padding: var(--s1) var(--s2); border-radius: 8px; font-weight: 600; text-decoration: none }
.skip:focus { top: var(--s1) }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(14,16,18,.86); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line) }
.site-head .wrap { display: flex; align-items: center; gap: var(--s3); height: 64px }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 19px; letter-spacing: -.01em }
.logo img { width: 32px; height: 32px; border-radius: 8px }
.site-nav { display: none; margin-left: auto; gap: var(--s3) }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px }
.site-nav a:hover { color: var(--text) }
.lang { margin-left: auto; display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 12px/1 var(--mono); letter-spacing: .04em }
.lang a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 999px }
.lang a:hover { color: var(--text) }
.lang a[aria-current] { background: var(--card); color: var(--text) }
@media (min-width: 900px) { .site-nav { display: flex } .lang { margin-left: var(--s1) } }

/* ---------- shared bits ---------- */
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s2) }
.section { padding: var(--s10) 0; border-top: 1px solid var(--line) }
@media (min-width: 768px) { .section { padding: var(--s12) 0 } }
.section-head { max-width: 680px; margin-bottom: var(--s5) }
.section-head p { margin-top: var(--s2); font-size: 18px }
.prose { max-width: 68ch }
.prose p { font-size: 17px }
.mono { font-family: var(--mono) }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 var(--s3); border-radius: 12px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent }
.btn-ghost { color: var(--text); border-color: var(--line-2) }
.btn-ghost:hover { border-color: var(--text) }
.btn-store { color: #0E1012; background: var(--accent); border-color: var(--accent) }
.btn-store:hover { filter: brightness(1.08) }
.btn-store svg { width: 18px; height: 18px }

/* ---------- hero ---------- */
.hero { padding: var(--s6) 0 var(--s10); overflow: hidden }
.hero .wrap { display: grid; gap: var(--s8); align-items: center }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12px/1.3 var(--mono); color: var(--muted); letter-spacing: .02em; margin-bottom: var(--s3) }
.status .dot { color: var(--green); box-shadow: 0 0 0 4px rgba(61,214,140,.15) }
.hero h1 { font-size: clamp(38px, 8.4vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; margin-bottom: var(--s3) }
.hero h1 em { font-style: normal; color: var(--accent) }
.lead { font-size: 17px; line-height: 1.65; max-width: 60ch; margin-bottom: var(--s4) }
.lead strong { color: var(--text) }
.cta { display: flex; flex-wrap: wrap; gap: 12px }
.cta .btn { flex: 1 1 200px }
@media (min-width: 560px) { .cta .btn { flex: 0 0 auto } }
.hero-note { margin-top: var(--s2); font: 13px/1.5 var(--mono); color: var(--faint) }

.phone-stage { position: relative; display: grid; place-items: center; padding: var(--s2) 0 }
.phone-stage::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(255,122,26,.18), transparent); filter: blur(10px); z-index: 0 }
.phone { position: relative; z-index: 1; width: min(300px, 78vw); padding: 11px; border-radius: 52px; background: #050607; border: 1px solid var(--line-2); box-shadow: inset 0 0 0 2px #24272c, 0 40px 80px -30px rgba(0,0,0,.8) }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 30%; height: 26px; border-radius: 20px; background: #000; z-index: 2 }
.phone img { width: 100%; height: auto; aspect-ratio: 660 / 1434; border-radius: 42px; background: var(--card) }
@media (min-width: 900px) {
  .hero { padding: var(--s10) 0 var(--s12) }
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s6) }
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; counter-reset: step }
.steps li { background: var(--bg); padding: var(--s3); counter-increment: step }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 600 14px/1 var(--mono); margin-bottom: var(--s2) }
.steps h3 { margin-bottom: var(--s1) }
.steps p { margin: 0; font-size: 16px }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr) } .steps li { padding: var(--s4) } }

/* ---------- battery drop trace (signature) ---------- */
.trace { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) var(--s2) var(--s2); margin-bottom: var(--s6) }
@media (min-width: 768px) { .trace { padding: var(--s4) var(--s4) var(--s3) } }
.trace-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); font: 500 12px/1.4 var(--mono); color: var(--faint); letter-spacing: .04em; margin-bottom: var(--s2) }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) }
.legend span { display: inline-flex; align-items: center; gap: 6px }
.k-green { color: var(--green) } .k-red { color: var(--red) } .k-accent { color: var(--accent) } .k-off { color: var(--faint) }
.trace svg { width: 100%; height: auto }
.trace .grid line { stroke: rgba(255,255,255,.06) }
.trace .ax { font: 500 11px var(--mono); fill: var(--faint) }
.events { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s1); counter-reset: ev }
.events li { display: grid; grid-template-columns: 24px 72px 1fr; gap: 12px; align-items: baseline; padding: var(--s1) 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; counter-increment: ev }
.events li::before { content: counter(ev); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--text); font: 600 11px/1 var(--mono); align-self: center }
.events time { font: 500 13px/1.5 var(--mono); color: var(--text); white-space: nowrap }
.events .fix::before { background: var(--accent); color: var(--bg) }
@media (min-width: 768px) { .events { grid-template-columns: repeat(5, 1fr); gap: var(--s2) } .events li { grid-template-columns: 1fr; gap: 4px; border-top: 0; padding: 0 } .events li::before { margin-bottom: 4px } }
.cols-2 { display: grid; gap: var(--s4) }
@media (min-width: 900px) { .cols-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s8) } }
.symptoms h3 { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--s2) }
.symptoms ul { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s1) }
.symptoms li { background: var(--card); border-radius: 12px; padding: 12px var(--s2); color: var(--text); font-size: 15px; border-left: 2px solid var(--red) }

/* ---------- features ---------- */
.features { display: grid; gap: var(--s2) }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr) } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,122,26,.12); color: var(--accent); margin-bottom: var(--s2) }
.feature .ic svg { width: 22px; height: 22px }
.feature h3 { margin-bottom: var(--s1) }
.feature p { margin: 0; font-size: 15px; line-height: 1.6 }

/* ---------- gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s2); margin: 0; padding: 0; list-style: none }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
@media (min-width: 900px) { .shots { gap: var(--s3) } }
.shots figure { margin: 0 }
.shots img { width: 100%; height: auto; aspect-ratio: 660 / 1434; border-radius: 22px; border: 1px solid var(--line-2); background: var(--card) }
.shots figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted) }

/* ---------- compatibility ---------- */
.compat { display: grid; gap: var(--s2); margin-bottom: var(--s3) }
@media (min-width: 768px) { .compat { grid-template-columns: 1fr 1fr } }
.compat > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s2) }
.models { list-style: none; margin: 0 0 var(--s2); padding: 0 }
.models li { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500 }
.models li:last-child { border-bottom: 0 }
.models span { font: 13px/1.6 var(--mono); color: var(--faint); text-align: right }
.compat p { font-size: 15px; margin: 0 }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px var(--s2); max-width: 68ch }
.note p { margin: 0 }

/* ---------- pricing ---------- */
.price { display: grid; gap: var(--s4); background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: var(--s4) var(--s3); max-width: 880px }
@media (min-width: 768px) { .price { grid-template-columns: 1fr 1fr; padding: var(--s6); gap: var(--s6) } }
.price-main .big { font-family: var(--display); font-size: clamp(32px, 5vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; color: var(--text); margin: 0 0 var(--s1) }
.price-main .then { font-size: 18px; color: var(--text); margin-bottom: var(--s2) }
.price-main .then b { color: var(--accent); font-weight: 600 }
.price-main p { font-size: 15px }
.price h3 { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--s2) }
.checks { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 12px }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 16px; line-height: 1.45 }
.checks svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px }
.checks .paid svg { color: var(--accent) }
.checks .paid { color: var(--muted) }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: 20px 0; font: 600 18px/1.35 var(--display); color: var(--text) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--accent); flex: none; transition: transform .2s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { max-width: 68ch; padding-bottom: var(--s3); margin: 0 }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none } }

/* ---------- open source + requirements ---------- */
.duo { display: grid; gap: var(--s6) }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: var(--s8) } }
.duo h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: var(--s2) }
.req { list-style: none; margin: 0; padding: 0 }
.req li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative }
.req li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent) }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s8); font-size: 14px }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3) }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); list-style: none; margin: 0; padding: 0 }
.foot-links a { color: var(--muted); text-decoration: none }
.foot-links a:hover { color: var(--text) }
.disclaimer { color: var(--faint); max-width: 72ch; margin: 0; font-size: 13px }

/* ---------- article pages (support, privacy) ---------- */
.article { padding: var(--s8) 0 var(--s10) }
.article .wrap { max-width: calc(70ch + 2 * var(--s4)) }
.article h1 { font-size: clamp(36px, 7vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin-bottom: var(--s3) }
.article h2 { font-size: 22px; letter-spacing: -.015em; margin: var(--s6) 0 var(--s2) }
.article p { line-height: 1.7 }
.article .small { font: 13px/1.6 var(--mono); color: var(--faint) }
.article .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); margin: var(--s3) 0 }
.article .card p { margin: 0; line-height: 1.9 }
.qa { border-top: 1px solid var(--line); padding-top: var(--s2); margin-top: var(--s2) }
.trace { margin: 0 0 var(--s6) }
@media (max-width: 599px) { .trace .ax { display: none } }
.events li { align-content: start }
.events li::before { align-self: start; margin-top: 1px }
@media (max-width: 767px) { .events li { grid-template-columns: 24px 56px 1fr } }
.compat { align-items: start }
.trace .ax { font-size: 10px }
.phone { width: min(260px, 70vw) }
@media (min-width: 900px) { .phone { width: 300px } }
.models li { flex-wrap: wrap; white-space: nowrap }
.models span { white-space: normal; margin-left: auto }
.status { border-radius: 16px }
