:root {
  color-scheme: dark light;
  --bg: #061015;
  --bg-deep: #04090d;
  --surface: rgba(10, 24, 31, 0.78);
  --surface-strong: rgba(11, 27, 35, 0.95);
  --surface-soft: rgba(15, 37, 46, 0.58);
  --surface-hover: rgba(18, 47, 58, 0.78);
  --text: #f5fbfd;
  --text-soft: #d8e7eb;
  --muted: #89a1aa;
  --muted-2: #69838d;
  --line: rgba(150, 211, 222, 0.12);
  --line-strong: rgba(150, 211, 222, 0.22);
  --teal: #66e4d8;
  --teal-bright: #8af8ee;
  --blue: #6aa7ff;
  --blue-soft: #9ac7ff;
  --good: #75e5b4;
  --warn: #ffd48b;
  --bad: #ff9f9f;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.2);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(1100px 720px at 78% -18%, rgba(41, 148, 181, 0.17), transparent 64%),
    radial-gradient(900px 620px at 6% 22%, rgba(50, 102, 190, 0.13), transparent 66%),
    linear-gradient(180deg, #071117 0%, #050b0f 100%);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a, button, input, select { font: inherit; }
a { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #031010; background: var(--teal-bright); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: #021112;
  background: var(--teal-bright);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

/* -------------------------------------------------------------------------- */
/* Shared brand                                                               */
/* -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-glyph {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(172, 250, 243, 0.35);
  border-radius: 13px;
  color: #061316;
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(144,245,233,.92) 42%, rgba(96,164,255,.92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 12px 32px rgba(72, 199, 217, .16),
    0 0 0 1px rgba(84, 205, 214, .06);
}

.brand-glyph::after {
  content: "";
  position: absolute;
  inset: -50% 45% -50% -45%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
  opacity: .45;
}

.brand-glyph span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: -.07em;
}

.brand-wordmark { display: grid; line-height: 1.05; }
.brand-wordmark strong {
  font-size: 15px;
  letter-spacing: -.03em;
}
.brand-wordmark small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #89a8b3;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(102,228,216,0));
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  background: rgba(18, 39, 48, .76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(133, 235, 226, .34);
  background: rgba(22, 50, 60, .9);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.button.primary {
  color: #031013;
  border-color: rgba(212,255,250,.66);
  background: linear-gradient(135deg, #d7fff9 0%, #8df4e7 52%, #8dbbff 120%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 16px 42px rgba(80, 221, 210, .16);
}
.button.primary:hover {
  border-color: rgba(255,255,255,.8);
  background: linear-gradient(135deg, #ebfffc 0%, #9ff8ee 55%, #9bc5ff 120%);
}
.button.ghost { background: rgba(8, 20, 26, .45); }
.button.small { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c3d6dd;
  font-weight: 720;
  text-decoration: none;
}
.text-link:hover { color: var(--teal-bright); }

/* -------------------------------------------------------------------------- */
/* Landing                                                                     */
/* -------------------------------------------------------------------------- */

.landing-body { position: relative; overflow-x: hidden; }
.ambient {
  position: fixed;
  z-index: -3;
  width: 620px;
  height: 620px;
  pointer-events: none;
  filter: blur(16px);
  opacity: .42;
}
.ambient-one {
  top: -300px;
  right: -100px;
  background: radial-gradient(circle, rgba(89, 226, 217, .18), transparent 66%);
}
.ambient-two {
  top: 380px;
  left: -350px;
  background: radial-gradient(circle, rgba(73, 126, 255, .14), transparent 68%);
}
.beam-grid {
  position: fixed;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(121,191,205,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121,191,205,.1) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

.landing-shell {
  width: min(1500px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 74px) 56px;
}

.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.top-actions { display: flex; align-items: center; gap: 12px; }
.release-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .04em;
}
.release-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(102,228,216,.07), 0 0 20px rgba(102,228,216,.3);
}

.hero-luxury {
  min-height: min(780px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  padding: 84px 0 74px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(58px, 7vw, 112px);
  line-height: .9;
  letter-spacing: -.073em;
  font-weight: 790;
}
.hero h1 span {
  display: inline-block;
  padding-right: .08em;
  color: transparent;
  background: linear-gradient(105deg, #f8ffff 4%, #9ef7ec 42%, #8ebfff 92%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lede {
  max-width: 720px;
  margin: 32px 0 0;
  color: #a8bbc2;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.58;
  letter-spacing: -.015em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}
.hero-button { min-height: 52px; padding-inline: 21px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 34px;
  color: #6f8c96;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .025em;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(102,228,216,.42);
}

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 215, 212, .12), transparent 66%);
  filter: blur(6px);
}
.visual-shell {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1.06;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(138, 223, 226, .19);
  border-radius: 34px;
  background:
    radial-gradient(420px 320px at 60% 40%, rgba(68,198,199,.11), transparent 66%),
    linear-gradient(145deg, rgba(14,37,45,.8), rgba(5,15,20,.9));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 48px 120px rgba(0,0,0,.4),
    0 0 90px rgba(61, 166, 192, .06);
  backdrop-filter: blur(30px);
}
.visual-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.045), transparent 30%, transparent 70%, rgba(107,219,218,.025));
}
.visual-topline,
.visual-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  color: #6f8b95;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .16em;
}
.visual-topline { border-bottom: 1px solid var(--line); }
.visual-footer { border-top: 1px solid var(--line); }
.visual-brand { color: #b7d9df; }
.visual-state { display: inline-flex; align-items: center; gap: 8px; }
.visual-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px rgba(102,228,216,.5);
}
.beam-orbit { position: relative; display: grid; place-items: center; }
.orbit {
  position: absolute;
  border: 1px solid rgba(118, 206, 215, .14);
  border-radius: 50%;
}
.orbit-outer { width: 74%; aspect-ratio: 1; }
.orbit-mid { width: 54%; aspect-ratio: 1; border-style: dashed; }
.orbit-inner { width: 34%; aspect-ratio: 1; border-color: rgba(103, 228, 216, .25); }
.beam-core {
  position: relative;
  z-index: 2;
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(159, 248, 240, .34);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(32, 94, 100, .74), rgba(10, 32, 40, .92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 12px rgba(78, 220, 211, .025),
    0 0 64px rgba(71, 220, 212, .14);
}
.beam-core span {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.09em;
  color: #dffffb;
}
.beam-core small { color: #79a8ad; font-size: 7px; letter-spacing: .18em; font-weight: 900; }
.node {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid #0d2027;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 24px rgba(102,228,216,.5);
}
.node-a { top: 25%; right: 23%; }
.node-b { left: 20%; bottom: 29%; background: var(--blue); }
.node-c { right: 24%; bottom: 24%; width: 7px; height: 7px; background: #b4d7ff; }

.principles-section { padding: 80px 0 72px; border-top: 1px solid var(--line); }
.section-kicker { max-width: 780px; margin-bottom: 36px; }
.section-kicker h2,
.section h2,
.create-copy h2 {
  margin: 9px 0 10px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
  letter-spacing: -.047em;
}
.section-kicker p,
.section-title p,
.create-copy p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.premium-promises article {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(74,176,192,.065), transparent),
    linear-gradient(145deg, rgba(12,31,39,.74), rgba(7,18,24,.88));
  box-shadow: var(--shadow-soft);
}
.premium-promises article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(120,218,220,.05);
  border-radius: 50%;
}
.promise-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid rgba(121,229,220,.16);
  border-radius: 13px;
  color: var(--teal-bright);
  background: rgba(86,222,211,.055);
  font-size: 18px;
}
.promise-number { position: absolute; top: 30px; right: 28px; color: #45616a; font: 800 10px ui-monospace, monospace; }
.premium-promises h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.03em; }
.premium-promises p { margin: 0; color: var(--muted); line-height: 1.62; }

.statement-section {
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  column-gap: 34px;
  padding: 90px 0 72px;
  border-top: 1px solid var(--line);
}
.statement-rule { width: 1px; min-height: 190px; background: linear-gradient(var(--teal), rgba(102,228,216,0)); }
.statement-section p {
  margin: 0;
  max-width: 1040px;
  color: #79919a;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.statement-section strong { color: #e8f8fa; font-weight: 710; }
.statement-meta {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  color: #5d7781;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #536b74;
  font-size: 11px;
}

/* -------------------------------------------------------------------------- */
/* Application shell                                                          */
/* -------------------------------------------------------------------------- */

.app-body { background: #061015; }
.app-ambient {
  position: fixed;
  z-index: -2;
  top: -420px;
  right: -260px;
  width: 980px;
  height: 980px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 193, 199, .09), transparent 65%);
  pointer-events: none;
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(6,17,22,.96), rgba(4,12,16,.98)),
    var(--bg-deep);
  backdrop-filter: blur(26px);
}
.brand.side { padding: 2px 9px 24px; }
.org-pill {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(20,45,54,.64), rgba(10,26,33,.64));
}
.org-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126,221,221,.17);
  border-radius: 11px;
  color: #bff7ef;
  background: rgba(83,206,196,.07);
  font-weight: 850;
}
.org-pill > div:last-child { min-width: 0; display: grid; gap: 2px; }
.org-pill small { color: #58747e; font-size: 7px; font-weight: 850; letter-spacing: .16em; }
.org-pill strong { overflow: hidden; color: #dceef1; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.org-pill span { color: #6f8992; font-size: 9px; text-transform: capitalize; }
.side-nav { display: grid; gap: 4px; }
.side-nav a {
  min-height: 42px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #7f979f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}
.side-nav a:hover,
.side-nav a.active {
  color: #e8f6f7;
  border-color: rgba(134,222,222,.08);
  background: rgba(40, 79, 87, .18);
}
.nav-icon { color: #5c7e87; font-size: 14px; text-align: center; }
.side-nav a.active .nav-icon { color: var(--teal); }
.side-nav small {
  min-width: 22px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #55717a;
  background: rgba(90,149,158,.08);
  font-size: 8px;
  text-align: center;
}
.sidebar-spine {
  width: 1px;
  flex: 1;
  min-height: 34px;
  margin: 24px 0 18px 25px;
  background: linear-gradient(var(--line), transparent);
}
.sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 9px 0;
  border-top: 1px solid var(--line);
}
.release-mini { display: flex; align-items: center; gap: 10px; }
.release-mini .release-dot { width: 6px; height: 6px; }
.release-mini > div { display: grid; gap: 2px; }
.release-mini strong { color: #a8c2c8; font-size: 10px; }
.release-mini small { color: #4f6b74; font: 8px ui-monospace, monospace; }
.link-button {
  padding: 5px 0;
  border: 0;
  color: #69848d;
  background: none;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.link-button:hover { color: #d7eff1; }

.workspace {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4.6vw, 78px) 84px;
}
.workspace-hero { padding: 54px 0 0; }
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 34px;
  padding-bottom: 34px;
}
.workspace-head h1 {
  margin: 14px 0 12px;
  font-size: clamp(48px, 5.1vw, 82px);
  line-height: .91;
  letter-spacing: -.067em;
  font-weight: 760;
}
.workspace-head h1 span {
  color: transparent;
  background: linear-gradient(100deg, #b9f8f0, #7fb4ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.workspace-head p {
  max-width: 740px;
  margin: 0;
  color: #829aa3;
  font-size: 14px;
  line-height: 1.6;
}
.workspace-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.command {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #93aab2;
  background: rgba(11,26,33,.66);
  cursor: pointer;
}
.command:hover { color: #e8f7f8; border-color: var(--line-strong); }
.command-icon { color: var(--teal); }
kbd {
  padding: 2px 6px;
  border: 1px solid rgba(142,201,210,.12);
  border-radius: 6px;
  color: #637e87;
  background: rgba(255,255,255,.02);
  font: 8px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 10px;
}
.signal-card {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(11,29,36,.85), rgba(7,19,25,.91));
  box-shadow: var(--shadow-soft);
}
.signal-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(113,211,214,.055);
  border-radius: 50%;
}
.signal-primary {
  background:
    radial-gradient(240px 160px at 95% 0%, rgba(86,219,210,.09), transparent),
    linear-gradient(145deg, rgba(14,42,49,.95), rgba(6,20,27,.96));
}
.signal-label { margin-bottom: auto; color: #55747d; font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.signal-card strong {
  margin-top: 28px;
  color: #eafafa;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: capitalize;
}
.signal-card span { margin-top: 8px; color: #6c8790; font-size: 10px; }
.signal-line {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent 80%);
  opacity: .42;
}

.status-configured,
.status-active,
.state-succeeded,
.state-active { color: var(--good) !important; }
.status-not_configured,
.status-not-configured,
.state-running,
.state-queued { color: var(--warn) !important; }
.status-invalid,
.state-failed { color: var(--bad) !important; }

.truth-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 34px;
  margin-top: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(460px 240px at 0% 50%, rgba(72,203,197,.055), transparent),
    linear-gradient(145deg, rgba(8,23,29,.84), rgba(5,16,22,.93));
}
.truth-mark { position: relative; width: 132px; aspect-ratio: 1; display: grid; place-items: center; }
.truth-ring {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(124,216,219,.18);
  border-radius: 50%;
  box-shadow: inset 0 0 40px rgba(74,200,197,.04);
}
.truth-ring::before,
.truth-ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(124,216,219,.08);
  border-radius: 50%;
}
.truth-ring::before { inset: 17px; }
.truth-ring::after { inset: 35px; border-color: rgba(124,216,219,.22); }
.truth-core { position: relative; z-index: 2; color: #bdfbf2; font-size: 18px; font-weight: 900; letter-spacing: -.08em; }
.truth-copy h2 { margin: 9px 0 8px; font-size: 28px; letter-spacing: -.045em; }
.truth-copy p { margin: 0; max-width: 620px; color: #718992; line-height: 1.58; font-size: 12px; }
.truth-states { display: grid; border-left: 1px solid var(--line); }
.truth-states > div { display: grid; gap: 3px; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); }
.truth-states > div:last-child { border-bottom: 0; }
.truth-states small { color: #4f6b74; font-size: 7px; font-weight: 900; letter-spacing: .16em; }
.truth-states strong { color: #c7e0e4; font-size: 11px; }
.truth-states span { color: #5c7680; font-size: 9px; }

.section { padding-top: 76px; }
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}
.section-title h2 { margin: 8px 0 7px; font-size: 34px; letter-spacing: -.045em; }
.section-title p { color: #718991; font-size: 11px; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(390px, 1fr)); gap: 14px; }
.project-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(320px 220px at 100% 0%, rgba(78,190,201,.05), transparent),
    linear-gradient(145deg, rgba(11,29,37,.88), rgba(7,18,24,.94));
  box-shadow: var(--shadow-soft);
}
.project-accent {
  position: absolute;
  top: 0;
  left: 22px;
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.project-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.project-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.project-monogram {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120,217,216,.14);
  border-radius: 12px;
  color: #bbf5ee;
  background: rgba(83,203,196,.055);
  font-weight: 850;
}
.project-top small { color: #4e6c75; font-size: 7px; font-weight: 900; letter-spacing: .17em; }
.project-top h3 { margin: 3px 0 0; overflow: hidden; font-size: 19px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.badge,
.count-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8ba4ac;
  background: rgba(20,47,55,.23);
  font-size: 8px;
  font-weight: 760;
  text-transform: capitalize;
}
.badge i,
.service-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.project-meta {
  display: flex;
  gap: 22px;
  margin: 17px 0 4px;
  padding: 13px 0;
  border-block: 1px solid var(--line);
  color: #627d86;
  font-size: 9px;
}
.project-meta strong { color: #c3dde0; font-size: 12px; }
.env-list { padding-top: 7px; }
.environment-block { padding: 14px 0 3px; border-bottom: 1px solid var(--line); }
.environment-block:last-child { border-bottom: 0; }
.env-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.env-name { display: flex; align-items: center; gap: 10px; }
.env-dot { width: 7px; height: 7px; border: 2px solid #12323a; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(102,228,216,.35); }
.env-name > div { display: grid; gap: 2px; }
.env-name strong { color: #bfd7dc; font-size: 11px; }
.env-name span { color: #536f78; font-size: 8px; }
.count-chip { padding: 4px 7px; color: #58757e; font-size: 7px; }
.service-list { margin: 10px 0 0 17px; padding-left: 13px; border-left: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
}
.service-kind {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(122,211,216,.1);
  border-radius: 9px;
  color: #6f9199;
  background: rgba(41,87,94,.12);
  font: 800 8px ui-monospace, monospace;
}
.service-copy { min-width: 0; display: grid; gap: 2px; }
.service-copy b { overflow: hidden; color: #bcd4d8; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.service-copy span { overflow: hidden; color: #506c75; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.service-state { display: inline-flex; align-items: center; gap: 5px; color: #759099; font-size: 8px; text-transform: capitalize; }
.icon-action {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #8eabb2;
  background: rgba(22,50,58,.26);
  cursor: pointer;
}
.icon-action:hover { color: var(--teal-bright); border-color: var(--line-strong); background: rgba(35,76,82,.32); }
.micro-empty,
.service-empty { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #526d75; font-size: 8px; }
.service-empty { justify-content: flex-start; }
.inline-create { margin-top: 10px; }
.inline-create summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  color: #718b94;
  font-size: 9px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}
.inline-create summary::-webkit-details-marker { display: none; }
.inline-create summary::before { content: "+"; color: var(--teal); }
.inline-create[open] summary::before { content: "−"; }
.inline-create form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(5,16,21,.66);
}
.project-create { padding-top: 7px; border-top: 1px solid var(--line); }
label { display: grid; gap: 6px; color: #758f98; font-size: 8px; font-weight: 760; letter-spacing: .03em; }
.span-full { grid-column: 1 / -1; }
.form-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
input,
select {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid rgba(130,194,204,.14);
  border-radius: 10px;
  outline: none;
  color: #dceff2;
  background: rgba(6,18,24,.88);
  font-size: 10px;
  transition: border-color 130ms ease, box-shadow 130ms ease, background 130ms ease;
}
input::placeholder { color: #46616a; }
input:focus,
select:focus {
  border-color: rgba(105,232,222,.44);
  background: rgba(7,23,29,.96);
  box-shadow: 0 0 0 3px rgba(102,228,216,.055);
}

.premium-empty {
  min-height: 340px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 48px 28px;
  overflow: hidden;
  border: 1px dashed rgba(126,214,216,.17);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(75,199,198,.06), transparent),
    rgba(7,20,26,.52);
}
.empty-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(120,221,216,.18);
  border-radius: 20px;
  color: var(--teal-bright);
  background: rgba(74,207,198,.055);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
  font-size: 22px;
}
.premium-empty h3 { margin: 8px 0 7px; font-size: 24px; letter-spacing: -.04em; }
.premium-empty p { max-width: 560px; margin: 0 0 20px; color: #6c8790; font-size: 11px; line-height: 1.6; }

.deployments-section { padding-top: 86px; }
.deployment-summary { display: flex; flex-wrap: wrap; gap: 12px; color: #617b84; font-size: 8px; }
.deployment-summary span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #67818a; }
.dot.succeeded { background: var(--good); }
.dot.running { background: var(--warn); }
.dot.failed { background: var(--bad); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6,18,24,.55);
  box-shadow: var(--shadow-soft);
}
table { width: 100%; min-width: 980px; border-collapse: collapse; }
th,
td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
th {
  color: #4d6871;
  background: rgba(10,26,33,.66);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
td { color: #839ca4; font-size: 9px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(28,66,73,.07); }
.table-primary { display: flex; align-items: center; gap: 8px; }
.table-primary strong { color: #bed7dc; font-size: 10px; }
.table-service-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #67aeb0;
}
.table-separator { color: #3e5962; padding-inline: 3px; }
.mono {
  max-width: 260px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-empty { padding: 50px 20px; text-align: center; }
.table-empty-inner { display: grid; gap: 7px; }
.table-empty-inner strong { color: #90a9b0; font-size: 11px; }
.table-empty-inner span { color: #526d75; font-size: 9px; }

.create-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
  padding-top: 100px;
}
.create-copy p { max-width: 600px; font-size: 12px; }
.create-principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: #657f87; font-size: 9px; }
.create-principles span { display: inline-flex; align-items: center; gap: 7px; }
.create-principles i { color: #4d8e91; font: 700 7px ui-monospace, monospace; font-style: normal; }
.create-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(320px 160px at 100% 0%, rgba(74,199,196,.06), transparent),
    linear-gradient(145deg, rgba(11,30,37,.88), rgba(7,18,24,.96));
  box-shadow: var(--shadow);
}
.panel-kicker { color: #4f6d75; font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.create-panel label { font-size: 9px; }
.create-panel input { min-height: 44px; font-size: 12px; }
.form-help { margin: -3px 0 0; color: #506b74; font-size: 9px; line-height: 1.55; }

.trust-section { padding-top: 100px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust-grid article {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(10,27,34,.73), rgba(6,18,23,.82));
}
.trust-grid small { margin-bottom: auto; color: #4a6670; font-size: 7px; font-weight: 900; letter-spacing: .16em; }
.trust-grid strong { color: #bed9dc; font-size: 12px; text-transform: capitalize; }
.trust-grid span { margin-top: 5px; color: #5f7a83; font-size: 8px; }
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 92px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #435e67;
  font-size: 9px;
}

/* -------------------------------------------------------------------------- */
/* Command palette                                                             */
/* -------------------------------------------------------------------------- */

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: start center;
  padding: 15vh 18px 30px;
  background: rgba(2, 8, 11, .72);
  backdrop-filter: blur(18px);
}
.command-card {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid rgba(140,221,222,.2);
  border-radius: 18px;
  background: rgba(7, 21, 27, .97);
  box-shadow: 0 46px 140px rgba(0,0,0,.56);
}
.command-input-wrap {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}
.command-input-wrap > span { color: #5f9295; text-align: center; }
.command-search {
  min-height: 42px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  color: #ddf0f2;
  background: transparent;
  font-size: 13px;
  box-shadow: none !important;
}
.command-input-wrap button {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #55717a;
  background: rgba(255,255,255,.02);
  font-size: 8px;
  cursor: pointer;
}
.command-results { display: grid; gap: 3px; padding: 8px; }
.command-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #abc2c7;
  font-size: 11px;
  text-decoration: none;
}
.command-results a:hover,
.command-results a:focus { color: #eefafa; background: rgba(58,113,118,.16); outline: none; }
.command-results a[hidden] { display: none; }
.command-results span { display: inline-flex; align-items: center; gap: 10px; }
.command-results i { width: 22px; color: #609295; font-style: normal; text-align: center; }

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-luxury { grid-template-columns: minmax(0, 1fr) 430px; gap: 54px; }
  .hero-visual { min-height: 460px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .truth-panel { grid-template-columns: 130px minmax(0, 1fr); }
  .truth-states { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .truth-states > div { padding: 14px 16px 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .truth-states > div:last-child { border-right: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .topbar { height: 78px; }
  .release-chip { display: none; }
  .hero-luxury { min-height: auto; grid-template-columns: 1fr; padding: 76px 0 54px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 420px; }
  .visual-shell { width: min(500px, 90vw); }
  .promise-grid { grid-template-columns: 1fr; }
  .premium-promises article { min-height: 240px; }

  .app-shell { display: block; }
  .sidebar {
    position: sticky;
    z-index: 20;
    top: 0;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand.side { padding: 0; }
  .org-pill,
  .side-nav,
  .sidebar-spine { display: none; }
  .sidebar-foot { padding: 0; border: 0; }
  .link-button { display: none; }
  .workspace { padding-inline: 20px; }
  .workspace-hero { padding-top: 36px; }
  .workspace-head { align-items: flex-start; }
  .workspace-actions .button { display: none; }
  .truth-panel { grid-template-columns: 100px minmax(0, 1fr); }
  .truth-mark { width: 96px; }
  .create-section { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 660px) {
  .landing-shell { padding-inline: 18px; }
  .top-actions .button { min-height: 38px; padding-inline: 12px; font-size: 10px; }
  .brand-wordmark small { display: none; }
  .hero-luxury { padding-top: 60px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-trust { display: grid; gap: 8px; }
  .hero-visual { min-height: 350px; }
  .visual-shell { border-radius: 26px; }
  .visual-footer { flex-wrap: wrap; }
  .statement-section { column-gap: 20px; }
  .statement-meta { flex-direction: column; }
  .landing-footer { flex-direction: column; }

  .workspace-head { display: grid; gap: 20px; }
  .workspace-head h1 { font-size: clamp(46px, 14vw, 66px); }
  .workspace-actions { justify-content: flex-start; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-card { min-height: 132px; padding: 16px; }
  .signal-card strong { font-size: 28px; }
  .truth-panel { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .truth-mark { display: none; }
  .truth-states { grid-column: auto; grid-template-columns: 1fr; }
  .truth-states > div { padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { padding: 18px; }
  .project-meta { gap: 14px; }
  .service-row { grid-template-columns: 26px minmax(0, 1fr) 30px; }
  .service-state { grid-column: 2; }
  .service-row form { grid-column: 3; grid-row: 1 / span 2; }
  .inline-create form { grid-template-columns: 1fr; }
  .span-full { grid-column: auto; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .deployment-summary { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .workspace-footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .signal-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .top-actions .button { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Light mode                                                                  */
/* -------------------------------------------------------------------------- */

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5fafb;
    --bg-deep: #edf5f7;
    --surface: rgba(255,255,255,.84);
    --surface-strong: rgba(255,255,255,.96);
    --surface-soft: rgba(243,249,250,.82);
    --surface-hover: rgba(231,244,246,.95);
    --text: #0a1b20;
    --text-soft: #1d343a;
    --muted: #667f87;
    --muted-2: #80979e;
    --line: rgba(23,82,91,.11);
    --line-strong: rgba(23,82,91,.2);
    --shadow: 0 34px 90px rgba(42,75,84,.12);
    --shadow-soft: 0 18px 48px rgba(42,75,84,.08);
  }
  body {
    background:
      radial-gradient(1000px 680px at 78% -18%, rgba(56,194,188,.12), transparent 64%),
      linear-gradient(180deg, #f7fbfc, #eff6f7);
  }
  .landing-body,
  .app-body { color: var(--text); background: #f5fafb; }
  .beam-grid { opacity: .12; }
  .brand-wordmark strong,
  .workspace-head h1,
  .section-kicker h2,
  .section h2,
  .create-copy h2,
  .project-top h3,
  .premium-empty h3 { color: #0d252b; }
  .hero h1 { color: #10272d; }
  .hero h1 span { background: linear-gradient(105deg, #0c3538, #138c88 46%, #3b6fb7); -webkit-background-clip: text; background-clip: text; }
  .hero-lede,
  .section-kicker p,
  .workspace-head p,
  .section-title p,
  .create-copy p { color: #647d84; }
  .button { color: #173039; background: rgba(255,255,255,.8); }
  .button.primary { color: #082021; background: linear-gradient(135deg, #d3fff7, #83e9dd 55%, #9bc2ff); }
  .visual-shell,
  .premium-promises article,
  .signal-card,
  .truth-panel,
  .project-card,
  .create-panel,
  .trust-grid article,
  .table-wrap { background: rgba(255,255,255,.78); }
  .sidebar { background: rgba(242,249,250,.96); }
  .side-nav a:hover,
  .side-nav a.active { color: #11343a; background: rgba(66,150,155,.08); }
  .workspace-head h1 span { background: linear-gradient(100deg, #148d88, #4779bc); -webkit-background-clip: text; background-clip: text; }
  .signal-card strong,
  .truth-copy h2,
  .project-top h3,
  .table-primary strong,
  .trust-grid strong { color: #16373d; }
  .truth-states strong,
  .env-name strong,
  .service-copy b { color: #2b4c53; }
  input,
  select { color: #19383f; background: rgba(255,255,255,.92); }
  input::placeholder { color: #8ba0a6; }
  .command { color: #4f6e75; background: rgba(255,255,255,.76); }
  .command-card { background: rgba(250,253,253,.98); }
  .command-search { color: #15353b; background: transparent; }
  .command-results a { color: #4e6b72; }
  .command-results a:hover,
  .command-results a:focus { color: #102d33; background: rgba(53,137,142,.08); }
}

.read-only-note {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #718b94;
  background: rgba(32,72,79,.12);
  font-size: 9px;
  font-weight: 720;
}
.read-only-panel strong { color: #bed7dc; font-size: 15px; letter-spacing: -.02em; }
