:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #0b1628;
  --muted: #5f6675;
  --border: #e6e8ec;
  --primary: #0f172a;
  --shadow: 0 12px 50px rgba(12, 22, 40, 0.08);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, #ffffff, #f0f2f8 55%, #e9ecf5 100%);
  color: var(--text);
  line-height: 1.6;
}

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

p {
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(34px, 4vw, 46px);
}

h2 {
  font-size: clamp(26px, 3vw, 32px);
}

h3 {
  font-size: 20px;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}

.narrow {
  max-width: 820px;
}

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

.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  flex-wrap: wrap;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1f2937);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  font-size: 17px;
}

.brand-tagline {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  gap: 14px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.link {
  color: var(--text);
  padding: 10px 8px;
  border-bottom: 1px solid transparent;
}

.btn.link:hover {
  border-color: var(--text);
}

.btn.full-width {
  width: 100%;
}

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

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  align-content: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
}

.meta-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.muted {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-grid .card,
.services-grid .card {
  min-height: 150px;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), #eef1f7);
}

.steps-grid .step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.step-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.logo-badge {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.logo-badge img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: #0f172a;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  mix-blend-mode: screen;
}

.logo-badge-text strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
}

.form-card {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #f6f7fb;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0f172a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.status-message {
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef2ff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.status-message:empty {
  display: none;
}

.status-message[data-state="success"] {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.status-message[data-state="error"] {
  background: #fef2f2;
  border-color: #fecdd3;
  color: #b91c1c;
}

.status-message[data-state="sending"] {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.page-hero {
  padding: 80px 0 52px;
}

.cta-band {
  background: linear-gradient(120deg, #0f172a, #1f2937);
  color: #fff;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-content .muted {
  color: rgba(255, 255, 255, 0.75);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.bullet-list {
  padding-left: 20px;
  margin: 8px 0 0;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 30px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-contact p {
  margin: 0 0 6px;
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

.nav-open .main-nav {
  display: flex;
}

@media (max-width: 720px) {
  .header-bar {
    justify-content: space-between;
  }

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

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 8px;
    border-radius: 8px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 72px 0 60px;
  }

  .section {
    padding: 48px 0;
  }

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