/* ==========================================================================
   DPDPA site: shared design system
   Fonts, tokens, typography, buttons, header, footer.
   Loaded on every page, before style.css and any page CSS.
   ========================================================================== */

@font-face {
  font-family: "Aeonik";
  font-weight: 300;
  font-display: swap;
  src: local("Aeonik Light"), local("Aeonik-Light"), local("Aeonik TRIAL Light"), url("../fonts/Aeonik-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Aeonik";
  font-weight: 400;
  font-display: swap;
  src: local("Aeonik"), local("Aeonik-Regular"), local("Aeonik TRIAL"), url("../fonts/Aeonik-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Aeonik";
  font-weight: 700;
  font-display: swap;
  src: local("Aeonik Bold"), local("Aeonik-Bold"), local("Aeonik TRIAL Bold"), url("../fonts/Aeonik-Bold.woff2") format("woff2");
}

:root {
  --ink: #1B1D22;
  --ink-2: #0F172A;
  --muted: #626B66;
  --green: #0EAB56;
  --green-dot: #64CC93;
  --mint: #F6F9F7;
  --line: #E6E7EA;
  --card-line: #E8E8E8;
  --dark: #13171E;
  --black: #161616;
  --f-display: "Aeonik", "Aeonik TRIAL", "Geist", "Inter Tight", system-ui, sans-serif;
  /* Geist fallback runs ~1.5% wider than Aeonik; set to 0 when Aeonik files are present in assets/fonts. */
  --display-track: -0.015em;
  --f-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 82px;
  --content: 1348px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
hr { border: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
section[id], [id="contact"] { scroll-margin-top: 80px; }

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 200;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Shared typography ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 8px;
  background: var(--mint);
  border: .5px solid var(--line);
  border-radius: 6px;
  font: 400 12px/12px var(--f-mono);
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tag-dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--green-dot);
  box-shadow: 0 0 0 0 rgba(100, 204, 147, .55);
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(100, 204, 147, .55); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(100, 204, 147, 0); }
}

.h2 {
  font: 400 42px/48px var(--f-display);
  letter-spacing: var(--display-track);
  color: var(--ink);
}
.h2.center { text-align: center; }
.lead { font: 400 18px/26px var(--f-body); color: var(--muted); }
.title-block { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px;
  padding: 14px 16px;
  border-radius: 8px;
  font: 400 18px/18px var(--f-display);
  letter-spacing: var(--display-track);
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--dark); color: #EDEDED; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(19, 23, 30, .55); }
.btn-outline {
  background: rgba(255, 255, 255, .1);
  border: 1px solid #EAEAEA;
  color: var(--green);
}
.btn-outline:hover { border-color: var(--green); background: rgba(14, 171, 86, .05); transform: translateY(-2px); }
.btn-black {
  position: relative;
  gap: 8px;
  padding: 12px 24px;
  background: var(--black);
  color: #fff;
  font: 400 16px/24px var(--f-display);
  letter-spacing: var(--display-track);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}
.btn-black:hover { background: #000; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  padding-top: 4px;
  font: 400 18px/18px var(--f-display);
  letter-spacing: var(--display-track);
  color: var(--green);
  align-self: flex-start;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.br-d { display: inline; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-strip { display: none; }
.header-bar {
  height: 72px;
  background: rgba(255, 255, 255, .85);
  border-bottom: .5px solid var(--line);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled .header-bar { box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .18); }
.header-inner {
  width: min(1312px, 100% - 200px);
  height: 72px;
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img, .brand img { display: block; width: auto; height: 40px; }
.logo:focus-visible, .brand:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.primary-nav { display: contents; }
.nav-list { display: flex; align-items: stretch; height: 68px; }
.nav-list > li { position: relative; display: flex; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 21px 16px;
  font: 400 16px/26px var(--f-body);
  color: var(--muted);
  transition: color .2s;
}
.nav-link:hover, .has-menu.is-open > .nav-link { color: var(--ink); }
.chev { color: #606776; transition: transform .25s var(--ease); }
.has-menu:hover .chev, .has-menu.is-open .chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% - 4px); left: 4px;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .2);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font: 400 15px/22px var(--f-body);
  color: var(--muted);
  transition: background-color .2s, color .2s;
}
.menu a:hover { background: var(--mint); color: var(--ink); }
.btn-demo {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-width: 145px; height: 36px;
  padding: 9px 18px;
  white-space: nowrap;
  background: var(--mint);
  border: 1px solid rgba(230, 231, 234, .996);
  border-radius: 8px;
  font: 400 16px/16px var(--f-display);
  letter-spacing: var(--display-track);
  color: #464A54;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-demo:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.nav-toggle { display: none; }


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #000; padding: 100px 0; color: #C3CDC8; }
.footer-inner { width: min(1248px, 100%); margin-inline: auto; padding: 72px 24px 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; gap: 48px; }
.footer-brand { flex: 293 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: #176B45; border-radius: 8px; }
.brand-name { font: 700 18px/29px var(--f-body); color: #fff; }
.footer-brand > p { max-width: 320px; font: 400 14px/24px var(--f-body); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; font: 400 14px/22px var(--f-body); }
.footer-col { flex: 184 1 0; min-width: 0; }
.footer-col.company { flex-grow: 164; }
.footer-col h2 { padding-bottom: 14px; font: 700 16px/21px var(--f-display); letter-spacing: calc(.52px + var(--display-track)); color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-contact a, .footer-bottom a {
  font: 400 14px/22px var(--f-body);
  color: #C3CDC8;
  transition: color .2s;
}
.footer-col a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #26332D;
  font: 400 13px/21px var(--f-body);
}
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { font-size: 13px; line-height: 21px; }


/* ==========================================================================
   Chatbox
   ========================================================================== */
.dp-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  font-family: var(--f-body, system-ui, sans-serif);
}
.dp-chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #176B45;
  color: #fff;
  font: 600 15px/1.2 var(--f-body, system-ui, sans-serif);
  cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(15, 23, 42, .45);
}
.dp-chat-toggle:hover { background: #0f5133; }
.dp-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 640px);
  background: #fff;
  border: 1px solid var(--line, #E6E7EA);
  border-radius: 16px;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .28);
  overflow: auto;
}
.dp-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #F6F9F7;
  border-bottom: 1px solid var(--line, #E6E7EA);
}
.dp-chat-title {
  margin: 0;
  font: 600 16px/1.3 var(--f-display, system-ui, sans-serif);
  color: var(--ink, #1B1D22);
}
.dp-chat-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #626B66;
  cursor: pointer;
}
.dp-chat-form { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dp-chat-row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dp-chat-row label { font: 500 13px/1.3 var(--f-body, system-ui, sans-serif); color: #464A54; }
.dp-chat-row input,
.dp-chat-row select,
.dp-chat-row textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line, #E6E7EA);
  border-radius: 8px;
  font: 400 15px/1.3 var(--f-body, system-ui, sans-serif);
  color: var(--ink, #1B1D22);
  background: #fff;
}
.dp-chat-row textarea { min-height: 72px; resize: vertical; }
.dp-chat-row input:focus,
.dp-chat-row select:focus,
.dp-chat-row textarea:focus {
  outline: 2px solid #64CC93;
  outline-offset: 1px;
}
.dp-chat-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.dp-chat-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: #176B45;
}
.dp-chat-check label {
  font: 400 13px/1.4 var(--f-body, system-ui, sans-serif);
  color: var(--ink, #1B1D22);
}
.dp-chat-submit {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #1B1D22;
  color: #fff;
  font: 600 15px/1 var(--f-body, system-ui, sans-serif);
  cursor: pointer;
}
.dp-chat-submit:hover { background: #000; }
.dp-chat-note, .dp-chat-status {
  margin: 0;
  font: 400 12px/1.4 var(--f-body, system-ui, sans-serif);
  color: #626B66;
}
.dp-chat-status { color: #176B45; }
@media (max-width: 640px) {
  .dp-chat { right: 12px; bottom: 12px; }
}
