:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --dark: #020617;
  --dark-soft: #0f172a;
  --sky: #0284c7;
  --sky-strong: #0369a1;
  --white: #ffffff;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 50px rgba(2, 6, 23, 0.18);
  --header-height: 89px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(2, 6, 23, 0.9);
  border-color: #1e293b;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.site-header.scrolled .header-logo { color: var(--white); }
.logo-box {
  fill: rgba(15, 23, 42, 0.05);
  stroke: rgba(15, 23, 42, 0.1);
  stroke-width: 1.5;
}
.site-header.scrolled .logo-box {
  fill: rgba(255,255,255,0.08);
  stroke: rgba(255,255,255,0.14);
}
.logo-stroke { stroke: currentColor; }
.logo-fill { fill: currentColor; }
.logo-text-wrap { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.26em;
}
.logo-subtitle {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.site-header.scrolled .logo-subtitle { color: rgba(255,255,255,0.72); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
}
.nav-link {
  color: #334155;
  transition: color 0.2s ease;
}
.nav-link:hover { color: #020617; }
.site-header.scrolled .nav-link { color: rgba(255,255,255,0.85); }
.site-header.scrolled .nav-link:hover { color: #ffffff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}
.button-primary {
  background: var(--dark-soft);
  color: var(--white);
}
.button-primary:hover { background: #1e293b; }
.button-outline {
  background: var(--white);
  color: var(--text);
  border-color: #cbd5e1;
}
.button-outline:hover { background: #f8fafc; }
.button-sky {
  background: #0284c7;
  color: var(--white);
}
.button-sky:hover { background: var(--sky-strong); }
.icon-arrow { display: inline-flex; }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero-copy h1,
.services-section h2,
.contact-section h2,
.legal-content h1 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); }
.hero-copy p {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted-light);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.hero-card {
  border-radius: var(--radius-2xl);
  padding: 40px;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a 0%, #0284c7 100%);
  box-shadow: var(--shadow-lg);
}
.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #64748b;
}
.eyebrow.light { color: rgba(255,255,255,0.6); }
.hero-card h3,
.card h3,
.step-card h3,
.legal-content h2 {
  margin: 16px 0 0;
}
.hero-card h3 {
  font-size: 1.65rem;
  line-height: 1.35;
}
.hero-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.hero-tag {
  padding: 16px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
}

.services-section {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  padding: 96px 0;
}
.services-section h2,
.contact-section h2,
.section-intro h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}
.card-grid {
  display: grid;
  gap: 24px;
}
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-soft { background: var(--surface-soft); }
.card-dark {
  background: var(--dark-soft);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.manufacturer-card { margin-top: 24px; }
.icon-badge {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
}
.icon-badge.dark { background: var(--dark-soft); color: var(--white); }
.card h3 {
  font-size: 1.6rem;
  line-height: 1.25;
}
.card-copy,
.step-card p:last-child,
.contact-copy,
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}
.card-copy p { margin: 16px 0 0; }
.feature-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 34px;
  margin-top: 12px;
}
.feature-list li::before,
.icon-check::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.feature-list-dark li {
  color: rgba(255,255,255,0.85);
}
.feature-list-dark li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.manufacturer-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.manufacturer-head h3 {
  margin: 0;
  font-size: 1.3rem;
}
.section-block { margin-top: 80px; }
.step-card .step-no {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #94a3b8;
}
.step-card h3 {
  font-size: 1.25rem;
  color: var(--text);
}
.step-card p:last-child { margin: 12px 0 0; }
.section-intro.narrow { max-width: 760px; }
.benefit-card { background: var(--surface-soft); }
.benefit-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.icon-check {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 4px;
}
.icon-check::before {
  position: static;
  display: block;
}
.benefit-line p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.contact-section {
  background: var(--dark);
  color: var(--white);
  padding: 96px 0;
}
.contact-inner { text-align: center; max-width: 960px; }
.contact-copy {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255,255,255,0.72);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.contact-card {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: left;
}
.contact-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.contact-card p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.75);
}
.contact-card a:hover { text-decoration: underline; }

.legal-footer {
  width: 100%;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 0;
}
.legal-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-page {
  min-height: calc(100vh - var(--header-height) - 121px);
  background: var(--surface);
  margin-top: 0;
  padding-top: 96px;
  padding-bottom: 96px;
}
.legal-content {
  max-width: 768px;
}
.legal-wide { max-width: 896px; }
.legal-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}
.legal-content h2 {
  font-size: 1.65rem;
  margin-top: 40px;
}
.legal-content p { margin: 16px 0 0; }
.legal-content .spaced { margin-top: 24px; }
.legal-list { color: var(--muted); }

@media (max-width: 1024px) {
  .hero-section,
  .two-col,
  .three-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-section { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-height: 84px; }
  .container { width: min(100% - 32px, 1280px); }
  .header-inner { gap: 16px; }
  .main-nav { display: none; }
  .logo-title { font-size: 1rem; letter-spacing: 0.22em; }
  .logo-subtitle { font-size: 0.68rem; }
  .hero-section,
  .services-section,
  .contact-section,
  .legal-page { padding-top: 72px; padding-bottom: 72px; }
  .hero-card,
  .card,
  .contact-card { padding: 24px; }
  .hero-tags { grid-template-columns: 1fr; }
}


/* spacing fix */
.services-section h2 { margin-bottom: 28px; }
.section-block h2 { margin-bottom: 28px; }
