:root {
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --tint: #EEF6FF;
  --accent: #6FB7FF;
  --text: #0A0F1A;
  --muted: #5C6B7A;
  --border: rgba(10, 15, 26, 0.08);
  --max-w: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

.hero-glow {
  position: fixed;
  top: -200px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(111, 183, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

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

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

.hero {
  padding: 180px 0 120px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero-micro {
  font-size: 14px;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 28px;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.btn-primary:hover {
  background: #1a2233;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(10, 15, 26, 0.2);
  background: var(--off-white);
}

.btn-full {
  width: 100%;
}

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

.trust-row span {
  font-size: 14px;
  color: var(--muted);
}

.trust-row .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.info-stack {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
}

.info-stack-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 24px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.info-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.micro-caption {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
}

.results {
  padding: 120px 0;
  background: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin-bottom: 32px;
}

.result-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.result-metric {
  display: block;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.result-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 8px;
  margin-bottom: 16px;
}

.result-context {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.results-context {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}

.testimonial {
  max-width: 640px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.testimonial blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
}

.services {
  padding: 120px 0;
  background: var(--tint);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
  grid-column: span 1;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.card-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.process {
  padding: 120px 0;
  background: var(--white);
}

.process-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  padding: 120px 0;
  background: var(--tint);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-left p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 380px;
}

.contact-right {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

#lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#lead-form input,
#lead-form textarea,
#lead-form select {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

#lead-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235C6B7A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

#lead-form select option[value=""][disabled] {
  color: var(--muted);
}

#lead-form .hidden {
  display: none;
}

#lead-form input::placeholder,
#lead-form textarea::placeholder,
#lead-form select:invalid {
  color: var(--muted);
}

#lead-form input:focus,
#lead-form textarea:focus,
#lead-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(111, 183, 255, 0.12);
}

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

#lead-form .btn {
  margin-top: 8px;
}

#form-message {
  text-align: center;
  font-size: 14px;
  min-height: 20px;
}

#form-message.success {
  color: #16a34a;
}

#form-message.error {
  color: #dc2626;
}

.blog-hero {
  padding: 160px 0 80px;
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.blog-hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
}

.blog-list {
  padding: 80px 0 120px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.post-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.post-date {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.post-card h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.post-link:hover {
  color: var(--accent);
}

.blog-post {
  padding: 140px 0 80px;
}

.container-narrow {
  max-width: 720px;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 32px;
}

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

.post-header {
  margin-bottom: 48px;
}

.post-header h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 16px;
}

.post-reading-time {
  font-size: 13px;
  color: var(--muted);
  margin-left: 16px;
}

.post-content {
  font-size: 17px;
  line-height: 1.8;
}

.post-content h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 20px;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 16px;
}

.post-content p {
  margin-bottom: 20px;
  color: var(--text);
}

.post-content ul,
.post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 10px;
  color: var(--text);
}

.post-content strong {
  font-weight: 600;
}

.post-cta {
  background: var(--tint);
  border-radius: 16px;
  padding: 40px;
  margin-top: 64px;
  text-align: center;
}

.post-cta h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.post-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.related-posts {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 20px;
}

.related-posts ul {
  list-style: none;
  padding: 0;
}

.related-posts li {
  margin-bottom: 12px;
}

.related-posts a {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.related-posts a:hover {
  color: var(--accent);
}

.blog-preview {
  padding: 120px 0;
  background: var(--white);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.blog-preview-card {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.blog-preview-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-preview-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-preview-card h3 a:hover {
  color: var(--accent);
}

.blog-preview-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.blog-preview-cta {
  text-align: center;
}

.footer {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-right {
    max-width: 400px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 72px;
  }
  
  .results,
  .services,
  .process,
  .contact,
  .blog-preview {
    padding: 72px 0;
  }
  
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-hero {
    padding: 120px 0 60px;
  }
  
  .blog-post {
    padding: 120px 0 60px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .section-header {
    margin-bottom: 48px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .trust-row {
    flex-wrap: wrap;
  }
  
  .contact-right {
    padding: 28px;
  }
}
