* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --dark: #111827;
  --dark-soft: rgba(255,255,255,0.06);
  --radius: 28px;
  --shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-box {
  height: 46px;
  width: 46px;
  border-radius: 18px;
  border: 1px solid #d1d5db;
  background: white;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-box-large {
  height: 64px;
  width: 64px;
  border-radius: 22px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--text);
}

.logo-icon-large {
  width: 40px;
  height: 40px;
}

.brand-text {
  line-height: 1;
}

.brand-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.brand-name-large {
  font-size: 38px;
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.hero-grid,
.split,
.contact-grid,
.legal-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 84px 0;
  gap: 56px;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  color: var(--text);
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy p,
.card p,
.legal-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-copy p {
  max-width: 720px;
  font-size: 20px;
  margin-top: 24px;
}

.pill,
.section-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow);
  font-size: 14px;
  margin-bottom: 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  border: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-light {
  background: white;
  color: var(--text);
  border-color: #d1d5db;
}

.hero-card,
.card,
.dark-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.card {
  background: white;
}

.hero-card {
  padding: 34px;
}

.card {
  padding: 32px;
}

.card-soft {
  background: var(--bg-soft);
}

.hero-list,
.dark-grid,
.services-grid {
  display: grid;
  gap: 14px;
}

.hero-list {
  margin-top: 28px;
}

.hero-item {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--muted);
}

.split {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.services-grid {
  margin-top: 32px;
  grid-template-columns: repeat(4, 1fr);
}

.service-card h3,
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.section-dark {
  padding-top: 0;
}

.dark-panel {
  background: var(--dark);
  color: white;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.section-label-dark {
  color: rgba(255,255,255,0.55);
}

.dark-item {
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--dark-soft);
  border-radius: 18px;
  padding: 18px;
  color: rgba(255,255,255,0.85);
}

.contact-grid,
.legal-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: white;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--text);
}

.legal-copy p {
  margin: 0 0 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .dark-panel,
  .contact-grid,
  .legal-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .brand-name-large {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid {
    padding: 64px 0;
  }

  .section {
    padding: 64px 0;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-name-large {
    font-size: 28px;
  }

  .brand-subtitle {
    letter-spacing: 0.12em;
    line-height: 1.4;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
}
