/* Lightwell site. No build step, no external assets. */
:root {
  --bg: #0a0c0d;
  --bg-2: #0f1213;
  --panel: rgba(255, 255, 255, .025);
  --line: rgba(220, 230, 228, .09);
  --text: #e9e6dd;
  --muted: #9aa19f;
  --dim: #6c7472;
  --light: #f6efd9;
  --glow: #9fe3df;
  --radius: 14px;
  --sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .92em; }
::selection { background: rgba(159, 227, 223, .25); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--light); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }

/* ---------- nav ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.brand__mark { width: 28px; height: 28px; color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav__links a:not(.btn) { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .3s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--light {
  background: linear-gradient(180deg, #fbf6e7, #e6dcc0); color: #121314;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 10px 40px -10px rgba(246, 239, 217, .55);
}
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 14px 50px -8px rgba(246, 239, 217, .7); }
.btn--ghost {
  color: var(--text); border: 1px solid rgba(233, 230, 221, .28);
  background: rgba(10, 12, 13, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(233, 230, 221, .6); background: rgba(255,255,255,.06); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; isolation: isolate;
}
.hero__art { position: absolute; inset: 0; z-index: -3; }
.hero__art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes settle { from { transform: scale(1.06); filter: brightness(.4); } to { transform: scale(1); filter: brightness(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,10,11,.94) 0%, rgba(8,10,11,.84) 32%, rgba(8,10,11,.42) 50%, rgba(8,10,11,0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10,12,13,0) 22%),
    linear-gradient(180deg, rgba(8,10,11,.55) 0%, rgba(8,10,11,0) 18%);
}
/* animated light & haze */
.hero__fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: screen; }
.hero__rays { position: absolute; inset: 0; filter: blur(18px); }
.ray {
  position: absolute; top: -10%; height: 100%; transform-origin: top center;
  background: linear-gradient(180deg, rgba(246,239,217,.30), rgba(246,239,217,.06) 65%, rgba(246,239,217,0));
  opacity: .5;
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  animation: breathe 9s ease-in-out infinite;
}
.ray--1 { left: 52%; width: 14%; transform: skewX(4deg); }
.ray--2 { left: 57%; width: 7%;  transform: skewX(7deg); animation-duration: 7s; animation-delay: -3s; opacity: .35; }
.ray--3 { left: 49%; width: 9%;  transform: skewX(-1deg); animation-duration: 11s; animation-delay: -6s; opacity: .3; }
@keyframes breathe { 0%,100% { opacity: .22; } 50% { opacity: .55; } }
.haze {
  position: absolute; inset: -20% -40%;
  background:
    radial-gradient(40% 18% at 30% 60%, rgba(180,195,192,.10), transparent 70%),
    radial-gradient(35% 14% at 70% 75%, rgba(180,195,192,.08), transparent 70%),
    radial-gradient(28% 12% at 55% 40%, rgba(246,239,217,.07), transparent 70%);
  filter: blur(10px);
  animation: drift 38s linear infinite;
}
.haze--2 { animation-duration: 56s; animation-direction: reverse; opacity: .7; transform: scaleY(-1); }
@keyframes drift { from { transform: translateX(-6%); } 50% { transform: translateX(6%); } to { transform: translateX(-6%); } }
.motes {
  position: absolute; left: 46%; top: 6%; width: 26%; height: 70%;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,250,235,.8), transparent 60%),
    radial-gradient(1px 1px at 60% 12%, rgba(255,250,235,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 80% 55%, rgba(255,250,235,.6), transparent 60%),
    radial-gradient(1px 1px at 35% 75%, rgba(255,250,235,.6), transparent 60%),
    radial-gradient(1.6px 1.6px at 50% 45%, rgba(255,250,235,.7), transparent 60%),
    radial-gradient(1px 1px at 10% 85%, rgba(255,250,235,.5), transparent 60%);
  background-size: 220px 260px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 15%, #000 70%, transparent);
  animation: float 24s linear infinite; opacity: .7;
}
@keyframes float { from { background-position: 0 0; } to { background-position: 40px 260px; } }

.hero__content { position: relative; width: min(1160px, 100% - 48px); margin: 0 auto; padding: 120px 0 110px; }
.hero__content > * { max-width: 600px; animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero__content > :nth-child(2) { animation-delay: .15s; }
.hero__content > :nth-child(3) { animation-delay: .3s; }
.hero__content > :nth-child(4) { animation-delay: .45s; }
.hero__content > :nth-child(5) { animation-delay: .6s; }
.hero__content > :nth-child(6) { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.eyebrow, .kicker {
  margin: 0 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--glow);
}
.hero__title {
  margin: 0; padding-bottom: .1em; font-weight: 300; letter-spacing: -.035em; line-height: 1;
  font-size: clamp(64px, 10vw, 148px);
  background: linear-gradient(180deg, #fffaf0 30%, #bfc4bf 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(246,239,217,.12);
}
.hero__tagline { margin: 18px 0 0; font-size: clamp(21px, 2.3vw, 29px); line-height: 1.3; font-weight: 400; color: var(--light); letter-spacing: -.01em; }
.hero__sub { margin: 18px 0 0; font-size: clamp(16px, 1.35vw, 18.5px); color: #c3c7c3; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { margin: 26px 0 0; font-size: 13.5px; color: var(--dim); letter-spacing: .01em; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 40px; margin-left: -12px; border: 1px solid rgba(233,230,221,.25); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--light); border-radius: 2px; animation: scrolldot 2.2s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
section { position: relative; }
h2 { margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; font-weight: 400; letter-spacing: -.025em; }
.h2-sm { font-size: clamp(26px, 3vw, 36px); }
h3 { margin: 0 0 14px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 400; letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); color: #b9beba; margin: 22px 0 0; }
.intro { padding: clamp(90px, 12vw, 150px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.intro .lede { margin-inline: auto; }

/* reveal on scroll: light "comes on" */
.reveal { opacity: 0; transform: translateY(24px); filter: brightness(.35); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.6s ease; }
.reveal.is-lit { opacity: 1; transform: none; filter: none; }

/* features */
.features { width: min(1160px, 100% - 48px); margin: 0 auto; padding: 40px 0 60px; display: grid; gap: clamp(70px, 10vw, 140px); }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature--flip .feature__text { order: 2; }
.feature__text p { color: #b5bab6; margin: 0; }
.feature__text p + p { margin-top: 18px; }
.num { color: var(--dim); margin-right: 10px; letter-spacing: .1em; }
.tag { display: inline-block; font-size: 12.5px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tag--soon { color: var(--light) !important; border: 1px dashed rgba(246,239,217,.4); background: rgba(246,239,217,.05); }
.file code { display: inline-block; color: var(--glow); background: rgba(159,227,223,.07); border: 1px solid rgba(159,227,223,.18); padding: 6px 12px; border-radius: 8px; font-size: 14px; }
.panel {
  margin: 0; position: relative; aspect-ratio: 14 / 9; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(70% 60% at 55% 35%, rgba(246,239,217,.07), transparent 70%),
    linear-gradient(180deg, #111516, #0b0e0f);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6);
}
.panel::after { /* soft grid floor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 55% 45%, #000, transparent 75%);
          mask-image: radial-gradient(70% 70% at 55% 45%, #000, transparent 75%);
}
.map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map .edges path { fill: none; stroke: rgba(170,185,182,.22); stroke-width: 1.5; }
.map .edges path.lit, .map .edges path.changed { stroke: var(--glow); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(159,227,223,.8)); }
.map .nodes rect { fill: #131819; stroke: rgba(170,185,182,.28); stroke-width: 1.2; }
.map .nodes rect.lit { fill: #152826; stroke: var(--glow); stroke-width: 1.6; }
.map .labels text { fill: #79817f; font: 11px var(--mono); text-anchor: middle; dominant-baseline: middle; }
.map .labels text.lit { fill: #d8f4f2; }
.map .cone { animation: breathe 8s ease-in-out infinite; }
.map--diff .nodes rect { fill: #101415; stroke: rgba(170,185,182,.18); }
.map--diff .nodes rect.changed { opacity: 1; fill: #24231f; stroke: var(--light); stroke-width: 1.6; filter: drop-shadow(0 0 8px rgba(246,239,217,.45)); }
.map--diff .edges path { opacity: .5; }
.map--diff .edges path.changed { opacity: 1; stroke: var(--light); filter: drop-shadow(0 0 4px rgba(246,239,217,.7)); }
.diffmarks text { font: 600 12px var(--mono); fill: var(--glow); }
.commit { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 13px; color: #aab0ad; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(10,12,13,.75); border: 1px solid var(--line); }
.commit .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--light); box-shadow: 0 0 10px var(--light); }
.commit code { color: var(--glow); }

/* inspector mock */
.inspector { display: grid; grid-template-columns: .8fr 1.6fr; }
.inspector__map { position: relative; z-index: 1; }
.blk { position: absolute; left: 22%; width: 56%; height: 15%; border: 1.2px solid rgba(170,185,182,.28); border-radius: 6px; background: #131819; }
.blk:nth-child(1) { top: 18%; } .blk:nth-child(2) { top: 43%; } .blk:nth-child(3) { top: 68%; }
.blk--on { border-color: var(--glow) !important; background: rgba(159,227,223,.12) !important; box-shadow: 0 0 18px rgba(159,227,223,.35); }
.wire { position: absolute; top: 50.5%; left: 78%; right: -2px; height: 1.5px; background: linear-gradient(90deg, var(--glow), rgba(159,227,223,.2)); box-shadow: 0 0 6px var(--glow); }
.inspector__code { position: relative; z-index: 1; margin: 7% 6% 7% 0; border-radius: 10px; background: rgba(6,8,9,.85); border: 1px solid rgba(159,227,223,.25); box-shadow: 0 0 40px -10px rgba(159,227,223,.25); overflow: hidden; }
.inspector__bar, .term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--dim); }
.inspector__bar i, .term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3031; }
.inspector__bar span, .term__bar span { margin-left: 8px; }
.inspector pre { margin: 0; padding: 12px 16px; font: 12px/1.5 var(--mono); color: #c9ceca; overflow: hidden; }
.inspector .c { color: #5f6866; } .inspector .k { color: #e6d3a3; } .inspector .f { color: var(--glow); } .inspector .t { color: #b8c4f0; }

/* notes mock */
.notes .note-blk { position: absolute; z-index: 1; padding: 10px 16px; font: 12.5px var(--mono); color: #8d9592; border: 1.2px solid rgba(170,185,182,.28); border-radius: 8px; background: #131819; }
.note-blk--a { left: 10%; top: 60%; }
.note-blk--b { left: 56%; top: 34%; border-color: var(--glow) !important; color: var(--glow) !important; background: #132524 !important; box-shadow: 0 0 22px rgba(159,227,223,.3); }
.note-blk--c { left: 72%; top: 68%; }
.note { position: absolute; z-index: 2; width: 44%; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: #cfd2cc; border-radius: 10px; background: rgba(246,239,217,.07); border: 1px solid rgba(246,239,217,.22); backdrop-filter: blur(4px); }
.note b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--light); margin-bottom: 4px; }
.note--1 { left: 6%; top: 10%; }
.note--2 { right: 5%; top: 6%; width: 38%; display: none; }
.notes__wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.notes__wires path { fill: none; stroke: rgba(159,227,223,.35); stroke-width: 1.4; stroke-dasharray: 4 5; }

/* ---------- more light ---------- */
.morelight { --light-level: 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; margin-top: 60px; padding: 120px 0; isolation: isolate; }
.morelight__bg, .morelight__shafts { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.morelight__bg { position: absolute; inset: 0; z-index: -2; }
.morelight__bg img { width: 100%; height: 100%; object-fit: cover; opacity: calc(.1 + var(--light-level) * .75); filter: brightness(calc(.3 + var(--light-level) * .65)); transition: opacity .2s linear, filter .2s linear; }
.morelight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,12,13,.25) 22%, rgba(10,12,13,.25) 78%, var(--bg) 100%), radial-gradient(46% 52% at 50% 52%, rgba(10,12,13,.72), transparent 85%); }
.morelight__shafts { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; filter: blur(18px); }
.morelight__shafts i {
  position: absolute; top: -5%; width: 12%; height: 95%;
  background: linear-gradient(180deg, rgba(246,239,217,.32), rgba(246,239,217,0) 85%);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
  opacity: 0; transform: scaleY(.6); transform-origin: top; transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.2,.7,.2,1);
}
.morelight__shafts i:nth-child(1) { left: 6%; }  .morelight__shafts i:nth-child(2) { left: 26%; transition-delay: .25s; }
.morelight__shafts i:nth-child(3) { left: 46%; transition-delay: .5s; } .morelight__shafts i:nth-child(4) { left: 66%; transition-delay: .75s; }
.morelight__shafts i:nth-child(5) { left: 84%; transition-delay: 1s; }
.morelight.s1 .morelight__shafts i:nth-child(1), .morelight.s2 .morelight__shafts i:nth-child(2), .morelight.s3 .morelight__shafts i:nth-child(3),
.morelight.s4 .morelight__shafts i:nth-child(4), .morelight.s5 .morelight__shafts i:nth-child(5) { opacity: .55; transform: none; }
.morelight__text { text-align: center; }
.morelight__text h2 { text-shadow: 0 2px 30px rgba(0,0,0,.8); }
.steps { list-style: none; margin: 44px auto 0; padding: 0; display: grid; gap: 14px; max-width: 560px; text-align: left; }
.steps li { padding: 16px 20px; border-radius: 12px; background: rgba(10,12,13,.6); border: 1px solid var(--line); color: #a9afab; backdrop-filter: blur(6px); opacity: .25; transform: translateX(-10px); transition: opacity .8s ease, transform .8s ease, border-color .8s, box-shadow .8s; }
.steps li span { color: var(--text); font-weight: 600; margin-right: 6px; }
.steps li.is-lit { opacity: 1; transform: none; border-color: rgba(246,239,217,.22); box-shadow: 0 0 40px -18px rgba(246,239,217,.5); }

/* ---------- languages ---------- */
.langs { padding: 40px 0 20px; }
.langs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.langs__list li { padding: 22px 24px; color: #8f9693; border-left: 1px solid var(--line); font-weight: 500; }
.langs__list li:first-child { border-left: 0; }
.langs__list li small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.langs__list li.on { color: var(--text); background: radial-gradient(90% 120% at 50% 0%, rgba(246,239,217,.10), transparent 70%); }
.langs__list li.on small { color: var(--glow); }

/* ---------- install ---------- */
.install { padding: clamp(90px, 11vw, 140px) 0; text-align: center; }
.install .lede code { color: var(--glow); }
.term { margin: 40px auto 0; text-align: left; border-radius: var(--radius); overflow: hidden; background: #070909; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 80px -40px rgba(246,239,217,.35); }
.copy { margin-left: auto; font: 600 12px var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.copy:hover { color: var(--text); border-color: rgba(233,230,221,.3); }
.term pre { margin: 0; padding: 20px 22px; font: 14.5px/1.85 var(--mono); color: #dfe2dc; overflow-x: auto; }
.term .p { color: var(--dim); user-select: none; }
.term .o { color: var(--glow); }
.install__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--dim); font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (min-width: 1100px) { .note--2 { display: block; } }
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__text { order: 0; }
  .langs__list { grid-template-columns: 1fr 1fr; }
  .langs__list li:nth-child(3) { border-left: 0; }
  .langs__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 18px 20px; }
  .nav__links a:not(.btn) { display: none; }
  .hero { align-items: flex-end; }
  .hero__art img { object-position: 60% 50%; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(8,10,11,.97) 0%, rgba(8,10,11,.9) 38%, rgba(8,10,11,.35) 62%, rgba(8,10,11,0) 80%),
      linear-gradient(180deg, rgba(8,10,11,.6) 0%, rgba(8,10,11,0) 16%);
  }
  .ray--1 { left: 44%; width: 30%; } .ray--2 { left: 54%; width: 14%; } .ray--3 { left: 38%; width: 18%; }
  .motes { left: 35%; width: 50%; }
  .hero__content { padding: 0 0 56px; }
  .hero__title { font-size: 68px; }
  .hero__tagline { font-size: 21px; margin-top: 12px; }
  .hero__sub { font-size: 16px; margin-top: 12px; }
  .hero__cta { margin-top: 24px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; --h: 48px; }
  .hero__meta { margin-top: 16px; font-size: 12.5px; }
  .hero__scroll { display: none; }
  .langs__list { grid-template-columns: 1fr; }
  .langs__list li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .langs__list li:first-child { border-top: 0; }
  .inspector { grid-template-columns: .6fr 1.8fr; }
  .inspector pre { font-size: 10px; padding: 10px; }
  .note { width: 62%; font-size: 12px; top: 7%; }
  .note-blk--b { left: 52%; top: 50%; }
  .note-blk--a { top: 72%; }
  .note-blk--c { top: 80%; left: 66%; }
  .term pre { font-size: 12px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .steps li { opacity: 1; transform: none; filter: none; }
  .morelight__shafts i { opacity: .45; transform: none; }
}

/* ---------- coming soon ---------- */
.btn--static { cursor: default; }
.btn--static:hover { border-color: rgba(233, 230, 221, .28); background: rgba(10, 12, 13, .35); }
.soon-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em; color: #121314;
  background: linear-gradient(180deg, #fbf6e7, #e6dcc0);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 10px 40px -10px rgba(246, 239, 217, .55);
}
.soon-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #3f8f8a; box-shadow: 0 0 0 4px rgba(63, 143, 138, .18); animation: soon-pulse 2.4s ease-in-out infinite; }
@keyframes soon-pulse { 50% { box-shadow: 0 0 0 7px rgba(63, 143, 138, 0); } }
.soon__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.soon__list li { padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.soon__list b { display: block; font-weight: 600; margin-bottom: 4px; color: var(--light); }
.soon__list span { color: #949b98; font-size: 15px; }
.soon__note { margin: 30px 0 0; color: var(--dim); font-size: 14.5px; }
@media (max-width: 640px) { .soon__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .soon-pill__dot { animation: none; } }

/* Keep headline phrases together so lines never end with a single orphaned word. */
.nowrap-chunk { display: inline-block; }
/* Put each chunk on its own line at every width; a chunk still wraps inside itself on very narrow screens. */
.split-lines .nowrap-chunk { display: block; }
h1, h2, h3, h4, h5, h6, .eyebrow, .kicker, .hero__tagline, .soon__list b { text-wrap: balance; }

/* ---------- Moonbase 2090 maker banner ----------
   Mirrors the maker banner on prismattyc.com. Everything is scoped under
   .mb-maker so it never touches the rest of the Lightwell styles. */
@font-face {
  font-family: "JetBrainsMono NFM";
  src: url("/assets/fonts/JetBrainsMonoNerdFontMono-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrainsMono NFM";
  src: url("/assets/fonts/JetBrainsMonoNerdFontMono-SemiBold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("/assets/fonts/Rajdhani-Light-latin.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
.mb-maker {
  --mb-ink: #e6e8ee; --mb-ink-2: #9aa1b2; --mb-ink-3: #929bad;
  --mb-mono: "JetBrainsMono NFM", "JetBrainsMono Nerd Font Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  padding: 20px 0 110px;
  scroll-margin-top: 80px;
}
.mb-maker-card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid #303541; border-radius: 16px; padding: 52px 68px 52px 52px;
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 58px); align-items: center;
  background:
    linear-gradient(rgba(230,232,238,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,232,238,.035) 1px, transparent 1px),
    radial-gradient(circle at 13% 50%, rgba(230,232,238,.05), transparent 23%),
    #07080a;
  background-size: 96px 96px, 96px 96px, auto, auto;
  box-shadow: 0 28px 70px rgba(0,0,0,.25), inset 0 0 80px rgba(255,255,255,.018);
  color: var(--mb-ink); font-family: var(--mb-mono); font-size: 16px; line-height: 1.6;
}
.mb-maker-card p, .mb-maker-card h2 { margin: 0; }
.mb-lockup { position: relative; display: flex; align-items: flex-end; gap: 17px; min-width: 0; }
.mb-orbit {
  position: relative; display: block; width: 88px; aspect-ratio: 1; border: 1px solid rgba(230,232,238,.88); border-radius: 50%;
}
.mb-orbit::before {
  content: ""; position: absolute; left: -14px; right: -14px; top: 50%; height: 1px; background: rgba(230,232,238,.9); transform: rotate(-17deg);
}
.mb-orbit::after {
  content: ""; position: absolute; right: 6px; top: 24px; width: 4px; aspect-ratio: 1; border-radius: 50%; background: var(--mb-ink); box-shadow: 0 0 9px rgba(230,232,238,.7);
}
.mb-orbit i { position: absolute; inset: 18px; border: 1px solid rgba(230,232,238,.2); border-radius: 50%; }
.mb-lockup__code {
  color: var(--mb-ink-3); font-size: 8px; letter-spacing: .18em; line-height: 1.8; text-transform: uppercase; white-space: nowrap;
}
.mb-maker-copy { min-width: 0; }
.mb-maker .mb-kicker {
  margin-bottom: 11px; font-family: var(--mb-mono); font-size: 10px; font-weight: 400; color: var(--mb-ink-3); letter-spacing: .2em; text-transform: uppercase;
}
.mb-maker .mb-wordmark {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em; margin-bottom: 13px;
  font-family: "Rajdhani", sans-serif; font-size: clamp(36px, 4vw, 58px); font-weight: 300; letter-spacing: .07em; line-height: .9;
  text-transform: uppercase; text-wrap: wrap; overflow-wrap: anywhere; color: var(--mb-ink);
}
.mb-maker .mb-wordmark span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(230,232,238,.85); font-size: .78em; letter-spacing: .13em; }
.mb-maker .mb-maker-text { color: var(--mb-ink-2); max-width: 590px; font-size: 14px; }
.mb-cta {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border: 1px solid #3a404d; border-radius: 0;
  background: rgba(16,18,24,.2); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  color: var(--mb-ink); font-family: var(--mb-mono); font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; text-align: center; transition: .16s;
}
.mb-cta:hover { border-color: #39415a; background: rgba(16,18,24,.35); }
.mb-edge-code {
  position: absolute; right: 17px; top: 50%; color: var(--mb-ink-3); font-size: 7px; letter-spacing: .22em;
  writing-mode: vertical-rl; transform: translateY(-50%); text-transform: uppercase;
}
@media (max-width: 920px) {
  .mb-maker-card { grid-template-columns: 1fr; padding: 46px; text-align: center; justify-items: center; }
  .mb-maker .mb-wordmark { justify-content: center; }
  .mb-maker .mb-maker-text { max-width: 640px; }
  .mb-edge-code { right: 14px; }
}
@media (max-width: 560px) {
  .mb-maker-card { padding: 38px 24px 42px; gap: 30px; }
  .mb-lockup { transform: translateX(8px); }
  .mb-orbit { width: 76px; }
  .mb-maker .mb-wordmark { flex-direction: column; align-items: center; gap: 8px; font-size: clamp(37px, 12vw, 50px); }
  .mb-maker .mb-wordmark span:last-child { font-size: .68em; }
  .mb-maker .mb-maker-text { font-size: 13px; }
  .mb-cta { width: 100%; justify-content: center; padding-inline: 14px; }
  .mb-edge-code { display: none; }
}
