/* ============================================================
   ASICS.ws — modern redesign
   Dark silicon theme · self-contained (no external assets)
   ============================================================ */

:root {
  --bg: #0a0e17;
  --bg-raised: #101624;
  --bg-card: #131a2b;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e6ebf4;
  --text-dim: #9aa7bd;
  --text-faint: #64748b;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --accent-ink: #052e2b;
  --gradient: linear-gradient(100deg, #2dd4bf, #38bdf8);
  --radius: 14px;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(45, 212, 191, 0.3); }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand .logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--gradient);
  color: #04121f !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { filter: brightness(1.1); background: var(--gradient) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  padding: 6px 10px;
  font-size: 1.15rem;
  cursor: pointer;
}

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 70% 0%, rgba(56, 189, 248, 0.13), transparent 65%),
    radial-gradient(ellipse 50% 45% at 15% 100%, rgba(45, 212, 191, 0.10), transparent 65%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 88px; }

.hero.hero-sub .wrap { padding-top: 64px; padding-bottom: 56px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 1.15rem;
  color: var(--text-dim);
}

.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--gradient); color: #04121f; }
.btn-primary:hover { filter: brightness(1.1); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(148, 163, 184, 0.05);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 72px;
}

.stat { background: var(--bg-raised); padding: 26px 24px; }

.stat .num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label { color: var(--text-dim); font-size: 0.92rem; margin-top: 4px; }

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

section.block { padding: 88px 0; }
section.block.tight { padding: 64px 0; }
section.block + section.block { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.section-head p { margin-top: 14px; color: var(--text-dim); font-size: 1.05rem; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: rgba(45, 212, 191, 0.45); transform: translateY(-3px); }

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  margin-bottom: 18px;
  font-size: 1.15rem;
}

.card h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag.alt { color: var(--accent-2); background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.25); }

/* ---------- Feature split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 750; letter-spacing: -0.015em; }
.split p { margin-top: 14px; color: var(--text-dim); }

.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }

.checklist li { padding-left: 32px; position: relative; color: var(--text-dim); }

.checklist li strong { color: var(--text); font-weight: 600; }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ---------- Bus standards strip ---------- */

.bus-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 40px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  font-family: var(--mono);
  letter-spacing: 0.16em;
  color: var(--text-faint);
  font-size: 0.95rem;
}

.bus-strip span { transition: color 0.2s; }
.bus-strip span:hover { color: var(--accent); }

/* ---------- News / timeline ---------- */

.timeline { list-style: none; display: grid; gap: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: none; }

.timeline time {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.timeline h3 { font-size: 1.05rem; font-weight: 650; }
.timeline p { color: var(--text-dim); font-size: 0.95rem; margin-top: 4px; }

/* ---------- Category label ---------- */

.cat-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0 24px;
}
.cat-label:first-of-type { margin-top: 0; }

.cat-label h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cat-label .rule { height: 1px; background: var(--line); flex: 1; }

.cat-label .count {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  white-space: nowrap;
}

/* ---------- Tables (free cores) ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

table.cores { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--bg-card); }

table.cores th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg-raised);
  white-space: nowrap;
}

table.cores td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.92rem;
  color: var(--text-dim);
}

table.cores tr:last-child td { border-bottom: none; }
table.cores tr:hover td { background: rgba(148, 163, 184, 0.04); }

table.cores td.name { color: var(--text); font-weight: 600; min-width: 200px; }
table.cores td.yes { color: var(--accent); text-align: center; }
table.cores td.no { color: var(--text-faint); text-align: center; }
table.cores th.c { text-align: center; }

/* ---------- Steps (services) ---------- */

.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.step h3 { font-size: 1.08rem; font-weight: 650; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- CTA band ---------- */

.cta-band {
  margin: 88px 0;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(45, 212, 191, 0.16), transparent 70%),
    var(--bg-raised);
}

.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; letter-spacing: -0.015em; }
.cta-band p { color: var(--text-dim); margin: 14px auto 30px; max-width: 52ch; }

/* ---------- Press / badges ---------- */

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

.badge-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-card);
}

.badge-card .when {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

.badge-card h3 { font-size: 1rem; font-weight: 650; margin-top: 8px; }

/* ---------- Prose (about) ---------- */

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.01em; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-dim); margin-bottom: 16px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

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

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

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

.contact-card .role {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.contact-card h3 { font-size: 1.15rem; font-weight: 700; margin: 10px 0 14px; }

.contact-card dl { display: grid; gap: 6px; font-size: 0.95rem; }
.contact-card dt { display: none; }
.contact-card dd { color: var(--text-dim); }
.contact-card a { color: var(--accent); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-raised);
}

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

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

.footer-grid .about { color: var(--text-faint); font-size: 0.9rem; max-width: 34ch; }

.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; display: grid; gap: 10px; }

.footer-grid ul a { color: var(--text-dim); text-decoration: none; font-size: 0.93rem; }
.footer-grid ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4, .steps, .badges { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 14, 23, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .hero .wrap { padding-top: 64px; padding-bottom: 60px; }
  section.block { padding: 60px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps, .badges, .contact-cards { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .cta-band { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 18px; }
  .stat .num { font-size: 1.5rem; }
}

/* ---------- v8: real company logo & client wall ---------- */

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.site-footer .brand-logo { height: 48px; margin-bottom: 12px; }

.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.client-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  transition: transform 0.15s;
}
.client-tile:hover { transform: translateY(-2px); }

.client-tile img { width: 100%; height: 92px; object-fit: contain; }

@media (max-width: 960px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Membership badges ---------- */

.badge-card .member-logo {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 16px;
  display: block;
}
