/* G2N Tech: the same system design as the Synergy Connect site (tokens, type, cards, buttons) in plain CSS.
   Fonts are bundled (fonts/), so the CSP can stay 'self': no Google Fonts, CDN or analytics. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --brand-green: #4cb698;
  --brand-teal: #3ab2b2;
  --brand-blue: #209dcc;
  /* the brand colours as TEXT on light backgrounds: the three above never are */
  --brand-green-text: #007a55;
  --brand-teal-text: #1e7c7c;
  --site-bg: #ffffff;
  --site-fg: #171717;
  --site-muted: #525252;
  --site-border: #e5e5e5;
  --site-accent: var(--brand-green-text);
  --site-focus: #007a55;
  --site-soft: rgb(76 182 152 / 0.1);
  --site-tint: rgb(76 182 152 / 0.14);
  --btn-bg: #007a55;
  --btn-fg: #ffffff;
  --accent-name: var(--brand-teal-text);
  --font-sans: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Bricolage Grotesque Variable', var(--font-sans);
}

@media (prefers-color-scheme: dark) {
  :root {
    --site-bg: #0a0a0a;
    --site-fg: #fafafa;
    --site-muted: #a3a3a3;
    --site-border: #262626;
    --site-accent: #5ee9b5;
    --site-focus: #5ee9b5;
    --site-soft: rgb(76 182 152 / 0.16);
    --site-tint: rgb(76 182 152 / 0.18);
    --btn-bg: #5ee9b5;
    --btn-fg: #0a0a0a;
    --accent-name: var(--brand-teal);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.02em; }
img, svg { display: block; max-width: 100%; }
.sprite { position: absolute; }

a { color: var(--site-accent); text-decoration: underline; text-underline-offset: 2px; }

:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.5rem 1rem; background: var(--site-bg); color: var(--site-fg);
  border: 2px solid var(--site-accent); border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { margin: 0 auto; width: 100%; max-width: 72rem; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.25rem; border-radius: 0.5rem;
  font: inherit; font-size: 0.9375rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn .icon { width: 1rem; height: 1rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border: 1px solid transparent; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline { border: 1px solid var(--site-border); color: var(--site-fg); }
.btn-outline:hover { background: color-mix(in srgb, var(--site-fg) 6%, transparent); }
.btn-lg { min-height: 3rem; padding-inline: 1.5rem; font-size: 1rem; }

/* ── header ── */
.strip { height: 4px; background: linear-gradient(90deg, #7fd88b, var(--brand-green), var(--brand-teal), var(--brand-blue)); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--site-border);
  background: color-mix(in srgb, var(--site-bg) 90%, transparent);
  backdrop-filter: blur(8px);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.5rem; }

.brand { display: flex; align-items: center; gap: 0.5rem; color: var(--site-fg); text-decoration: none; font-family: var(--font-heading); font-weight: 700; white-space: nowrap; }
.brand b { color: var(--accent-name); font-weight: 700; }
.brand-logo { width: 4rem; height: 2.5rem; }

.nav-desktop { display: none; gap: 1.5rem; font-size: 0.875rem; }
.nav-desktop a { color: var(--site-muted); text-decoration: none; padding: 0.5rem 0; }
.nav-desktop a:hover { color: var(--site-fg); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; white-space: nowrap; }

.menu summary {
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 0.5rem; cursor: pointer; list-style: none; color: var(--site-fg);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: color-mix(in srgb, var(--site-fg) 8%, transparent); }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu-panel {
  position: fixed; inset: 3.75rem 0 auto 0; display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem; background: var(--site-bg); border-bottom: 1px solid var(--site-border);
}
.menu-panel a { color: var(--site-fg); text-decoration: none; padding: 0.75rem; border-radius: 0.5rem; min-height: 2.75rem; }
.menu-panel a:hover { background: color-mix(in srgb, var(--site-fg) 6%, transparent); }

@media (min-width: 1024px) {
  .header-in { height: 4rem; }
  .nav-desktop { display: flex; }
  .menu { display: none; }
  .header-actions .btn { min-height: 2.75rem; font-size: 0.9375rem; }
}
@media (max-width: 420px) { .header-actions .btn { padding-inline: 0.75rem; } }

/* ── sections ── */
section { scroll-margin-top: 4rem; }
.section { border-top: 1px solid var(--site-border); padding: 4rem 0; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }

.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--site-muted); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { margin-top: 0.5rem; font-size: 1.5rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.section-head p { margin-top: 0.75rem; max-width: 42rem; color: var(--site-muted); }
.section-head h2:focus { outline: none; }
@media (min-width: 1024px) { .section-head h2 { font-size: 1.875rem; } }

.card { border: 1px solid var(--site-border); border-radius: 0.75rem; padding: 1.25rem; }
@media (min-width: 640px) { .card { padding: 1.5rem; } }
.card h3 { margin-top: 1rem; font-size: 1rem; line-height: 1.35; font-weight: 600; }
.card p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--site-muted); }
.tile {
  display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem; background: var(--site-soft); color: var(--site-accent);
}

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 3rem 0 4rem; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -14rem; width: 56rem; max-width: 160vw; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, var(--site-tint), rgb(32 157 204 / 0.06) 60%, transparent);
}
.hero-in { max-width: 52rem; }
.hero h1 { margin-top: 1rem; font-size: 2.75rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 span { color: var(--accent-name); }
.hero-lead { margin-top: 1.25rem; max-width: 38rem; font-size: 1.125rem; color: var(--site-muted); }
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chips { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--site-border); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.8125rem; color: var(--site-muted); }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .hero { padding: 6rem 0 6.5rem; }
  .hero h1 { font-size: 4.5rem; }
  .hero-lead { font-size: 1.25rem; }
}

/* ── services ── */
.grid-services { display: grid; gap: 0.75rem; }
.grid-services .detail { display: block; margin-top: 0.75rem; font-size: 0.8125rem; color: var(--site-muted); }
@media (min-width: 640px) {
  .grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-services > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; }
  .grid-services > :last-child .tile { grid-row: span 2; }
  .grid-services > :last-child h3 { margin-top: 0; }
}
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

/* ── WhatsApp and Meta ── */
.split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.split .section-head { margin-bottom: 0; }
.checks { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: 0.625rem; align-items: flex-start; }
.checks .icon { margin-top: 0.2rem; width: 1.125rem; height: 1.125rem; color: var(--site-accent); }
.credentials { display: grid; gap: 0.75rem; }
.credential { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--site-accent); background: var(--site-soft); border-radius: 0.75rem; padding: 1.25rem; }
.credential .tile { background: var(--site-bg); }
.credential h3 { margin: 0; font-size: 1.125rem; font-weight: 700; }
.credential p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--site-muted); }

/* Meta Business Partner badge: stand-alone, no link, file as shipped (no border, shadow, radius, filter).
   Clear space = height of the Meta symbol (~27px at this size): 40px on every side. Minimum height 55px; this is 101px. */
.meta-badge { display: block; width: 11rem; margin-top: 2.5rem; }
.meta-badge img { width: 11rem; height: auto; }
.site-footer .meta-badge { margin-top: 2.5rem; }

/* ── product ── */
.product { display: grid; gap: 1.5rem; border: 1px solid var(--site-border); border-left: 4px solid var(--brand-teal); border-radius: 0.75rem; padding: 1.5rem; }
.product h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 700; }
.product h3 b { color: var(--accent-name); }
.product p { margin-top: 0.75rem; max-width: 40rem; color: var(--site-muted); }
.product .btn { justify-self: stretch; }
@media (min-width: 768px) { .product .btn { justify-self: auto; } .product { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 2rem; gap: 2rem; } }

/* ── how we work ── */
.grid-3 { display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.card .code-name { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--site-fg); }
.card .code-name + p { margin-top: 0.5rem; }
.stack { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--site-muted); }
.stack b { color: var(--site-fg); font-weight: 600; }

/* ── leader ── */
.leader { display: grid; gap: 1.25rem; max-width: 48rem; }
.avatar {
  display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue)); color: #052e22;
  font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700;
}
.leader h3 { font-size: 1.375rem; font-weight: 700; }
.leader .role { margin-top: 0.125rem; color: var(--site-muted); font-size: 0.9375rem; }
.leader p + p { margin-top: 0.75rem; }
.leader .bio { margin-top: 1rem; }
@media (min-width: 640px) { .leader { grid-template-columns: auto 1fr; gap: 1.5rem; } }

/* ── contact ── */
.grid-2 { display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.card h3.plain-h { margin-top: 0; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 0.75rem; }
.contact-mail { display: inline-block; font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; padding: 0.25rem 0; }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--site-border); padding: 2.5rem 0; font-size: 0.875rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid p { color: var(--site-muted); }
.footer-grid .brand + p { margin-top: 0.75rem; }
.footer-grid .legal-name { color: var(--site-fg); font-weight: 600; }
.footer-grid h2 { font-family: var(--font-sans); letter-spacing: 0.06em; }
.footer-links { display: flex; flex-direction: column; margin-top: 0.5rem; }
.footer-links a { color: var(--site-fg); text-decoration: none; padding: 0.625rem 0; min-height: 2.75rem; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--site-border); font-size: 0.75rem; color: var(--site-muted); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-links a { padding: 0.25rem 0; min-height: 0; }
}

@media print {
  .site-header, .skip-link, .strip { display: none; }
  body { background: #fff; color: #000; }
}
