:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f0f2f5;
  --text: #16181d;
  --text-soft: #667085;
  --border: #e3e6eb;
  --accent: #315efb;
  --accent-dark: #2447c6;
  --shadow: 0 18px 50px rgba(25, 31, 45, 0.08);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(49, 94, 251, 0.08),
      transparent 30%
    ),
    var(--bg);

  color: var(--text);

  line-height: 1.6;
}

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

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

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;

  backdrop-filter: blur(18px);

  background: rgba(247, 248, 250, 0.86);

  border-bottom: 1px solid rgba(227, 230, 235, 0.85);
}

.header-inner {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 11px;

  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand-logo {
  display: block;

  width: 36px;
  height: 36px;

  border-radius: 9px;
}

.nav {
  display: flex;

  gap: 24px;

  font-size: 0.95rem;

  color: var(--text-soft);
}

.nav a {
  transition: color 0.15s ease;
}

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

/* HERO */

.hero {
  padding: 96px 0 70px;
}

.hero-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(280px, 0.8fr);

  gap: 56px;

  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;

  text-transform: uppercase;

  letter-spacing: 0.12em;

  font-size: 0.76rem;

  font-weight: 700;

  color: var(--accent);
}

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

h1 {
  max-width: 820px;

  margin-bottom: 24px;

  font-size: clamp(3rem, 7vw, 5.6rem);

  line-height: 0.98;

  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 710px;

  margin-bottom: 32px;

  font-size: 1.16rem;

  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 20px;

  border-radius: 999px;

  font-weight: 650;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button.primary {
  background: var(--accent);

  color: white;
}

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

  transform: translateY(-1px);
}

.button.secondary {
  background: var(--surface);

  border: 1px solid var(--border);
}

.button.secondary:hover {
  transform: translateY(-1px);

  box-shadow: var(--shadow);
}

/* HERO PROJECT CARD */

.hero-card {
  position: relative;

  padding: 28px;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  background: rgba(255, 255, 255, 0.88);

  box-shadow: var(--shadow);
}

.hero-card span {
  display: block;

  margin-bottom: 6px;

  font-size: 0.82rem;

  color: var(--text-soft);
}

.hero-card strong {
  display: block;

  margin-bottom: 12px;

  font-size: 1.35rem;
}

.hero-card p {
  margin-bottom: 0;

  color: var(--text-soft);
}

.status-dot {
  width: 10px;
  height: 10px;

  margin-bottom: 18px;

  border-radius: 50%;

  background: #39a96b;

  box-shadow:
    0 0 0 7px rgba(57, 169, 107, 0.12);
}

/* SECTIONS */

.section {
  padding: 64px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section h2 {
  margin-bottom: 0;

  font-size: clamp(2rem, 4vw, 3.2rem);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

/* PROJECTS */

.project-grid {
  display: grid;

  grid-template-columns: 1.4fr 0.8fr;

  gap: 20px;
}

.project-card {
  min-height: 310px;

  padding: 30px;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  background: var(--surface);
}

.project-card.featured {
  box-shadow: var(--shadow);
}

.project-card.muted {
  background: var(--surface-soft);
}

.project-topline {
  display: flex;

  justify-content: space-between;

  gap: 16px;

  margin-bottom: 48px;
}

.project-tag,
.project-type {
  font-size: 0.78rem;

  color: var(--text-soft);
}

.project-tag {
  padding: 6px 10px;

  border-radius: 999px;

  background: rgba(49, 94, 251, 0.08);

  color: var(--accent);
}

.project-tag.subtle {
  background: rgba(22, 24, 29, 0.06);

  color: var(--text-soft);
}

.project-card h3 {
  margin-bottom: 14px;

  font-size: 1.8rem;

  letter-spacing: -0.03em;
}

.project-card p {
  max-width: 700px;

  color: var(--text-soft);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 28px;
}

.project-meta span {
  padding: 7px 10px;

  border-radius: 999px;

  background: var(--surface-soft);

  color: var(--text-soft);

  font-size: 0.78rem;
}

/* ABOUT */

.about {
  padding-bottom: 96px;
}

.about-grid {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 56px;
}

.about-copy {
  font-size: 1.08rem;

  color: var(--text-soft);
}

/* PRIVACY */

.privacy-section {
  padding-top: 84px;
  padding-bottom: 100px;
}

.privacy-container {
  max-width: 820px;
}

.privacy-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

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

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  min-height: 88px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--text-soft);

  font-size: 0.9rem;
}

.footer-links {
  display: flex;

  gap: 18px;
}

/* TABLET */

@media (max-width: 860px) {

  .hero {
    padding-top: 64px;
  }

  .hero-inner,
  .project-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 32px;
  }

  .project-card {
    min-height: unset;
  }
}

/* MOBILE */

@media (max-width: 620px) {

  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand span {
    font-size: 0.95rem;
  }

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

  .nav {
    gap: 14px;

    font-size: 0.88rem;
  }

  .nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero {
    padding-top: 52px;
  }

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

  .button {
    width: 100%;
  }

  .footer-inner {
    padding: 22px 0;

    align-items: flex-start;

    flex-direction: column;
  }
}
