/* Gloubl landing page — Modernist design system (flat, Archivo, zero radius),
   blue accent locked in per the final design direction. */
/* Archivo is self-hosted: loading it from Google would send every visitor's IP
   to Google and put the site in scope for a consent banner. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
  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: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-bg: #fdfdfd;
  --color-surface: #ffffff;
  --color-surface-muted: #f8fafc;
  --color-text: #1e293b;
  --color-text-muted: #475569;
  --color-divider: #e2e8f0;

  --color-accent: #1f4fd8;
  --color-accent-100: #eff6ff;
  --color-accent-200: #dbeafe;
  --color-accent-300: #bfdbfe;
  --color-accent-400: #60a5fa;
  --color-accent-500: #3b82f6;
  --color-accent-600: #2563eb;
  --color-accent-700: #1d4ed8;
  --color-accent-800: #1e40af;
  --color-accent-900: #1e3a8a;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 700;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;

  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  overflow-wrap: break-word;
  color: #0f172a;
}

p { margin: 0 0 var(--space-3); }

a { color: var(--color-accent); text-underline-offset: 3px; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

[id^="s-"] { scroll-margin-top: 24px; }

/* — layout helpers — */
.wrap { max-width: 1200px; margin: 0 auto; width: 100%; overflow-x: clip; }
.pad { padding-left: clamp(20px, 4.6vw, 56px); padding-right: clamp(20px, 4.6vw, 56px); }

.hr {
  height: 1px; border: 0; margin: 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 15px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { background: var(--color-accent-700); transform: translateY(0); box-shadow: none; }
.btn-secondary { border-color: var(--color-divider); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--color-surface-muted); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary:active { background: var(--color-divider); transform: translateY(0); box-shadow: none; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-on-accent { background: #fff; color: var(--color-accent); box-shadow: var(--shadow-md); font-weight: 700; }
.btn-on-accent:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* — nav — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  flex-wrap: wrap; row-gap: 10px;
  padding: 24px clamp(20px, 4.6vw, 56px);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky; top: 0; z-index: 50;
}
.nav-brand {
  display: flex; align-items: center; gap: 11px;
  margin-right: auto; font-size: 20px;
  font-family: var(--font-heading); font-weight: 800; color: #0f172a;
}
.nav a:not(.btn) { color: var(--color-text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s ease; }
.nav a:not(.btn):hover { color: var(--color-accent); }
.gl-mark { display: block; flex: none; }

/* — hero — */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--color-accent); background: linear-gradient(135deg, var(--color-accent), #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lede {
  font-size: 18px; line-height: 1.6; margin: 24px 0 0; max-width: 48ch;
  color: var(--color-text-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-image {
  display: block; width: 100%; min-width: 0;
  height: clamp(340px, 38vw, 500px);
  object-fit: cover; object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.4s ease;
}
.hero-image:hover { transform: translateY(-4px) scale(1.01); }

/* — accent band (countries + closing CTA) — */
.band-accent {
  background: var(--color-accent);
  background-image: linear-gradient(140deg, var(--color-accent-800) 0%, var(--color-accent) 100%);
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}
.band-accent .statement {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.3;
  margin: 0;
  max-width: 30ch;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.chip {
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.chip-highlight {
  background: #fff;
  color: var(--color-accent);
  font-weight: 700; border-color: #fff;
}

/* — how it works — */
.section { padding-top: 80px; padding-bottom: 80px; background: var(--color-surface-muted); }
.eyebrow {
  font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  margin: 0 0 40px; color: var(--color-accent-600);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
}
.step {
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-divider);
  transition: all 0.3s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-300);
}
.step-art {
  background: var(--color-surface-muted);
  aspect-ratio: 16 / 10;
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-divider);
}
.step-art svg { display: block; width: 100%; height: 100%; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--color-accent-100);
  border-radius: var(--radius-md);
  font-size: 24px; line-height: 1; font-weight: 800;
  color: var(--color-accent); margin-bottom: 20px;
}
.step h3 { font-size: 24px; margin: 0 0 12px; letter-spacing: -0.01em; }
.step p {
  font-size: 15px; line-height: 1.6; margin: 0;
  color: var(--color-text-muted);
}

/* — problem / features — */
.split {
  padding-top: 80px; padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.split h2 {
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15;
  margin: 0 0 24px; letter-spacing: -0.03em; max-width: 18ch;
}
.split > div:first-child p {
  font-size: 18px; line-height: 1.6; margin: 0;
  color: var(--color-text-muted);
  max-width: 52ch;
}
.feature-list {
  display: flex; flex-direction: column; gap: 24px;
}
.feature-list > div {
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.feature-list > div:hover {
  transform: translateX(4px);
  border-color: var(--color-accent-300);
  box-shadow: var(--shadow-md);
}
.feature-list h3 { font-size: 20px; margin: 0 0 8px; color: #0f172a; }
.feature-list p {
  font-size: 15.5px; line-height: 1.6; margin: 0;
  color: var(--color-text-muted);
}

/* — built for — */
.built-for { padding-top: 80px; padding-bottom: 100px; background: var(--color-surface-muted); }
.built-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.built-for-grid > div {
  background: var(--color-surface);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.built-for-grid > div:hover { 
  background: #fff; 
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-300);
}
.built-for-grid h3 { font-size: 22px; margin: 0 0 12px; letter-spacing: -0.015em; color: #0f172a; }
.built-for-grid p {
  font-size: 15.5px; line-height: 1.6; margin: 0;
  color: var(--color-text-muted);
}

/* — closing CTA — */
.cta { padding-top: 100px; padding-bottom: 100px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h3 {
  font-size: clamp(40px, 5.4vw, 56px); line-height: 1.1; margin: 0;
  letter-spacing: -0.03em; max-width: 18ch; color: #fff;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* — contact — */
.contact-email {
  display: inline-block; margin-top: 32px;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--color-accent);
  position: relative;
}
.contact-email::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 3px;
  background: var(--color-accent); transition: transform 0.2s ease; transform-origin: left;
}
.contact-email:hover::after { transform: scaleX(0.8); }

/* Unfinished content — must not survive to production. */
.todo {
  display: inline-block;
  border: 1px dashed var(--color-accent-400);
  background: var(--color-accent-100);
  color: var(--color-accent-800);
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.9em; font-weight: 500;
}

/* — footer — */
.footer {
  padding-top: 48px; padding-bottom: 48px;
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-surface);
}
.footer-main {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 20px 40px;
}
.footer-legal {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--color-divider);
  font-size: 13px; line-height: 1.6;
}
.footer-legal p { margin: 0 0 12px; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 18px; color: #0f172a;
  margin-right: auto;
}
.footer a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--color-accent); }
