:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-fira-code: 'Fira Code', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --ink: #333333;
  --muted: #57545f;
  --line: #dddddd;
  --paper: #ffffff;
  --soft: #f8f8f8;
  --panel: #ffffff;
  --charcoal: #0e0e13;
  --accent: #4e1fd3;
  --accent-hover: #5521e9;
  --accent-active: #411ca8;
  --accent-soft: #f0e0ff;
  --accent-muted: #8864f0;
  --success: #21c05e;
  --warning: #b89121;
  --info: #0076ff;
  --focus: var(--accent);
  --max: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 42%, transparent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 28%, transparent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 224, 228, 0.9);
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-name {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263039;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 680;
  text-decoration: none;
}

.button {
  color: #ffffff;
  background: var(--accent);
}

.button:hover {
  background: var(--accent-hover);
}

.text-button {
  color: var(--charcoal);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(14, 14, 19, 0.92) 0%, rgba(14, 14, 19, 0.74) 44%, rgba(14, 14, 19, 0.16) 100%),
    image-set(url("/assets/developer-workspace-hero.png") type("image/png"));
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 88px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ccbcf8;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 8vw, 84px);
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero .text-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.band {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.band.alt {
  background: var(--soft);
}

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 76px 0;
}

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

.section-header h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.section-header p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.capability {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.capability-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  font-weight: 800;
}

.capability:nth-child(2) .capability-icon {
  background: var(--warning);
}

.capability:nth-child(3) .capability-icon {
  background: var(--info);
}

.capability h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.capability p,
.split p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

.details-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.details-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.details-list strong {
  color: var(--ink);
}

.callout {
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--charcoal);
}

.callout p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  background: var(--charcoal);
  color: #ffffff;
}

.page-hero .section {
  padding: 70px 0;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.legal-page {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 64px 0 88px;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal-page h3 {
  margin-top: 32px;
  font-size: 21px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.contact-block {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.contact-block h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

address {
  font-style: normal;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 86vh;
    background-position: 62% center;
  }

  .hero-inner {
    padding: 78px 0 58px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .capability-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .details-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-name {
    white-space: normal;
  }

  .hero-actions .button,
  .hero-actions .text-button {
    width: 100%;
  }
}
