/* TrueGrad website. White ground, forest ink, lime bloom. */

@font-face {
  font-family: 'Sora';
  src: url('../assets/fonts/Sora-Variable.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #105448;
  --forest-dark: #0B3D34;
  --lime: #AADD54;
  --lime-deep: #89C943;
  --leaf: #1D6947;
  --white: #FFFFFF;
  --soft: #F3F8EC;
  --border: #DEE8DC;
  --muted: #536B62;
  --num: #738B77;
  --on-dark: #E3EEE9;

  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 9.52vw - 17px, 120px);
  --section-y: clamp(64px, 35.8px + 7.24vw, 140px);
  --header-h: 128px;
  --ease: cubic-bezier(.3, .7, .3, 1);
}

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

html {
  background: var(--white);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--forest);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--forest); }
a:hover { color: var(--forest-dark); }
svg { display: block; }
h1, h2, .statement, .cta-card-title { text-wrap: balance; }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--forest); color: var(--white); text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; color: var(--white); }

/* ---------- Shared pieces ---------- */

.eyebrow {
  display: block;
  font-size: clamp(12px, 11.26px + .19vw, 14px);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow-dark { color: var(--forest); }

h2 {
  font-size: clamp(30px, 20.3px + 2.48vw, 52px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.035em;
}

.num { font-size: 13px; font-weight: 700; color: var(--num); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font);
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 54px; padding: 0 28px; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); color: var(--white); }
.btn-primary .arrow { color: var(--lime); }
.btn-secondary { border-color: var(--forest); color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: var(--white); }
.btn-ghost { color: var(--forest); font-weight: 500; }
.btn-ghost:hover { background: var(--soft); }
.btn-accent { background: var(--lime); color: var(--forest); }
.btn-accent:hover { background: #BDE871; color: var(--forest); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--forest); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-end { justify-content: flex-end; max-width: 520px; }
.tag {
  padding: 8px 14px; border-radius: 999px;
  background: var(--soft);
  font-size: 14px; font-weight: 500; line-height: 1.3;
}
.tag-white { background: var(--white); }

.card { border: 1px solid var(--border); border-radius: 24px; background: var(--white); }

.icon-chip {
  width: 56px; height: 56px; border-radius: 16px; background: var(--soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-chip svg, .mini-top svg, .deploy-card svg, .cycle-hub svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.icon-chip svg { width: 26px; height: 26px; }

.mini-top { display: flex; justify-content: space-between; align-items: center; }
.mini-top svg { width: 28px; height: 28px; }
.mini-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.mini-text { font-size: 14px; line-height: 1.5; color: var(--muted); }

.section {
  padding: var(--section-y) var(--gutter);
}

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.section-head-main { display: flex; flex-direction: column; gap: 18px; max-width: 700px; }
.section-head-aside { max-width: 420px; font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled,
.site-header.open {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  height: var(--header-h);
  padding: 0 clamp(16px, 4.44vw, 64px) 0 clamp(20px, 4.44vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .3s var(--ease);
}
.site-header.scrolled .header-inner { height: 84px; }

.brand { display: flex; align-items: center; gap: 18px; color: var(--forest); text-decoration: none; }
.brand-mark { width: 73px; height: 73px; transition: width .3s var(--ease), height .3s var(--ease); }
.brand-name { font-size: 42px; font-weight: 700; letter-spacing: -.03em; line-height: 1; transition: font-size .3s var(--ease); }
.site-header.scrolled .brand-mark { width: 52px; height: 52px; }
.site-header.scrolled .brand-name { font-size: 32px; }

.primary-nav { display: flex; gap: 36px; font-size: 15px; }
.primary-nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.primary-nav a:hover { color: var(--forest); }
.header-actions { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border-radius: 12px; border: 1px solid var(--border); background: var(--white);
  color: var(--forest); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle path { transition: transform .25s var(--ease); transform-origin: 12px 12px; }
.site-header.open .menu-toggle .l1 { transform: translateY(4px) rotate(45deg); }
.site-header.open .menu-toggle .l2 { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  padding: 8px clamp(20px, 4.44vw, 64px) 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 18px; font-weight: 600; text-decoration: none;
}
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu-actions .btn { height: 52px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(700px, min(100svh, 880px));
  padding: var(--header-h) var(--gutter) 48px;
  display: flex; align-items: center; justify-content: center;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content {
  position: relative; z-index: 1;
  max-width: 1240px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(44px, 30.6px + 3.43vw, 80px);
  line-height: 1.04; font-weight: 600; letter-spacing: -.045em;
}
.tagline { font-size: clamp(19px, 17.1px + .48vw, 24px); font-weight: 600; letter-spacing: -.01em; color: var(--leaf); }
/* A soft white halo keeps the copy readable when the particles gather into the bloom behind it. */
.hero h1, .tagline, .hero-lede { text-shadow: 0 0 18px #fff, 0 0 6px #fff, 0 0 2px #fff; }
.hero-lede { max-width: 680px; font-size: clamp(16px, 14.9px + .29vw, 19px); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* ---------- Sectors ---------- */

/* The band's lines run the full width of the screen, inset like the header. */
.sectors {
  margin: 0 clamp(20px, 4.44vw, 64px);
  min-height: 96px;
  padding: 0 40px;
  display: flex; align-items: center; gap: 48px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.sectors-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.sectors-list {
  flex: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 19px; font-weight: 600;
}
.sectors-list li { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: space-between; }
.sectors-list li:last-child { flex: none; }
.sectors-list li:not(:last-child)::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none;
  margin-left: auto; margin-right: auto;
}
.sectors-list li:not(:last-child) { flex: 1 1 auto; }

/* ---------- Services ---------- */

.services { display: flex; flex-direction: column; gap: 64px; padding-bottom: 120px; }
.services .section-head h2 { font-size: clamp(32px, 21.9px + 2.29vw, 56px); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  min-height: 360px; padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.service:hover { border-color: #C9DCC5; box-shadow: 0 18px 40px -24px rgba(16, 84, 72, .35); transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service .num { font-size: 14px; font-weight: 600; }
.service h3 { font-size: 25px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.service p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.cta-card {
  min-height: 360px; padding: 36px;
  border-color: var(--lime); background: var(--lime);
  color: var(--forest); text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: background-color .25s, transform .25s var(--ease);
}
.cta-card:hover { background: #B6E366; color: var(--forest); transform: translateY(-3px); }
.cta-card .eyebrow { font-size: 14px; }
.cta-card-title { font-size: clamp(28px, 24.3px + .95vw, 38px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.cta-card-link { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.round-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease);
}
.cta-card:hover .round-arrow { transform: translateX(4px); }

/* ---------- Platform ---------- */

.platform {
  margin: 0 clamp(12px, 2.22vw, 32px);
  padding: 100px 88px;
  border-radius: 40px;
  overflow: hidden; /* the 580px dashed ring must not widen the page on smaller laptops */
  background:
    radial-gradient(55% 70% at 88% 12%, rgba(170, 221, 84, .32), transparent 70%),
    radial-gradient(50% 60% at 72% 100%, rgba(142, 227, 194, .38), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(217, 242, 127, .30), transparent 70%),
    linear-gradient(180deg, #F8FBF3 0%, #F0F8EE 100%);
  display: flex; align-items: center; gap: 40px;
}
.platform-copy { flex: 0 0 470px; display: flex; flex-direction: column; gap: 24px; }
.platform-copy p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.platform-copy .tags { margin-top: 8px; }

.product-stage {
  flex: 1; position: relative; min-height: 640px;
  display: flex; align-items: center; justify-content: flex-end; /* card sits at the right edge, like the cards below */
}
/* Centred on the Workspace card (it lives inside .product-wrap), so it moves with it. */
.product-ring {
  position: absolute; left: 50%; top: 50%;
  width: 580px; height: 580px; margin: -290px 0 0 -290px;
  border-radius: 50%; border: 2px dashed rgba(137, 201, 67, .5);
  animation: spin 40s linear infinite;
}
@property --glow-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.product-wrap { position: relative; width: 100%; max-width: 480px; }
.product-glow {
  position: absolute; inset: -30px -26px; border-radius: 52px;
  background: conic-gradient(from var(--glow-a), #AADD54, #8EE3C2, #D9F27F, #89C943, #B5ECD9, #AADD54);
  filter: blur(36px); opacity: .8;
  animation: glowTurn 14s linear infinite;
}
@keyframes glowTurn { to { --glow-a: 360deg; } }
.product {
  position: relative; width: 100%;
  padding: 32px; border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 30px 60px -36px rgba(16, 84, 72, .35);
  display: flex; flex-direction: column; gap: 20px;
}
.product-head { display: flex; align-items: center; gap: 14px; }
.product-bloom { width: 52px; height: 52px; flex: none; animation: spin 24s linear infinite; }
.product-name { display: flex; flex-direction: column; font-size: 24px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.product-line { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--muted); }
.product-lede { font-size: 16px; line-height: 1.55; color: var(--muted); }
.modules { display: flex; flex-direction: column; gap: 10px; }
.module {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border);
}
.module-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); flex: none; display: flex; align-items: center; justify-content: center; }
.module-icon svg, .product-ai svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.module > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.module-name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.module-text { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.product-ai {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: var(--soft); color: var(--forest);
  font-size: 14px; line-height: 1.45; font-weight: 500;
}
.product-ai svg { color: var(--leaf); flex: none; }
.product-cta { width: 100%; }

/* The modules light up one after another when the card comes into view. */
.js .product .module, .js .product .product-ai { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .product.in .module, .js .product.in .product-ai { opacity: 1; transform: none; }
.js .product.in .module:nth-child(1) { transition-delay: .2s; }
.js .product.in .module:nth-child(2) { transition-delay: .35s; }
.js .product.in .module:nth-child(3) { transition-delay: .5s; }
.js .product.in .product-ai { transition-delay: .65s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Security ---------- */

.security { display: flex; gap: 72px; align-items: center; }
.security-copy { flex: 0 0 470px; display: flex; flex-direction: column; gap: 24px; }
.security-copy h2 { font-size: clamp(30px, 22.6px + 1.9vw, 50px); }
.security-copy p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.security-copy .tags { margin-top: 8px; }

.cycle {
  flex: 1; position: relative; max-width: 860px; margin-left: auto; /* right edge on wide screens */
  padding: 40px; border-radius: 32px;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(142, 227, 194, .35), transparent 70%),
    radial-gradient(55% 65% at 100% 0%, rgba(170, 221, 84, .30), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(217, 242, 127, .32), transparent 70%),
    linear-gradient(180deg, #F8FBF3 0%, #F0F8EE 100%);
}
.cycle-ring {
  position: absolute; left: 50%; top: 50%;
  width: 380px; height: 380px; margin: -190px 0 0 -190px;
  border-radius: 50%; border: 2px dashed var(--lime-deep);
  animation: spin 60s linear infinite reverse;
}
.cycle-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 120px; }
/* Clockwise around the hub: 1 top left, 2 top right, 3 bottom right, 4 bottom left. */
.cycle-grid .step-3 { order: 4; }
.cycle-grid .step-4 { order: 3; }
.mini-card {
  padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.mini-card .mini-title { font-size: 20px; }
.cycle-hub {
  position: absolute; left: 50%; top: 50%;
  width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%; background: var(--forest); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, .55);
  font-size: 14px; font-weight: 600; line-height: 1.25;
}
.cycle-hub svg { width: 30px; height: 30px; color: var(--lime); stroke-width: 1.8; }
.cycle-hub-note { display: none; color: var(--lime); }

/* ---------- Deployment ---------- */

.deploy { display: flex; flex-direction: column; gap: 48px; padding-top: 0; }
.deploy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.deploy-card {
  min-height: 240px; padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.deploy-card svg { width: 34px; height: 34px; stroke-width: 1.6; }
.deploy-card div { display: flex; flex-direction: column; gap: 8px; }
.deploy-card h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.deploy-card p { font-size: 15px; color: var(--muted); }
.deploy-card-dark { background: var(--forest); border-color: var(--forest); color: var(--white); }
.deploy-card-dark svg { color: var(--lime); }
.deploy-card-dark p { color: var(--on-dark); }

/* ---------- Approach ---------- */

.approach {
  display: flex; flex-direction: column; gap: 72px;
  padding-top: clamp(48px, 23.1px + 6.38vw, 120px);
  position: relative;
}
.approach::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  border-top: 1px solid var(--border);
}
.approach-head { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.statement {
  max-width: 1040px;
  font-size: clamp(34px, 21.4px + 3.24vw, 68px);
  line-height: 1.06; font-weight: 600; letter-spacing: -.045em;
}
.statement mark {
  background: var(--lime); color: inherit;
  padding: 0 .18em; border-radius: .2em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.pillar { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 3px solid var(--bar); }
.pillar h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Vision / mission ---------- */

.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 0; }
.panel {
  padding: clamp(26px, 18.6px + 1.9vw, 48px);
  border-radius: 28px; background: var(--soft);
  display: flex; flex-direction: column; gap: 20px;
}
.panel p { font-size: clamp(18px, 14.66px + .857vw, 27px); line-height: 1.38; font-weight: 500; letter-spacing: -.015em; }

/* ---------- CTA ---------- */

.cta {
  position: relative; overflow: hidden;
  margin: 0 clamp(12px, 2.22vw, 32px) clamp(24px, 2.22vw, 32px);
  min-height: 480px;
  padding: 88px;
  border-radius: 40px;
  background: var(--forest); color: var(--white);
  display: flex; align-items: center;
}
.cta-bloom { position: absolute; right: 45px; top: 40px; width: 400px; height: 400px; animation: spin 90s linear infinite; }
.cta-content { position: relative; max-width: 720px; display: flex; flex-direction: column; gap: 26px; }
.cta-tagline { font-size: clamp(17px, 15.7px + .33vw, 22px); font-weight: 600; color: var(--lime); }
.cta h2 { font-size: clamp(44px, 30.6px + 3.43vw, 80px); line-height: .98; letter-spacing: -.045em; }
.cta p { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Why TrueGrad: the name's story opens the closing band; "Start with TrueGrad" follows it. */
.cta-with-why { flex-direction: column; align-items: stretch; gap: 64px; }
.cta-with-why .cta-bloom { top: auto; bottom: 40px; }
.cta-why { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.cta-why-text { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.cta-why .eyebrow { color: var(--lime); }
.cta .cta-why h2 { font-size: clamp(36px, 26px + 2.2vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.why-steps {
  list-style: none; margin: 4px 0 0; padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.why-steps li { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.why-steps span { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--lime); }
.why-visual { border-radius: 28px; background: var(--soft); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.why-visual canvas { display: block; width: 100%; height: 460px; }
.cta-start { padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: none; }
.cta-start > * { max-width: 720px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 48px;
}
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.footer-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.footer-tagline { font-size: 17px; font-weight: 600; color: var(--leaf); }
.footer-blurb { font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-cols { display: flex; gap: 96px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--forest); }

/* ---------- Scroll reveal (only when JS runs) ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.services-grid .reveal:nth-child(3n+2), .deploy-grid .reveal:nth-child(2), .pillars .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3n), .deploy-grid .reveal:nth-child(3), .pillars .reveal:nth-child(3) { transition-delay: .16s; }
.pillars .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsive ---------- */

/* Large tablet / small laptop */
@media (max-width: 1279px) {
  .platform { flex-direction: column; align-items: stretch; padding: 72px clamp(32px, 5vw, 64px); gap: 48px; }
  .platform-copy { flex: none; max-width: 640px; }
  .security { flex-direction: column; align-items: stretch; gap: 48px; }
  .security-copy { flex: none; max-width: 640px; }
  .cycle { max-width: 760px; width: 100%; margin-inline: auto; }
  .product-stage { justify-content: center; } /* stacked under the text: centred */
  /* Six sectors no longer fit on one line below 1280px: wrap them, without the dots. */
  .sectors { flex-wrap: wrap; gap: 10px 14px; padding: 18px 0; min-height: 0; }
  .sectors-label { width: 100%; }
  .sectors-list { flex-wrap: wrap; justify-content: flex-start; gap: 6px 20px; font-size: 16px; }
  .sectors-list li, .sectors-list li:not(:last-child) { flex: none; }
  .sectors-list li:not(:last-child)::after { display: none; }
}

@media (max-width: 1179px) {
  .primary-nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-inner { gap: 12px; }
  :root { --header-h: 96px; }
  .site-header.scrolled .header-inner { height: 72px; }
  .brand { gap: 13px; }
  .brand-mark { width: 56px; height: 56px; }
  .brand-name { font-size: 34px; }
  .site-header.scrolled .brand-mark { width: 44px; height: 44px; }
  .site-header.scrolled .brand-name { font-size: 28px; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service, .cta-card { min-height: 0; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .cta-bloom { right: -40px; top: auto; bottom: -60px; width: 340px; height: 340px; opacity: .55; }
  .cta-with-why .cta-bloom { bottom: -60px; }
  .cta-why { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta-why-text { max-width: 640px; }
  .why-visual canvas { height: 420px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 64px; }
}

/* Tablet */
@media (max-width: 899px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tags-end { justify-content: flex-start; }

  .sectors { flex-wrap: wrap; gap: 10px 14px; padding: 18px 0; min-height: 0; }
  .sectors-label { width: 100%; font-size: 12px; }
  .sectors-list { flex-wrap: wrap; justify-content: flex-start; gap: 6px 14px; font-size: 14px; }
  .sectors-list li, .sectors-list li:not(:last-child) { flex: none; }
  .sectors-list li:not(:last-child)::after { display: none; }

  /* Platform: copy on top, the Workspace card below. */
  .platform { padding: 48px 20px 40px; border-radius: 28px; gap: 28px; }
  .platform-copy { align-items: center; text-align: center; margin-inline: auto; gap: 16px; }
  .platform-copy .tags { justify-content: center; }
  .product-stage { min-height: 0; }
  .product-ring { display: none; }
  .product-wrap { max-width: 560px; }
  .product-glow { inset: -18px -14px; filter: blur(28px); }

  .company { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; gap: 10px; }
  .deploy-card { min-height: 0; padding: 20px 22px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; border-radius: 18px; }
  .deploy-card svg { width: 28px; height: 28px; flex: none; }
  .deploy-card h3 { font-size: 19px; }
  .deploy-card div { gap: 2px; }
  .deploy-card p { font-size: 14px; }

  .cta { padding: 56px 40px; min-height: 0; border-radius: 28px; }
}

/* Phone */
@media (max-width: 639px) {
  .header-actions { display: none; }
  .hero { padding-bottom: 32px; }
  .hero-content { gap: 20px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; height: 52px; }

  .services { gap: 24px; padding-bottom: 48px; }
  .services .section-head { gap: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service {
    padding: 22px; border-radius: 20px;
    display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; align-items: start;
  }
  .service-top { display: contents; }
  .service .icon-chip { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
  .service .icon-chip svg { width: 22px; height: 22px; }
  .service .num { display: none; }
  .service h3 { font-size: 17px; line-height: 1.3; letter-spacing: 0; }
  .service p { font-size: 14px; line-height: 1.55; grid-column: 2; }
  .cta-card { padding: 26px 22px; border-radius: 20px; gap: 20px; }
  .cta-card .eyebrow { font-size: 12px; }

  .platform { margin-inline: 12px; padding-inline: 8px; }
  .platform-copy { padding-inline: 12px; }
  .platform-copy p { font-size: 15px; }
  .product { padding: 22px 18px; border-radius: 22px; gap: 16px; }
  .product-head { gap: 12px; }
  .product-bloom { width: 44px; height: 44px; }
  .product-name { font-size: 21px; }
  .product-line { font-size: 16px; }
  .product-lede { font-size: 15px; }
  .module { padding: 12px; gap: 12px; }
  .module-icon { width: 40px; height: 40px; }
  .product-ai { font-size: 13.5px; padding: 12px 14px; }
  .product-cta { height: 52px; }

  .security { gap: 20px; padding-bottom: 24px; }
  .security-copy { gap: 16px; }
  .security-copy p { font-size: 15px; }
  .cycle { padding: 20px; border-radius: 24px; }
  .cycle-ring { display: none; }
  .cycle-grid { gap: 10px; }
  .cycle-grid .step-3 { order: 3; }
  .cycle-grid .step-4 { order: 4; }
  .mini-card { padding: 16px; border-radius: 16px; gap: 4px; border: 0; }
  .mini-card .mini-top svg, .mini-card .mini-text { display: none; }
  .mini-card .num { font-size: 12px; }
  .mini-card .mini-title { font-size: 16px; }
  .cycle-hub {
    position: static; margin: 10px 0 0; width: auto; height: auto;
    flex-direction: row; justify-content: space-between;
    padding: 14px 16px; border-radius: 16px; box-shadow: none;
    font-size: 15px; text-align: left;
  }
  .cycle-hub svg, .cycle-hub br { display: none; }
  .cycle-hub-note { display: inline; font-weight: 500; }

  .deploy { gap: 18px; padding-top: 40px; }
  .approach { gap: 24px; padding-bottom: 48px; }
  .approach-head { align-items: flex-start; text-align: left; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .pillar { padding-top: 12px; gap: 6px; }
  .pillar h3 { font-size: 16px; }
  .pillar p { font-size: 14px; }
  .company { gap: 12px; padding-top: 8px; padding-bottom: 48px; }
  .panel { border-radius: 20px; gap: 10px; }

  .cta { padding: 36px 24px; gap: 18px; }
  .cta-content { gap: 18px; }
  .cta p { font-size: 16px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; height: 52px; padding: 0 16px; }
  .cta-bloom { width: 200px; height: 200px; right: -50px; bottom: auto; top: -50px; opacity: .3; }
  .cta-with-why { gap: 36px; }
  .cta-with-why .cta-bloom { top: -50px; bottom: auto; }
  .cta-why { gap: 28px; }
  .cta-why-text { gap: 16px; }
  .why-steps li { font-size: 14px; }
  .why-visual { border-radius: 20px; }
  .why-visual canvas { height: 320px; }
  .cta-start { padding-top: 32px; }

  .site-footer { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
  .footer-brand { gap: 10px; }
  .footer-name { font-size: 18px; }
  .footer-tagline { font-size: 15px; }
  .footer-blurb { font-size: 14px; }
  .footer-cols { flex-direction: column; gap: 24px; font-size: 14px; }
  .footer-col { gap: 8px; }
  .footer-bottom { font-size: 12px; padding-top: 14px; }
  .footer-legal { gap: 20px; }
}

@media (max-width: 380px) {
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 29px; }
  .hero h1 { font-size: 38px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-ring, .product-bloom, .product-glow, .cycle-ring, .cta-bloom { animation: none; }
  .js .product .module, .js .product .product-ai { opacity: 1; transform: none; transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service, .cta-card, .round-arrow, .btn { transition: none; }
  .service:hover, .cta-card:hover { transform: none; }
}
