:root {
  color-scheme: light;
  --bg-top: #f7f9fc;
  --bg-bottom: #dfe9f7;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-border: rgba(15, 23, 42, 0.08);
  --text-primary: #142033;
  --text-muted: #51607a;
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --accent-strong: rgba(15, 118, 110, 0.16);
  --shadow: 0 20px 60px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 32%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text-primary);
}

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

.site-shell {
  min-height: 100vh;
  padding: 16px;
}

.site-frame {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.topbar-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
}

.topbar-links a:hover,
.docs-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.hero {
  padding: 8px 0 4px;
}

.hero-panel,
.content-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  margin-bottom: 14px;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--text-primary);
}

.hero-copy,
.content-card p,
.footer p {
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 68ch;
}

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

.primary-button,
.secondary-button,
.docs-links a {
  border-radius: 14px;
  font: inherit;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.primary-button:hover,
.secondary-button:hover,
.docs-links a:hover {
  transform: translateY(-1px);
}

.primary-button {
  color: white;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.secondary-button {
  color: var(--text-primary);
  background: rgba(15, 118, 110, 0.08);
}

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

.content-card {
  padding: 28px;
}

.project-screenshot {
  display: block;
  width: 100%;
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 36px rgba(31, 41, 55, 0.12);
}

.engineering-case-card {
  position: relative;
}

.developer-heading {
  display: block;
  margin-bottom: 14px;
  padding-right: 96px;
}

.developer-heading h2 {
  margin-bottom: 0;
}

.developer-inline {
  min-width: 0;
}

.developer-avatar {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.14);
}

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

.content-card-highlight {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.82)),
    var(--panel-strong);
  border-color: rgba(15, 118, 110, 0.18);
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-primary);
}

.feature-list li + li {
  margin-top: 8px;
}

.architecture-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.architecture-pills span,
.docs-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-primary);
}

.docs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 8px 4px 0;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
}

@media (max-width: 920px) {
  .content-grid,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer {
    align-items: start;
  }

  .developer-heading {
    padding-right: 84px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 10px;
  }

  .site-frame {
    padding: 18px;
    border-radius: 22px;
  }

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

  .hero-panel,
  .content-card {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
