:root {
  --ink: #0a2e24;
  --ink-soft: #1f4d3f;
  --emerald: #0f7a5f;
  --emerald-deep: #0a5d48;
  --emerald-bright: #14a37b;
  --emerald-light: #c2e8d8;
  --mint: #d4f0e2;
  --mint-tile: #e8f6ee;
  --moss-tile: #d9ebe1;
  --peach-tile: #fcebd9;
  --bg: #f5f8f6;
  --bg-warm: #ecf2ee;
  --paper: #ffffff;
  --line: rgba(10, 46, 36, 0.10);
  --line-soft: rgba(10, 46, 36, 0.06);
  --muted: rgba(10, 46, 36, 0.62);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 100px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* NAV */
nav.top { position: sticky; top: 12px; z-index: 100; padding: 0 12px; }
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 18px;
  box-shadow: 0 8px 24px -12px rgba(10, 46, 36, 0.15);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); margin-right: auto; flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; background: var(--ink); border-radius: 9px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark::before { content: 'P'; font-family: var(--font); font-weight: 800; color: var(--emerald-bright); font-size: 18px; letter-spacing: -0.04em; }
.logo-mark::after { content: ''; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; background: var(--emerald-bright); border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.logo-text { letter-spacing: -0.01em; line-height: 1; }
.logo-text b { font-weight: 800; color: var(--ink); }
.logo-text i { font-style: normal; font-weight: 800; color: var(--emerald); }
.logo-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; color: var(--emerald-deep); text-transform: uppercase; margin-top: 3px; display: block; }
.nav-links { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
.nav-links a { padding: 10px 14px; border-radius: var(--radius-pill); color: var(--ink-soft); transition: all 0.2s ease; cursor: pointer; }
.nav-links a:hover { background: var(--bg-warm); color: var(--ink); }
.nav-links a.active, .nav-links a.active:hover { background: var(--mint-tile); color: var(--emerald-deep); font-weight: 600; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; font-size: 14px; font-weight: 600; border-radius: var(--radius-pill); transition: all 0.2s ease; cursor: pointer; border: none; font-family: inherit; white-space: nowrap; }
.btn-primary { background: var(--emerald); color: white; }
.btn-primary:hover { background: var(--emerald-deep); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: white; }
.btn-ink:hover { background: var(--emerald); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn-white { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn-white:hover { border-color: var(--ink); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }
#login-btn { display: inline-flex; }

@media (max-width: 1100px) { .nav-links { gap: 2px; font-size: 13px; } .nav-links a { padding: 9px 11px; } }
@media (max-width: 980px) { .nav-links { display: none; } }
@media (max-width: 540px) {
  nav.top { padding: 0 8px; top: 8px; }
  .nav-inner { padding: 5px 5px 5px 14px; gap: 6px; }
  .logo { font-size: 15px; gap: 8px; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-mark::before { font-size: 15px; }
  .logo-tag { display: none; }
  #login-btn { display: none; }
  .btn { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 380px) {
  .logo-text b { display: none; }
  .logo-text i { color: var(--ink); }
}

/* SECTIONS & TYPOGRAPHY */
section { padding: 120px 0; position: relative; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald-deep); font-weight: 700; margin-bottom: 18px; padding: 6px 14px; background: var(--mint-tile); border-radius: var(--radius-pill); }
.s-title { font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; max-width: 820px; margin-bottom: 22px; color: var(--ink); }
.s-title em { font-style: normal; color: var(--emerald); }
.s-lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 640px; margin-bottom: 60px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 36px; box-shadow: 0 2px 8px -2px rgba(10, 46, 36, 0.06); }
.pill::before { content: '🇬🇧'; font-size: 14px; }

/* PAGE HEADER */
.page-header { padding: 80px 0 40px; }
.page-header .eyebrow { margin-bottom: 18px; }
.page-header h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 22px; color: var(--ink); }
.page-header h1 em { font-style: normal; color: var(--emerald); }
.page-header .lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 720px; }
@media (max-width: 540px) { .page-header { padding: 50px 0 30px; } }

/* DEEP-DIVE */
.deep { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.deep.flip { direction: rtl; }
.deep.flip > * { direction: ltr; }
.deep-text .eyebrow { margin-bottom: 16px; }
.deep h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 18px; color: var(--ink); }
.deep h2 em { font-style: normal; color: var(--emerald); }
.deep p.lede { font-size: 17px; color: var(--ink-soft); margin-bottom: 28px; }
.deep-list { list-style: none; margin-bottom: 32px; }
.deep-list li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: flex; align-items: flex-start; gap: 14px; }
.deep-list li:last-child { border-bottom: 0; }
.deep-list .num { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 600; padding-top: 2px; flex-shrink: 0; }
.deep-list .body strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.deep-list .body span { font-size: 14px; color: var(--ink-soft); }
.deep-visual { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 30px 70px -30px rgba(10, 46, 36, 0.2); }
@media (max-width: 900px) { .deep, .deep.flip { grid-template-columns: 1fr; direction: ltr; gap: 40px; } }

/* MINI-DASH */
.mini-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.mini-dots { display: flex; gap: 5px; }
.mini-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mini-dots span:first-child { background: #f4a89c; }
.mini-dots span:nth-child(2) { background: #f6d68f; }
.mini-dots span:nth-child(3) { background: var(--emerald); }
.mini-url { flex: 1; padding: 5px 12px; background: var(--bg); border-radius: var(--radius-pill); font-size: 11px; font-family: var(--mono); color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line-soft); align-items: center; font-size: 13px; }
.mini-row:last-child { border-bottom: 0; }
.mini-row.head { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.av { width: 26px; height: 26px; border-radius: 50%; background: var(--emerald-light); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.pat { display: flex; align-items: center; gap: 10px; font-weight: 500; min-width: 0; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.tag.go { background: var(--mint-tile); color: var(--emerald-deep); }
.tag.wait { background: #fef0d9; color: #a06700; }
.tag.send { background: var(--moss-tile); color: var(--emerald-deep); }
.tag.live { background: var(--peach-tile); color: #b86b1d; }

/* INTEGRATIONS */
.integrations-section { background: var(--ink); color: var(--paper); border-radius: 32px; margin: 0 28px; padding: 100px 0; position: relative; overflow: hidden; }
.integrations-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(20, 163, 123, 0.3), transparent 40%), radial-gradient(circle at 85% 80%, rgba(15, 122, 95, 0.25), transparent 40%); }
.integrations-section .container { position: relative; z-index: 2; }
.integrations-section .eyebrow { background: rgba(20, 163, 123, 0.18); color: var(--emerald-bright); }
.integrations-section .s-title { color: var(--paper); max-width: 900px; }
.integrations-section .s-title em { color: var(--emerald-bright); }
.integrations-section .s-lede { color: rgba(255,255,255,0.7); }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.int-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; padding: 24px; transition: all 0.25s ease; cursor: pointer; }
.int-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-3px); border-color: rgba(20, 163, 123, 0.4); }
.int-logo { width: 44px; height: 44px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-weight: 800; font-size: 15px; color: var(--paper); letter-spacing: -0.02em; flex-shrink: 0; }
.int-logo img { width: 32px; height: 32px; display: block; }
.int-logo .ph { font-weight: 800; }
.int-name { font-size: 15px; font-weight: 700; color: var(--paper); margin-bottom: 4px; }
.int-cat { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.int-desc { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 10px; line-height: 1.45; }
.int-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cat-pill { padding: 7px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.2s; }
.cat-pill:hover { background: rgba(255,255,255,0.12); color: var(--paper); }
.cat-pill.on { background: var(--emerald-bright); color: var(--ink); border-color: var(--emerald-bright); font-weight: 700; }
.int-search { display: flex; align-items: center; gap: 12px; margin-top: 28px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-pill); padding: 10px 18px; max-width: 460px; }
.int-search input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--paper); font-family: inherit; font-size: 14px; }
.int-search input::placeholder { color: rgba(255,255,255,0.45); }
.int-search svg { color: rgba(255,255,255,0.55); flex-shrink: 0; }
.int-empty { text-align: center; padding: 60px 20px; color: rgba(255,255,255,0.5); font-size: 14px; display: none; }
@media (max-width: 900px) { .int-grid { grid-template-columns: repeat(2, 1fr); } .integrations-section { margin: 0 12px; padding: 70px 0; } }

/* STATS */
.bigstats { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 60px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.bs-num { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.bs-num em { font-style: normal; color: var(--emerald); }
.bs-label { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.bs-cap { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 800px) { .bigstats { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; } }

/* TESTIMONIAL */
.testimonial { padding: 100px 0; }
.test-card { background: var(--mint-tile); border-radius: 32px; padding: 80px 60px; position: relative; overflow: hidden; }
.test-card::before { content: '"'; position: absolute; top: 30px; left: 60px; font-size: 180px; color: var(--emerald); opacity: 0.18; line-height: 1; font-family: Georgia, serif; }
.test-quote { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); max-width: 880px; margin-bottom: 36px; position: relative; }
.test-by { display: flex; align-items: center; gap: 14px; position: relative; }
.test-av { width: 52px; height: 52px; border-radius: 50%; background: var(--emerald); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.test-name { font-weight: 700; color: var(--ink); }
.test-role { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 800px) { .test-card { padding: 50px 28px; } .test-card::before { left: 28px; font-size: 120px; } }

/* CTA */
.cta-section { text-align: center; padding: 120px 0; }
.cta-card { background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%); border-radius: 32px; padding: 100px 40px; color: white; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%), radial-gradient(circle at 75% 70%, rgba(20, 163, 123, 0.3), transparent 50%); }
.cta-card > * { position: relative; }
.cta-card .eyebrow { background: rgba(255,255,255,0.18); color: white; }
.cta-card .s-title { color: white; margin-left: auto; margin-right: auto; }
.cta-card .s-title em { color: var(--emerald-light); }
.cta-card .s-lede { color: rgba(255,255,255,0.88); margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* FOOTER */
footer { background: var(--paper); padding: 80px 0 32px; border-top: 1px solid var(--line-soft); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.foot-brand .logo { margin-bottom: 20px; }
.foot-brand p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; max-width: 300px; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; font-size: 14px; }
.foot-col a { color: var(--ink-soft); transition: color 0.2s; }
.foot-col a:hover { color: var(--emerald-deep); }
.foot-legal { padding-top: 32px; padding-bottom: 22px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); line-height: 1.7; max-width: 980px; }
.foot-bottom { padding-bottom: 22px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; gap: 20px; align-items: center; }
.foot-bottom a { color: var(--ink-soft); transition: color 0.2s; }
.foot-bottom a:hover { color: var(--emerald-deep); }
.foot-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-badges span { padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; }
.foot-built { text-align: center; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; font-style: italic; color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 540px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
}
