/* LLEM.net v2
   Faithful direction: washed paper field, dotted network background,
   giant centered LLEM, bottom dock, and onboarding board as product proof. */

:root {
  --paper: #f8f8f3;
  --ink: #0f0f0e;
  --muted: #55554e;
  --faint: rgba(15, 15, 14, .12);
  --line: rgba(15, 15, 14, .72);
  --line-soft: rgba(15, 15, 14, .22);
  --green: #0b8f24;
  --yellow: #d8ae00;
  --red: #c82828;
  --blue: #1355d8;
  --orange: #ee8b00;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--mono);
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.94) 0 12rem, rgba(255,255,255,.54) 31rem, transparent 52rem),
    radial-gradient(circle at 50% -8%, rgba(255,255,255,.86), transparent 36rem),
    linear-gradient(180deg, #fbfbf7 0%, #f7f7f1 48%, #f0f0ea 100%);
  letter-spacing: .02em;
}

/* Fine paper dots + grid, generated. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(circle, rgba(15,15,14,.32) 0 .7px, transparent 1.25px),
    radial-gradient(circle, rgba(15,15,14,.14) 0 .55px, transparent 1.15px),
    linear-gradient(rgba(15,15,14,.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,15,14,.04) 1px, transparent 1px);
  background-size:
    30px 30px,
    10px 10px,
    128px 128px,
    128px 128px;
  background-position:
    0 0,
    4px 7px,
    0 0,
    0 0;
  mask-image: linear-gradient(to bottom, black 0%, black 76%, transparent 96%);
}

/* Sparse atlas marks. */
body::after {
  content:
    "#        +      ##       ○        +        #      ##       +       ○      #"
    "\A    ○        #          +        ###        +        #         ○       ##"
    "\A ##       +        ○         #        +       ##       +         #       "
    "\A    +        #        ##       ○        +        #      ###       ○      "
    "\A #       ○        +       #         ##        +       ○        #       +"
    "\A      ###       +       #        ○        +        ##       #        ○  ";
  white-space: pre;
  position: fixed;
  inset: 34px 28px auto;
  height: 80vh;
  z-index: 0;
  pointer-events: none;
  color: rgba(15,15,14,.62);
  font-size: clamp(13px, 1.35vw, 25px);
  line-height: 2.65;
  letter-spacing: clamp(.38rem, 1.9vw, 2.3rem);
  transform: rotate(-1deg);
  opacity: .62;
  mask-image:
    radial-gradient(circle at 50% 42%, transparent 0 16rem, black 25rem),
    linear-gradient(to bottom, black 0%, black 78%, transparent 96%);
}

/* Topographic / signal-contour layer from the previous comp. */
main::before {
  content: "";
  position: fixed;
  inset: -18% -8% auto;
  height: 94vh;
  z-index: 0;
  pointer-events: none;
  opacity: .20;
  background:
    repeating-radial-gradient(
      ellipse at 50% 34%,
      transparent 0 12px,
      rgba(15,15,14,.18) 13px 14px,
      transparent 15px 24px
    );
  mask-image: radial-gradient(ellipse at 50% 34%, black 0 48rem, transparent 74rem);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,h2,h3,h4,p {
  margin: 0;
}

main {
  position: relative;
  z-index: 1;
}

.hero-screen {
  min-height: calc(100vh - 112px);
  display: grid;
  place-items: center;
  padding: 70px 28px 130px;
  position: relative;
  overflow: hidden;
}

.paper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .48;
  background:
    linear-gradient(90deg, transparent 0 15%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.90) 58%, transparent 85%),
    radial-gradient(circle at 50% 41%, rgba(255,255,255,.98) 0 12rem, rgba(255,255,255,.78) 26rem, transparent 46rem),
    repeating-radial-gradient(circle at 30% 20%, rgba(15,15,14,.13) 0 1px, transparent 1px 9px);
  mix-blend-mode: normal;
}

.paper-grain::before,
.paper-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paper-grain::before {
  opacity: .62;
  background-image:
    linear-gradient(90deg, transparent 0 19%, rgba(15,15,14,.18) 19.05% 19.15%, transparent 19.2% 34%, rgba(15,15,14,.15) 34.05% 34.15%, transparent 34.2% 50%, rgba(15,15,14,.17) 50.05% 50.15%, transparent 50.2% 66%, rgba(15,15,14,.15) 66.05% 66.15%, transparent 66.2% 82%, rgba(15,15,14,.16) 82.05% 82.15%, transparent 82.2%),
    linear-gradient(180deg, transparent 0 23%, rgba(15,15,14,.14) 23.05% 23.15%, transparent 23.2% 45%, rgba(15,15,14,.13) 45.05% 45.15%, transparent 45.2% 68%, rgba(15,15,14,.12) 68.05% 68.15%, transparent 68.2%);
}

.paper-grain::after {
  opacity: .52;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 17% 71%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 32% 33%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 42% 54%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 57% 27%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 69% 62%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 83% 21%, rgba(15,15,14,.52) 0 2px, transparent 2.4px),
    radial-gradient(circle at 94% 76%, rgba(15,15,14,.52) 0 2px, transparent 2.4px);
}

.hero-content {
  width: min(1320px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.node-web {
  position: absolute;
  z-index: 1;
  width: min(1320px, 98vw);
  height: 500px;
  top: -70px;
  opacity: .70;
  mix-blend-mode: multiply;
}

.node-web svg {
  width: 100%;
  height: 100%;
}

.node-web path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.15;
  stroke-dasharray: 5 10;
}

.node-web circle,
.node-web rect {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.7;
}

.dot-word {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(26px, 4.7vw, 78px);
  align-items: end;
  margin-left: -.05em;
  font-size: clamp(92px, 13.6vw, 245px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.085em;
  position: relative;
  z-index: 3;
}

.dot-word span {
  color: transparent;
  background-image: radial-gradient(circle, var(--ink) 0 42%, transparent 43%);
  background-size: .095em .095em;
  background-clip: text;
  -webkit-background-clip: text;
  filter: contrast(1.2);
}

.dot-word span:nth-child(3) {
  background-size: .082em .082em;
}

.ghost-word {
  position: absolute;
  z-index: 0;
  top: clamp(190px, 19vw, 285px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(18px, 3.1vw, 54px);
  align-items: end;
  font-size: clamp(88px, 12vw, 218px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.085em;
  opacity: .22;
  pointer-events: none;
}

.ghost-word span {
  color: transparent;
  background-image: radial-gradient(circle, var(--ink) 0 42%, transparent 43%);
  background-size: .095em .095em;
  background-clip: text;
  -webkit-background-clip: text;
  filter: grayscale(1);
}

h1 {
  position: absolute;
  left: -9999px;
}

.verb-row {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 4.6vw, 82px);
  margin-top: 34px;
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: clamp(16px, 1.46vw, 26px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  margin-top: 58px;
  font-size: clamp(24px, 2vw, 39px);
  line-height: 1.52;
}

.explore-button {
  position: relative;
  z-index: 4;
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  border: 1.5px dashed var(--ink);
  padding: 24px 46px;
  background: rgba(248,248,243,.54);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: clamp(16px, 1.25vw, 24px);
}

.explore-button:hover {
  color: var(--paper);
  background: var(--ink);
}

.coded-mark {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 44px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.atom {
  width: 92px;
  height: 64px;
  position: relative;
}

.atom i {
  position: absolute;
  inset: 11px 7px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.atom i:nth-child(1) { transform: rotate(0deg); }
.atom i:nth-child(2) { transform: rotate(58deg); }
.atom i:nth-child(3) { transform: rotate(-58deg); }

.atom b {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 99px;
}

.atom .one { background: var(--blue); left: 1px; top: 2px; }
.atom .two { background: var(--orange); right: 4px; top: 0; }
.atom .three { background: red; left: 34px; top: 28px; }
.atom .four { background: var(--blue); right: 8px; bottom: 5px; }
.atom .five { background: var(--orange); left: 8px; bottom: 5px; }

.board-section,
.live-flow {
  width: min(1760px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 56px 0 24px;
}

.board-copy,
.live-head {
  text-align: center;
  margin-bottom: 28px;
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 6px 12px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.board-copy h2,
.live-head h2 {
  font-size: clamp(34px, 3.4vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.board-copy > p:last-child,
.live-head > p:last-child {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 22px);
}

.board-frame {
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,.62);
  padding: 8px;
  box-shadow: 0 18px 70px rgba(0,0,0,.08);
}

.board-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.atlas-shell {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(620px, 1.7fr) minmax(350px, 1fr);
  gap: 12px;
}

.atlas-panel {
  position: relative;
  border: 1.5px solid var(--line);
  background: rgba(255,255,252,.74);
  padding: 54px 24px 24px;
  min-height: 360px;
  box-shadow: 0 10px 50px rgba(0,0,0,.035);
}

.atlas-panel::before,
.atlas-panel::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
}

.atlas-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.atlas-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 5px 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.welcome {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.welcome h3 {
  font-size: 38px;
  letter-spacing: .2em;
}

.welcome p,
.inspector p,
.live-head p {
  color: var(--muted);
  line-height: 1.45;
}

button,
input {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 10px 14px;
}

button:hover {
  background: var(--ink);
  color: var(--paper);
}

.black {
  background: var(--ink);
  color: var(--paper);
}

.black:hover {
  background: var(--paper);
  color: var(--ink);
}

.green {
  color: var(--green);
  border-color: var(--green);
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.table-head p {
  font-weight: 800;
}

.model-grid {
  display: grid;
  gap: 12px;
}

.group {
  border: 1px solid var(--line-soft);
  padding: 10px;
}

.group h4 {
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
}

.model-card {
  min-height: 88px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.54);
  display: grid;
  gap: 6px;
  text-align: left;
  font-size: 12px;
  padding: 9px;
}

.model-card.selected {
  outline: 2px solid var(--green);
  background: rgba(11,143,36,.08);
}

.model-card strong {
  font-size: 13px;
}

.dot,
.lights i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 1px solid var(--ink);
}

.ready { background: var(--green); }
.warn { background: var(--yellow); }
.bad { background: var(--red); }
.unknown { background: #ddd; }

.controls {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inspector h3 {
  font-size: 42px;
  margin-bottom: 4px;
}

.lights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.lights strong {
  margin-left: auto;
  border: 1px solid var(--line);
  padding: 5px 10px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.split h4 {
  margin-bottom: 9px;
  text-transform: uppercase;
  font-size: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  border: 1px solid var(--line-soft);
  padding: 5px 8px;
  font-size: 12px;
}

.inspector .black {
  margin-top: 20px;
}

.bottom-dock {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 106px;
  border-top: 1.5px dashed var(--line);
  background: rgba(248,248,243,.92);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 270px 1fr 90px;
  gap: 26px;
  align-items: center;
  padding: 0 54px;
}

.dock-brand {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.hashbox {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--line);
  font-size: 34px;
}

.bottom-dock nav {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.bottom-dock nav a {
  text-align: center;
  padding: 17px 14px;
  border-left: 1px dashed var(--line-soft);
  text-transform: uppercase;
  letter-spacing: .16em;
}

.bottom-dock nav a.active::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ink);
  margin: 9px auto 0;
}

.dot-menu {
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(3, 7px);
  justify-content: center;
  gap: 8px;
}

.dot-menu i {
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 99px;
}

@media (max-width: 1200px) {
  .atlas-shell {
    grid-template-columns: 1fr;
  }

  .bottom-dock {
    position: static;
    grid-template-columns: 1fr;
    padding: 24px;
    margin-top: 40px;
  }

  .bottom-dock nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .board-section,
  .live-flow {
    width: min(100vw - 24px, 1760px);
  }

}

@media (max-width: 720px) {
  .hero-screen {
    min-height: auto;
    padding: 60px 16px 80px;
  }

  .dot-word {
    font-size: clamp(76px, 22vw, 132px);
    gap: 16px;
  }

  .verb-row {
  position: relative;
  z-index: 4;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    letter-spacing: .18em;
  }

  .hero-copy {
  position: relative;
  z-index: 4;
    margin-top: 34px;
    font-size: 22px;
  }

  .explore-button {
  position: relative;
  z-index: 4;
    padding: 18px 22px;
    letter-spacing: .12em;
  }

  .coded-mark {
  position: relative;
  z-index: 4;
    transform: scale(.86);
  }

  .table-head,
  .split {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .bottom-dock nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .ghost-word {
    top: 170px;
    font-size: clamp(68px, 20vw, 118px);
    opacity: .17;
  }

  .node-web {
    top: -40px;
    opacity: .56;
  }
}
