/* ============================================================
   ASCAX Inc. — corporate brand site (www.ascax.com)
   Zero-build stylesheet: the site ships as plain static files so it can be
   served straight from disk by nginx with no runtime dependencies.
   ============================================================ */

:root {
  --ink: #0b1020;
  --ink-soft: #35405a;
  --muted: #6b7794;
  --line: #e4e8f2;
  --surface: #ffffff;
  --canvas: #f6f8fc;
  --brand: #2f5bd7;
  --brand-deep: #1b3a99;
  --accent: #12c2a0;
  --radius: 16px;
  --maxw: 1080px;
  --shadow: 0 18px 40px -24px rgba(15, 26, 60, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---- header ---- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  align-items: center;
  display: flex;
  gap: 24px;
  height: 68px;
  justify-content: space-between;
}
.brand-link { align-items: center; color: var(--ink); display: flex; gap: 10px; font-weight: 700; letter-spacing: 0.02em; }
.brand-link:hover { text-decoration: none; }
.brand-link svg { height: 26px; width: 26px; }
.nav { align-items: center; display: flex; gap: 22px; }
.nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .cta { color: #fff; margin-left: 4px; }

/* ---- buttons ---- */
.btn,
.cta {
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
  padding: 11px 22px;
  text-align: center;
}
.btn {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.cta { background: var(--ink); color: #fff; font-size: 14px; padding: 9px 18px; }
.cta:hover { background: var(--brand-deep); text-decoration: none; }

/* ---- hero ---- */
.hero {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(47, 91, 215, 0.16), transparent 60%),
    radial-gradient(760px 380px at 92% 8%, rgba(18, 194, 160, 0.16), transparent 62%),
    var(--canvas);
  padding: 84px 0 72px;
}
.hero .wrap { align-items: center; display: grid; gap: 48px; grid-template-columns: 1.05fr 0.95fr; }
.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lede { color: var(--ink-soft); font-size: 18px; margin: 0 0 26px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }

/* ---- generic sections ---- */
section.band { padding: 72px 0; }
section.band.tinted { background: var(--canvas); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); margin: 0; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.card .tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-row { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 34px; }
.stat .n { color: var(--brand); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat .l { color: var(--muted); font-size: 14px; }

/* ---- product banner ---- */
.product-banner {
  align-items: center;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand) 55%, var(--accent));
  border-radius: 22px;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 36px;
}
.product-banner p { color: rgba(255, 255, 255, 0.88); margin: 0 0 20px; }
.product-banner h2 { color: #fff; }
.product-banner .links { display: flex; flex-wrap: wrap; gap: 12px; }
.product-banner .btn { background: #fff; border-color: #fff; color: var(--brand-deep); }
.product-banner .btn:hover { background: #f0f4ff; color: var(--brand-deep); }
.product-banner .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.product-mock { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 16px; padding: 18px; }
.product-mock span { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); margin-bottom: 10px; }
.product-mock span:nth-child(2) { width: 78%; }
.product-mock span:nth-child(3) { width: 62%; }
.product-mock span:last-child { margin-bottom: 0; width: 44%; }

/* ---- fact list ---- */
.fact-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact-list .row { align-items: baseline; border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 230px 1fr; padding: 16px 20px; }
.fact-list .row:last-child { border-bottom: 0; }
.fact-list .k { color: var(--muted); font-size: 14px; font-weight: 600; }
.fact-list .v { color: var(--ink); }
.fact-list .row:nth-child(odd) { background: var(--canvas); }

/* ---- prose (legal pages) ---- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 38px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }

/* ---- page header for inner pages ---- */
.page-head { background: var(--canvas); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); margin: 0; max-width: 68ch; }

/* ---- contact ---- */
.contact-grid { align-items: start; display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.note { background: #fff8e9; border: 1px solid #f2dcae; border-radius: 12px; color: #6b5320; font-size: 14px; padding: 14px 16px; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #c6cee2; margin-top: 0; padding: 54px 0 30px; }
.site-footer a { color: #eef2fb; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer-brand { align-items: center; color: #fff; display: flex; font-weight: 700; gap: 10px; margin-bottom: 12px; }
.footer-brand svg { height: 24px; width: 24px; }
.site-footer p { color: #9fabce; font-size: 14px; margin: 0 0 14px; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.12em; margin: 0 0 14px; text-transform: uppercase; }
.site-footer ul { line-height: 2; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); color: #8b97ba; font-size: 13px; margin-top: 34px; padding-top: 20px; }
.footer-bottom .sep { margin: 0 8px; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero .wrap, .product-banner, .contact-grid { grid-template-columns: 1fr; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.cta) { font-size: 14px; }
  .fact-list .row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-bottom: 12px; padding-top: 12px; row-gap: 10px; }
  .nav { flex-wrap: wrap; gap: 10px 14px; }
  .nav a:not(.cta) { font-size: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section.band { padding: 52px 0; }
}
