:root {
  color-scheme: dark;
  --bg: #07090c;
  --panel: rgba(18, 21, 27, 0.84);
  --panel-strong: #10141b;
  --border: #252a34;
  --text: #f7f7f8;
  --muted: #a4acb8;
  --soft: #d7dbe2;
  --accent: #d8f36a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 8%, rgba(216, 243, 106, 0.11), transparent 30rem),
    linear-gradient(145deg, #07090c 0%, #10141b 48%, #090b0f 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 21, 27, 0.78);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--soft);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55;
}

.intro {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 18px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #3a414f;
}

.button--primary {
  border-color: #f5f7fb;
  background: #f5f7fb;
  color: #090b0f;
}

.button--secondary {
  background: var(--panel-strong);
}

.button--muted {
  color: #7e8794;
  cursor: default;
}

.hero__side {
  display: grid;
  gap: 18px;
}

.profile-card,
.panel,
.case-card,
.metric,
.stack > div {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.profile-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 24px;
  padding: 20px;
}

.profile-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #3a414f;
}

.profile-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.profile-card p,
.section-head p,
.subtitle,
.stack p,
.cta p {
  color: var(--muted);
}

.profile-card p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18, 21, 27, 0.92), rgba(7, 9, 12, 0.86));
}

.metric {
  min-height: 108px;
  border-radius: 18px;
  padding: 18px;
}

.metric span {
  display: block;
  color: #7e8794;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 12px;
  font-size: 19px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  margin-top: 56px;
}

.panel {
  border-radius: 24px;
  padding: 26px;
}

.panel h2,
.section-head h2,
.cta h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}

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

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #11161d;
  color: var(--soft);
  padding: 0 12px;
  font-size: 14px;
}

.principles,
.stack {
  display: grid;
  gap: 12px;
}

.principles p,
.stack > div {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(16, 20, 27, 0.78);
  padding: 16px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.cases {
  margin-top: 64px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-head p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.65;
}

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

.case-card {
  border-radius: 24px;
  padding: 26px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: #3a414f;
}

.case-card h3 {
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1.25;
}

.subtitle {
  margin-bottom: 18px;
  font-size: 14px;
}

.case-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  position: relative;
  padding-left: 18px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.stack strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.stack p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  border-radius: 26px;
  background: #f5f7fb;
  color: #090b0f;
  padding: 30px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: #4c5562;
  line-height: 1.65;
}

.cta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #090b0f;
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .case-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .cta a {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 1160px);
    padding-top: 28px;
  }

  .eyebrow {
    border-radius: 14px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .profile-card {
    grid-template-columns: 74px 1fr;
    padding: 16px;
  }

  .profile-card img {
    width: 74px;
    height: 74px;
  }

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

  .panel,
  .case-card,
  .cta {
    padding: 20px;
  }
}
