:root {
  color-scheme: dark;
  --black: #050806;
  --terminal: #0a100c;
  --terminal-soft: #101a13;
  --terminal-raised: #142018;
  --ink: #eaffef;
  --muted: #9fb2a5;
  --green: #67ff8f;
  --green-deep: #19cf5d;
  --green-soft: #b8ffca;
  --signal: #d8ff54;
  --line: rgba(103, 255, 143, 0.22);
  --line-strong: rgba(103, 255, 143, 0.52);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 38px rgba(103, 255, 143, 0.05);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(216, 255, 84, 0.09), transparent 25rem),
    radial-gradient(circle at 8% 88%, rgba(103, 255, 143, 0.1), transparent 30rem),
    var(--black);
  font-family: var(--mono);
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 255, 143, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 255, 143, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.35) 70%, transparent);
}

body::after {
  content: "";
  position: fixed;
  top: 7rem;
  right: 2.5vw;
  z-index: -1;
  width: 8rem;
  height: 18rem;
  pointer-events: none;
  opacity: 0.18;
  background:
    repeating-linear-gradient(180deg, var(--green) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(103, 255, 143, 0.42) 11px 12px, transparent 12px 24px);
  mask-image: linear-gradient(to bottom, transparent, black 18%, transparent 92%);
  animation: matrixDrift 13s linear infinite;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 9px 12px;
  transform: translateY(-150%);
  border: 1px solid var(--green);
  background: var(--terminal);
  color: var(--green);
  font-size: 0.78rem;
}

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

.site-header {
  width: min(1080px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.8vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.identity::before {
  content: "logic";
  padding: 3px 7px;
  border: 1px solid rgba(255, 206, 104, 0.28);
  background: rgba(94, 180, 255, 0.08);
  color: var(--plasma-gold, var(--signal));
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-mark {
  width: 9px;
  height: 14px;
  border: 1px solid var(--green);
  background: var(--green);
  box-shadow: 3px 3px 0 rgba(216, 255, 84, 0.5), 0 0 10px rgba(103, 255, 143, 0.55);
  animation: signalPulse 2.4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.nav-links a {
  padding: 8px 9px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.nav-links a::before {
  content: "";
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line-strong);
  background: rgba(103, 255, 143, 0.055);
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--signal);
}

.nav-links a[aria-current="page"]::before {
  content: ">";
  margin-right: 4px;
  color: var(--signal);
}

.menu-toggle,
.menu-close,
.menu-backdrop {
  display: none;
}

.menu-toggle,
.menu-close {
  border: 1px solid rgba(118, 217, 255, 0.22);
  background: rgba(7, 10, 25, 0.86);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), inset 0 0 20px rgba(94, 180, 255, 0.05);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3.5px 0;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(125, 226, 255, 0.38);
}

.page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 34px 0;
}

.content-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 920px);
  min-width: 0;
  padding: clamp(62px, 7vw, 76px) clamp(32px, 5vw, 58px) clamp(36px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background:
    linear-gradient(rgba(103, 255, 143, 0.018), rgba(103, 255, 143, 0)),
    rgba(10, 16, 12, 0.96);
  box-shadow: var(--shadow);
  animation: cardReveal 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.content-card::before {
  content: "Control Logic";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  z-index: -1;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(103, 255, 143, 0.12), #080c09);
  color: var(--green-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  z-index: -1;
  opacity: 0.42;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--signal) 1px, transparent 1.5px);
  background-size: 7px 7px;
}

.home-card {
  width: min(100%, 920px);
  padding-inline: clamp(34px, 6vw, 64px);
}

.home-service-card {
  padding-top: clamp(60px, 6vw, 68px);
  padding-bottom: clamp(32px, 4vw, 44px);
}

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

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2rem, 4.7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
  overflow-wrap: break-word;
  text-shadow: 0 0 24px rgba(103, 255, 143, 0.08);
}

h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2.4vw, 1.4rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

p {
  margin-bottom: 14px;
}

.cmd-prompt {
  display: block;
  margin-bottom: 13px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-shadow: 0 0 9px rgba(103, 255, 143, 0.5);
}

.cmd-prompt::after {
  content: " _";
  color: var(--signal);
  text-shadow: 0 0 9px rgba(216, 255, 84, 0.5);
  animation: cursorBlink 1s steps(1, end) infinite;
}

.home-card > p {
  position: relative;
  max-width: 790px;
  margin-right: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.home-card > p::before {
  content: "|";
  position: absolute;
  left: 0;
  color: rgba(103, 255, 143, 0.5);
}

.home-card .home-intro {
  color: var(--ink);
  font-size: clamp(1rem, 2.1vw, 1.16rem);
}

.home-subheading {
  margin: 22px 0 10px 18px;
  color: var(--signal);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.home-subheading::before {
  content: "[";
  color: var(--green);
}

.home-subheading::after {
  content: "]";
  color: var(--green);
}

.home-card .home-intro::before {
  content: ">";
  color: var(--signal);
  font-weight: 800;
}

.page-heading {
  max-width: 790px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.visual-figure {
  position: relative;
  margin: 0 0 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 206, 104, 0.18);
  background:
    radial-gradient(circle at 10% 0%, rgba(94, 180, 255, 0.14), transparent 13rem),
    linear-gradient(145deg, rgba(11, 15, 36, 0.82), rgba(4, 7, 18, 0.9));
  box-shadow: inset 0 0 0 1px rgba(118, 217, 255, 0.05), 0 18px 44px rgba(0, 0, 0, 0.22);
}

.visual-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 49%, transparent 58%),
    radial-gradient(circle at 85% 0%, rgba(255, 206, 104, 0.18), transparent 12rem);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.visual-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-visual {
  width: min(100%, 790px);
}

.platform-reference {
  border-color: rgba(118, 217, 255, 0.34);
  background: #050814;
  box-shadow: inset 0 0 0 1px rgba(118, 217, 255, 0.1), 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 42px rgba(94, 180, 255, 0.08);
}

.platform-reference img {
  aspect-ratio: 1280 / 853;
  object-fit: contain;
  background: #050814;
}

.photo-visual {
  border-color: rgba(118, 217, 255, 0.28);
  background: #050814;
  box-shadow: inset 0 0 0 1px rgba(118, 217, 255, 0.08), 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 46px rgba(55, 139, 255, 0.11);
}

.photo-visual img {
  aspect-ratio: 1280 / 853;
  object-fit: cover;
}

.capability-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
  width: min(100%, 790px);
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.capability-map::before {
  content: "";
  position: absolute;
  inset: 22px 10% auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(118, 217, 255, 0.36), rgba(255, 206, 104, 0.34), transparent);
  opacity: 0.72;
}

.capability-cluster {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 206, 104, 0.16);
  background:
    radial-gradient(circle at 14% 0%, rgba(94, 180, 255, 0.12), transparent 9rem),
    linear-gradient(180deg, rgba(7, 11, 27, 0.78), rgba(6, 10, 25, 0.58));
  box-shadow: inset 0 0 0 1px rgba(118, 217, 255, 0.04), 0 16px 38px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.capability-cluster::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--space-blue, var(--green));
  box-shadow: 0 0 18px rgba(118, 217, 255, 0.46);
}

.capability-cluster::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px auto;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(118, 217, 255, 0.12);
  border-radius: 50%;
  opacity: 0.5;
}

.cluster-flow::before {
  background: var(--plasma-gold, var(--signal));
  box-shadow: 0 0 18px rgba(255, 206, 104, 0.46);
}

.cluster-signal::before {
  background: #ff7a5a;
  box-shadow: 0 0 18px rgba(255, 111, 53, 0.44);
}

.cluster-label {
  width: fit-content;
  margin: 0 0 12px;
  padding: 4px 8px;
  border: 1px solid rgba(118, 217, 255, 0.18);
  background: rgba(94, 180, 255, 0.07);
  color: var(--green-soft);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capability-cluster h2 {
  max-width: 96%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.capability-cluster p:not(.cluster-label) {
  position: relative;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.capability-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.capability-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid rgba(118, 217, 255, 0.16);
  background: rgba(4, 8, 18, 0.62);
  color: #cfefff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
}

.capability-chips span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--plasma-gold, var(--signal));
  box-shadow: 0 0 10px rgba(255, 206, 104, 0.42);
}

.compact-capability-map {
  margin-top: 18px;
}

.compact-capability-map .capability-cluster {
  padding: 16px;
}

.eyebrow,
.panel-label {
  margin-bottom: 11px;
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before,
.panel-label::before {
  content: "[";
  color: var(--green);
}

.eyebrow::after,
.panel-label::after {
  content: "]";
  color: var(--green);
}

.lead {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.8vw, 1.04rem);
}

.lead::before {
  content: "> ";
  color: var(--signal);
}

.section-intro {
  max-width: 650px;
  margin: 0 0 14px;
  color: #d2def2;
  font-size: 0.9rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 15px;
}

.soft-panel,
.examples {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  background: var(--terminal-soft);
}

.soft-panel {
  box-shadow: inset 3px 0 0 var(--green);
}

.soft-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.examples {
  background: rgba(5, 8, 6, 0.5);
  box-shadow: inset 3px 0 0 var(--signal);
}

.examples a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.examples a:hover {
  color: var(--green-soft);
}

.examples a span {
  color: var(--signal);
  font-size: 0.66rem;
}

.examples a b {
  font-weight: 500;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 150ms ease, padding-left 150ms ease, background-color 150ms ease;
}

.service-list li:nth-child(odd) {
  margin-right: 24px;
}

.service-list li:hover {
  padding-left: 8px;
  background: rgba(103, 255, 143, 0.035);
  color: var(--green);
}

.service-list span {
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 0.66rem;
  font-weight: 800;
}

.service-list span::before {
  content: "0x";
  color: rgba(103, 255, 143, 0.65);
}

.service-list li > div {
  min-width: 0;
}

.service-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.35;
}

.service-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.5;
}

.service-list li:hover strong,
.service-list li:hover small {
  color: var(--green);
}

.compact-list {
  margin-top: 18px;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 26px;
}

.terminal-note {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: rgba(103, 255, 143, 0.045);
  color: var(--muted);
  font-size: 0.76rem;
  animation: outputReveal 500ms 180ms ease-out both;
}

.terminal-note span {
  color: var(--signal);
  font-weight: 900;
  text-transform: uppercase;
}

.terminal-note span::after {
  content: ":";
  margin-right: 7px;
  color: var(--green);
}

.ready-note {
  position: relative;
  width: min(100%, 790px);
  margin: 0;
  padding: clamp(17px, 2.5vw, 22px);
  border: 1px solid rgba(255, 206, 104, 0.2);
  background:
    radial-gradient(circle at 95% 0%, rgba(94, 180, 255, 0.14), transparent 12rem),
    linear-gradient(135deg, rgba(6, 10, 25, 0.78), rgba(9, 15, 31, 0.64));
  color: var(--muted);
  box-shadow: inset 3px 0 0 rgba(255, 206, 104, 0.36), 0 18px 48px rgba(0, 0, 0, 0.18);
}

.ready-note span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--plasma-gold, var(--signal));
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ready-note strong {
  display: block;
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.25;
}

.ready-note p {
  max-width: 720px;
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
}

.ready-note + .action-row {
  margin-top: clamp(18px, 3vw, 24px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #061008;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--signal);
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button::before {
  content: "> ";
  margin-right: 7px;
}

.button:hover {
  transform: translate(-1px, -1px);
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: 5px 5px 0 var(--green-deep);
}

.text-link {
  color: var(--green-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.text-link::before {
  content: "> ";
  color: var(--signal);
}

.text-link:hover {
  color: var(--green);
}

.contact-card {
  width: min(100%, 920px);
}

.email-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: var(--terminal-soft);
  color: var(--green);
  text-decoration: none;
  box-shadow: inset 3px 0 0 var(--signal);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.email-panel:hover {
  transform: translateY(-1px);
  border-color: var(--signal);
  box-shadow: inset 3px 0 0 var(--green), 0 0 20px rgba(103, 255, 143, 0.1);
}

.email-panel span {
  color: var(--green-soft);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.email-panel span::before {
  content: "[";
  color: var(--green);
}

.email-panel span::after {
  content: "]";
  color: var(--green);
}

.email-panel strong {
  overflow-wrap: anywhere;
}

.email-panel b {
  color: var(--signal);
  font-weight: 500;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.contact-details div {
  padding: 15px 12px 0 0;
}

.contact-details dt {
  color: var(--green-soft);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.engagement-section {
  margin-top: 24px;
}

.engagement-section .panel-label {
  margin-bottom: 8px;
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.68rem;
}

.site-footer p::before {
  content: "STATUS: ";
  color: var(--green);
  font-weight: 800;
}

.site-footer a {
  color: var(--green-soft);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--green);
}

@media (max-width: 720px) {
  .site-header {
    padding: 17px 0 13px;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 6px 7px;
    font-size: 0.68rem;
  }

  .page {
    padding: 22px 0;
  }

  .content-card {
    padding: 60px 25px 34px;
  }

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

  .service-list,
  .capability-map {
    grid-template-columns: 1fr;
  }

  .capability-map::before {
    inset: 10px auto 10px 22px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(118, 217, 255, 0.36), rgba(255, 206, 104, 0.34), transparent);
  }

  .service-list li:nth-child(odd) {
    margin-right: 0;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details div {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: baseline;
    padding-top: 10px;
  }
}

@media (max-width: 460px) {
  .site-header,
  .page,
  .site-footer {
    width: min(calc(100% - 24px), 1080px);
  }

  .identity {
    font-size: 0.76rem;
  }

  .content-card {
    border-radius: 5px;
  }

  .email-panel {
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
  }

  .email-panel span {
    grid-column: 1 / -1;
  }

  .action-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes outputReveal {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cursorBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@keyframes signalPulse {
  0%,
  100% {
    opacity: 0.72;
    box-shadow: 2px 2px 0 rgba(216, 255, 84, 0.35), 0 0 6px rgba(103, 255, 143, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow: 3px 3px 0 rgba(216, 255, 84, 0.55), 0 0 14px rgba(103, 255, 143, 0.7);
  }
}

@keyframes matrixDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 68px, 0 34px;
  }
}


/* Control Logic home refresh */
.control-home {
  align-items: stretch;
}

.control-card {
  width: min(100%, 1080px);
  padding: clamp(58px, 6vw, 76px) clamp(24px, 5vw, 58px) clamp(28px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(103, 255, 143, 0.08), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(216, 255, 84, 0.1), transparent 17rem),
    rgba(10, 16, 12, 0.96);
}

.control-card::after {
  width: 120px;
  height: 120px;
  right: -18px;
  bottom: -18px;
  opacity: 0.26;
  animation: dotFloat 7s ease-in-out infinite;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.45fr);
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(103, 255, 143, 0.055);
  color: var(--green-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 16px var(--signal);
  animation: signalPulse 1.8s ease-in-out infinite;
}

.control-card h1 {
  max-width: 760px;
  margin-bottom: 18px;
  letter-spacing: -0.07em;
}

.control-card .home-intro {
  max-width: 720px;
  margin-bottom: 0;
  padding-left: 0;
  color: var(--green-soft);
  font-size: clamp(1.03rem, 2vw, 1.25rem);
}

.control-card .home-intro::before,
.control-card > p::before,
.control-card .home-card > p::before {
  content: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.talk-button {
  min-height: 48px;
  padding-inline: 20px;
  animation: talkGlow 2.8s ease-in-out infinite;
}

.logic-orb {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 255, 84, 0.18), transparent 24%),
    radial-gradient(circle, rgba(103, 255, 143, 0.12), transparent 56%);
  filter: drop-shadow(0 0 32px rgba(103, 255, 143, 0.12));
}

.orb-ring,
.orb-node,
.orb-core {
  position: absolute;
  display: grid;
  place-items: center;
}

.orb-ring {
  inset: 16%;
  border: 1px solid rgba(103, 255, 143, 0.34);
  border-radius: 50%;
}

.ring-one {
  animation: orbitSpin 18s linear infinite;
}

.ring-two {
  inset: 27%;
  border-color: rgba(216, 255, 84, 0.36);
  transform: rotate(30deg) scaleY(0.62);
  animation: orbitSpinReverse 14s linear infinite;
}

.orb-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(103, 255, 143, 0.8);
}

.node-one { top: 18%; left: 48%; animation: nodePulse 2s ease-in-out infinite; }
.node-two { right: 18%; bottom: 29%; background: var(--signal); animation: nodePulse 2.4s 250ms ease-in-out infinite; }
.node-three { left: 22%; bottom: 23%; animation: nodePulse 2.2s 450ms ease-in-out infinite; }

.orb-core {
  inset: 35%;
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 6, 0.78);
  color: var(--signal);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: inset 0 0 24px rgba(103, 255, 143, 0.12), 0 0 28px rgba(103, 255, 143, 0.12);
}

.pricing-callout {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.8fr) minmax(0, 1fr);
  gap: 12px 18px;
  align-items: center;
  margin-top: clamp(26px, 5vw, 42px);
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(103, 255, 143, 0.1), rgba(216, 255, 84, 0.035));
  box-shadow: inset 4px 0 0 var(--signal);
}

.pricing-callout span {
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-callout strong {
  color: var(--ink);
  line-height: 1.25;
}

.pricing-callout p {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.creative-tile {
  position: relative;
  min-height: 166px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(16, 26, 19, 0.82);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.creative-tile::after {
  content: "";
  position: absolute;
  inset: auto -35% -52% 25%;
  height: 110px;
  background: radial-gradient(circle, rgba(103, 255, 143, 0.16), transparent 68%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.creative-tile:hover {
  transform: translateY(-3px);
  border-color: var(--signal);
  background: rgba(20, 32, 24, 0.98);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), 0 0 24px rgba(103, 255, 143, 0.08);
}

.creative-tile:hover::after {
  transform: translateY(-18px) scale(1.15);
  opacity: 1;
}

.creative-tile span {
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 900;
}

.creative-tile strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.creative-tile small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.talk-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(270px, 0.75fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin-top: 16px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(216, 255, 84, 0.07), transparent 42%),
    rgba(5, 8, 6, 0.48);
}

.talk-panel h2 {
  max-width: 520px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
}

.talk-panel p:not(.panel-label) {
  margin-bottom: 0;
  color: var(--muted);
}

.quick-form {
  display: grid;
  gap: 12px;
}

.quick-form label {
  display: grid;
  gap: 6px;
}

.quick-form span {
  color: var(--green-soft);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quick-form input,
.quick-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(10, 16, 12, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  padding: 11px 12px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.quick-form textarea {
  resize: vertical;
  min-height: 120px;
}

.quick-form input:focus,
.quick-form textarea:focus {
  border-color: var(--signal);
  background: rgba(10, 16, 12, 1);
  box-shadow: 0 0 0 3px rgba(216, 255, 84, 0.1);
}

.quick-form button {
  width: fit-content;
  border-radius: 0;
  cursor: pointer;
}

@keyframes talkGlow {
  0%, 100% { box-shadow: 4px 4px 0 var(--signal), 0 0 0 rgba(103, 255, 143, 0); }
  50% { box-shadow: 5px 5px 0 var(--signal), 0 0 24px rgba(103, 255, 143, 0.22); }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg) scaleY(0.72); }
  to { transform: rotate(360deg) scaleY(0.72); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg) scaleY(0.62); }
  to { transform: rotate(0deg) scaleY(0.62); }
}

@keyframes nodePulse {
  0%, 100% { transform: scale(0.82); opacity: 0.72; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes dotFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -12px); }
}

@media (max-width: 820px) {
  .hero-stage,
  .talk-panel,
  .pricing-callout {
    grid-template-columns: 1fr;
  }

  .logic-orb {
    width: min(78vw, 240px);
  }

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

@media (max-width: 460px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-callout,
  .talk-panel {
    padding: 16px;
  }
}

/* More color + picture-heavy Control Logic iteration */
:root {
  --cyan: #3bd5ff;
  --violet: #b268ff;
  --pink: #ff5f9f;
  --orange: #ffb347;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(59, 213, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(255, 95, 159, 0.13), transparent 25rem),
    radial-gradient(circle at 8% 88%, rgba(103, 255, 143, 0.14), transparent 30rem),
    radial-gradient(circle at 78% 88%, rgba(255, 179, 71, 0.09), transparent 24rem),
    var(--black);
}

.control-card {
  background:
    linear-gradient(135deg, rgba(103, 255, 143, 0.1), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(178, 104, 255, 0.18), transparent 19rem),
    radial-gradient(circle at 16% 74%, rgba(59, 213, 255, 0.12), transparent 18rem),
    rgba(10, 16, 12, 0.94);
}

.content-card::before {
  background: linear-gradient(90deg, rgba(103, 255, 143, 0.16), rgba(59, 213, 255, 0.12), rgba(255, 95, 159, 0.12), #080c09);
}

.button {
  border-color: transparent;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--signal));
  box-shadow: 4px 4px 0 rgba(255, 95, 159, 0.76), 0 0 26px rgba(59, 213, 255, 0.08);
}

.button:hover {
  background: linear-gradient(90deg, var(--signal), var(--orange), var(--pink));
  box-shadow: 5px 5px 0 var(--cyan), 0 0 28px rgba(255, 95, 159, 0.18);
}

.picture-orb {
  width: min(100%, 320px);
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.07), transparent 26%),
    conic-gradient(from 150deg, rgba(103, 255, 143, 0.22), rgba(59, 213, 255, 0.18), rgba(178, 104, 255, 0.2), rgba(255, 95, 159, 0.16), rgba(255, 179, 71, 0.18), rgba(103, 255, 143, 0.22));
}

.orb-symbol {
  position: absolute;
  inset: 28%;
  width: 44%;
  height: 44%;
  object-fit: contain;
  border-radius: 34%;
  filter: drop-shadow(0 0 18px rgba(103, 255, 143, 0.38));
  animation: symbolFloat 4.2s ease-in-out infinite;
}

.visual-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
  margin-top: clamp(26px, 5vw, 42px);
}

.visual-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 8, 6, 0.5);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.visual-card:hover img {
  transform: scale(1.07) rotate(0.35deg);
  filter: saturate(1.2) contrast(1.05);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 6, 0.82), transparent 56%);
  pointer-events: none;
}

.visual-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
}

.visual-card strong,
.visual-card span {
  display: block;
}

.visual-card strong {
  color: var(--ink);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.1;
}

.visual-card span {
  margin-top: 6px;
  color: var(--green-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.creative-grid {
  gap: 16px;
}

.creative-tile {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(140deg, rgba(103, 255, 143, 0.09), transparent 42%),
    rgba(16, 26, 19, 0.82);
}

.tile-ai {
  box-shadow: inset 0 3px 0 var(--green);
}

.tile-cloud {
  box-shadow: inset 0 3px 0 var(--cyan);
}

.tile-web {
  box-shadow: inset 0 3px 0 var(--pink);
}

.tile-ai::after { background: radial-gradient(circle, rgba(103, 255, 143, 0.22), transparent 68%); }
.tile-cloud::after { background: radial-gradient(circle, rgba(59, 213, 255, 0.22), transparent 68%); }
.tile-web::after { background: radial-gradient(circle, rgba(255, 95, 159, 0.22), transparent 68%); }

.pricing-callout {
  background:
    linear-gradient(90deg, rgba(103, 255, 143, 0.13), rgba(59, 213, 255, 0.09), rgba(255, 179, 71, 0.08));
  box-shadow: inset 4px 0 0 var(--orange), 0 0 28px rgba(255, 179, 71, 0.07);
}

.motion-board {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(20px, 4vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 95, 159, 0.14), transparent 14rem),
    radial-gradient(circle at 30% 80%, rgba(59, 213, 255, 0.12), transparent 15rem),
    rgba(5, 8, 6, 0.48);
}

.motion-copy h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.motion-stack {
  position: relative;
  display: grid;
  gap: 10px;
}

.motion-stack::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 17px;
  width: 2px;
  background: linear-gradient(var(--green), var(--cyan), var(--pink), var(--orange));
  box-shadow: 0 0 18px rgba(59, 213, 255, 0.3);
}

.motion-stack span {
  position: relative;
  padding: 10px 14px 10px 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 12, 0.82);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(0);
  animation: stackDrift 4s ease-in-out infinite;
}

.motion-stack span:nth-child(2) { animation-delay: 0.2s; }
.motion-stack span:nth-child(3) { animation-delay: 0.4s; }
.motion-stack span:nth-child(4) { animation-delay: 0.6s; }

.motion-stack span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--green), var(--cyan), var(--pink));
  box-shadow: 0 0 16px rgba(103, 255, 143, 0.4);
}

.talk-panel {
  background:
    linear-gradient(135deg, rgba(216, 255, 84, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 95, 159, 0.12), transparent 18rem),
    rgba(5, 8, 6, 0.52);
}

@keyframes symbolFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}

@keyframes stackDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (max-width: 820px) {
  .visual-strip,
  .motion-board {
    grid-template-columns: 1fr;
  }
}

/* Control Logic scratch redo: calmer logo + palette */
:root {
  --blue: #6da8ff;
  --blue-soft: #dce7ff;
  --brass: #d6a25e;
  --paper: #f4efe6;
  --charcoal: #05080c;
}

body {
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 10%, rgba(109, 168, 255, 0.14), transparent 26rem),
    radial-gradient(circle at 84% 18%, rgba(214, 162, 94, 0.1), transparent 24rem),
    radial-gradient(circle at 52% 100%, rgba(220, 231, 255, 0.055), transparent 28rem),
    #05080c;
}

body::before {
  background-image:
    linear-gradient(rgba(220, 231, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 231, 255, 0.026) 1px, transparent 1px);
}

body::after {
  opacity: 0.1;
  background:
    repeating-linear-gradient(180deg, var(--blue) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(214, 162, 94, 0.28) 15px 16px, transparent 16px 34px);
}

.identity {
  gap: 12px;
  letter-spacing: 0.02em;
}

.identity::before {
  content: none;
}

.status-mark {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(220, 231, 255, 0.7);
  border-radius: 7px;
  background:
    linear-gradient(135deg, var(--blue), transparent 48%),
    linear-gradient(315deg, var(--brass), transparent 52%),
    #08111d;
  box-shadow: 0 0 18px rgba(109, 168, 255, 0.22);
  transform: rotate(45deg);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(109, 168, 255, 0.44);
  background: rgba(109, 168, 255, 0.07);
  color: var(--blue-soft);
  box-shadow: inset 0 -2px 0 var(--brass);
}

.content-card::before {
  content: "Control Logic";
  background: linear-gradient(90deg, rgba(109, 168, 255, 0.12), rgba(214, 162, 94, 0.08), #080c09);
  color: var(--blue-soft);
}

.control-card {
  border-color: rgba(220, 231, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(109, 168, 255, 0.09), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(214, 162, 94, 0.11), transparent 18rem),
    radial-gradient(circle at 10% 92%, rgba(220, 231, 255, 0.07), transparent 17rem),
    rgba(7, 17, 29, 0.96);
}

.home-kicker {
  border-color: rgba(220, 231, 255, 0.14);
  background: rgba(220, 231, 255, 0.045);
  color: var(--blue-soft);
}

.home-kicker::before {
  background: var(--brass);
  box-shadow: 0 0 16px rgba(214, 162, 94, 0.48);
}

.control-card .home-intro {
  color: #c9d8f5;
}

.button {
  border-color: rgba(220, 231, 255, 0.16);
  background: linear-gradient(90deg, var(--blue-soft), var(--blue));
  color: #05080c;
  box-shadow: 4px 4px 0 rgba(214, 162, 94, 0.82), 0 0 26px rgba(109, 168, 255, 0.12);
}

.button:hover {
  border-color: rgba(214, 162, 94, 0.9);
  background: linear-gradient(90deg, #fff7e8, var(--brass));
  box-shadow: 5px 5px 0 rgba(109, 168, 255, 0.72), 0 0 28px rgba(214, 162, 94, 0.16);
}

.text-link {
  color: var(--blue-soft);
}

.text-link::before {
  color: var(--brass);
}

.picture-orb {
  width: min(100%, 315px);
  background:
    radial-gradient(circle at 50% 50%, rgba(220, 231, 255, 0.08), transparent 27%),
    conic-gradient(from 210deg, rgba(109, 168, 255, 0.16), rgba(220, 231, 255, 0.08), rgba(214, 162, 94, 0.14), rgba(109, 168, 255, 0.16));
  filter: drop-shadow(0 0 36px rgba(109, 168, 255, 0.14));
}

.orb-ring {
  border-color: rgba(220, 231, 255, 0.24);
}

.ring-two {
  border-color: rgba(214, 162, 94, 0.3);
}

.orb-node {
  background: var(--blue-soft);
  box-shadow: 0 0 18px rgba(109, 168, 255, 0.55);
}

.node-two {
  background: var(--brass);
}

.orb-symbol {
  inset: 18%;
  width: 64%;
  height: 64%;
  border-radius: 28%;
  filter: drop-shadow(0 0 18px rgba(109, 168, 255, 0.32));
}

.visual-card {
  border-color: rgba(220, 231, 255, 0.13);
  background: rgba(5, 8, 12, 0.55);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(109, 168, 255, 0.04);
}

.visual-card span {
  color: #c9d8f5;
}

.pricing-callout {
  border-color: rgba(214, 162, 94, 0.28);
  background: linear-gradient(90deg, rgba(109, 168, 255, 0.09), rgba(214, 162, 94, 0.08));
  box-shadow: inset 4px 0 0 var(--brass), 0 0 28px rgba(109, 168, 255, 0.06);
}

.pricing-callout span,
.creative-tile span {
  color: var(--brass);
}

.creative-tile {
  border-color: rgba(220, 231, 255, 0.12);
  background:
    linear-gradient(140deg, rgba(109, 168, 255, 0.08), transparent 42%),
    rgba(8, 17, 29, 0.86);
}

.creative-tile:hover {
  border-color: rgba(214, 162, 94, 0.55);
  background: rgba(10, 24, 40, 0.98);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24), 0 0 24px rgba(109, 168, 255, 0.08);
}

/* Cosmic star logo iteration */
.picture-orb {
  width: min(100%, 342px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 247, 216, 0.18), transparent 18%),
    radial-gradient(circle at 43% 35%, rgba(125, 183, 255, 0.22), transparent 34%),
    radial-gradient(circle at 60% 62%, rgba(139, 117, 255, 0.2), transparent 38%),
    conic-gradient(from 216deg, rgba(214, 162, 94, 0.2), rgba(109, 168, 255, 0.26), rgba(248, 239, 224, 0.12), rgba(139, 117, 255, 0.22), rgba(214, 162, 94, 0.2));
  filter: drop-shadow(0 0 40px rgba(109, 168, 255, 0.18)) drop-shadow(0 0 70px rgba(214, 162, 94, 0.08));
}

.picture-orb::before,
.picture-orb::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  pointer-events: none;
}

.picture-orb::before {
  border: 1px solid rgba(248, 239, 224, 0.12);
  box-shadow: inset 0 0 34px rgba(109, 168, 255, 0.12), 0 0 42px rgba(139, 117, 255, 0.1);
  animation: orbitSpin 28s linear infinite;
}

.picture-orb::after {
  inset: 20%;
  background: conic-gradient(from 0deg, transparent, rgba(248, 239, 224, 0.22), transparent 24%, rgba(109, 168, 255, 0.2), transparent 52%, rgba(214, 162, 94, 0.18), transparent 78%);
  mask-image: radial-gradient(circle, transparent 53%, black 55%, black 57%, transparent 60%);
  animation: orbitSpinReverse 16s linear infinite;
}

.orb-ring {
  border-color: rgba(125, 183, 255, 0.32);
  box-shadow: 0 0 24px rgba(109, 168, 255, 0.08);
}

.ring-one {
  inset: 10%;
  animation-duration: 22s;
}

.ring-two {
  inset: 23%;
  border-color: rgba(214, 162, 94, 0.42);
  animation-duration: 13s;
}

.ring-three {
  inset: 32%;
  border-color: rgba(248, 239, 224, 0.28);
  transform: rotate(-38deg) scaleY(0.46);
  animation: orbitSpin 9s linear infinite;
}

.orb-node {
  width: 12px;
  height: 12px;
  background: #f8efe0;
  box-shadow: 0 0 20px rgba(248, 239, 224, 0.76), 0 0 42px rgba(109, 168, 255, 0.35);
}

.node-one { top: 9%; left: 49%; }
.node-two { right: 10%; bottom: 31%; background: var(--brass); }
.node-three { left: 13%; bottom: 24%; background: #8fc6ff; }
.node-four { right: 31%; top: 15%; background: #8b75ff; animation: nodePulse 2.6s 700ms ease-in-out infinite; }

.star-dust {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff7d8;
  box-shadow: 0 0 12px rgba(255, 247, 216, 0.85);
  animation: starDrift 5.4s ease-in-out infinite;
}

.dust-one { top: 18%; left: 24%; }
.dust-two { right: 20%; top: 27%; animation-delay: 900ms; }
.dust-three { right: 28%; bottom: 14%; animation-delay: 1.6s; }

.orb-symbol {
  inset: 10%;
  width: 80%;
  height: 80%;
  border-radius: 30%;
  filter: drop-shadow(0 0 20px rgba(125, 183, 255, 0.42)) drop-shadow(0 0 34px rgba(214, 162, 94, 0.18));
  animation: symbolFloat 4.2s ease-in-out infinite, symbolGlow 6s ease-in-out infinite;
}

@keyframes starDrift {
  0%, 100% { transform: translate(0, 0) scale(0.8); opacity: 0.48; }
  50% { transform: translate(10px, -16px) scale(1.35); opacity: 1; }
}

@keyframes symbolGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(125, 183, 255, 0.38)) drop-shadow(0 0 34px rgba(214, 162, 94, 0.14)); }
  50% { filter: drop-shadow(0 0 32px rgba(125, 183, 255, 0.58)) drop-shadow(0 0 50px rgba(214, 162, 94, 0.28)); }
}

.tile-ai,
.tile-cloud,
.tile-web {
  box-shadow: inset 0 3px 0 rgba(109, 168, 255, 0.75);
}

.tile-ai::after,
.tile-cloud::after,
.tile-web::after {
  background: radial-gradient(circle, rgba(109, 168, 255, 0.16), transparent 68%);
}

.motion-board,
.talk-panel {
  border-color: rgba(220, 231, 255, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 162, 94, 0.09), transparent 18rem),
    radial-gradient(circle at 20% 100%, rgba(109, 168, 255, 0.1), transparent 16rem),
    rgba(5, 8, 12, 0.52);
}

.motion-stack::before {
  background: linear-gradient(var(--blue-soft), var(--blue), var(--brass));
  box-shadow: 0 0 18px rgba(109, 168, 255, 0.22);
}

.motion-stack span::before {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue), var(--brass));
  box-shadow: 0 0 16px rgba(109, 168, 255, 0.32);
}

.quick-form input:focus,
.quick-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(109, 168, 255, 0.12);
}

/* Solar-orbital realism pass: less cartoon, more atom/star/sun-surface/galactic tech */
:root {
  --space-black: #01030a;
  --space-void: #06091a;
  --space-indigo: #10153a;
  --space-blue: #5eb4ff;
  --plasma-gold: #ffce68;
  --plasma-orange: #ff6f35;
  --plasma-red: #c93244;
  --cosmic-violet: #8d72ff;
  --solar-line: rgba(255, 206, 104, 0.34);
}

body {
  background:
    radial-gradient(circle at 51% 12%, rgba(255, 206, 104, 0.16), transparent 19rem),
    radial-gradient(circle at 16% 22%, rgba(94, 180, 255, 0.13), transparent 25rem),
    radial-gradient(circle at 88% 16%, rgba(141, 114, 255, 0.15), transparent 24rem),
    radial-gradient(circle at 78% 92%, rgba(255, 111, 53, 0.11), transparent 22rem),
    linear-gradient(180deg, #050713 0%, #090d24 42%, #02040b 100%);
}

body::before {
  inset: -8%;
  background-image:
    radial-gradient(circle, rgba(255, 242, 189, 0.22) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(94, 180, 255, 0.16) 0 1px, transparent 1.3px),
    linear-gradient(rgba(94, 180, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 206, 104, 0.022) 1px, transparent 1px);
  background-size: 92px 92px, 147px 147px, 54px 54px, 54px 54px;
  background-position: 0 0, 33px 21px, 0 0, 0 0;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.68) 62%, transparent);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: galaxyField 38s linear infinite;
}

body::after {
  top: 4rem;
  right: -6rem;
  width: 28rem;
  height: 28rem;
  opacity: 0.28;
  background:
    conic-gradient(from 35deg, transparent, rgba(94, 180, 255, 0.24), transparent 34%, rgba(255, 206, 104, 0.16), transparent 67%, rgba(141, 114, 255, 0.18), transparent),
    radial-gradient(circle, transparent 0 48%, rgba(255, 206, 104, 0.18) 49% 50%, transparent 52%);
  border-radius: 50%;
  mask-image: radial-gradient(circle, transparent 0 38%, black 40%, transparent 72%);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation: orbitalSweep 26s linear infinite;
}

.site-header {
  border-bottom-color: rgba(255, 206, 104, 0.18);
}

.identity::before {
  content: "logic";
  color: var(--plasma-gold);
}

.status-mark {
  border-color: var(--plasma-gold);
  background: radial-gradient(circle, #fff7cf, var(--plasma-orange) 58%, #7b2449);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 206, 104, 0.52), 0 0 32px rgba(94, 180, 255, 0.18);
}

.content-card,
.service-card,
.contact-card {
  border-color: rgba(255, 206, 104, 0.16);
  background:
    radial-gradient(circle at 74% 8%, rgba(255, 206, 104, 0.1), transparent 18rem),
    radial-gradient(circle at 0% 100%, rgba(94, 180, 255, 0.1), transparent 20rem),
    linear-gradient(145deg, rgba(10, 13, 32, 0.94), rgba(4, 7, 16, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56), 0 0 58px rgba(94, 180, 255, 0.07);
}

.content-card::before {
  background: linear-gradient(90deg, rgba(255, 206, 104, 0.34), rgba(255, 111, 53, 0.24), rgba(94, 180, 255, 0.22), rgba(141, 114, 255, 0.18), transparent);
}

.control-card {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 111, 53, 0.16), transparent 18rem),
    radial-gradient(circle at 32% 66%, rgba(94, 180, 255, 0.13), transparent 20rem),
    radial-gradient(circle at 96% 92%, rgba(141, 114, 255, 0.12), transparent 18rem),
    rgba(5, 8, 20, 0.96);
}

.control-card .home-kicker,
.panel-label,
.pricing-callout span,
.creative-tile span {
  color: var(--plasma-gold);
}

.control-card .home-intro,
.visual-card span,
.creative-tile small,
.pricing-callout p {
  color: #c8d4ea;
}

.button {
  color: #12070a;
  background: linear-gradient(100deg, #fff7cf, var(--plasma-gold), var(--plasma-orange));
  box-shadow: 4px 4px 0 rgba(94, 180, 255, 0.58), 0 0 30px rgba(255, 111, 53, 0.14);
}

.button:hover {
  background: linear-gradient(100deg, var(--plasma-gold), #ff8f45, var(--space-blue));
  box-shadow: 5px 5px 0 rgba(141, 114, 255, 0.62), 0 0 34px rgba(255, 206, 104, 0.22);
}

.text-link,
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #dbeaff;
}

.picture-orb {
  width: min(100%, 374px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 247, 207, 0.2), transparent 17%),
    radial-gradient(circle at 47% 48%, rgba(255, 111, 53, 0.22), transparent 31%),
    radial-gradient(circle at 48% 42%, rgba(94, 180, 255, 0.18), transparent 45%),
    conic-gradient(from 110deg, rgba(255, 206, 104, 0.22), rgba(255, 111, 53, 0.18), rgba(94, 180, 255, 0.24), rgba(141, 114, 255, 0.2), rgba(255, 206, 104, 0.22));
  filter: drop-shadow(0 0 48px rgba(255, 111, 53, 0.16)) drop-shadow(0 0 82px rgba(94, 180, 255, 0.15));
  animation: solarBreath 5.8s ease-in-out infinite;
}

.picture-orb::before {
  inset: 4%;
  border-color: rgba(255, 242, 189, 0.2);
  box-shadow: inset 0 0 44px rgba(255, 111, 53, 0.16), 0 0 60px rgba(94, 180, 255, 0.14);
}

.picture-orb::after {
  inset: 11%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 206, 104, 0.3), transparent 20%, rgba(94, 180, 255, 0.24), transparent 48%, rgba(255, 111, 53, 0.24), transparent 72%, rgba(141, 114, 255, 0.22), transparent);
  mask-image: radial-gradient(circle, transparent 47%, black 49%, black 52%, transparent 56%);
  animation-duration: 10s;
}

.orb-symbol {
  inset: 6%;
  width: 88%;
  height: 88%;
  border-radius: 31%;
  filter: drop-shadow(0 0 24px rgba(255, 111, 53, 0.36)) drop-shadow(0 0 40px rgba(94, 180, 255, 0.24));
  animation: symbolFloat 3.7s ease-in-out infinite, symbolGlow 4.8s ease-in-out infinite, objectPrecess 18s linear infinite;
}

.ring-one { inset: 4%; border-color: rgba(255, 206, 104, 0.32); animation-duration: 16s; }
.ring-two { inset: 18%; border-color: rgba(94, 180, 255, 0.34); animation-duration: 11s; }
.ring-three { inset: 28%; border-color: rgba(141, 114, 255, 0.34); animation-duration: 7.5s; }

.orb-node {
  width: 11px;
  height: 11px;
  box-shadow: 0 0 20px rgba(255, 242, 189, 0.85), 0 0 48px rgba(255, 111, 53, 0.34);
}

.node-one { top: 5%; left: 51%; background: #fff7cf; }
.node-two { right: 5%; bottom: 33%; background: #ff8f45; }
.node-three { left: 8%; bottom: 19%; background: #70b7ff; }
.node-four { right: 29%; top: 8%; background: #8d72ff; }

.dust-four { left: 38%; bottom: 8%; animation-delay: 2.2s; }

.solar-tendril,
.orbital-pulse {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.solar-tendril {
  width: 46%;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(255, 206, 104, 0.72), rgba(255, 111, 53, 0.46), transparent);
  filter: blur(0.2px) drop-shadow(0 0 16px rgba(255, 111, 53, 0.45));
  transform-origin: 100% 50%;
  animation: tendrilReach 4.6s ease-in-out infinite;
}

.tendril-one { top: 28%; left: 0%; transform: rotate(28deg); }
.tendril-two { right: -5%; bottom: 28%; transform: rotate(154deg); animation-delay: 900ms; }
.tendril-three { left: 8%; bottom: 12%; transform: rotate(-38deg); animation-delay: 1.7s; }

.orbital-pulse {
  inset: 0;
  border: 1px solid rgba(255, 206, 104, 0.2);
  box-shadow: 0 0 26px rgba(255, 111, 53, 0.11);
  animation: pulseOrbit 4.4s ease-out infinite;
}

.pulse-two {
  inset: 13%;
  border-color: rgba(94, 180, 255, 0.18);
  animation-delay: 1.3s;
}

.visual-card,
.creative-tile,
.pricing-callout,
.motion-board,
.talk-panel {
  border-color: rgba(255, 206, 104, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 111, 53, 0.08), transparent 14rem),
    linear-gradient(145deg, rgba(11, 15, 36, 0.82), rgba(4, 7, 18, 0.88));
}

.pricing-callout {
  box-shadow: inset 4px 0 0 var(--plasma-gold), 0 0 34px rgba(255, 111, 53, 0.06);
}

@keyframes galaxyField {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(54px, 54px, 0); }
}

@keyframes orbitalSweep {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes solarBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

@keyframes objectPrecess {
  from { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-3px); }
  to { transform: rotate(0deg) translateY(0); }
}

@keyframes tendrilReach {
  0%, 100% { opacity: 0.34; clip-path: inset(0 46% 0 0); }
  50% { opacity: 0.88; clip-path: inset(0 0 0 0); }
}

@keyframes pulseOrbit {
  0% { transform: scale(0.78) rotate(0deg); opacity: 0.56; }
  100% { transform: scale(1.24) rotate(32deg); opacity: 0; }
}

.lead::before,
.text-link::before,
.action-link::before,
.nav-links a[aria-current="page"]::before,
.page-heading p::before {
  color: var(--plasma-gold);
}

.page-heading p::before {
  content: "[";
}

.page-heading p::after {
  color: var(--space-blue);
}

.service-list li {
  border-color: rgba(255, 206, 104, 0.16);
}

.service-list li:hover {
  border-color: rgba(255, 206, 104, 0.38);
  background: linear-gradient(90deg, rgba(255, 111, 53, 0.055), rgba(94, 180, 255, 0.045));
}

.service-list span,
.service-list span::before,
.service-list li:hover small,
.terminal-note span,
.examples a span,
.contact-method strong,
.site-footer a {
  color: var(--plasma-gold);
}

.terminal-note,
.soft-panel,
.contact-method,
.examples a,
.quick-form input,
.quick-form textarea {
  border-color: rgba(255, 206, 104, 0.18);
  background: rgba(6, 10, 25, 0.72);
  box-shadow: inset 3px 0 0 rgba(255, 206, 104, 0.36);
}

.quick-form input:focus,
.quick-form textarea:focus {
  border-color: var(--plasma-gold);
  box-shadow: 0 0 0 3px rgba(255, 206, 104, 0.12), 0 0 24px rgba(94, 180, 255, 0.08);
}

.skip-link {
  border-color: var(--plasma-gold);
  color: var(--plasma-gold);
}

/* Stellar-core refinement: compact homepage, smoother orbital object, less list-like services */
.compact-home {
  padding-block: clamp(22px, 4vw, 46px);
}

.stellar-card {
  padding: clamp(20px, 3.3vw, 34px);
}

.stellar-card::before {
  content: "Control Logic";
}

.stellar-hero {
  min-height: min(760px, calc(100svh - 190px));
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
}

.stellar-card .home-kicker {
  margin-bottom: 12px;
  color: #bfefff;
  border-color: rgba(118, 217, 255, 0.24);
  background: rgba(55, 139, 255, 0.07);
}

.stellar-card .home-kicker::before {
  background: #7de2ff;
  box-shadow: 0 0 16px rgba(125, 226, 255, 0.58);
}

.stellar-card h1 {
  max-width: 690px;
  font-size: clamp(2.08rem, 4.35vw, 4.05rem);
  line-height: 0.96;
  letter-spacing: -0.058em;
}

.stellar-card .home-intro {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  color: #d2def2;
}

.stellar-orb {
  width: min(100%, 560px);
  justify-self: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(116, 230, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(21, 108, 255, 0.24), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(3, 8, 24, 0.74), transparent 68%),
    conic-gradient(from 138deg, rgba(28, 94, 255, 0.16), rgba(84, 218, 255, 0.2), rgba(6, 18, 58, 0.2), rgba(121, 231, 255, 0.16), rgba(28, 94, 255, 0.16));
  contain: layout paint style;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  filter: drop-shadow(0 0 34px rgba(68, 184, 255, 0.18));
  animation: solarBreath 12s cubic-bezier(.37, 0, .24, 1) infinite;
}

.stellar-orb::before {
  inset: 1%;
  border-color: rgba(191, 239, 255, 0.055);
  box-shadow: inset 0 0 56px rgba(72, 151, 255, 0.14), 0 0 96px rgba(107, 208, 255, 0.1);
  animation: orbitSpin 150s linear infinite;
}

.stellar-orb::after {
  inset: 5%;
  opacity: 0.28;
  mask-image: radial-gradient(circle, transparent 48%, black 50%, black 51%, transparent 56%);
  -webkit-mask-image: radial-gradient(circle, transparent 48%, black 50%, black 51%, transparent 56%);
  animation: orbitSpinReverse 118s linear infinite;
}

.stellar-orb .orb-symbol {
  inset: -7%;
  width: 114%;
  height: 114%;
  border-radius: 0;
  opacity: 0.97;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  filter: drop-shadow(0 0 24px rgba(82, 220, 255, 0.22));
  animation: stellarFloat 18s cubic-bezier(.37, 0, .24, 1) infinite, symbolGlow 14s ease-in-out infinite;
}

.stellar-orb .ring-one { inset: 0; animation-duration: 180s; opacity: 0.16; }
.stellar-orb .ring-two { inset: 16%; animation-duration: 138s; opacity: 0.11; }
.stellar-orb .ring-three { inset: 31%; animation-duration: 110s; opacity: 0.08; }

.stellar-orb .orb-node,
.stellar-orb .solar-tendril,
.stellar-orb .orbital-pulse {
  display: none;
}

.stellar-orb .star-dust {
  opacity: 0.34;
  animation-duration: 12s;
}

.service-orbit-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "ai cloud"
    "it web";
  gap: 12px;
  margin-top: 18px;
  align-items: stretch;
}

.support-constellation::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  border: 1px solid rgba(118, 217, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-6deg) scaleY(0.32);
  pointer-events: none;
  box-shadow: 0 0 34px rgba(71, 125, 255, 0.08);
}

.service-chip {
  position: relative;
  min-height: 112px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(118, 217, 255, 0.16);
  background:
    radial-gradient(circle at 90% 0%, rgba(118, 217, 255, 0.12), transparent 7rem),
    radial-gradient(circle at 12% 95%, rgba(255, 206, 104, 0.06), transparent 6rem),
    rgba(7, 10, 25, 0.72);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.service-chip::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 35%;
  height: 80px;
  background: radial-gradient(circle, rgba(94, 180, 255, 0.18), transparent 70%);
}

.service-chip::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7de2ff;
  box-shadow: 0 0 18px rgba(125, 226, 255, 0.62);
}

.tile-ai { grid-area: ai; }
.tile-cloud { grid-area: cloud; }
.tile-it { grid-area: it; }
.tile-web { grid-area: web; }

.service-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 206, 104, 0.4);
  background-color: rgba(10, 15, 34, 0.95);
}

.service-chip span {
  color: #9fe7ff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-chip strong {
  display: block;
  margin: 14px 0 5px;
  color: #f4f8ff;
  line-height: 1.1;
}

.service-chip small {
  display: block;
  color: #b8c6dc;
  font-size: 0.7rem;
  line-height: 1.35;
}

.compact-pricing {
  grid-template-columns: auto minmax(240px, 0.82fr) minmax(0, 1fr);
  margin-top: 16px;
  padding: 13px 15px;
}

.index-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(118, 217, 255, 0.16);
  background: linear-gradient(90deg, rgba(94, 180, 255, 0.09), rgba(255, 206, 104, 0.055));
}

.index-contact-cta p {
  margin: 0;
  color: #c8d4ea;
  font-size: 0.86rem;
}

.index-contact-cta .button {
  flex: 0 0 auto;
  min-height: 0;
  padding: 9px 13px;
  font-size: 0.74rem;
}

.contact-talk-panel {
  margin: 22px 0;
}

.contact-stellar-card .email-panel {
  margin-top: 18px;
  border-color: rgba(255, 206, 104, 0.24);
  background: linear-gradient(90deg, rgba(255, 206, 104, 0.08), rgba(94, 180, 255, 0.06));
  color: #ffd98a;
  box-shadow: inset 3px 0 0 rgba(255, 206, 104, 0.52);
}

.contact-stellar-card .email-panel strong {
  color: #fff4c7;
}

@keyframes stellarFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -5px, 0) scale(1.012); }
}

@media (max-width: 980px) {
  .site-header {
    width: min(1080px, calc(100% - 28px));
    min-height: 74px;
    padding: 0;
    flex-direction: row;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: grid;
    order: -1;
    flex: 0 0 46px;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    border-color: rgba(255, 206, 104, 0.52);
    transform: translateY(-1px);
  }

  .menu-close {
    display: grid;
    place-items: center;
    align-self: flex-end;
    width: 42px;
    height: 42px;
    font-size: 1.65rem;
    line-height: 1;
  }

  .nav-links {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: min(330px, calc(100vw - 48px));
    height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-right: 1px solid rgba(118, 217, 255, 0.18);
    background:
      radial-gradient(circle at 10% 0%, rgba(94, 180, 255, 0.16), transparent 13rem),
      linear-gradient(180deg, rgba(8, 12, 29, 0.98), rgba(5, 8, 18, 0.98));
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.38);
    transform: translateX(-106%);
    transition: transform 220ms ease;
  }

  .menu-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 14px;
    border-color: rgba(118, 217, 255, 0.14);
    background: rgba(11, 15, 36, 0.78);
    font-size: 0.95rem;
    white-space: normal;
  }

  .menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
  }

  .menu-open .menu-backdrop {
    display: block;
  }

  .stellar-hero,
  .compact-pricing {
    grid-template-columns: 1fr;
  }

  .stellar-hero {
    min-height: auto;
  }

  .service-orbit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-orbit-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "ai"
      "cloud"
      "it"
      "web";
  }

  .index-contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .stellar-card {
    padding: 60px 25px 34px;
  }

  .stellar-card .home-kicker {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 11px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green-soft);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
  }

  .stellar-card .home-kicker::before {
    content: "[";
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--plasma-gold, var(--green));
    animation: none;
  }

  .stellar-card .home-kicker::after {
    content: "]";
    color: var(--space-blue, var(--green));
  }

  .stellar-card h1 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.06em;
  }

  .stellar-card .home-intro {
    max-width: 100%;
    margin-top: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .stellar-orb {
    width: min(76vw, 300px);
    margin-top: 18px;
  }
}

/* Safari/zoom stability pass: keep visible motion, remove repaint-heavy filters/masks. */
body::before,
body::after {
  animation: none !important;
  will-change: auto;
}

body::before {
  opacity: 0.52;
  transform: none;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.58) 62%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.58) 62%, transparent);
}

body::after {
  opacity: 0.18;
  transform: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.stellar-orb {
  isolation: isolate;
  contain: layout paint;
  filter: none;
  animation: solarBreath 6.8s ease-in-out infinite;
}

.stellar-orb::before,
.stellar-orb::after {
  mask-image: none;
  -webkit-mask-image: none;
  will-change: transform, opacity;
}

.stellar-orb::before {
  animation: orbitSpin 42s linear infinite;
}

.stellar-orb::after {
  opacity: 0.22;
  background:
    radial-gradient(circle, transparent 0 49%, rgba(121, 231, 255, 0.22) 50% 51%, transparent 53%),
    conic-gradient(from 0deg, transparent, rgba(255, 206, 104, 0.22), transparent 28%, rgba(94, 180, 255, 0.18), transparent 62%, rgba(141, 114, 255, 0.16), transparent);
  animation: orbitSpinReverse 34s linear infinite;
}

.stellar-orb .orb-symbol {
  opacity: 0.98;
  filter: none;
  will-change: transform, opacity;
  animation: stellarFloat 5.4s ease-in-out infinite, symbolGlow 4.8s ease-in-out infinite;
}

@keyframes stellarFloat {
  0%, 100% { transform: translate3d(0, -7px, 0) scale(1.018) rotate(-0.55deg); }
  50% { transform: translate3d(0, 9px, 0) scale(1.045) rotate(0.65deg); }
}

@keyframes symbolGlow {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

@media (max-width: 980px), (hover: none) and (pointer: coarse) {
  body::before,
  body::after {
    display: none !important;
    animation: none !important;
  }

  .stellar-orb {
    width: min(56vw, 218px);
    margin-top: 18px;
    overflow: visible;
    background:
      radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.98) 0 3.5%, rgba(182, 245, 255, 0.9) 7%, rgba(92, 205, 255, 0.62) 15%, transparent 26%),
      radial-gradient(circle at 48% 45%, rgba(210, 252, 255, 0.35) 0 4%, transparent 13%),
      radial-gradient(circle at 61% 62%, rgba(110, 236, 255, 0.52) 0 8%, rgba(27, 89, 255, 0.4) 22%, rgba(3, 9, 31, 0.88) 50%, transparent 71%),
      radial-gradient(circle at 78% 24%, rgba(255, 207, 91, 0.46) 0 3%, rgba(255, 123, 64, 0.22) 7%, transparent 14%),
      radial-gradient(circle at 16% 78%, rgba(141, 114, 255, 0.3) 0 9%, transparent 24%),
      radial-gradient(ellipse at 48% 86%, rgba(255, 111, 53, 0.18) 0 9%, transparent 22%),
      conic-gradient(from 118deg, rgba(125, 226, 255, 0.38), rgba(255, 206, 104, 0.22), rgba(141, 114, 255, 0.25), rgba(51, 134, 255, 0.28), rgba(255, 111, 53, 0.16), rgba(125, 226, 255, 0.38));
    box-shadow:
      inset 0 0 20px rgba(125, 226, 255, 0.28),
      inset 0 0 48px rgba(5, 12, 38, 0.76),
      0 0 0 1px rgba(125, 226, 255, 0.16),
      0 0 28px rgba(78, 176, 255, 0.14);
    filter: none !important;
    animation: solarBreath 4.8s ease-in-out infinite;
  }

  .stellar-orb .orb-symbol,
  .stellar-orb .star-dust,
  .stellar-orb .orb-node,
  .stellar-orb .solar-tendril,
  .stellar-orb .orbital-pulse {
    display: none !important;
  }

  .stellar-orb::before,
  .stellar-orb::after,
  .stellar-orb .orb-ring {
    display: block;
    filter: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    will-change: transform;
  }

  .stellar-orb::before {
    inset: -10%;
    border: 1px solid rgba(125, 226, 255, 0.28);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 206, 104, 0.08), 0 0 24px rgba(125, 226, 255, 0.12);
    animation: orbitSpin 28s linear infinite;
  }

  .stellar-orb::after {
    inset: 10%;
    opacity: 0.58;
    border-radius: 50%;
    background:
      radial-gradient(circle at 72% 22%, rgba(255, 229, 150, 0.72) 0 2.5%, transparent 8%),
      radial-gradient(circle at 25% 75%, rgba(98, 153, 255, 0.34) 0 5%, transparent 14%),
      radial-gradient(circle at 52% 39%, rgba(255, 255, 255, 0.22) 0 2%, transparent 7%),
      conic-gradient(from 0deg, transparent, rgba(255, 206, 104, 0.5), transparent 27%, rgba(125, 226, 255, 0.4), transparent 58%, rgba(141, 114, 255, 0.34), transparent 78%, rgba(255, 111, 53, 0.24), transparent);
    animation: orbitSpinReverse 18s linear infinite;
  }

  .stellar-orb .ring-one { inset: -5%; opacity: 0.44; animation-duration: 34s; }
  .stellar-orb .ring-two { inset: 12%; opacity: 0.36; animation-duration: 24s; }
  .stellar-orb .ring-three { inset: 27%; opacity: 0.27; animation-duration: 16s; }

  .stellar-orb .dust-one,
  .stellar-orb .dust-three {
    display: block !important;
    width: 4px;
    height: 4px;
    background: rgba(246, 252, 255, 0.92);
    box-shadow: 0 0 8px rgba(125, 226, 255, 0.36);
    filter: none !important;
    will-change: transform, opacity;
    animation: mobileSparkDrift 9.5s ease-in-out infinite;
  }

  .stellar-orb .dust-one { top: 14%; left: 20%; }
  .stellar-orb .dust-three { right: 18%; bottom: 18%; animation-delay: -3.4s; }

  .status-mark,
  .talk-button,
  .content-card,
  .content-card::after {
    animation: none !important;
  }
}

@keyframes mobileSparkDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.78); opacity: 0.34; }
  50% { transform: translate3d(9px, -11px, 0) scale(1.18); opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
