:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-dark: #202124;
  --text: #202124;
  --text-muted: #5f6368;
  --border: #dadce0;
  --primary: #1a73e8;
  --primary-hover: #1765c1;
  --primary-soft: #e8f0fe;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.1);
  --shadow: 0 1px 3px rgba(60, 64, 67, 0.12), 0 4px 12px rgba(60, 64, 67, 0.08);
  --max-w: 1120px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ Header */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  color: var(--text);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.brand-name {
  color: var(--primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition), transform 0.05s ease, border-color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

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

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.nav-cta {
  padding: 8px 20px !important;
  font-size: 14px;
}

/* ------------------------------------------------------------------ Hero */

.hero {
  padding: clamp(64px, 12vw, 128px) 0 clamp(80px, 14vw, 144px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 115, 232, 0.06), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  text-align: center;
}

.hero-inner {
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--text);
}

.hero-lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ Sections */

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-align: center;
  color: var(--text);
}

.section-lede {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ Services */

.services {
  padding: clamp(72px, 10vw, 112px) 0;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ About */

.about {
  padding: clamp(72px, 10vw, 112px) 0;
  background: var(--bg-alt);
}

.about-inner {
  max-width: 760px;
  text-align: center;
}

.about-inner p:not(.section-eyebrow) {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.7;
}

.about-inner p:last-of-type {
  margin: 0;
}

.about-inner .section-title {
  margin-bottom: 32px;
}

/* ------------------------------------------------------------------ Contact */

.contact {
  padding: clamp(72px, 10vw, 112px) 0;
}

.contact-inner {
  max-width: 600px;
}

.contact-inner .section-eyebrow,
.contact-inner .section-title,
.contact-inner .section-lede {
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.field {
  display: block;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.form-note {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.form-note a {
  color: var(--primary);
}

.form-note.success {
  color: var(--text);
  font-weight: 500;
}

/* ------------------------------------------------------------------ Footer */

.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-brand .brand-mark {
  color: #fff;
}

.footer-brand .brand-name {
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 8px;
  max-width: 680px;
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: start;
  }
}

/* ------------------------------------------------------------------ Mobile */

@media (max-width: 640px) {
  .nav-links {
    gap: 18px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .hero {
    padding: 64px 0 80px;
  }
  .service-card {
    padding: 28px;
  }
}
