:root {
  color-scheme: dark;
  --bg: #06101c;
  --bg-deep: #030912;
  --panel: rgba(11, 27, 45, 0.72);
  --panel-soft: rgba(12, 29, 48, 0.52);
  --panel-solid: #0a1a2c;
  --text: #f4f8fb;
  --muted: #9aabbd;
  --muted-2: #718397;
  --line: rgba(181, 218, 238, 0.14);
  --line-strong: rgba(191, 229, 249, 0.26);
  --accent: #6fe3ff;
  --accent-2: #8998ff;
  --accent-3: #c8fbff;
  --success: #7ff6bc;
  --danger: #ff9eae;
  --warning: #ffd68a;
  --radius: 1.35rem;
  --radius-sm: 0.9rem;
  --shell: min(1180px, calc(100% - 3rem));
  --ease: cubic-bezier(.2, .75, .25, 1);
  --mx: 50%;
  --my: 32%;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(41, 121, 158, 0.16), transparent 28rem),
    linear-gradient(135deg, var(--bg-deep), var(--bg) 52%, #071522);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(111, 227, 255, 0.24);
  color: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

input,
select,
textarea {
  min-width: 0;
}

textarea {
  resize: vertical;
}

svg {
  display: block;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--text);
  color: var(--bg-deep);
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.4;
}

.ambient__glow--one {
  top: -18rem;
  right: -13rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(78, 208, 255, 0.28), transparent 68%);
  animation: drift-one 16s ease-in-out infinite alternate;
}

.ambient__glow--two {
  bottom: -28rem;
  left: -18rem;
  width: 48rem;
  height: 48rem;
  background: radial-gradient(circle, rgba(101, 94, 255, 0.22), transparent 68%);
  animation: drift-two 20s ease-in-out infinite alternate;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 204, 238, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 204, 238, 0.044) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 90%);
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.033;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/*
 * Text-only LYREL wordmark. The sliced duplicate is the same word-not an
 * icon-giving the typography a precise signal-processing character.
 */
.lyrel-wordmark {
  --wordmark-size: 0.96rem;
  --wordmark-spacing: 0.39em;
  position: relative;
  z-index: 1;
  display: inline-block;
  color: #c8fbff;
  background: linear-gradient(105deg, #d8fdff 0%, #6fe3ff 54%, #8b9cff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: var(--wordmark-size);
  font-weight: 860;
  letter-spacing: var(--wordmark-spacing);
  line-height: 0.94;
  margin-right: calc(var(--wordmark-spacing) * -1);
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(111, 227, 255, 0.18));
}

.lyrel-wordmark::after {
  content: attr(data-wordmark);
  position: absolute;
  inset: 0;
  z-index: 2;
  color: rgba(229, 253, 255, 0.9);
  clip-path: polygon(0 46%, 100% 35%, 100% 52%, 0 64%);
  opacity: 0.68;
  pointer-events: none;
  transform: translateX(0.045em);
  -webkit-text-fill-color: currentColor;
}

.lyrel-wordmark--header {
  padding-block: 0.48rem;
}

.header-actions,
.header-meta {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1.3rem;
}

.header-meta {
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(127, 246, 188, 0.7);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -0.32rem;
  border: 1px solid rgba(127, 246, 188, 0.45);
  border-radius: inherit;
  animation: status-pulse 2.4s ease-out infinite;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding-inline: 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: #d9e9f1;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: rgba(111, 227, 255, 0.5);
  background: rgba(111, 227, 255, 0.07);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100svh - 92px);
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.hero__copy {
  max-width: 700px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow__line {
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1 {
  max-width: 760px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.35rem, 6.15vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
  font-weight: 690;
}

h1 em {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #e8fbff 8%, var(--accent) 46%, #9ea8ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
  font-weight: 620;
}

.hero__lede {
  max-width: 640px;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.78rem;
  min-height: 3.55rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.92rem;
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 1.05rem;
  height: 1.05rem;
}

.button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(111, 227, 255, 0.22);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(105deg, var(--accent-3), var(--accent) 56%, #8ec9ff);
  color: #04111c;
  box-shadow: 0 15px 40px rgba(70, 194, 231, 0.17);
}

.button--primary:hover {
  box-shadow: 0 18px 46px rgba(70, 194, 231, 0.28);
}

.button--secondary {
  border: 1px solid var(--line-strong);
  background: rgba(7, 20, 34, 0.58);
  color: #e9f5f9;
  backdrop-filter: blur(16px);
}

.button--secondary:hover {
  border-color: rgba(111, 227, 255, 0.48);
  background: rgba(111, 227, 255, 0.07);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-top: 1.55rem;
  color: var(--muted-2);
  font-size: 0.73rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__proof i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(111, 227, 255, 0.55);
}

.hero__visual {
  display: grid;
  place-items: center;
  min-width: 0;
}

.signal-stage {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 300ms var(--ease);
}

.signal-stage::before,
.signal-stage::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
}

.signal-stage::before {
  border: 1px solid rgba(131, 218, 246, 0.12);
  background:
    radial-gradient(circle at 50% 44%, rgba(111, 227, 255, 0.11), transparent 36%),
    rgba(7, 22, 37, 0.26);
  box-shadow: inset 0 0 70px rgba(71, 160, 200, 0.07), 0 0 90px rgba(30, 113, 153, 0.09);
  backdrop-filter: blur(3px);
}

.signal-stage::after {
  inset: 4%;
  border: 1px solid rgba(131, 218, 246, 0.055);
}

.signal-stage__halo {
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 227, 255, 0.19), rgba(111, 227, 255, 0.03) 42%, transparent 70%);
  filter: blur(8px);
  animation: halo-pulse 5.8s ease-in-out infinite;
}

.signal-stage__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(149, 224, 249, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-stage__orbit--outer {
  width: 78%;
  height: 78%;
  animation: orbit-spin 24s linear infinite;
}

.signal-stage__orbit--inner {
  width: 56%;
  height: 56%;
  border-style: dashed;
  animation: orbit-spin-reverse 17s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid #a9efff;
  border-radius: 50%;
  background: #081827;
  box-shadow: 0 0 14px rgba(111, 227, 255, 0.72);
}

.orbit-node--one {
  left: 7%;
  top: 23%;
}

.orbit-node--two {
  right: 4%;
  bottom: 30%;
}

.orbit-node--three {
  left: 47%;
  top: -0.32rem;
  border-color: #aeb6ff;
  box-shadow: 0 0 14px rgba(139, 156, 255, 0.72);
}

.signal-stage__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(24px);
  border: 1px solid rgba(166, 231, 251, 0.24);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(17, 46, 69, 0.93), rgba(6, 18, 31, 0.95));
  box-shadow:
    inset 0 0 40px rgba(111, 227, 255, 0.08),
    0 0 0 10px rgba(111, 227, 255, 0.025),
    0 24px 80px rgba(0, 0, 0, 0.42),
    0 0 58px rgba(111, 227, 255, 0.12);
}

.signal-stage__core::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(167, 230, 250, 0.1);
  border-radius: inherit;
}

.lyrel-wordmark--core {
  --wordmark-size: clamp(0.82rem, 1.65vw, 1.18rem);
  --wordmark-spacing: 0.28em;
  max-width: 78%;
  filter: drop-shadow(0 0 18px rgba(111, 227, 255, 0.28));
}

.lyrel-wordmark--core::after {
  opacity: 0.78;
}

.signal-card {
  position: absolute;
  z-index: 4;
  min-width: 9.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(179, 226, 247, 0.19);
  border-radius: 0.95rem;
  background: rgba(8, 23, 38, 0.76);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translateZ(46px);
}

.signal-card--top {
  top: 13%;
  right: 0;
  animation: card-float 5.5s ease-in-out infinite;
}

.signal-card--bottom {
  left: 1%;
  bottom: 12%;
  animation: card-float 6.2s ease-in-out -2s infinite;
}

.signal-card__label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.signal-card strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.mini-wave {
  display: flex;
  align-items: end;
  gap: 0.18rem;
  height: 0.85rem;
  margin-top: 0.65rem;
}

.mini-wave i {
  display: block;
  width: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(to top, var(--accent-2), var(--accent));
  animation: wave 1.45s ease-in-out infinite alternate;
}

.mini-wave i:nth-child(1) { height: 38%; }
.mini-wave i:nth-child(2) { height: 75%; animation-delay: -0.3s; }
.mini-wave i:nth-child(3) { height: 48%; animation-delay: -0.8s; }
.mini-wave i:nth-child(4) { height: 100%; animation-delay: -0.5s; }
.mini-wave i:nth-child(5) { height: 58%; animation-delay: -1.1s; }

.signal-card__indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  color: var(--success);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card__indicator i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px rgba(127, 246, 188, 0.66);
}

.signal-label {
  position: absolute;
  z-index: 2;
  color: rgba(164, 191, 207, 0.54);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.signal-label--left {
  left: 10%;
  top: 16%;
}

.signal-label--right {
  right: 8%;
  bottom: 17%;
}

.principles {
  padding-block: clamp(5.5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.principles__intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.principles__intro .section-kicker {
  grid-column: 1 / -1;
}

.principles h2,
.connect h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 650;
}

.principles__intro > p:last-child {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 17rem;
  padding: 1.4rem 1.6rem 1.5rem;
  overflow: hidden;
  transition: background 240ms ease;
}

.principle-card + .principle-card {
  border-left: 1px solid var(--line);
}

.principle-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -70% 20%;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 227, 255, 0.1), transparent 67%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.principle-card:hover {
  background: rgba(111, 227, 255, 0.025);
}

.principle-card:hover::before {
  opacity: 1;
}

.principle-card__index {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
}

.principle-card > div {
  align-self: center;
}

.principle-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.principle-card p {
  max-width: 270px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.principle-card > svg {
  justify-self: end;
  width: 1.2rem;
  color: var(--accent);
}

.principle-card > svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect {
  padding-block: clamp(5.5rem, 10vw, 9rem) clamp(6rem, 10vw, 10rem);
}

.server-flash {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(127, 246, 188, 0.25);
  border-radius: 0.9rem;
  background: rgba(127, 246, 188, 0.07);
  color: #c9ffe4;
  font-size: 0.88rem;
  line-height: 1.5;
}

.server-flash[hidden] {
  display: none;
}

.server-flash[data-state="error"] {
  border-color: rgba(255, 158, 174, 0.25);
  background: rgba(255, 158, 174, 0.075);
  color: #ffd6dd;
}

.server-flash svg {
  flex: 0 0 auto;
  width: 1.1rem;
}

.server-flash svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect__heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.6rem;
}

.connect__heading > p {
  max-width: 490px;
  justify-self: end;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.form-card {
  position: relative;
  padding: clamp(1.25rem, 2.7vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  background:
    linear-gradient(145deg, rgba(14, 35, 56, 0.76), rgba(7, 20, 34, 0.78)),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(111, 227, 255, 0.04), transparent 32%, transparent 72%, rgba(139, 156, 255, 0.035));
}

.form-card--interest {
  border-top-color: rgba(111, 227, 255, 0.34);
}

.form-card--contact {
  border-top-color: rgba(139, 156, 255, 0.32);
}

.form-card__topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.form-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  color: #9bc8d7;
}

.form-card__status i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 9px rgba(127, 246, 188, 0.55);
}

.form-card__heading {
  position: relative;
  padding-block: 1.55rem 1.45rem;
}

.form-card__heading h3 {
  margin-bottom: 0.62rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.form-card__heading p {
  max-width: 550px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.form {
  position: relative;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field,
.checkbox-field {
  display: block;
}

.field {
  margin-bottom: 0.85rem;
}

.field > span {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  color: #cbd9e2;
  font-size: 0.71rem;
  font-weight: 760;
  letter-spacing: 0.045em;
}

.field small {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(181, 218, 238, 0.17);
  border-radius: 0.82rem;
  outline: none;
  background: rgba(4, 15, 27, 0.66);
  color: var(--text);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field input,
.field select {
  min-height: 3.2rem;
  padding: 0.72rem 0.85rem;
}

.field textarea {
  min-height: 7.15rem;
  padding: 0.85rem;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #68798c;
}

.field select {
  appearance: none;
  padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%239aabbd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 0.82rem center;
  background-repeat: no-repeat;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(181, 218, 238, 0.27);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(111, 227, 255, 0.52);
  background-color: rgba(5, 18, 31, 0.85);
  box-shadow: 0 0 0 4px rgba(111, 227, 255, 0.07);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(255, 158, 174, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 158, 174, 0.06);
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.72rem;
  align-items: start;
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.checkbox-field input {
  width: 1rem;
  height: 1rem;
  margin: 0.15rem 0 0;
  accent-color: var(--accent);
}

.field-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  min-height: 65px;
  margin-top: 0.7rem;
  padding: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(181, 218, 238, 0.11);
  border-radius: 0.8rem;
  background: rgba(3, 13, 24, 0.34);
}

.cf-turnstile {
  width: 100%;
  min-height: 44px;
}

.form__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.form__footer > p {
  max-width: 350px;
  margin-bottom: 0;
  color: var(--muted-2);
  font-size: 0.67rem;
  line-height: 1.55;
}

.form__submit {
  min-height: 3.25rem;
  white-space: nowrap;
}

.form__submit[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form__submit[aria-disabled="true"],
.form__submit.is-unavailable {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
  filter: saturate(0.55);
}

.form__submit[aria-disabled="true"]:hover,
.form__submit[aria-disabled="true"]:focus-visible {
  transform: none;
}

.form__submit.is-loading svg {
  animation: submit-pulse 0.9s ease-in-out infinite alternate;
}

.form-status {
  min-height: 1.35rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 145px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.72rem;
}

.footer__brand,
.footer__brand > div {
  display: grid;
  gap: 0.42rem;
}

.lyrel-wordmark--footer {
  --wordmark-size: 0.8rem;
  --wordmark-spacing: 0.31em;
  width: max-content;
}

.footer__brand span {
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__right p {
  margin: 0;
}

.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b9cad5;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (prefers-reduced-motion: no-preference) {
  .has-motion .reveal {
    animation: reveal-in 700ms var(--ease) both;
  }

  .has-motion .hero__visual { animation-delay: 70ms; }
  .has-motion .principles { animation-delay: 120ms; }
  .has-motion .connect { animation-delay: 180ms; }
  .has-motion .site-footer { animation-delay: 220ms; }
}

@keyframes reveal-in {
  from { opacity: 0.01; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes status-pulse {
  0% { transform: scale(0.6); opacity: 0; }
  28% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes drift-one {
  to { transform: translate(-6rem, 4rem) scale(1.08); }
}

@keyframes drift-two {
  to { transform: translate(7rem, -5rem) scale(0.92); }
}

@keyframes halo-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes wave {
  to { transform: scaleY(0.45); opacity: 0.6; }
}

@keyframes submit-pulse {
  to { transform: translateX(3px); }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr);
    gap: 2.5rem;
  }

  .signal-card--top {
    right: -2%;
  }

  .signal-card--bottom {
    left: -3%;
  }

  .connect-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    scroll-margin-top: 1.5rem;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 2rem, 700px);
  }

  .header-meta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    width: min(100%, 590px);
    justify-self: center;
  }

  .principles__intro,
  .connect__heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .connect__heading > p {
    justify-self: start;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 13rem;
  }

  .principle-card + .principle-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    align-items: flex-start;
    padding-block: 2rem;
  }

  .footer__right {
    align-items: flex-end;
    flex-direction: column;
    gap: 0.6rem;
    text-align: right;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 1.25rem);
  }

  .site-header {
    min-height: 78px;
  }

  .lyrel-wordmark--header {
    --wordmark-size: 0.84rem;
    --wordmark-spacing: 0.34em;
  }

  .header-link {
    min-height: 2.25rem;
    padding-inline: 0.75rem;
    font-size: 0.67rem;
  }

  .hero {
    padding-block: 4.4rem 5.5rem;
  }

  h1 {
    font-size: clamp(3rem, 16.5vw, 4.9rem);
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero__proof {
    gap: 0.8rem 1rem;
  }

  .signal-stage {
    width: min(100%, 470px);
  }

  .signal-card {
    min-width: 8.4rem;
    padding: 0.75rem 0.8rem;
  }

  .signal-card--top {
    right: 0;
    top: 9%;
  }

  .signal-card--bottom {
    left: 0;
    bottom: 8%;
  }

  .principles,
  .connect {
    padding-block: 5.2rem;
  }

  .principles__intro {
    margin-bottom: 2rem;
  }

  .principle-card {
    min-height: 12.3rem;
    padding-inline: 1.2rem;
  }

  .form-card {
    padding: 1.15rem;
    border-radius: 1.15rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form__footer {
    grid-template-columns: 1fr;
  }

  .form__footer > p {
    max-width: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .footer__right {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .header-link {
    display: none;
  }

  .signal-card {
    display: none;
  }

  .signal-stage__core {
    width: 43%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Secure-form progressive enhancement states */
.server-flash--notice {
  border-color: rgba(111, 227, 255, 0.24);
  background: rgba(111, 227, 255, 0.07);
  color: #d7f9ff;
}

.server-flash a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.form[data-security-ready="false"] .form__submit[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.52;
}

.form[aria-busy="true"] .turnstile-wrap {
  position: relative;
}

.form[aria-busy="true"] .turnstile-wrap::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 1px solid rgba(181, 218, 238, 0.24);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: form-spinner 720ms linear infinite;
}

.cf-turnstile.is-rendered {
  min-height: 0;
}


.checkbox-field input[aria-invalid="true"] {
  outline: 2px solid rgba(255, 158, 174, 0.7);
  outline-offset: 3px;
}

.turnstile-wrap.is-disabled {
  display: none;
}

/* Modal contact experience */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.channel-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 17rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  background:
    linear-gradient(145deg, rgba(14, 35, 56, 0.78), rgba(7, 20, 34, 0.8)),
    var(--panel);
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -68% 20%;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 227, 255, 0.15), transparent 68%);
  opacity: 0.72;
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.channel-card--contact::before {
  background: radial-gradient(circle, rgba(139, 156, 255, 0.14), transparent 68%);
}

.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(111, 227, 255, 0.38);
  outline: none;
}

.channel-card--contact:hover,
.channel-card--contact:focus-visible {
  border-color: rgba(139, 156, 255, 0.4);
}

.channel-card:hover::before,
.channel-card:focus-visible::before {
  opacity: 1;
  transform: translateY(-0.7rem) scale(1.04);
}

.channel-card__index {
  position: relative;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.channel-card__body {
  position: relative;
  align-self: center;
  display: grid;
  gap: 0.75rem;
  max-width: 30rem;
}

.channel-card__body strong {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.channel-card__body > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.channel-card__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.channel-card--contact .channel-card__action {
  color: #aebaff;
}

.channel-card__action svg {
  width: 1.1rem;
  transition: transform 180ms ease;
}

.channel-card__action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-card:hover .channel-card__action svg,
.channel-card:focus-visible .channel-card__action svg {
  transform: translateX(0.24rem);
}

.form-dialog {
  width: min(48rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(90dvh, 54rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 1.45rem;
  background: transparent;
  color: var(--text);
}

.form-dialog[open] {
  animation: dialog-enter 260ms var(--ease) both;
}

.form-dialog::backdrop {
  background: rgba(1, 8, 16, 0.78);
  backdrop-filter: blur(14px) saturate(0.85);
  animation: backdrop-enter 220ms ease both;
}

/* Legal terms are independent of the form dialog and API state. */
.terms-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow: hidden;
  color: var(--text);
}

.terms-modal.is-open,
.terms-modal:target {
  display: grid;
}

/* JS-managed closure overrides a stale :target state after history replacement. */
.terms-modal[aria-hidden="true"] {
  display: none;
}

.terms-modal__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(1, 8, 16, 0.78);
  backdrop-filter: blur(14px) saturate(0.85);
}

.terms-modal.is-open .terms-modal__backdrop,
.terms-modal:target .terms-modal__backdrop {
  animation: backdrop-enter 220ms ease both;
}

.terms-modal.is-open .terms-dialog__surface,
.terms-modal:target .terms-dialog__surface {
  animation: dialog-enter 260ms var(--ease) both;
}

body.has-terms-modal,
body:has(.terms-modal:target) {
  overflow: hidden;
}

.form-dialog__surface {
  position: relative;
  max-height: min(90dvh, 54rem);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(181, 218, 238, 0.2);
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 227, 255, 0.12), transparent 30%),
    linear-gradient(150deg, rgba(12, 32, 51, 0.985), rgba(4, 15, 27, 0.99));
  box-shadow: 0 45px 140px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(111, 227, 255, 0.035) inset;
}

.form-dialog__close {
  position: sticky;
  z-index: 4;
  top: 1rem;
  float: right;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  margin: 1rem 1rem -3.65rem 0;
  padding: 0;
  border: 1px solid rgba(181, 218, 238, 0.18);
  border-radius: 50%;
  background: rgba(4, 15, 27, 0.82);
  color: #c6d5df;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.form-dialog__close:hover,
.form-dialog__close:focus-visible {
  border-color: rgba(111, 227, 255, 0.46);
  color: var(--accent);
  outline: none;
  transform: rotate(3deg);
}

.form-dialog__close svg {
  width: 1rem;
}

.form-dialog__close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.form-dialog__header {
  padding: clamp(1.7rem, 4vw, 2.65rem) clamp(1.35rem, 5vw, 3.2rem) 1.4rem;
  border-bottom: 1px solid var(--line);
}

.form-dialog__header h2 {
  max-width: 90%;
  margin: 0 0 0.7rem;
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.form-dialog__header > p:last-child {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.form-dialog__content {
  padding: clamp(1.35rem, 4vw, 2.5rem) clamp(1.35rem, 5vw, 3.2rem) clamp(1.6rem, 4vw, 2.75rem);
}

.form-panel[hidden] {
  display: none;
}

.form--interest {
  max-width: 35rem;
  margin-inline: auto;
}

.field--large > span {
  font-size: 0.76rem;
}

.field--large input {
  min-height: 4rem;
  padding-inline: 1.05rem;
  border-radius: 1rem;
  font-size: 1rem;
}

.form-privacy {
  margin: 0.75rem 0 1.1rem;
  color: var(--muted-2);
  font-size: 0.69rem;
  line-height: 1.58;
}

.form__submit--wide {
  width: 100%;
  min-height: 3.65rem;
}

.form__footer--modal {
  margin-top: 0.8rem;
}

.turnstile-wrap {
  min-height: 0;
}

.form[aria-busy="true"] .turnstile-wrap {
  min-height: 65px;
}

@keyframes form-spinner {
  to { transform: rotate(360deg); }
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.975); }
  to { opacity: 1; transform: none; }
}

@keyframes backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.terms-dialog__surface {
  position: relative;
  z-index: 1;
  width: min(54rem, 100%);
  max-height: min(90dvh, 54rem);
  scrollbar-gutter: stable;
}

.terms-content {
  display: grid;
  gap: 1.65rem;
}

.terms-content section {
  display: grid;
  grid-template-columns: minmax(9rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line);
}

.terms-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.terms-content h3 {
  margin: 0;
  color: #d9f9ff;
  font-size: 0.86rem;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.terms-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.service-toast {
  position: fixed;
  z-index: 100;
  inset: auto clamp(0.8rem, 2.5vw, 1.5rem) clamp(0.8rem, 2.5vw, 1.5rem) auto;
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: min(25rem, calc(100% - 1.6rem));
  padding: 0.9rem 0.85rem 0.9rem 1rem;
  border: 1px solid rgba(255, 158, 174, 0.28);
  border-radius: 0.95rem;
  background: rgba(9, 20, 34, 0.96);
  color: #f3f7fa;
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(0.75rem) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.service-toast[hidden],
.service-toast[popover]:not(:popover-open) {
  display: none;
}

.service-toast.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.service-toast__indicator {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0.28rem rgba(255, 158, 174, 0.08);
}

.service-toast button {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(181, 218, 238, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
}

.service-toast button:hover,
.service-toast button:focus-visible {
  border-color: rgba(255, 158, 174, 0.4);
  color: #fff;
  outline: none;
}

.service-toast svg {
  width: 0.8rem;
}

.service-toast path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

@media (max-width: 820px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel-card {
    min-height: 14rem;
  }
}

@media (max-width: 620px) {
  .channel-card {
    min-height: 13rem;
    padding: 1.25rem;
    border-radius: 1.15rem;
  }

  .form-dialog {
    width: calc(100% - 0.8rem);
    max-height: calc(100dvh - 0.8rem);
    border-radius: 1.15rem;
  }

  .terms-modal {
    padding: 0.4rem;
  }

  .terms-dialog__surface {
    max-height: calc(100dvh - 0.8rem);
    border-radius: 1.15rem;
  }

  .form-dialog__surface {
    max-height: calc(100dvh - 0.8rem);
  }

  .form-dialog__header {
    padding-top: 1.45rem;
  }

  .form-dialog__header h2 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .form-dialog__close {
    top: 0.75rem;
    margin-top: 0.75rem;
    margin-right: 0.75rem;
  }

  .form__footer--modal {
    grid-template-columns: 1fr;
  }

  .terms-content section {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .footer-actions {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }
}
