/* ==========================================================================
   Freshlight Lab — site styles
   Base layout from the Figma Make redesign ("Redesign commercial website").
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&display=swap");

/* ---------- Reset ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ol, ul { list-style: none; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; border-radius: 0; }
button { cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --orange: #ff5a1f;
  --orange-soft: #ff7848;
  --navy: #0c1423;
  --navy-deep: #080e18;
  --cream: #f4f3ef;
  --ink: #151516;
  --muted: #656568;
  --line: #15151629;
  --line-light: rgba(255, 255, 255, 0.15);
  --pad-x: clamp(24px, 7vw, 112px);
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}
body { background: var(--cream); margin: 0; }
a { color: inherit; text-decoration: none; }
img { width: 100%; }
svg { width: 20px; height: 20px; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

h1, h2, h3 { font-family: Manrope, sans-serif; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; padding: 0 clamp(24px, 4.5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: baseline; font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -1px; }
.brand span { font-weight: 400; }
.brand i { display: inline-block; width: 6px; height: 6px; margin-left: 3px; border-radius: 50%; background: var(--orange); }
.nav { display: flex; gap: clamp(22px, 3vw, 46px); margin-left: 8%; }
.nav a { position: relative; font: 600 16px Manrope, sans-serif; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: 0 center; transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 27px; }
.language-switcher { display: flex; align-items: center; gap: 6px; }
.language-switcher button { padding: 3px 0; font-size: 11px; opacity: .38; }
.language-switcher button.active { opacity: 1; font-weight: 700; }
.language-switcher span { color: #aaa; font-size: 10px; }
.header-cta {
  display: flex; align-items: center; gap: 14px; padding: 13px 17px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; transition: background .25s;
}
.header-cta:hover { background: var(--orange); }
.header-cta svg { width: 15px; }
.menu-button { display: none; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin: 0 0 28px;
  color: var(--orange); font-family: Manrope, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--orange-soft); }

.button { display: inline-flex; align-items: center; gap: 27px; padding: 18px 22px; font-size: 13px; font-weight: 600; transition: .25s; }
.button.primary { background: var(--orange); color: #fff; }
.button.primary:hover { background: #fff; color: var(--navy); }
.button.dark { background: var(--navy); color: #fff; margin-top: 5px; }
.button.dark:hover { background: #fff; color: var(--navy); }
.button.primary.on-light:hover { background: var(--navy); color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid; font-size: 13px; }
.text-link svg { width: 14px; }
.light-link { color: #d2d6dd; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 82px);
  padding: clamp(80px, 9vw, 145px) var(--pad-x) 35px;
  background: var(--navy); color: #fff;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.orb { position: absolute; border: 1px solid rgba(255, 90, 31, .22); border-radius: 50%; }
.orb-one { width: 500px; height: 500px; top: -170px; right: -180px; }
.orb-two { width: 650px; height: 650px; bottom: -350px; left: 18%; }
.hero-content { position: relative; display: grid; grid-template-columns: 1.05fr .7fr; align-items: center; gap: clamp(60px, 8vw, 145px); max-width: 1380px; margin: 0 auto; }
.hero-copy { position: relative; z-index: 2; max-width: 790px; }
h1 { margin: 0; font-size: clamp(50px, 6vw, 92px); font-weight: 500; line-height: .96; letter-spacing: -5px; }
h1 em { display: block; color: var(--orange); font-style: normal; }
.hero-lead { max-width: 600px; margin: 35px 0 38px; color: #b7bcc6; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 490px; }
.hero-image { position: absolute; top: 0; right: 0; width: min(34vw, 450px); height: 450px; overflow: hidden; transform: rotate(3deg); }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255,90,31,.1), rgba(12,20,35,.25)); }
.hero-image img { height: 100%; object-fit: cover; filter: saturate(.75); }
.floating-card {
  position: absolute; bottom: 55px; left: -45px; z-index: 2;
  display: flex; align-items: center; gap: 9px; padding: 17px 20px;
  background: #fff; color: var(--navy); font-size: 11px; font-weight: 700;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #40b96f; box-shadow: 0 0 0 4px rgba(64,185,111,.15); }
.code-pill { position: absolute; top: 45px; right: -24px; z-index: 2; padding: 13px 15px; background: var(--orange); color: #fff; font-family: monospace; font-size: 12px; transform: rotate(8deg); }
.hero-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; max-width: 1380px; margin: 60px auto 0; }
.scroll-link { color: #9299a6; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
.scroll-link span { margin-right: 9px; color: var(--orange); }
.proof { display: flex; align-items: center; gap: 13px; }
.proof strong { font-family: Manrope, sans-serif; font-size: 22px; }
.proof span { max-width: 85px; color: #89909e; font-size: 10px; line-height: 1.2; text-transform: uppercase; }
.proof b { width: 1px; height: 32px; margin: 0 8px; background: rgba(255,255,255,.2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(70px, 8vw, 120px) var(--pad-x) clamp(60px, 6vw, 90px);
  background: var(--navy); color: #fff;
}
.page-hero-inner { position: relative; max-width: 1380px; margin: 0 auto; }
.page-hero h1 { max-width: 15ch; font-size: clamp(44px, 5.4vw, 82px); letter-spacing: -3.5px; line-height: 1; }
.page-hero .hero-lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; color: #8a91a0; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { color: var(--orange); }
.page-hero .proof { margin-top: 55px; }
.page-hero .tags { margin-top: 32px; }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 10vw, 155px) var(--pad-x); }
.section-intro { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 80px; max-width: 1380px; margin: 0 auto 75px; }
.section h2, .plugins-section h2, .cta-section h2 { margin: 0; font-size: clamp(39px, 4vw, 63px); font-weight: 500; line-height: 1.05; letter-spacing: -3px; }
.section-intro > p, .services-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-footer { display: flex; justify-content: center; max-width: 1380px; margin: 30px auto 0; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(24px, 3vw, 48px); max-width: 1380px; margin: auto; }
.project-card { display: block; margin-bottom: 40px; }
.project-card.project-3 { grid-column: 1 / -1; width: 66%; margin-left: 17%; }
.project-image { position: relative; overflow: hidden; background: #e7e5df; }
.project-1 .project-image { height: 520px; }
.project-2 { margin-top: 100px; }
.project-2 .project-image { height: 390px; }
.project-3 .project-image { height: 440px; }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.16)); }
.project-image img { height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-number { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 13px 15px; background: #fff; color: var(--ink); font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700; }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 21px; }
.project-meta p { margin: 0; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.project-meta span { display: flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 11px; }
.project-meta svg { width: 13px; transition: transform .25s; }
.project-card:hover .project-meta svg { transform: rotate(45deg); color: var(--orange); }
.project-card h3 { margin: 12px 0 7px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -1.4px; }
.project-description { margin: 0; color: #707073; font-size: 14px; max-width: 520px; }

/* Portfolio grid: staggered two columns */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); max-width: 1380px; margin: auto; }
.portfolio-grid .project-card { margin-bottom: 70px; }
.portfolio-grid .project-image { height: clamp(340px, 34vw, 500px); }
.portfolio-grid .project-card:nth-child(even) { margin-top: 110px; }
.portfolio-grid .project-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: 66%; margin-left: 17%; }
.portfolio-grid .project-card:last-child:nth-child(odd) .project-image { height: clamp(340px, 30vw, 460px); }

/* Dark variant */
.section.dark { background: var(--navy); color: #fff; }
.section.dark .section-intro > p { color: #939aa4; }
.section.dark .project-description { color: #9aa0aa; }
.section.dark .project-image { background: #18223a; }

/* Filter / jump chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chips a { padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 40px; color: #d2d6dd; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; transition: .25s; }
.chips a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.chips a b { margin-left: 8px; color: var(--orange-soft); font-weight: 600; }
.chips a:hover b { color: #fff; }

/* ---------- Services ---------- */
.services-section { background: var(--navy); color: #fff; }
.services-heading { max-width: 1380px; margin: 0 auto 70px; }
.services-heading h2 { max-width: 700px; }
.services-heading > p:last-child { max-width: 600px; margin-top: 24px; color: #c3c8d0; font-size: 18px; }
.services-list { max-width: 1380px; margin: auto; border-top: 1px solid var(--line-light); }
.service { display: grid; grid-template-columns: clamp(90px, 9vw, 140px) 1fr .8fr 30px; align-items: center; gap: 30px; padding: 46px 10px 46px 0; border-bottom: 1px solid var(--line-light); transition: padding .25s; }
.service:hover { padding-left: 12px; }
.service:hover > svg { color: var(--orange); transform: rotate(45deg); }
.service-number { color: var(--orange); font: 700 13px Manrope, sans-serif; letter-spacing: 1px; }
/* Big outlined numbers in the services list; they fill in on hover */
.service .service-number { font-size: clamp(48px, 5vw, 76px); font-weight: 800; line-height: .9; letter-spacing: -3px; transition: color .3s, transform .3s; }
@supports (-webkit-text-stroke: 1px) {
  .service .service-number { color: transparent; -webkit-text-stroke: 1.5px var(--orange); }
  .service:hover .service-number { color: var(--orange); }
}
.service:hover .service-number { transform: translateX(4px); }
.service h3 { margin: 0 0 12px; font-size: clamp(23px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.6px; }
.service p { max-width: 520px; margin: 0; color: #c3c8d0; font-size: 16px; line-height: 1.65; }
.service > svg { transition: .25s; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 40px; color: #dfe2e7; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }

/* ---------- Plugins band ---------- */
.plugins-section {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 9vw;
  min-height: 680px; padding: 95px clamp(24px, 9vw, 145px);
  background: var(--orange); color: #171719;
}
.plugin-content { position: relative; z-index: 2; max-width: 680px; }
.plugin-content .eyebrow { color: #171719; }
.plugin-content > p:not(.eyebrow) { max-width: 580px; margin: 27px 0; font-size: 17px; line-height: 1.65; }
.plugin-proof { display: flex; align-items: center; gap: 20px; margin-top: 43px; padding-top: 22px; border-top: 1px solid rgba(0,0,0,.22); }
.plugin-proof strong { font-family: Manrope, sans-serif; font-size: 20px; }
.plugin-proof span { font-size: 11px; opacity: .65; }
.plugin-visual { --u: 1px; position: relative; z-index: 2; width: calc(var(--u) * 470); height: calc(var(--u) * 500); }
/* Plugin tiles: real plugin icons from freshlightlab.com, each with its brand colour */
.plugin-stack {
  --r: 0deg; --plugin: var(--orange);
  position: absolute; display: flex; flex-direction: column; justify-content: space-between;
  width: calc(var(--u) * 220); height: calc(var(--u) * 220); padding: calc(var(--u) * 24); overflow: hidden;
  background: #fff; color: var(--navy); box-shadow: 0 30px 60px rgba(0,0,0,.25);
  transform: rotate(var(--r)); transition: transform .35s, box-shadow .35s;
}
.plugin-stack::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--plugin); }
.plugin-stack:hover { z-index: 5; transform: rotate(var(--r)) translateY(-10px); box-shadow: 0 40px 70px rgba(0,0,0,.3); }
/* Staggered so every tile stays fully readable */
.plugin-stack.back { top: calc(var(--u) * 10); left: 0; --r: -7deg; }
.plugin-stack.middle { top: calc(var(--u) * 70); left: calc(var(--u) * 245); --r: 5deg; }
.plugin-stack.front { top: calc(var(--u) * 275); left: calc(var(--u) * 105); --r: -3deg; }
.plugin-icon { width: calc(var(--u) * 84); height: calc(var(--u) * 84); background: no-repeat left center / auto 100%; }
.plugin-stack strong { display: block; font: 800 calc(var(--u) * 18)/1.15 Manrope, sans-serif; letter-spacing: -.5px; }
.plugin-stack small { display: block; margin-top: 6px; color: #707073; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.plugin-tag { position: absolute; top: 24px; right: 22px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 30px; color: #707073; font: 800 9px Manrope, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.plugin-orbit { position: absolute; border: 1px solid rgba(0,0,0,.15); border-radius: 50%; }
.orbit-a { width: 560px; height: 560px; top: -120px; left: -200px; }
.orbit-b { width: 700px; height: 700px; bottom: -300px; right: -120px; }

/* ---------- About ---------- */
.about-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 9vw; max-width: 1600px; margin: auto; }
.about-image { position: relative; height: 570px; }
.about-image img { height: 100%; object-fit: cover; filter: saturate(.72); }
.about-image span { position: absolute; right: 0; bottom: 0; padding: 18px; background: var(--orange); color: #fff; font: 700 11px Manrope, sans-serif; text-transform: uppercase; }
.about-copy { max-width: 680px; }
.about-copy > p:not(.eyebrow) { max-width: 600px; margin: 30px 0 43px; color: #646467; font-size: 17px; line-height: 1.7; }
.num-list { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.num-list li { padding: 20px 4px; border-bottom: 1px solid var(--line); font: 600 14px Manrope, sans-serif; }
.num-list li span { display: inline-block; width: 55px; color: var(--orange); font-size: 9px; }

/* ---------- CTA ---------- */
.cta-section { position: relative; padding: clamp(90px, 10vw, 150px) clamp(24px, 9vw, 145px); background: var(--navy); color: #fff; }
.cta-section h2 { max-width: 850px; }
.cta-section > p:not(.eyebrow) { max-width: 610px; margin: 30px 0 0; color: #9ca2ad; font-size: 16px; line-height: 1.7; }
.round-cta { position: absolute; bottom: 110px; right: 11%; display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; border-radius: 50%; background: var(--orange); transition: transform .25s; }
.round-cta:hover { transform: scale(1.08); }
.round-cta svg { width: 32px; height: 32px; }

/* ---------- Footer ---------- */
footer { padding: 65px var(--pad-x) 30px; background: var(--navy-deep); color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-brand { font-size: 23px; }
.footer-top p { color: #777f8c; font-size: 12px; text-align: center; }
.footer-top > a:last-child { justify-self: end; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: #626a76; font-size: 9px; text-transform: uppercase; }
.footer-bottom { align-items: center; }
.footer-bottom div { display: flex; gap: 14px 28px; }
.footer-bottom div a { color: #9aa0aa; font: 600 13px Manrope, sans-serif; letter-spacing: 1px; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Case study page
   ========================================================================== */
.case-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(50px, 7vw, 120px); max-width: 1380px; margin: auto; }
.case-copy { position: sticky; top: 120px; }
.case-block + .case-block { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.case-block h2 { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; font-size: clamp(28px, 2.6vw, 40px) !important; letter-spacing: -1.5px !important; }
.case-block h2 span { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.case-block p { color: #4f4f53; font-size: 16px; line-height: 1.75; }
.case-block p + p { margin-top: 16px; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border-top: 1px solid var(--line); }
.case-meta div { padding: 18px 16px 0 0; }
.case-meta dt { margin-bottom: 6px; color: var(--orange); font: 800 9px Manrope, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.case-meta dd { margin: 0; font: 600 14px Manrope, sans-serif; }
.case-shot { position: relative; }
.case-shot-frame { position: relative; }
.case-shot-frame::before { content: ""; position: absolute; top: 28px; left: -28px; bottom: -28px; width: 60%; background: var(--orange); }
.case-shot img { position: relative; box-shadow: 0 30px 60px rgba(12,20,35,.18); }
.case-shot figcaption { position: relative; margin-top: 46px; color: var(--muted); font-size: 12px; }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.case-nav a { display: flex; flex-direction: column; gap: 10px; padding: 50px var(--pad-x); transition: background .25s; }
.case-nav a + a { align-items: flex-end; text-align: right; border-left: 1px solid var(--line); }
.case-nav a:hover { background: #fff; }
.case-nav small { color: var(--orange); font: 800 10px Manrope, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.case-nav strong { font: 500 clamp(22px, 2.4vw, 34px) Manrope, sans-serif; letter-spacing: -1.2px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 8vw, 140px); max-width: 1380px; margin: auto; }
.field { margin-bottom: 30px; }
.field label { display: block; margin-bottom: 10px; color: var(--orange); font: 800 9px Manrope, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(21,21,22,.3);
  font-size: 18px; transition: border-color .25s;
}
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a1f' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.form-note { margin-top: 18px; color: var(--muted); font-size: 12px; }
.contact-aside .num-list li { display: flex; flex-direction: column; gap: 6px; padding: 24px 4px; }
.contact-aside .num-list li span { width: auto; }
.contact-aside .num-list li p { color: var(--muted); font: 400 15px/1.6 "DM Sans", sans-serif; }
.contact-aside .num-list a:hover { color: var(--orange); }
.contact-aside h2 { margin-bottom: 40px !important; font-size: clamp(30px, 3vw, 44px) !important; letter-spacing: -1.6px !important; }

/* ==========================================================================
   Plugins page
   ========================================================================== */
/* One row per plugin, alternating sides; --plugin is the plugin's brand colour */
.plugin-rows { display: flex; flex-direction: column; gap: clamp(80px, 9vw, 140px); max-width: 1380px; margin: auto; }
.plugin-row { --plugin: var(--orange); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.plugin-row:nth-child(even) .plugin-art { order: 2; }
.plugin-art {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / .8; overflow: hidden; background: #fff; border: 1px solid var(--line);
}
.plugin-art::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -22%; border-radius: 50%;
  background: var(--plugin); opacity: .14; transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.plugin-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--plugin); }
.plugin-art img { position: relative; width: 68%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.plugin-row:hover .plugin-art img { transform: scale(1.04); }
.plugin-row:hover .plugin-art::before { transform: scale(1.25); }
.plugin-art-number { position: absolute; left: 28px; top: 22px; color: var(--muted); font: 800 11px Manrope, sans-serif; letter-spacing: 1.6px; }
.plugin-art .plugin-tag { top: 22px; right: 24px; }
.plugin-row-copy .eyebrow { margin-bottom: 22px; }
.plugin-row-copy h3 { font-size: clamp(36px, 3.6vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -2.4px; }
.plugin-row-copy .plugin-row-title { margin: 14px 0 22px; font: 600 clamp(18px, 1.5vw, 22px)/1.35 Manrope, sans-serif; letter-spacing: -.5px; }
.plugin-row-copy > p:not(.eyebrow):not(.plugin-row-title) { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.plugin-row-copy .num-list { margin: 32px 0 40px; }
.plugin-row-copy .num-list li { padding: 15px 4px; font-size: 13px; }
.plugin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.plugin-actions .text-link:hover { color: var(--orange); }

/* Reviews */
.reviews-section { background: #fff; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); max-width: 1380px; margin: auto; }
.review { display: flex; flex-direction: column; margin: 0; padding: clamp(30px, 3vw, 44px); background: var(--cream); border-top: 3px solid var(--orange); }
.review-stars { color: var(--orange); font-size: 15px; letter-spacing: 3px; }
.review-title { margin: 22px 0 14px; font: 800 11px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.review blockquote { margin: 0 0 30px; font: 500 clamp(18px, 1.5vw, 21px)/1.45 Manrope, sans-serif; letter-spacing: -.4px; }
.review figcaption { margin-top: auto; color: var(--muted); font-size: 12px; }
.review figcaption::before { content: "— "; color: var(--orange); }
@media (max-width: 1050px) { .reviews { grid-template-columns: 1fr; max-width: 720px; } }

/* Resource list reuses .service rows; as links they need block colour */
a.service { color: inherit; }

.quote-section { max-width: 1100px; margin: auto; text-align: center; }
.quote-section blockquote { font: 500 clamp(26px, 3.2vw, 46px)/1.2 Manrope, sans-serif; letter-spacing: -1.6px; }
.quote-section blockquote::before { content: "“"; display: block; margin-bottom: 10px; color: var(--orange); font-size: 90px; line-height: .6; }
.quote-section cite { display: block; margin-top: 30px; color: var(--muted); font-size: 11px; font-style: normal; letter-spacing: 1.6px; text-transform: uppercase; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1050px) {
  .nav { gap: 20px; margin-left: 0; }
  .header-cta { display: none; }
  .hero-content { grid-template-columns: 1fr .55fr; gap: 50px; }
  .hero-image { width: 32vw; }
  .project-1 .project-image { height: 430px; }
  .plugin-visual { --u: .82px; }
  .plugin-tag { display: none; }
  .case-section { grid-template-columns: 1fr; }
  .case-copy { position: static; }
  .case-shot { max-width: 640px; margin-left: 28px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; }
  .nav {
    position: absolute; inset: 70px 0 auto; z-index: -1;
    flex-direction: column; align-items: center; gap: 30px; padding: 45px 20px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s;
  }
  .nav.open { transform: translateY(0); }
  .nav a { font: 600 22px Manrope, sans-serif; }
  .header-actions { gap: 19px; }
  .menu-button { display: grid; gap: 6px; width: 27px; padding: 5px 0; }
  .menu-button span { display: block; width: 100%; height: 1px; background: currentColor; }
  .hero { min-height: auto; padding: 80px 24px 30px; }
  .hero-content { display: block; }
  h1 { font-size: clamp(47px, 14vw, 67px); letter-spacing: -3.5px; }
  .page-hero h1 { font-size: clamp(40px, 12vw, 60px); letter-spacing: -2.5px; }
  .hero-visual { min-height: 420px; margin-top: 60px; }
  .hero-image { right: 5%; width: 88%; height: 375px; }
  .floating-card { bottom: 15px; left: 0; }
  .code-pill { right: 0; }
  .hero-bottom { margin-top: 38px; }
  .hero .proof { display: none; }
  .page-hero .proof { flex-wrap: wrap; }
  .section-intro { display: block; margin-bottom: 48px; }
  .section-intro > p { margin-top: 25px; }
  .section h2, .plugins-section h2, .cta-section h2 { font-size: 39px; letter-spacing: -2px; }
  .project-grid, .portfolio-grid { display: block; }
  .project-card, .project-card.project-3,
  .portfolio-grid .project-card, .portfolio-grid .project-card:nth-child(even),
  .portfolio-grid .project-card:last-child:nth-child(odd) { width: 100%; margin: 0 0 60px; }
  .project-2 { margin-top: 0; }
  .project-1 .project-image, .project-2 .project-image, .project-3 .project-image,
  .portfolio-grid .project-image, .portfolio-grid .project-card:last-child:nth-child(odd) .project-image { height: 360px; }
  .service { grid-template-columns: 58px 1fr 20px; gap: 18px; padding: 30px 0; }
  .service .service-number { font-size: 38px; letter-spacing: -1.5px; }
  .service .tags { display: none; }
  .services-heading { margin-bottom: 45px; }
  .plugins-section { display: flex; flex-direction: column; gap: 55px; padding-top: 90px; padding-bottom: 90px; }
  .plugin-visual { --u: .68px; margin: 0 auto; }
  .about-section { display: flex; flex-direction: column; }
  .about-image { width: 100%; height: 420px; }
  .round-cta { position: relative; right: auto; bottom: auto; width: 75px; height: 75px; margin-top: 45px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top p { text-align: left; }
  .footer-top > a:last-child { justify-self: start; }
  .footer-bottom { gap: 20px; line-height: 1.6; }
  .case-meta { grid-template-columns: 1fr; }
  .case-shot { margin-left: 18px; }
  .case-shot-frame::before { left: -18px; top: 18px; bottom: -18px; }
  .case-nav { grid-template-columns: 1fr; }
  .case-nav a + a { align-items: flex-start; text-align: left; border-left: 0; border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .plugin-row { grid-template-columns: 1fr; }
  .plugin-row:nth-child(even) .plugin-art { order: 0; }
  .plugin-actions { gap: 22px; }
}

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

/* Small helpers */
.project-meta i, .case-block h2 i { font-style: normal; }
section[id] { scroll-margin-top: 82px; }

/* Logo (from freshlightlab.com) */
.brand img { width: auto; height: 44px; }
.footer-brand img { height: 48px; filter: brightness(0) invert(1); }
@media (max-width: 760px) { .brand img { height: 36px; } }

/* ---------- Work carousel (home) ---------- */
.carousel { --gap: clamp(20px, 2.5vw, 36px); --per-view: 3; max-width: 1380px; margin: auto; }
.carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: 6px; }
.carousel-item { margin: 0; scroll-snap-align: start; }
.carousel-item .project-image { height: clamp(320px, 28vw, 420px); }
.carousel-item h3 { font-size: clamp(22px, 1.9vw, 30px); }
.carousel-controls { display: flex; align-items: center; gap: 14px; margin-top: 48px; }
.carousel-progress { position: relative; flex: 1; height: 1px; margin-right: 18px; background: var(--line); }
.carousel-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--orange); transition: width .3s; }
.carousel-btn {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 54px; height: 54px; border: 1px solid rgba(21,21,22,.25); border-radius: 50%;
  transition: background .25s, border-color .25s, color .25s, opacity .25s;
}
.carousel-btn:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: #fff; }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-controls .button { margin-left: 18px; }
@media (max-width: 1050px) { .carousel { --per-view: 2; } }
@media (max-width: 760px) {
  .carousel { --per-view: 1; }
  .carousel-track { grid-auto-columns: 84%; }
  .carousel-item .project-image { height: 340px; }
  .carousel-controls { flex-wrap: wrap; margin-top: 36px; }
  .carousel-progress { flex-basis: 100%; margin: 0 0 22px; }
  .carousel-controls .button { margin-left: auto; padding: 16px 18px; gap: 14px; }
}
.project-image img.is-cover { object-position: center; }
/* Covers share the navy background: give them an edge on dark sections */
.section.dark .project-image { box-shadow: 0 0 0 1px rgba(255,255,255,.1); }

/* ---------- Motion (see js/main.js) ---------- */
.reveal { opacity: 0; translate: 0 32px; transition: opacity .9s ease, translate .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
/* Taller images inside their frames leave room for the parallax shift */
.project-image img, .about-image img { height: calc(100% + 80px); margin-top: -40px; will-change: translate; }
.about-image { overflow: hidden; }
.orb, .plugin-orbit, .hero-image, .code-pill, .floating-card { will-change: translate; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; }
  .project-image img, .about-image img { height: 100%; margin-top: 0; }
}

/* Contact form status + honeypot */
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status p { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--line); background: #fff; font-size: 14px; }
.form-status [data-status="success"] { border-color: #1f9e7c; color: #14684f; }
.form-status [data-status="invalid"], .form-status [data-status="error"] { border-color: #d64545; color: #a12f2f; }
.form-status [data-status="sending"] { color: var(--muted); }
[data-contact-form] button:disabled { opacity: .6; cursor: progress; }
#contact-form { scroll-margin-top: 110px; }

/* Contact success modal — fixed to the viewport so it is always visible */
#contact-form { position: relative; }
.form-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(244, 243, 239, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.form-modal[hidden] { display: none; }
.form-modal.is-open { opacity: 1; }
.form-modal-card {
  max-width: 420px; padding: 44px 40px 40px; text-align: center;
  background: var(--navy); color: #fff; box-shadow: 0 30px 60px rgba(12, 20, 35, .3);
  transform: translateY(16px) scale(.97); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.form-modal.is-open .form-modal-card { transform: none; }
.form-modal-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--orange); }
.form-modal-icon svg { width: 30px; height: 30px; }
.form-modal-card h3 { margin-bottom: 12px; font-size: 28px; font-weight: 500; letter-spacing: -1px; }
.form-modal-card p { margin-bottom: 28px; color: #b7bcc6; font-size: 15px; line-height: 1.6; }

/* ---------- Client logos marquee (home) ---------- */
.clients-section { padding: clamp(70px, 8vw, 120px) 0; overflow: hidden; background: #fff; }
.clients-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: 1380px; margin: 0 auto 50px; padding: 0 var(--pad-x); }
.clients-head .eyebrow { margin-bottom: 0; }
.clients-head h2 { max-width: 560px; font-size: clamp(28px, 2.8vw, 42px); font-weight: 500; line-height: 1.1; letter-spacing: -1.5px; text-align: right; }
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee + .logo-marquee { margin-top: 6px; }
.logo-track { display: flex; width: max-content; animation: logo-scroll 48s linear infinite; }
.logo-marquee.is-reverse .logo-track { animation-direction: reverse; animation-duration: 54s; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
.logo-tile {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 220px; height: 120px; margin-right: 18px; padding: 24px;
  transition: transform .3s;
}
.logo-tile img { width: auto; height: auto; max-width: 150px; max-height: 46px; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-tile.is-tall img { max-height: 70px; }
.logo-tile.is-white img { filter: brightness(0); opacity: .6; }
.logo-tile:hover { transform: translateY(-3px); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile.is-white:hover img { filter: brightness(0); opacity: 1; }
@media (max-width: 760px) {
  .clients-head { display: block; }
  .clients-head h2 { margin-top: 20px; text-align: left; }
  .logo-tile { width: 160px; height: 96px; margin-right: 12px; padding: 18px; }
  .logo-tile img { max-width: 120px; max-height: 38px; }
  .logo-tile.is-tall img { max-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}
.logo-tile.is-wide img { max-width: 176px; }
@media (max-width: 760px) { .logo-tile.is-wide img { max-width: 132px; } }

/* ==========================================================================
   Plugin product pages, documentation and about (content from the old site)
   ========================================================================== */
.page-hero .hero-actions { margin-top: 40px; }
/* Product heroes get a hint of the plugin's brand colour */
.product-hero .orb-one { background: radial-gradient(circle, var(--plugin), transparent 65%); opacity: .35; }

.product-shot { max-width: 1380px; margin: 0 auto 70px; }
.product-shot img { border: 1px solid var(--line); background: #fff; }
.product-shot figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1380px; margin: auto; border-top: 1px solid var(--line); }
.feature-grid li { padding: 24px 18px 24px 4px; border-bottom: 1px solid var(--line); font: 600 14px Manrope, sans-serif; }
.feature-grid li span { display: block; margin-bottom: 10px; color: var(--orange); font-size: 9px; }

.plans-section { background: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); max-width: 1380px; margin: auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(30px, 3vw, 44px); background: var(--cream); border-top: 3px solid var(--line); }
.plan.is-featured { background: var(--navy); color: #fff; border-top-color: var(--orange); }
.plan h3 { font-size: 15px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 28px; }
.plan-price strong { font: 500 clamp(40px, 4vw, 58px)/1 Manrope, sans-serif; letter-spacing: -2px; }
.plan-price span { color: var(--muted); font-size: 12px; }
.plan.is-featured .plan-price span { color: #9aa0aa; }
.plan ul { margin-bottom: 34px; border-top: 1px solid var(--line); }
.plan li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.plan.is-featured ul, .plan.is-featured li { border-color: var(--line-light); }
.plan li:first-child { font-weight: 600; }
.plan .button { align-self: flex-start; margin-top: auto; }
.guarantee { max-width: 1380px; margin: 50px auto 0; padding: 30px 34px; border: 1px dashed rgba(21,21,22,.3); }
.guarantee h3 { margin-bottom: 10px; font-size: 20px; font-weight: 600; }
.guarantee h3::before { content: "✓"; margin-right: 12px; color: var(--orange); }
.guarantee p { max-width: 800px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 7vw, 110px); max-width: 1380px; margin: auto; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font: 600 clamp(16px, 1.4vw, 19px) Manrope, sans-serif; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 720px; padding: 0 4px 26px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-item a, .doc-body a:not(.text-link), .contact-aside p a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.product-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 8vw, 130px); max-width: 1380px; margin: auto; }
.product-intro img { max-width: 520px; }
.product-intro > div > p:not(.eyebrow) { margin: 28px 0 36px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.steps-section { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 60px); max-width: 1380px; margin: auto; }
.step img { width: 70%; max-width: 240px; margin-bottom: 30px; }
.step .service-number { display: block; margin-bottom: 12px; }
.step h3 { margin-bottom: 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.8px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Documentation */
.docs-section { display: flex; flex-direction: column; gap: clamp(50px, 6vw, 80px); }
.docs-plugin { max-width: 1380px; width: 100%; margin: auto; padding-top: 34px; border-top: 4px solid var(--plugin); }
.docs-plugin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.docs-plugin-head img { width: auto; height: 54px; }
.docs-plugin-head p { color: var(--muted); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.docs-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.docs-category h3 { margin-bottom: 14px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.docs-category li, .doc-nav li { border-bottom: 1px solid var(--line); }
.docs-category a { display: block; padding: 13px 0; font: 600 14px/1.4 Manrope, sans-serif; transition: color .2s, padding .2s; }
.docs-category a:hover { padding-left: 6px; color: var(--orange); }
.doc-hero h1 { max-width: 22ch; font-size: clamp(36px, 4.2vw, 62px); letter-spacing: -2.4px; }
.doc-layout { display: grid; grid-template-columns: 1fr 320px; align-items: start; gap: clamp(40px, 7vw, 110px); max-width: 1380px; margin: auto; }
.doc-body { min-width: 0; max-width: 760px; } /* lets wide <pre> blocks scroll instead of widening the grid */
.doc-body > p { margin-bottom: 22px; font-size: 17px; line-height: 1.75; }
.doc-body > h2 { margin: 44px 0 16px; font-size: clamp(22px, 2vw, 28px) !important; letter-spacing: -.8px !important; }
.doc-body figure { margin: 30px 0 36px; }
.doc-body figure img { border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px rgba(12,20,35,.08); }
.doc-body pre { margin: 26px 0; padding: 24px; overflow-x: auto; background: var(--navy); color: #e6e8ec; font: 13px/1.7 ui-monospace, Consolas, monospace; }
.doc-body code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.doc-body p code { padding: 2px 6px; background: #fff; border: 1px solid var(--line); }
.doc-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 50px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 16px Manrope, sans-serif; }
.doc-nav { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 28px; }
.doc-nav h2 { margin-bottom: 8px !important; color: var(--orange); font-size: 10px !important; font-weight: 800 !important; letter-spacing: 1.6px !important; text-transform: uppercase; }
.doc-nav a { display: block; padding: 10px 0; color: var(--muted); font-size: 13px; line-height: 1.4; transition: color .2s; }
.doc-nav a:hover, .doc-nav a[aria-current] { color: var(--ink); }
.doc-nav a[aria-current] { font-weight: 600; box-shadow: inset 3px 0 0 var(--orange); padding-left: 12px; }

/* About */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); max-width: 1380px; margin: auto; }
.team-member { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: clamp(28px, 3vw, 44px); background: #fff; border: 1px solid var(--line); }
.team-member img { aspect-ratio: 1; object-fit: cover; filter: saturate(.8); }
.team-member h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -1.2px; }
.team-role { margin: 6px 0 18px; color: var(--orange); font: 800 10px Manrope, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.team-member p:not(.team-role) { color: var(--muted); font-size: 15px; line-height: 1.7; }
.team-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.team-links a { padding-bottom: 3px; border-bottom: 1px solid; font-size: 12px; }
.team-links a:hover { color: var(--orange); }
.codeable { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(40px, 8vw, 130px); max-width: 1380px; margin: auto; }
.codeable > div > p:not(.eyebrow) { max-width: 640px; margin: 28px 0 40px; color: #939aa4; font-size: 16px; line-height: 1.7; }
.codeable-score { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 40px; border-left: 1px solid var(--line-light); }
.codeable-score strong { color: var(--orange); font: 500 clamp(80px, 9vw, 140px)/1 Manrope, sans-serif; letter-spacing: -5px; }
.codeable-score span { color: #939aa4; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }

.footer-bottom div { flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 1050px) {
  .feature-grid, .docs-categories { grid-template-columns: 1fr 1fr; }
  .plans, .steps { grid-template-columns: 1fr; max-width: 640px; }
  .faq-layout, .product-intro, .doc-layout, .codeable, .team-grid { grid-template-columns: 1fr; }
  .doc-nav { position: static; }
  .codeable-score { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
}
@media (max-width: 760px) {
  .feature-grid, .docs-categories { grid-template-columns: 1fr; }
  .team-member { grid-template-columns: 1fr; }
  .team-member img { max-width: 160px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom div { justify-content: flex-start; }
}

/* ---------- AI agents (About page) ---------- */
/* Agent cards reuse .team-member; only the avatar tile and the meta row are specific */
.team-title em { display: block; color: var(--orange); font-style: normal; }
.agents-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1380px; margin: clamp(60px, 7vw, 100px) auto 30px; }
.agents-head .eyebrow { margin: 0; }
.agents-count { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.agents-count .status-dot { animation: agent-pulse 2s ease-in-out infinite; }
.agent { --agent: var(--orange); }
.agent-avatar { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: color-mix(in srgb, var(--agent) 14%, #fff); overflow: hidden; }
.agent-avatar svg { width: 68%; height: auto; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.agent:hover .agent-avatar svg { transform: rotate(-6deg) scale(1.06); }
.agent .team-role { color: color-mix(in srgb, var(--agent) 72%, #151516); } /* darkened so yellow/green stay readable on white */
.agent-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.agent-meta span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.agent-meta .agent-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font: 800 9px Manrope, sans-serif; letter-spacing: 1px; }
.agent-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #40b96f; animation: agent-pulse 2s ease-in-out infinite; }
.agents-note { max-width: 1380px; margin: 30px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.agents-note a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* Each robot blinks on its own rhythm; Sentinel's visor scans */
.agent-eyes { transform-box: fill-box; transform-origin: center; animation: agent-blink 5s infinite; }
.agent:nth-child(2) .agent-eyes { animation-delay: 1.3s; }
.agent:nth-child(3) .agent-eyes { animation-delay: 2.6s; animation-duration: 6s; }
.agent:nth-child(4) .agent-eyes { animation-delay: .7s; animation-duration: 4.4s; }
.agent:nth-child(5) .agent-eyes { animation-delay: 3.4s; }
.agent:nth-child(6) .agent-eyes { animation: none; }
.agent-scan { animation: agent-scan 2.4s ease-in-out infinite alternate; }
.agent-led { animation: agent-pulse 2.4s ease-in-out infinite; }
@keyframes agent-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes agent-scan { from { transform: translateX(0); } to { transform: translateX(24px); } }
@keyframes agent-pulse { 50% { opacity: .35; } }

@media (max-width: 760px) {
  .agents-head { flex-direction: column; align-items: flex-start; }
  .agent-avatar { max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-eyes, .agent-scan, .agent-led, .agent-status::before, .agents-count .status-dot { animation: none; }
}

/* ---------- Privacy policy ---------- */
.legal-body > section { scroll-margin-top: 110px; }
.legal-body > section + section { margin-top: 34px; border-top: 1px solid var(--line); }
.legal-body h2 span { margin-right: 10px; color: var(--orange); font-size: .6em; font-weight: 800; letter-spacing: 1px; vertical-align: middle; }
.legal-body h2 { margin: 34px 0 16px; font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.2; letter-spacing: -.8px !important; }
.legal-body > section:first-child h2 { margin-top: 0; }
.legal-body p { margin-bottom: 14px; font-size: 16px; line-height: 1.75; }
.form-privacy { margin-top: 8px; }
.form-privacy a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
