/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F8F3EC;
  --bg-alt: #EEE8DC;
  --fg: #14342A;
  --fg-mid: #3D5D4B;
  --fg-light: #6B8F71;
  --accent: #D4841C;
  --accent-dark: #A86614;
  --dark: #0E1F17;
  --dark-mid: #1B4332;
  --white: #FFFFFF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
em { font-style: italic; font-weight: 400; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-headline em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* Browser mockup */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.browser-window {
  background: #1a1a2e;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.browser-bar {
  background: #12121f;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.browser-dots span:first-child { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:last-child { background: #28CA41; }

.browser-url {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex: 1;
  text-align: center;
}

.browser-content {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: #14342A;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo { display: flex; align-items: center; gap: 8px; }

.site-logo-icon {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 6px;
}

.site-logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.site-nav {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.site-hero-area {
  background: linear-gradient(135deg, #1B4332 0%, #0E1F17 100%);
  padding: 20px 20px 16px;
}

.site-hero-text { padding: 4px 0; }

.site-h1 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.site-h2 {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.site-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
}

/* Chat widget */
.chat-widget {
  margin: 0 16px 16px;
  background: #1E1E2E;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.chat-header {
  background: #16213E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #e8a84a 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.chat-status {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

.chat-body {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-msg {
  font-size: 11.5px;
  line-height: 1.5;
  padding: 8px 11px;
  border-radius: 10px;
  max-width: 82%;
}

.chat-msg.bot {
  background: #2A2A3E;
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--dark-mid);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.chat-send {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── PROOF ─────────────────────────────────────────────────── */
.proof {
  background: var(--bg-alt);
  border-top: 1px solid rgba(20,52,42,0.1);
  border-bottom: 1px solid rgba(20,52,42,0.1);
  padding: 32px 0;
}

.proof-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.proof-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 24px;
}

.proof-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}

.proof-big {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--fg);
}

.proof-sub {
  font-size: 13px;
  color: var(--fg-light);
  margin-top: 4px;
  text-align: center;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(20,52,42,0.15);
}

/* ── PROBLEM ───────────────────────────────────────────────── */
.problem {
  background: var(--fg);
  color: var(--white);
  padding: 100px 48px;
}

.problem-inner {
  max-width: 800px;
  margin: 0 auto;
}

.problem-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem-headline {
  font-size: clamp(30px, 3.5vw, 48px);
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.2;
}

.problem-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.problem-body p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.problem-stat {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.problem-stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.problem-stat-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.services {
  background: var(--bg);
  padding: 100px 48px;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 600px;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-illustration {
  position: relative;
  margin-bottom: 28px;
}

.illust-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.illust-badge.green { background: var(--dark-mid); color: rgba(255,255,255,0.8); }

/* Illustration 1: Website screen */
.illust-screen {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(20,52,42,0.1);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(20,52,42,0.08);
}

.illust-bar {
  background: #f5f5f5;
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  border-bottom: 1px solid rgba(20,52,42,0.08);
}

.illust-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.illust-dot.mid { background: #ccc; }

.illust-content { padding: 12px; }

.illust-block.hero-block {
  height: 60px;
  background: linear-gradient(135deg, var(--fg) 0%, var(--dark-mid) 100%);
  border-radius: 8px;
  margin-bottom: 12px;
}

.illust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.illust-col { display: flex; flex-direction: column; gap: 8px; }

.illust-card {
  height: 40px;
  background: var(--bg-alt);
  border-radius: 6px;
  border: 1px solid rgba(20,52,42,0.08);
}

.illust-card.short { height: 28px; }

/* Illustration 2: Chatbot */
.illust-chatbot {
  background: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(20,52,42,0.08);
}

.illust-chat-header {
  background: #16213E;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.illust-chat-avatar {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #e8a84a 100%);
  border-radius: 50%;
}

.illust-chat-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  flex: 1;
}

.illust-chat-online {
  width: 8px; height: 8px;
  background: #28CA41;
  border-radius: 50%;
}

.illust-chat-msgs {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.illust-msg {
  font-size: 10px;
  padding: 6px 9px;
  border-radius: 8px;
  line-height: 1.45;
}

.illust-msg.bot {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  align-self: flex-start;
  max-width: 90%;
  border-bottom-left-radius: 3px;
}

.illust-msg.user {
  background: var(--dark-mid);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.illust-msg.typing {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  background: transparent;
  padding: 0;
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dots span {
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* Illustration 3: GBP */
.illust-gbp {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(20,52,42,0.1);
  box-shadow: 0 4px 24px rgba(20,52,42,0.08);
}

.illust-gbp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}

.illust-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
}

.illust-stars span {
  font-size: 11px;
  color: var(--fg-mid);
  margin-left: 4px;
}

.illust-gbp-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.illust-gbp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--fg-mid);
}

.illust-gbp-icon {
  width: 22px; height: 22px;
  background: var(--bg-alt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fg-mid);
}

/* Service text */
.service-title {
  font-size: 22px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-desc {
  font-size: 15px;
  color: var(--fg-mid);
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 14px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── NUMBERS ───────────────────────────────────────────────── */
.numbers {
  background: var(--bg-alt);
  padding: 100px 48px;
  border-top: 1px solid rgba(20,52,42,0.08);
}

.numbers-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.numbers-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.numbers-headline {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--fg);
  margin-bottom: 64px;
  line-height: 1.2;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.number-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(20,52,42,0.08);
  box-shadow: 0 2px 12px rgba(20,52,42,0.04);
}

.number-card.highlight {
  background: var(--fg);
  border-color: var(--fg);
}

.number-card.highlight .number-formula,
.number-card.highlight .number-equals,
.number-card.highlight .number-result,
.number-card.highlight .number-note {
  color: var(--white);
}

.number-formula {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mid);
  margin-bottom: 16px;
}

.number-equals {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-light);
  margin-bottom: 8px;
}

.number-result {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 16px;
}

.number-result span {
  font-size: 20px;
  font-weight: 400;
  color: var(--fg-light);
}

.number-note {
  font-size: 14px;
  color: var(--fg-mid);
  line-height: 1.6;
}

/* ── MANIFESTO ──────────────────────────────────────────────── */
.manifesto {
  background: var(--dark);
  color: var(--white);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.manifesto-text {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 28px;
}

.manifesto-text.accent {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #0A1810;
  color: rgba(255,255,255,0.6);
  padding: 80px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  justify-content: space-between;
  margin-bottom: 64px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.footer-col span {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  cursor: default;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 32px 80px;
    gap: 48px;
  }
  .hero-visual { justify-content: flex-start; }
  .browser-window { max-width: 100%; }

  .services-grid,
  .numbers-grid { grid-template-columns: 1fr; }

  .proof-number { padding: 0 24px; }
  .proof-divider { display: none; }

  .footer-inner { flex-direction: column; gap: 48px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 600px) {
  .hero, .problem, .services, .numbers, .manifesto, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .proof-inner { padding: 0 24px; }
  .hero-stats { border-left: none; padding-left: 0; }
}