/* LifeTech Streams sales site. Colours follow the panel (panel/imports/ui/main.css): dark by default, light when the
   device prefers it or the visitor picks it (html[data-theme], set by the theme switch in app.js). */
:root {
  --ink-950: #06080f;
  --ink-900: #0b0f1a;
  --ink-800: #141b2b;
  --ink-700: #1e2739;
  --ink-600: #2b364d;
  --ink-400: #7d8aa5;
  --ink-300: #a9b4c9;
  --ink-100: #e6ebf5;
  --brand-300: #ffb454;
  --brand-400: #ffa21f;
  --brand-500: #ff7a0a;
  --brand-600: #e05a00;
  --pulse-500: #e8430c;
  --accent: #ffa21f;
  --surface: rgba(11, 15, 26, .85);
  --chip: rgba(20, 27, 43, .55);
  --nav-bg: rgba(6, 8, 15, .78);
  --line: rgba(43, 54, 77, .55);
  --grid-line: rgba(43, 54, 77, .35);
  --card-shadow: none;
  --grad: linear-gradient(135deg, var(--brand-400), var(--brand-500) 55%, var(--pulse-500));
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink-950: #f4f6fb; --ink-900: #ffffff; --ink-800: #eef2f8; --ink-700: #e1e7f0; --ink-600: #cbd4e1;
    --ink-400: #5f6b84; --ink-300: #414b63; --ink-100: #0d1426;
    --brand-300: #c2410c; --accent: #e05a00;
    --surface: #ffffff; --chip: rgba(255, 255, 255, .8); --nav-bg: rgba(255, 255, 255, .82);
    --line: #e1e7f0; --grid-line: rgba(13, 20, 38, .06); --card-shadow: 0 1px 2px rgba(13, 20, 38, .05), 0 8px 24px -12px rgba(13, 20, 38, .12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink-950: #f4f6fb; --ink-900: #ffffff; --ink-800: #eef2f8; --ink-700: #e1e7f0; --ink-600: #cbd4e1;
  --ink-400: #5f6b84; --ink-300: #414b63; --ink-100: #0d1426;
  --brand-300: #c2410c; --accent: #e05a00;
  --surface: #ffffff; --chip: rgba(255, 255, 255, .8); --nav-bg: rgba(255, 255, 255, .82);
  --line: #e1e7f0; --grid-line: rgba(13, 20, 38, .06); --card-shadow: 0 1px 2px rgba(13, 20, 38, .05), 0 8px 24px -12px rgba(13, 20, 38, .12);
  color-scheme: light;
}

/* One logo per theme: .on-dark shows in dark mode, .on-light in light mode. */
.on-light { display: none !important; }
:root[data-theme="light"] .on-light { display: block !important; }
:root[data-theme="light"] .on-dark { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .on-light { display: block !important; }
  :root:not([data-theme="dark"]) .on-dark { display: none !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--ink-100);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-300); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand-500); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 12px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #160700; box-shadow: 0 8px 28px -10px rgba(255, 122, 10, .7); }
.btn-primary:hover { box-shadow: 0 12px 34px -10px rgba(255, 122, 10, .9); }
.btn-ghost { border-color: var(--ink-600); color: var(--ink-100); background: var(--chip); }
.btn-ghost:hover { border-color: var(--brand-500); }
.btn-lg { padding: .9em 1.5em; font-size: 1rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-100); font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: 30px; }
.brand b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-300); font-weight: 600; font-size: .93rem; }
.nav-links a:hover { color: var(--ink-100); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: .55em 1em; }
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid var(--ink-600); background: var(--chip); color: var(--ink-300); cursor: pointer; }
.theme-btn:hover { border-color: var(--brand-500); color: var(--ink-100); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: none; }
.theme-btn[data-mode="system"] .i-system, .theme-btn[data-mode="light"] .i-light, .theme-btn[data-mode="dark"] .i-dark { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 122, 10, .22), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-300); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 900; }
h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-300); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 36px; list-style: none; margin: 0; padding: 0; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-size: 1.5rem; font-weight: 800; color: var(--ink-100); }
.hero-facts span { color: var(--ink-400); font-size: .88rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(255, 122, 10, .15)); }
.eq { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 46px; margin-top: 8px; }
.eq i { width: 8px; border-radius: 3px; background: var(--grad); height: 30%; animation: eq 1.1s ease-in-out infinite alternate; opacity: .85; }
.eq i:nth-child(3n) { animation-duration: .8s; }
.eq i:nth-child(4n+1) { animation-duration: 1.3s; animation-delay: -.4s; }
.eq i:nth-child(5n+2) { animation-duration: .95s; animation-delay: -.7s; }
@keyframes eq { to { height: 100%; } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--ink-900), var(--ink-950)); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2, .aff h2, .contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 850; }
.section-head p:last-child { color: var(--ink-300); }

.grid { display: grid; gap: 18px; }
.card { background: var(--surface); box-shadow: var(--card-shadow); border: 1px solid var(--ink-700); border-radius: var(--radius); padding: 26px; }

.features { grid-template-columns: repeat(3, 1fr); }
.feature { transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(255, 122, 10, .55); transform: translateY(-2px); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--ink-300); margin: 0; font-size: .96rem; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(255, 122, 10, .12); border: 1px solid rgba(255, 122, 10, .35); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.extras span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ink-600); color: var(--ink-300); font-size: .88rem; background: var(--chip); }

/* ---------- pricing ---------- */
.tabs { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 30px; width: fit-content; max-width: 100%; background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: 14px; overflow-x: auto; }
.tabs button { font: inherit; font-weight: 700; font-size: .93rem; color: var(--ink-300); background: none; border: 0; padding: .6em 1.1em; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--grad); color: #160700; }
.js .plan[hidden] { display: none; }
.plan + .plan { margin-top: 40px; }
.js .plan + .plan { margin-top: 0; }
.plan-title { text-align: center; color: var(--ink-300); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.js .plan-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prices { grid-template-columns: repeat(4, 1fr); }
.price { position: relative; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.price:hover { border-color: rgba(255, 122, 10, .55); transform: translateY(-3px); }
.price.featured { border-color: var(--brand-500); box-shadow: 0 20px 50px -25px rgba(255, 122, 10, .7); }
.badge { position: absolute; top: -12px; right: 18px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #160700; font-weight: 800; font-size: .75rem; }
.kbps { color: var(--ink-300); margin-bottom: 6px; }
.kbps b { font-size: 1.6rem; color: var(--ink-100); font-weight: 850; }
.amount { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; line-height: 1.1; }
.amount span { font-size: 1.2rem; color: var(--accent); margin-right: 2px; vertical-align: .55em; }
.amount small { font-size: .95rem; font-weight: 600; color: var(--ink-400); letter-spacing: 0; margin-left: 4px; }
.price ul, .ticks { list-style: none; padding: 0; margin: 0; }
.price li, .ticks li { position: relative; padding-left: 26px; margin: 7px 0; color: var(--ink-300); font-size: .94rem; }
.price li::before, .ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255, 122, 10, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffa21f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.fine { text-align: center; color: var(--ink-400); font-size: .88rem; margin: 26px auto 0; max-width: 46em; }

/* ---------- buy ---------- */
.buy { grid-template-columns: repeat(3, 1fr); }
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step p { color: var(--ink-300); }
.step .btn { margin-top: auto; }
.num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #160700; font-weight: 900; margin-bottom: 14px; }
.flow { counter-reset: f; list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow li { counter-increment: f; position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; border: 1px dashed var(--ink-600); color: var(--ink-300); font-size: .93rem; }
.flow li::before { content: counter(f); position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--brand-300); border: 1px solid var(--brand-600); }
.flow b { color: var(--ink-100); }

/* ---------- affiliates ---------- */
.aff { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.aff-copy > p { color: var(--ink-300); }
.aff-copy em { color: var(--brand-300); font-style: normal; font-weight: 700; }
.ticks { margin: 20px 0 28px; }
.slabs h3 { font-size: 1.1rem; }
.slabs table { width: 100%; border-collapse: collapse; }
.slabs th { text-align: left; color: var(--ink-400); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 0 0 10px; }
.slabs th:last-child, .slabs td:last-child { text-align: right; }
.slabs td { padding: 11px 0; border-top: 1px solid var(--ink-700); font-weight: 600; }
.slabs td:last-child { width: 58%; font-weight: 900; font-size: 1.1rem; color: var(--brand-300); white-space: nowrap; }
.bar { display: inline-block; vertical-align: middle; height: 8px; width: calc(var(--w) * .72); margin-right: 12px; border-radius: 99px; background: var(--grad); }
.slabs .fine { text-align: left; margin: 14px 0 0; }

/* ---------- faq ---------- */
.faq details { border: 1px solid var(--ink-700); border-radius: 14px; background: var(--surface); box-shadow: var(--card-shadow); margin-bottom: 10px; }
.faq details[open] { border-color: rgba(255, 122, 10, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-300); }

/* ---------- contact / footer ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 40px; background: radial-gradient(120% 140% at 100% 0%, rgba(255, 122, 10, .16), transparent 55%), var(--surface); }
.contact p { color: var(--ink-300); margin: 0; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.footer { padding: 40px 0; border-top: 1px solid var(--ink-700); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer p { margin: 0; color: var(--ink-400); font-size: .85rem; flex: 1 1 380px; }
.footer .copy { flex: 0 0 auto; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .prices { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero { padding: 40px 0 48px; }
  .hero-inner, .aff, .contact { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 300px; }
  .eq { height: 28px; }
  .buy { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .contact { padding: 28px; }
}
@media (max-width: 560px) {
  .features, .prices, .flow { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .tabs button { white-space: normal; padding: .6em .4em; font-size: .84rem; line-height: 1.25; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- legal pages ---------- */
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; scroll-margin-top: 84px; }
.legal p, .legal li { color: var(--ink-300); }
.legal li { margin: .45em 0; }
.legal b { color: var(--ink-100); }
.legal ul { padding-left: 1.2em; }
.updated { color: var(--ink-400); font-size: .9rem; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink-600); color: var(--ink-300); font-size: .86rem; background: var(--chip); }
.toc a:hover { border-color: var(--brand-500); color: var(--ink-100); text-decoration: none; }
.callout { border: 1px solid rgba(255, 122, 10, .5); border-left: 4px solid var(--brand-500); background: rgba(255, 122, 10, .08); border-radius: 12px; padding: 14px 18px; margin: 14px 0; }
.callout p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--ink-300); font-size: .88rem; font-weight: 600; }
.use-note { display: flex; gap: 12px; align-items: flex-start; max-width: 820px; margin: 26px auto 0; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255, 122, 10, .45); background: rgba(255, 122, 10, .07); color: var(--ink-300); font-size: .93rem; }
.use-note svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.use-note p { margin: 0; }
.use-note b { color: var(--ink-100); }
