/* Modrino Technologies — corporate site.
   On-brand with the Modrino logo kit: steel blue + deep navy-indigo ("Dark Violet").
   Distinct from BrandPro 360 (neutral-black / cyan) via an indigo-navy base.
   (bg #0A0B1A, surface #12142A, brand blue #3D8BE0, indigo #6366E8, navy #1A1C4E) */

:root {
  --bg: #0A0B1A;
  --surface: #12142A;
  --surface-2: #181A33;
  --surface-3: #20223F;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.42);
  --blue: #3D8BE0;
  --blue-2: #2E74BC;
  --blue-light: #6FA8EC;
  --indigo: #6366E8;
  --indigo-deep: #1A1C4E;
  --link: #6FA8EC;
  --radius: 20px;
}

[data-theme="light"] {
  --bg: #F5F6FC;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --surface-3: #EAEDF7;
  --border: rgba(16, 20, 52, 0.09);
  --border-strong: rgba(16, 20, 52, 0.16);
  --text: #10142C;
  --text-dim: rgba(16, 20, 44, 0.66);
  --text-faint: rgba(16, 20, 44, 0.46);
  --link: #2E74BC;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(61, 139, 224, 0.4); }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand .logo { height: 30px; width: auto; display: block; }
.brand .logo-light { display: none; }
[data-theme="light"] .brand .logo-dark { display: none; }
[data-theme="light"] .brand .logo-light { display: block; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.2s; white-space: nowrap; }
nav a:hover { color: var(--text); }
nav a.nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(61, 139, 224, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}
nav a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(61, 139, 224, 0.55); }
@media (max-width: 600px) {
  nav { gap: 14px; }
  nav a { font-size: 13px; }
  nav a.nav-cta, nav a.nav-hide { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 720px;
  background:
    radial-gradient(ellipse 600px 420px at 36% 28%, rgba(61, 139, 224, 0.24), transparent 65%),
    radial-gradient(ellipse 520px 380px at 70% 46%, rgba(99, 102, 232, 0.16), transparent 65%),
    radial-gradient(ellipse 420px 320px at 56% 72%, rgba(46, 116, 188, 0.10), transparent 65%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero-copy { max-width: 560px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(111, 168, 236, 0.35);
  background: rgba(111, 168, 236, 0.08);
  color: var(--blue-light);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 26px;
}
.pill .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 168, 236, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(111, 168, 236, 0); }
}
.hero h1 {
  font-size: clamp(34px, 4.7vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(95deg, var(--blue) 5%, var(--blue-light) 55%, var(--indigo) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 490px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 30px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(61, 139, 224, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(61, 139, 224, 0.55); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.hero-trust { color: var(--text-faint); font-size: 13.5px; }
.hero-trust strong { color: var(--text-dim); font-weight: 600; }

/* ---------- Hero product board ---------- */
.board-wrap { position: relative; display: flex; justify-content: center; }
.board-wrap::before {
  content: "";
  position: absolute;
  inset: -12% -14%;
  background: radial-gradient(ellipse at 52% 42%, rgba(61, 139, 224, 0.22), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.board {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--border);
}
.board-head .bh-title { font-weight: 700; font-size: 15px; }
.board-head .bh-title small { display: block; font-weight: 500; font-size: 12px; color: var(--text-faint); }
.board-head .dot-set { display: flex; gap: 6px; }
.board-head .dot-set i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.board-head .dot-set i:nth-child(1) { background: var(--indigo); }
.board-head .dot-set i:nth-child(2) { background: var(--blue); }
.board-head .dot-set i:nth-child(3) { background: var(--blue-light); }
.prod-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 12px; border-radius: 14px;
  transition: background 0.3s;
}
.prod-row + .prod-row { margin-top: 4px; }
.prod-row.live { background: rgba(61, 139, 224, 0.07); border: 1px solid rgba(61, 139, 224, 0.2); }
.prod-row .pr-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  background: rgba(99, 102, 232, 0.14); border: 1px solid rgba(99, 102, 232, 0.28);
}
.prod-row.live .pr-ico { background: rgba(61, 139, 224, 0.16); border-color: rgba(61, 139, 224, 0.32); }
.prod-row .pr-mid { flex: 1; min-width: 0; }
.prod-row .pr-name { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-row .pr-desc { font-size: 12px; color: var(--text-faint); }
.prod-row .pr-status {
  flex: none; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.prod-row .pr-status.s-live { color: var(--blue-light); background: rgba(61, 139, 224, 0.14); border: 1px solid rgba(61, 139, 224, 0.32); display: inline-flex; align-items: center; gap: 6px; }
.prod-row .pr-status.s-live .ld { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); animation: pulse 1.6s infinite; }
.prod-row .pr-status.s-soon { color: var(--indigo); background: rgba(99, 102, 232, 0.12); border: 1px solid rgba(99, 102, 232, 0.3); }
.prod-row.dim { opacity: 0.6; }
.board-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-faint); text-align: center;
}

/* floating chips around the board */
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  background: rgba(18, 20, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.float-chip .ico { font-size: 15px; }
.float-chip.c1 { top: 8%; left: -7%; animation: floaty 8s 0.6s ease-in-out infinite; }
.float-chip.c2 { top: 46%; right: -11%; animation: floaty 9s 1.4s ease-in-out infinite; }
.float-chip.c3 { bottom: 7%; left: -3%; animation: floaty 7.5s 0.2s ease-in-out infinite; }
[data-theme="light"] .float-chip { color: var(--text); background: rgba(255, 255, 255, 0.92); }
@media (max-width: 1020px) {
  .float-chip.c1 { left: 1%; }
  .float-chip.c2 { right: 0; }
  .float-chip.c3 { left: 4%; }
}
@media (max-width: 560px) { .float-chip { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .board { animation: none; }
  .float-chip { animation: none; }
  .pill .pulse { animation: none; }
}

@media (max-width: 880px) {
  .hero { padding: 60px 0 50px; }
  .hero .container { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Capability marquee ---------- */
.capband {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.015);
}
.capband .container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.capband .label { color: var(--text-faint); font-size: 13px; font-weight: 500; text-align: center; }
.cap-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.cap-track { display: flex; width: max-content; animation: capScroll 34s linear infinite; }
.cap-marquee:hover .cap-track { animation-play-state: paused; }
@keyframes capScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cap-chip {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; white-space: nowrap;
  margin-right: 14px; color: var(--text-dim); font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 16px;
}
[data-theme="light"] .capband { background: rgba(16, 20, 44, 0.015); }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
.kicker {
  display: block; text-align: center; color: var(--blue-light);
  font-size: 13px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 14px;
}
[data-theme="light"] .kicker { color: var(--link); }
h2.section-title {
  text-align: center; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800;
  letter-spacing: -0.8px; line-height: 1.2; max-width: 640px; margin: 0 auto 14px;
}
p.section-sub {
  text-align: center; color: var(--text-dim); font-size: 16.5px;
  max-width: 560px; margin: 0 auto 56px;
}
p.section-sub em { color: var(--blue-light); font-style: normal; font-weight: 600; }

/* ---------- What we do (pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  transition: transform 0.25s, border-color 0.25s;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(61, 139, 224, 0.35); }
.pillar .p-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; font-size: 21px; border-radius: 14px;
  background: rgba(61, 139, 224, 0.12); border: 1px solid rgba(61, 139, 224, 0.25); margin-bottom: 18px;
}
.pillar h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; }
.pillar p { color: var(--text-dim); font-size: 14.5px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  transition: border-color 0.25s;
}
.product:hover { border-color: rgba(61, 139, 224, 0.3); }
.product .pr-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--blue-light); background: rgba(61, 139, 224, 0.1);
  border: 1px solid rgba(61, 139, 224, 0.3); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.product .pr-tag .ld { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); animation: pulse 1.6s infinite; }
.product h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 10px; }
.product .pr-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product .pr-logo-row img { width: 40px; height: 40px; border-radius: 11px; }
.product p { color: var(--text-dim); font-size: 16px; margin-bottom: 22px; max-width: 460px; }
.product .pr-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.product .meta-chip {
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: 999px; padding: 6px 13px;
}
.product .pr-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* product visual: BP360 mini card */
.bp-preview { display: flex; justify-content: center; }
.bp-card {
  width: 100%; max-width: 280px;
  background: #0A0C10; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.bp-art {
  position: relative; aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 82, 93, 0.5), transparent 36%),
    radial-gradient(circle at 18% 88%, rgba(82, 207, 254, 0.4), transparent 46%),
    linear-gradient(150deg, #1b3f8f 0%, #2a6ae0 48%, #163070 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 20px; color: #fff;
}
.bp-art .bp-badge { font-size: 9px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.bp-art .bp-head { font-size: 20px; font-weight: 800; line-height: 1.18; letter-spacing: -0.3px; text-shadow: 0 2px 14px rgba(0,0,0,0.35); }
.bp-art .bp-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 4px 11px; font-size: 9.5px; font-weight: 700;
}
.bp-foot { padding: 12px 14px 14px; display: flex; align-items: center; gap: 9px; }
.bp-foot .bp-dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg,#3384FC,#52CFFE); flex: none; }
.bp-foot .bp-line { flex: 1; }
.bp-foot .bp-l1 { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.14); margin-bottom: 5px; }
.bp-foot .bp-l2 { height: 7px; width: 60%; border-radius: 4px; background: rgba(255,255,255,0.10); }

@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 32px 24px; }
  .product p { margin-left: auto; margin-right: auto; }
  .product .pr-meta, .product .pr-actions, .product .pr-logo-row { justify-content: center; }
}

/* "more coming" teaser */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.soon-card {
  background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.soon-card .s-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; font-size: 20px; border-radius: 14px; margin-bottom: 14px;
  background: rgba(99, 102, 232, 0.1); border: 1px solid rgba(99, 102, 232, 0.25); color: var(--indigo);
}
.soon-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.soon-card p { color: var(--text-faint); font-size: 13.5px; }
@media (max-width: 820px) { .soon-grid { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.25s, border-color 0.25s;
}
.principle:hover { transform: translateY(-3px); border-color: rgba(99, 102, 232, 0.3); }
.principle .pn-num {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--indigo);
  background: rgba(99, 102, 232, 0.1); border: 1px solid rgba(99, 102, 232, 0.3);
}
.principle h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.principle p { color: var(--text-dim); font-size: 14px; }
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }

/* ---------- About band ---------- */
.about-band {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 48px 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.about-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 14px; }
.about-band p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 20px; text-align: center;
}
.about-stat .num {
  font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(95deg, var(--blue-light), var(--indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-stat .lbl { font-size: 12.5px; color: var(--text-faint); font-weight: 600; margin-top: 4px; }
@media (max-width: 820px) { .about-band { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; } }

/* ---------- CTA banner ---------- */
.banner {
  position: relative; border-radius: 28px; border: 1px solid rgba(61, 139, 224, 0.3);
  background:
    radial-gradient(ellipse 480px 280px at 18% 0%, rgba(61, 139, 224, 0.28), transparent 65%),
    radial-gradient(ellipse 420px 260px at 88% 110%, rgba(99, 102, 232, 0.2), transparent 60%),
    linear-gradient(160deg, #15183a, #0c0d1f);
  padding: 64px 48px; text-align: center; overflow: hidden; color: #FFFFFF;
}
.banner h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 14px; }
.banner h2 .accent {
  background: linear-gradient(95deg, var(--blue-light), var(--indigo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.banner p { color: rgba(255, 255, 255, 0.66); font-size: 17px; max-width: 540px; margin: 0 auto 32px; }
.banner .contact-line { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.55); }
.banner .contact-line a { color: var(--blue-light); text-decoration: none; }
@media (max-width: 600px) { .banner { padding: 48px 24px; } }

/* ---------- Company details card ---------- */
.company-card {
  max-width: 620px;
  margin: 26px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 30px;
  text-align: left;
}
.company-card h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--blue-light); text-align: center; margin-bottom: 20px;
}
.company-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; margin: 0; }
.company-card dt { color: var(--text-faint); font-size: 13px; font-weight: 600; }
.company-card dd { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.company-card dd .muted { color: var(--text-faint); }
.company-card dd a { color: var(--link); text-decoration: none; }
.company-card dd a:hover { text-decoration: underline; }
.company-card dd.gstin {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text); letter-spacing: 0.4px;
}
@media (max-width: 560px) {
  .company-card { padding: 24px 22px; }
  .company-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .company-card dt { margin-top: 12px; }
  .company-card dt:first-child { margin-top: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Legal/contact pages ---------- */
main.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 90px; }
main.legal h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 6px; }
main.legal p.updated { color: var(--text-faint); font-size: 14px; margin-bottom: 38px; }
main.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; margin: 38px 0 10px; }
main.legal p, main.legal li { color: var(--text-dim); font-size: 15.5px; margin-bottom: 10px; }
main.legal ul { padding-left: 22px; margin-bottom: 12px; }
main.legal a { color: var(--link); }
main.legal strong { color: var(--text); }
main.legal .note {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--blue); border-radius: 12px; padding: 16px 18px; margin: 18px 0;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 56px;
  color: var(--text-faint);
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.012);
}
footer .container { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .logo { height: 24px; width: auto; display: block; }
.foot-brand .logo-light { display: none; }
[data-theme="light"] .foot-brand .logo-dark { display: none; }
[data-theme="light"] .foot-brand .logo-light { display: block; }
footer a { color: var(--text-faint); text-decoration: none; margin-right: 18px; transition: color 0.2s; }
footer a:hover { color: var(--text); }
footer a:last-child { margin-right: 0; }
[data-theme="light"] footer { background: rgba(16, 20, 44, 0.018); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: transparent;
  color: var(--text-dim); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--text); background: rgba(127, 127, 127, 0.08); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ic-moon { display: none; }
[data-theme="light"] .theme-toggle .ic-sun { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }

/* ---------- Light theme overrides ---------- */
[data-theme="light"] header { background: rgba(245, 246, 252, 0.8); }
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 600px 420px at 36% 28%, rgba(61, 139, 224, 0.14), transparent 65%),
    radial-gradient(ellipse 520px 380px at 70% 46%, rgba(99, 102, 232, 0.1), transparent 65%),
    radial-gradient(ellipse 420px 320px at 56% 72%, rgba(46, 116, 188, 0.08), transparent 65%);
}
[data-theme="light"] .pill { color: #2E74BC; border-color: rgba(46, 116, 188, 0.4); background: rgba(46, 116, 188, 0.08); }
[data-theme="light"] .pill .pulse { background: #2E74BC; }
[data-theme="light"] .hero h1 .accent {
  background: linear-gradient(95deg, #2E74BC 5%, #3D8BE0 55%, #4B4FCB 115%);
  -webkit-background-clip: text; background-clip: text;
}
[data-theme="light"] .btn-ghost { background: rgba(16, 20, 44, 0.03); }
[data-theme="light"] .btn-ghost:hover { background: rgba(16, 20, 44, 0.07); border-color: rgba(16, 20, 44, 0.25); }
[data-theme="light"] .board-wrap::before { background: radial-gradient(ellipse at 52% 42%, rgba(61, 139, 224, 0.16), transparent 62%); }
[data-theme="light"] .board { box-shadow: 0 30px 80px rgba(16, 20, 52, 0.18), inset 0 1px 0 rgba(255,255,255,0.6); }
