:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-soft: #f1f3f6;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --brand: #1e40af;
  --brand-soft: #eef2ff;
  --brand-strong: #1e3a8a;
  --accent: #0ea5e9;
  --max-width: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

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

/* ======== HEADER ======== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}

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

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

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

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ======== HERO ======== */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(60% 60% at 70% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 60%),
    radial-gradient(50% 50% at 20% 0%, rgba(30, 64, 175, 0.05) 0%, transparent 60%),
    var(--bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 820px;
  color: var(--text);
}

h1 .accent { color: var(--brand); }

.hero p.lead {
  margin-top: 20px;
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.55;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-strong); text-decoration: none; }

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--text-faint); text-decoration: none; }

@media (max-width: 720px) {
  .hero { padding: 64px 0 48px; }
  h1 { font-size: 38px; }
  .hero p.lead { font-size: 17px; }
}

/* ======== SECTIONS ======== */
section { padding: 80px 0; }

@media (max-width: 720px) {
  section { padding: 56px 0; }
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

h2 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.section-header p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 17px;
}

@media (max-width: 720px) {
  h2 { font-size: 28px; }
}

/* ======== PRODUCTS ======== */
.products-section { background: var(--bg-soft); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.2s ease;
}

.product-card:hover {
  border-color: var(--text-faint);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card .product-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.product-card.factnet .product-mark { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.product-card.dealbase .product-mark { background: linear-gradient(135deg, #059669, #10b981); }
.product-card.zpace .product-mark { background: linear-gradient(135deg, #dc2626, #f97316); }

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.product-region {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}

.product-link:hover { gap: 10px; transition: gap 0.2s; }

/* ======== ABOUT ======== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.about-grid h2 { margin-bottom: 24px; }

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.facts {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact {
  padding: 20px 24px;
  background: var(--bg-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
}

.fact-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* ======== CONTACT ======== */
.contact-section { background: var(--bg-soft); }

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-card .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card .email {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  word-break: break-all;
}

.contact-card .desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ======== FOOTER ======== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand .brand { margin-bottom: 12px; }

.footer-brand .legal-disclosure {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 400px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-col a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ======== LEGAL PAGES ======== */
.legal-page {
  padding: 64px 0 96px;
  background: var(--bg);
}

.legal-page .container { max-width: 760px; }

.legal-page h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-page h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.72;
  margin-bottom: 14px;
}

.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page strong { color: var(--text); }

.legal-page .callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
}

.legal-page .callout p:last-child { margin-bottom: 0; }

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}

.legal-page th, .legal-page td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
}

.legal-page td { color: var(--text-muted); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

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