/* WLCRS website — no framework, no build step */
:root {
  color-scheme: dark;
  /* Colour roles (matched to the logo: blue #0154E2 -> magenta #8E25A5, and the app's violet #5B3DF5)
     blue    = trust / action  -> buttons, links, focus. The only saturated colour on actions.
     violet/magenta = "insight" -> headline gradient, logo only, used sparingly
     green   = healthy / done  -> checkmarks, outcomes (same meaning as in the product)
     amber / red = warning / problem -> only for pain points, never decoration */
  --brand: #2F6BFF; --brand-2: #8DB4FF; --brand-ink: #1F57E6; --violet: #7A5CFF; --magenta: #B44BD0;
  --teal: #34D399; --amber: #F5B451; --red: #FF7A7A;
  --ink: #F3F6FC; --ink-2: #B6C0D8; --ink-3: #8794B0; --line: #1C2741; --line-2: #2A3859;
  --bg: #060A15; --bg-2: #0A1020; --bg-3: #111A2F; --card: #0D1528; --card-2: #121C34;
  --radius: 14px; --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px rgba(0,0,0,.45);
  --max: 1180px; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink-2); background: var(--bg); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 720px; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6,10,21,.8); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 28px; object-fit: contain; }
.brand span { color: var(--brand-2); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav ul a:hover { color: var(--ink); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .98rem; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #2A66F2, var(--brand-ink)); color: #fff; box-shadow: 0 8px 28px rgba(47,107,255,.42), 0 1px 0 rgba(255,255,255,.18) inset; }
.btn-primary:hover { background: linear-gradient(180deg, #2260EE, #1A4FD6); }
.btn:focus-visible, .tabs button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); background: rgba(47,107,255,.08); }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
@media (max-width: 860px) { .nav ul { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; background:
  radial-gradient(1000px 520px at 80% -10%, rgba(47,107,255,.30), transparent 60%),
  radial-gradient(800px 420px at -5% 15%, rgba(180,75,208,.13), transparent 60%), var(--bg); }
.hero .wrap { display: grid; gap: 40px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6FA0FF, var(--violet) 50%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; font-size: .93rem; color: var(--ink-2); }
.facts li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 7px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 1px rgba(47,107,255,.08); overflow: hidden; background: var(--card); display: block; }
.hero-shot { margin-top: 10px; transform: perspective(1800px) rotateX(4deg); transform-origin: top; }
.hero-shot img { width: 100%; }
@media (max-width: 600px) { .hero-shot { max-width: 300px; margin: 10px auto 0; transform: none; } }

/* sections */
section { padding: 92px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); align-items: center; gap: 56px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, transform .15s; }
a.card { color: inherit; display: block; } a.card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); }
.card p { margin: 0; font-size: .97rem; color: var(--ink-2); }
.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(47,107,255,.16); color: var(--brand-2); }
.ico svg { width: 22px; height: 22px; }
.ico.t { background: rgba(52,211,153,.14); color: var(--teal); } .ico.a { background: rgba(245,180,81,.14); color: var(--amber); } .ico.r { background: rgba(255,122,122,.14); color: var(--red); }
.pain { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pain li { padding: 16px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.pain b { color: var(--ink); display: block; margin-bottom: 2px; }
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.tick { list-style: none; padding: 0; margin: 16px 0 0; }
.tick li { padding-left: 28px; position: relative; margin: 8px 0; }
.tick li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: rgba(52,211,153,.16) 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='%2334D399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* gallery */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 22px; }
.tabs button { font: 600 .92rem var(--font); padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--brand-ink); color: #fff; border-color: var(--brand-ink); }
.panelimg { display: none; } .panelimg.on { display: block; }
.panelimg figcaption { text-align: center; color: var(--ink-3); font-size: .95rem; margin-top: 14px; }

/* feature rows (features page) */
.frow { padding: 72px 0; border-bottom: 1px solid var(--line); }
.frow:nth-child(even) .g2 > :first-child { order: 2; }
@media (max-width: 760px) { .frow:nth-child(even) .g2 > :first-child { order: 0; } }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.toc a { font-size: .9rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); }

/* spec table, faq */
.spec { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--ink); font-weight: 600; background: var(--bg-2); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.faq { max-width: 860px; margin: 30px auto 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* cta + footer */
.cta-band { background: linear-gradient(135deg, #0B1A44, #12307E 55%, #3A2A9E); color: #D6E2FF; border: 1px solid #23408F; border-radius: 22px; padding: 56px; display: grid; gap: 22px; grid-template-columns: 1fr auto; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 34px 24px; } }
footer { padding: 54px 0 40px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-3); }
footer .cols { display: grid; gap: 30px; grid-template-columns: 2fr repeat(3, 1fr); }
footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
footer ul { list-style: none; padding: 0; margin: 0; } footer li { margin: 6px 0; } footer a { color: var(--ink-2); }
.legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { section { padding: 64px 0; } .wrap { padding: 0 16px; } .hero { padding-top: 48px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .hero-shot { transform: none; } }

/* ── outcome-first layout ─────────────────────────────────────────────── */
.hero.tight { padding-bottom: 70px; }
.hero.tight .wrap { grid-template-columns: 1fr; text-align: center; }
.hero.tight .lead { margin: 0 auto; }
.hero.tight .cta, .hero.tight .facts { justify-content: center; }
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -36px; position: relative; z-index: 2; }
.outcomes div { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.outcomes b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--teal); letter-spacing: -0.03em; line-height: 1.1; }
.outcomes span { display: block; margin-top: 6px; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.orow { padding: 70px 0; }
.orow h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.orow p { font-size: 1.1rem; }
.orow:nth-of-type(even) { background: var(--bg-2); }
.orow:nth-of-type(even) .g2 > :first-child { order: 2; }
@media (max-width: 760px) { .orow:nth-of-type(even) .g2 > :first-child { order: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(47,107,255,.14); color: #CFDcFF; border: 1px solid rgba(47,107,255,.25); }
.orow:nth-of-type(even) .chips li { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.25); color: #A7F0D2; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 36px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .15s, box-shadow .15s; }
.gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); text-decoration: none; }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.gallery span { display: block; padding: 10px 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.lb { border: 0; padding: 0; background: transparent; max-width: min(1400px, 96vw); max-height: 94vh; }
.lb::backdrop { background: rgba(10,12,22,.86); }
.lb img { max-height: 86vh; width: auto; border-radius: 10px; margin: 0 auto; }
.lb p { color: #E6E4F5; text-align: center; margin: 10px 0 0; }
.lb button { position: fixed; top: 14px; right: 18px; font-size: 1.6rem; color: #fff; background: none; border: 0; cursor: pointer; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust div { padding: 8px; } .trust b { display: block; color: var(--ink); font-size: 1.05rem; margin-top: 10px; } .trust span { font-size: .92rem; color: var(--ink-3); }
.trust .ico { margin: 0 auto; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }
.contact { text-align: center; }
.contact .mail { display: inline-block; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 6px 0 22px; }
.contact .mail:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 600px) { .outcomes { gap: 10px; } .outcomes div { padding: 16px; } .outcomes b { font-size: 1.3rem; } .outcomes span { font-size: .88rem; } }

/* dark-theme extras */
.alt, .orow:nth-of-type(even) { background: var(--bg-2); }
.alt { border-color: var(--line); }
footer { background: #04070F; }
.spec th { background: var(--bg-3); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.contact .mail { color: #fff; } .contact .mail:hover { color: var(--brand-2); }
.lb::backdrop { background: rgba(3,6,14,.9); }
::selection { background: rgba(47,107,255,.45); }
.brand span { background: linear-gradient(90deg, #4C86FF, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── trial / signup ───────────────────────────────────────────────────── */
.trial-hero { padding-bottom: 80px; }
.trial-grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 48px; }
@media (max-width: 920px) { .trial-grid { grid-template-columns: 1fr; } }
.tick b { color: var(--ink); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.plan { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(13,21,40,.7); }
.plan b { display: block; color: var(--ink); } .plan span { font-size: .92rem; }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.signup { padding: 28px; background: var(--card-2); border-color: var(--line-2); box-shadow: var(--shadow); display: grid; gap: 14px; }
.signup h2 { font-size: 1.5rem; margin: 0; }
.signup label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.signup input:not([type=radio]):not([type=checkbox]), .signup select, .signup textarea {
  font: 400 1rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0; }
.signup textarea { resize: vertical; }
.signup input::placeholder, .signup textarea::placeholder { color: #5E6C8A; }
.signup input:focus, .signup select:focus, .signup textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(47,107,255,.25); }
.signup.tried :invalid { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .signup { padding: 20px; } }
.seg { border: 0; padding: 4px; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg); border-radius: 12px; border: 1px solid var(--line); }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 6px; border-radius: 9px; cursor: pointer; color: var(--ink-2); font-weight: 600; }
.seg input:checked + span { background: var(--brand-ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 400 !important; color: var(--ink-2) !important; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.hp { position: absolute !important; left: -9999px; }
.btn-block { width: 100%; padding: 14px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-msg { margin: 0; min-height: 1.2em; font-size: .93rem; } .form-msg.bad { color: var(--red); } .form-msg.ok { color: var(--teal); }
.small { font-size: .85rem; margin: 0; }
.prose { max-width: 760px; } .prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.cmp td:nth-child(2) { color: var(--ink); }
