/* lightspeech.com: shared styles for the landing page and the About page */
@font-face { font-family: 'Proxima Nova'; font-weight: 400; src: url('../fonts/ProximaNova-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Proxima Nova'; font-weight: 700; src: url('../fonts/ProximaNova-Bold.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Druk Medium'; font-weight: 400; src: url('../fonts/Druk-Medium.woff2') format('woff2'); font-display: swap; }

:root {
  --bg: #000; --text: #f5f5f7; --text2: #d2d2d7; --muted: #a1a1a6; --dim: #86868b;
  --blue: #3d9bff; --btn: #0071e3; --card: #111113; --line: #1d1d1f;
  --body: 'Proxima Nova', 'Montserrat', Helvetica, Arial, sans-serif;
  --head: 'Druk Medium', 'Druk', 'Anton', Impact, sans-serif;
  --brand: 'Comfortaa', 'Nunito', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); } a:hover { color: #8cc4ff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
button { font-family: inherit; }
img { max-width: 100%; }
.head { font-family: var(--head); font-weight: 400; text-transform: uppercase; }
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.26em; color: var(--blue); }

/* brand */
.ls { color: var(--blue); font-family: var(--brand); font-weight: 500; }
.com { font-family: var(--brand); font-weight: 700; }
.b-blue { font-family: var(--brand); color: var(--blue); }
.b-com { font-family: var(--brand); font-weight: 700; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,0.12); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.logo { text-decoration: none; font-size: 22px; line-height: 1; color: var(--text); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 13px; }
.nav nav a { color: var(--text2); text-decoration: none; }
.nav nav a:hover { color: #fff; }
.nav nav a.on { color: #fff; font-weight: 700; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.nav nav a.pill, .pill { background: var(--btn); color: #fff; text-decoration: none; font-weight: 700; padding: 8px 16px; border-radius: 980px; }
.nav nav a.pill:hover, .pill:hover { color: #fff; background: #0a84ff; }
.nav .issued { color: var(--dim); font-size: 12px; }
.progress { height: 2px; background: var(--blue); width: 0; transition: width 0.15s linear; }

/* reveal on scroll */
.js .rv { transition: opacity 0.9s ease, transform 0.9s ease; opacity: 0; transform: translateY(36px); }
.js .rv.in { opacity: 1; transform: none; }
.js .bar { height: 6px; background: var(--blue); border-radius: 3px; width: 0; transition: width 1.1s ease; margin-top: 18px; }
.js .in .bar, .js .bar.in { width: 140px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .bar { width: 140px; transition: none; }
}

/* ---------- landing ---------- */
.hero { padding: 112px 24px 120px; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-in { max-width: 1180px; transition: opacity 0.2s linear; }
.hero h1 { margin: 22px 0 0; font-size: clamp(72px, 13vw, 190px); line-height: 0.95; letter-spacing: -0.01em; }
.hero h1 span { color: var(--blue); }
.hero .sub { margin: 26px 0 0; font-family: var(--head); font-size: clamp(22px, 3vw, 38px); letter-spacing: 0.01em; text-transform: uppercase; }
.hero .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; }
.btn { background: var(--btn); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; padding: 13px 26px; border-radius: 980px; display: inline-block; }
.btn:hover { background: #0a84ff; color: #fff; }
.link { font-size: 17px; text-decoration: none; }

.statement { padding: 110px 24px 130px; }
.statement .in { max-width: 980px; margin: 0 auto; }
.statement .tag { font-size: 13px; font-weight: 700; letter-spacing: 0.26em; color: var(--dim); margin-bottom: 28px; }
.bigtext { margin: 0; font-size: clamp(28px, 3.7vw, 52px); line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.bigtext span { transition: opacity 0.25s linear, color 0.25s linear; }
/* Abstract text on the landing page: same typography as the About page Prologue body text (.art p.body) */
.statement .bigtext { font-family: var(--body); font-size: 21px; line-height: 1.6; font-weight: 400; letter-spacing: normal; }

.stats { padding: 40px 24px 110px; }
.stats .wrap { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 300px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 34px 32px 36px; }
.card .v { font-family: var(--head); font-size: clamp(64px, 8vw, 104px); line-height: 1; letter-spacing: -0.01em; }
.card .l { margin-top: 14px; font-size: 17px; line-height: 1.4; font-weight: 700; }
.card .s { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--muted); }

.sec { padding: 40px 24px 120px; }
.sec h2 { margin: 14px 0 0; font-size: clamp(44px, 6vw, 84px); line-height: 1; }
.sec .lede { margin: 16px 0 0; max-width: 640px; font-size: 19px; line-height: 1.45; color: var(--muted); }

.toggles { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.tg { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--text); border: 1px solid #2c2c2e; border-radius: 980px; padding: 8px 14px; font-size: 13px; }
.tg[aria-pressed="true"] { border-color: var(--blue); }
.key { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: 13px; color: var(--text2); }

.chartwrap { margin-top: 14px; background: #000; border: 1px solid var(--line); border-radius: 28px; padding: 20px 8px 14px; overflow-x: auto; }
#chartBox { position: relative; min-width: 720px; width: 100%; aspect-ratio: 1000 / 450; }
#chartBox .abs { position: absolute; }
.gridl { position: absolute; left: 2.4%; width: 90%; border-top: 1px solid #1c1c1e; }
.ylab { position: absolute; left: 93.2%; transform: translateY(-50%); font-size: 12px; color: var(--dim); }
.xlab { position: absolute; top: 91%; transform: translateX(-50%); font-size: 12px; color: var(--dim); }
.dbar { position: absolute; width: 1.8%; border-radius: 3px; }
.vlab { position: absolute; font-size: 10px; line-height: 1; font-weight: 700; color: #3a3a40; white-space: nowrap; }
.tip { position: absolute; top: 10%; width: 232px; background: transparent; border: 1px solid rgba(255,255,255,0.22); border-radius: 16px; padding: 12px 14px; text-shadow: 0 0 6px #000, 0 0 12px #000; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 5; }
.tip .t { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.tip .r { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 14px; line-height: 1.3; }
.tip .r span:first-child { color: var(--muted); }
.tip .r span:last-child { font-weight: 700; text-align: right; }
.slider { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.slider label { font-size: 13px; color: var(--muted); flex: none; }
.slider input[type=range] { flex: 1 1 260px; width: 100%; accent-color: var(--blue); }
.slider .val { flex: none; min-width: 120px; text-align: right; font-size: 13px; font-weight: 700; }
.note { margin: 18px 0 0; max-width: 900px; font-size: 13px; line-height: 1.55; color: var(--dim); }

.feats { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; }
.feat { flex: 1 1 250px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 26px 30px; }
.feat .n { font-family: var(--head); font-size: 44px; line-height: 1; color: var(--blue); }
.feat .ti { margin-top: 14px; font-size: 22px; line-height: 1.2; font-weight: 700; }
.feat .bo { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.cta-box { max-width: 1180px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 40px 56px; }
.cta-box .l { flex: 1 1 340px; min-width: 0; } .cta-box .r { flex: 1 1 340px; min-width: 0; }
.cta-box h2 { margin: 14px 0 0; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; }
.cta-box p { margin: 20px 0 0; font-size: 18px; line-height: 1.5; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; min-width: 0; }
.frow .fld { flex: 1 1 180px; } /* 180px is a width basis only inside the row; in the column form it was acting as a height */
.fld label { font-size: 13px; font-weight: 700; color: var(--text2); }
.fld input { width: 100%; background: #000; color: var(--text); border: 1px solid #3a3a3c; border-radius: 14px; padding: 14px 16px; font-size: 16px; font-family: inherit; }
.fld input::placeholder { color: #6e6e73; }
.frow { display: flex; flex-wrap: wrap; gap: 14px; }
.err { min-height: 20px; font-size: 14px; color: #ff9f9a; }
.submit { cursor: pointer; background: var(--btn); color: #fff; border: 0; border-radius: 980px; padding: 15px 26px; font-size: 17px; font-weight: 700; }
.submit:hover { background: #0a84ff; } .submit[disabled] { opacity: 0.6; cursor: default; }
.done { background: #000; border: 1px solid #2c2c2e; border-radius: 24px; padding: 32px 28px; }
.done .h { font-family: var(--head); font-size: 40px; line-height: 1.05; text-transform: uppercase; color: var(--blue); }
.done p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--text2); }
.done a { display: inline-block; margin-top: 20px; color: var(--blue); border: 1px solid var(--blue); border-radius: 980px; padding: 10px 20px; font-size: 15px; font-weight: 700; text-decoration: none; }
[hidden] { display: none !important; }

footer.foot { border-top: 1px solid var(--line); padding: 44px 24px 56px; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.foot .big { font-size: 34px; line-height: 1.1; }
.foot .mail { font-size: 15px; color: var(--text2); }
.foot p { margin: 28px 0 0; max-width: 860px; font-size: 12px; line-height: 1.55; color: var(--dim); }

/* ---------- about ---------- */
#stage { position: relative; height: 2600px; }
#stage .pin { position: sticky; top: 0; height: 720px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
#stage .cards { position: relative; width: 100%; max-width: 1180px; height: 460px; }
#stage .tc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.7s ease, transform 0.7s ease; opacity: 0; transform: translateY(48px) scale(0.96); }
#stage .tc.on { opacity: 1; transform: none; }
#stage .tc.past { transform: translateY(-48px) scale(0.96); }
#stage .small { font-family: var(--head); font-size: clamp(30px, 4.4vw, 64px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
#stage .big { margin-top: 22px; font-family: var(--head); font-size: clamp(76px, 13vw, 190px); line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; }
#stage .tc .a { color: var(--blue); } #stage .tc .w { color: var(--text); }
#stage .sfoot { position: absolute; left: 0; right: 0; bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
#stage .cue { font-size: 12px; letter-spacing: 0.26em; color: var(--dim); transition: opacity 0.4s ease; }
#stage .rail { display: flex; gap: 8px; } #stage .rail i { display: block; width: 56px; height: 3px; border-radius: 2px; background: #2c2c2e; overflow: hidden; }
#stage .rail b { display: block; height: 3px; background: var(--blue); width: 0; }

.art { padding: 0 24px; }
.art .col { max-width: 980px; margin: 0 auto; }
.art h2 { margin: 12px 0 0; font-size: clamp(56px, 8vw, 120px); line-height: 1; }
.art .num { font-size: 13px; font-weight: 700; letter-spacing: 0.26em; color: var(--blue); }
.art p.body { margin: 30px 0 0; max-width: 780px; font-size: 21px; line-height: 1.6; color: var(--text2); }
.art p.body.first { margin-top: 44px; }
.dropcap::first-letter { font-family: var(--head); float: left; font-size: 5.2em; line-height: 0.82; padding: 6px 14px 0 0; color: var(--blue); }
.pullq { font-family: var(--head); font-size: clamp(40px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.005em; text-transform: uppercase; }
.pullq em { font-style: normal; color: var(--blue); }
.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #000; cursor: zoom-in; transition: transform 0.5s ease, border-color 0.3s ease; }
.shot:hover { transform: scale(1.012); border-color: var(--blue); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); } .cap span:last-child { color: var(--blue); }
.pair { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; } .pair > div { flex: 1 1 440px; min-width: 0; }
.contact { max-width: 1180px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: 56px 40px; }
.contact h2 { margin: 0; font-size: clamp(56px, 8vw, 120px); line-height: 1; }
.contact .p1 { margin: 36px 0 0; font-size: 21px; line-height: 1.5; color: var(--text2); }
.contact .p2 { margin: 10px 0 0; font-size: clamp(26px, 4vw, 52px); line-height: 1.15; font-weight: 700; }
.contact .p2 a { text-decoration: none; color: var(--text); }
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; }
.lb .top, .lb .mid { width: 100%; max-width: 1400px; display: flex; align-items: center; gap: 14px; }
.lb .top { justify-content: space-between; font-size: 14px; color: var(--text2); } .lb .top b { color: var(--text); }
.lb .mid { justify-content: center; }
.lb img { display: block; flex: 1 1 0; min-width: 0; max-width: 1200px; max-height: 70vh; width: 100%; height: auto; object-fit: contain; border-radius: 16px; }
.lb button { cursor: pointer; background: var(--line); color: var(--text); border: 1px solid #3a3a3c; }
.lb .x { border-radius: 980px; padding: 9px 18px; font-size: 14px; font-weight: 700; }
.lb .ar { flex: none; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; line-height: 1; }
