:root {
  --ink: #06080f;
  --ink-2: #0d111a;
  --surface: #f7f9fb;
  --surface-2: #eef3f7;
  --paper: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(6, 8, 15, 0.12);
  --text: #101622;
  --muted: #526070;
  --muted-dark: #aab7c8;
  --cyan: #00d9ff;
  --green: #20e68b;
  --amber: #ffb020;
  --rose: #e24a6a;
  --shadow: 0 24px 70px rgba(4, 9, 18, 0.18);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-light);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: #ffffff;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(6, 8, 15, 0.92);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.header-shell {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #001016;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 35px rgba(0, 217, 255, 0.25);
}

.brand-name {
  font-size: 21px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-link,
.inline-action,
.card-link {
  color: var(--cyan);
  font-weight: 800;
}

.text-link {
  color: rgba(255, 255, 255, 0.78);
}

.text-link:hover,
.inline-action:hover,
.card-link:hover {
  color: var(--green);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #001016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 45px rgba(0, 217, 255, 0.2);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-dark);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-small {
  min-height: 42px;
  padding: 11px 14px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  margin: 3px 0;
}

.hero-section {
  min-height: 100svh;
  padding: 112px 0 28px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #05070d 0%, #0a1219 48%, #07100f 100%);
  background-size: 74px 74px, 74px 74px, auto;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(0, 217, 255, 0.12) 42%, transparent 64%),
    linear-gradient(35deg, transparent 0%, rgba(32, 230, 139, 0.09) 54%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  min-height: calc(100svh - 172px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted-dark);
  font-size: 19px;
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-signals span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.dashboard-frame {
  min-height: 520px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(6, 8, 15, 0.52);
}

.dashboard-top strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.window-dot:first-child {
  background: var(--rose);
}

.window-dot:nth-child(2) {
  background: var(--amber);
}

.window-dot:nth-child(3) {
  background: var(--green);
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.expertise-panel,
.capability-map {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(3, 7, 13, 0.46);
}

.expertise-panel {
  min-height: 156px;
  padding: 18px;
}

.panel-primary {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.16), rgba(32, 230, 139, 0.08));
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.expertise-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.1;
}

.expertise-panel p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 14px;
}

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

.stack-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
}

.capability-map {
  position: relative;
  grid-column: 1 / -1;
  min-height: 300px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  overflow: hidden;
}

.capability-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.capability-core,
.capability-item {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
}

.capability-core {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 16px 18px;
  color: #001016;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.capability-core strong {
  font-size: 24px;
  font-weight: 950;
}

.capability-core span {
  font-size: 13px;
  font-weight: 900;
}

.capability-item {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 15px;
  background: #07111a;
  color: #ffffff;
}

.capability-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 950;
}

.capability-item span {
  display: block;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.35;
}

.item-code {
  border-color: rgba(0, 217, 255, 0.34);
}

.item-plan {
  border-color: rgba(32, 230, 139, 0.34);
}

.item-web {
  border-color: rgba(255, 176, 32, 0.34);
}

.item-ai {
  border-color: rgba(226, 74, 106, 0.36);
}

.hero-next {
  position: relative;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 850;
}

.hero-next a {
  color: var(--cyan);
}

.section-pad {
  padding: 92px 0;
}

.focus-section,
.audience-section {
  padding-top: 0;
}

.intro-section,
.focus-section,
.why-section,
.contact-section {
  background: var(--surface);
}

.brand-section,
.audience-section,
.studio-section {
  background: var(--paper);
}

.solutions-section {
  background:
    linear-gradient(90deg, rgba(6, 8, 15, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 8, 15, 0.03) 1px, transparent 1px),
    var(--surface-2);
  background-size: 70px 70px, 70px 70px, auto;
}

.split-layout,
.focus-grid,
.audience-layout,
.studio-layout,
.contact-layout,
.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 58px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
}

.heading-center {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading p,
.text-stack p,
.brand-card p,
.solution-card p,
.focus-list p,
.audience-grid p,
.why-grid p,
.studio-copy p,
.contact-layout p,
.beta-copy p {
  color: var(--muted);
  font-size: 17px;
}

.text-stack p:last-child,
.beta-copy p:last-of-type {
  margin-bottom: 0;
}

.two-card-grid,
.solution-grid,
.focus-list,
.audience-grid,
.why-grid {
  display: grid;
  gap: 18px;
}

.focus-list {
  grid-template-columns: 1fr;
}

.focus-list article {
  display: grid;
  grid-template-columns: 44px minmax(130px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 14px 45px rgba(6, 8, 15, 0.06);
}

.focus-list span {
  color: var(--rose);
  font-weight: 950;
}

.focus-list strong {
  font-size: 18px;
}

.focus-list p {
  margin-bottom: 0;
}

.two-card-grid {
  grid-template-columns: 1fr 1fr;
}

.brand-card,
.solution-card,
.audience-grid article,
.why-grid article {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
}

.audience-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-grid article {
  min-height: 216px;
  padding: 24px;
  background: var(--surface);
}

.brand-card {
  min-height: 286px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-card-studio {
  background: #07111a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.brand-card-studio p {
  color: var(--muted-dark);
}

.card-kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.solution-card {
  min-height: 278px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.solution-number {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--rose);
  font-weight: 950;
}

.beta-section {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #06080f 0%, #10151e 52%, #06110c 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.beta-copy p {
  color: var(--muted-dark);
}

.status-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.status-list div {
  min-height: 104px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.status-list dt {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.status-list dd {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
}

.asset-frame {
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.asset-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
}

.studio-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.helper-text {
  margin-top: 16px;
  font-size: 15px;
}

.studio-asset {
  border-color: var(--line-light);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(6, 8, 15, 0.12);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
}

.contact-panel {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 18px 55px rgba(6, 8, 15, 0.08);
}

.contact-panel a:not(.btn) {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-panel a:not(.btn):first-child {
  padding-top: 0;
}

.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
}

.contact-panel .btn {
  width: 100%;
  margin-top: 18px;
}

.site-footer {
  color: #ffffff;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.6fr;
  gap: 30px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 360px;
  color: var(--muted-dark);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer-links a {
  color: var(--muted-dark);
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-legal {
  grid-template-columns: 1fr;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.legal-page {
  min-height: 100vh;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #05070d 0%, #0a1219 48%, #07100f 100%);
  background-size: 74px 74px, 74px 74px, auto;
}

.legal-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.legal-header .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.legal-main {
  padding: 88px 0;
}

.legal-panel {
  max-width: 820px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.legal-panel h1 {
  margin-bottom: 18px;
  font-size: 44px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted-dark);
  font-size: 17px;
}

.legal-panel ul {
  margin: 26px 0;
  padding-left: 20px;
}

.legal-panel .btn {
  margin-top: 8px;
}

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

  .site-nav {
    gap: 0;
  }

  h1 {
    font-size: 52px;
  }

  .hero-grid,
  .split-layout,
  .focus-grid,
  .audience-layout,
  .studio-layout,
  .contact-layout,
  .beta-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .solution-grid,
  .audience-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .header-shell {
    height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(6, 8, 15, 0.98);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
  }

  .header-actions {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-section {
    padding-top: 88px;
  }

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

  .dashboard-frame {
    min-height: 440px;
  }

  .two-card-grid,
  .solution-grid,
  .audience-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .legal-header .shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(var(--shell), calc(100% - 28px));
  }

  .section-pad {
    padding: 68px 0;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead,
  .section-heading p,
  .text-stack p,
  .brand-card p,
  .solution-card p,
  .focus-list p,
  .audience-grid p,
  .why-grid p,
  .studio-copy p,
  .contact-layout p,
  .beta-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .button-row .btn,
  .studio-copy .btn {
    width: 100%;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .capability-map {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .capability-core {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .capability-core strong {
    font-size: 21px;
  }

  .brand-card,
  .solution-card,
  .audience-grid article,
  .why-grid article {
    min-height: auto;
    padding: 22px;
  }

  .contact-panel strong {
    font-size: 18px;
  }

  .focus-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .legal-panel {
    padding: 24px;
  }

  .legal-panel h1 {
    font-size: 34px;
  }
}

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

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