:root {
  color-scheme: dark;
  color: #111827;
  background: #f8fafc;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-image {
  height: 2.2rem;
  width: auto;
}

.brand span {
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  color: #334155;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
}

.hero-section {
  padding: 5rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-section h1,
.section-header h2,
.about-card h3,
.portfolio-card h3,
.card h3 {
  margin: 0;
  line-height: 1.05;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
  color: #0f172a;
}

.hero-section p {
  max-width: 55ch;
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-secondary {
  border: 1px solid #cbd5e1;
  color: #0f172a;
  background: white;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: linear-gradient(180deg, #2563eb 0%, #3b82f6 100%);
  color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  min-height: 320px;
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.18);
}

.hero-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-top: 0.75rem;
  color: #0f172a;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.card,
.portfolio-card,
.contact-card,
.about-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.card h3,
.portfolio-card h3 {
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.card p,
.portfolio-card p,
.about-card p {
  color: #475569;
}

.about-section {
  background: #f8fafc;
}

.section-split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: flex-start;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.features-list li {
  padding-left: 1.2rem;
  position: relative;
  color: #475569;
}

.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2563eb;
}

.contact-section {
  padding-bottom: 5rem;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

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

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-content,
  .section-split,
  .grid-3,
  .grid-2,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: flex;
    position: absolute;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    gap: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    z-index: 15;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    align-items: center;
  }
}
