/* =========================================================
   Digi Gosticx: design tokens + base
   Source: design/boards/*.dc.html (th-dark / th-light zones)
   Mixed theme: page body is light. Header, every hero, the
   signature section, the final CTA and the footer are black.
   Use .th-dark on those blocks; everything else inherits light.
   ========================================================= */

:root {
  /* Brand */
  --c-blue: #2457C9;
  --c-violet: #7A2FD0;
  --c-pink: #C42A6B;
  --c-wa: #1F9D55;
  --grad: linear-gradient(110deg, #2457C9 0%, #7A2FD0 50%, #C42A6B 100%);
  --grad-text: linear-gradient(110deg, #2457C9 0%, #7A2FD0 45%, #C42A6B 90%);
  --grad-text-dark: linear-gradient(110deg, #8AB0FF 0%, #C4B5FD 45%, #F472B6 90%);
  --grad-card: linear-gradient(150deg, #2457C9, #7A2FD0 60%, #C42A6B);

  /* Type */
  --f-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(34px, 3.7vw, 54px);       /* hero H1, max 54px */
  --fs-h1-side: clamp(32px, 3vw, 44px);    /* hero with a side visual */
  --fs-intro: 16.5px;
  --fs-h2: clamp(30px, 3.6vw, 46px);
  --fs-h3: 19px;
  --fs-lead: 18px;

  /* Layout */
  --wrap: 1240px;
  --gutter: 32px;
  --hdr-h: 80px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Light zone (default) */
  --bg: #FFFFFF;
  --bg2: #F5F5F7;
  --pn: #FFFFFF;
  --pn2: #F5F5F7;
  --ln: #E5E5EA;
  --ln2: #EEEEF2;
  --tx: #000000;
  --tx2: #45454F;
  --tx3: #5F5F6B;
  --hv: #F4F1FC;
  --acc: #5B21B6;
  --good: #15803D;
  --bad: #B91C1C;
  --warn: #B45309;
  --sh: 0 30px 80px -30px rgba(22, 19, 46, .25);
  --text-grad: var(--grad-text);
}

.th-light {
  --bg: #FFFFFF; --bg2: #F5F5F7; --pn: #FFFFFF; --pn2: #F5F5F7;
  --ln: #E5E5EA; --ln2: #EEEEF2; --tx: #000000; --tx2: #45454F; --tx3: #5F5F6B;
  --hv: #F4F1FC; --acc: #5B21B6; --good: #15803D; --bad: #B91C1C; --warn: #B45309;
  --sh: 0 30px 80px -30px rgba(22, 19, 46, .25);
  --text-grad: var(--grad-text);
  background: var(--bg);
  color: var(--tx);
}

.th-dark {
  --bg: #000000; --bg2: #0A0A0A; --pn: #111111; --pn2: #161618;
  --ln: #222222; --ln2: #1A1A1D; --tx: #FFFFFF; --tx2: #B3B3B3; --tx3: #8A8A8A;
  --hv: #17171B; --acc: #C4B5FD; --good: #4ADE80; --bad: #F87171; --warn: #FBBF24;
  --sh: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --text-grad: var(--grad-text-dark);
  background: var(--bg);
  color: var(--tx);
}
.th-dark.alt, .th-light.alt { background: var(--bg2); }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--tx);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #8B5CF6; outline-offset: 2px; border-radius: 4px; }
.th-dark :focus-visible { outline-color: #C4B5FD; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: #fff; color: #000;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: 110px 0; border-top: 1px solid var(--ln2); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Type ---------- */
h1, h2, h3, .d { font-family: var(--f-head); font-weight: 600; letter-spacing: -.035em; }
.h1 {
  margin: 0; font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.032em;
  max-width: 880px; text-wrap: balance;
}
.h1.side { font-size: var(--fs-h1-side); }
.intro { margin: 0; font-size: var(--fs-intro); line-height: 1.62; max-width: 620px; color: var(--tx2); text-wrap: pretty; }
.h2 { margin: 0; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.02em; }
.lead { margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: var(--tx2); max-width: 640px; }
.muted { color: var(--tx3); }

.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--tx3);
}
.tag::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2457C9, #C42A6B); }

.grad {
  background-image: var(--text-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: dg-shift 7s ease-in-out infinite;
}
@keyframes dg-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 14px; border: 0; cursor: pointer;
  font-size: 15.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .2s, filter .2s, background .2s, box-shadow .2s;
}
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn-p { position: relative; overflow: hidden; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px rgba(122, 47, 208, .6); }
.btn-p:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn-g { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--ln); }
.btn-g:hover { background: var(--hv); }
.btn-w { background: #fff; color: #111; }
.btn-w:hover { transform: translateY(-2px); }
.btn-wa { background: var(--c-wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.08); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--pn2); color: var(--tx); box-shadow: inset 0 0 0 1px var(--ln);
}
.ico:hover { background: var(--hv); }

/* ---------- Cards ---------- */
.card { background: var(--pn); border: 1px solid var(--ln); border-radius: var(--radius); padding: 28px; }
.card p { margin: 10px 0 0; color: var(--tx2); font-size: 15px; line-height: 1.6; }
.pill {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--pn2); color: var(--tx3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --hdr-h: 64px; --fs-lead: 16.5px; }
  .sec { padding: 80px 0; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .h1, .h1.side { font-size: 32px; }
  .intro { font-size: 15.5px; }
  .h2 { font-size: 30px; }
}
main { display: block; overflow-x: clip; }
/* "Chat with us" buttons replace WhatsApp buttons (owner, Nov 2026) */
.btn-chat, .dg-page .btn-chat { background: #16132E; color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-chat:hover, .dg-page .btn-chat:hover { color: #fff; background: #26213F; }
