/* ---------- Tokens ---------- */
:root {
  --bg: #0a0e1a;
  --bg-soft: #111726;
  --bg-light: #f6f7fb;
  --surface: #ffffff;
  --text: #0c1222;
  --text-dim: #5a6478;
  --text-on-dark: #e7ecf5;
  --text-on-dark-dim: #9aa4bb;
  --brand: #4f8cff;
  --brand-2: #8b5cf6;
  --brand-3: #22d3ee;
  --border: #e6e9f2;
  --border-dark: #1e2638;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 20px 60px rgba(15, 23, 42, 0.18);
  --grad: linear-gradient(135deg, #4f8cff 0%, #8b5cf6 50%, #22d3ee 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79, 140, 255, 0.45); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-light); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.nav__logo-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.nav__logo-text {
  letter-spacing: 0.5px;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; transition: color .15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); font-weight: 600; }
.nav__cta { display: inline-flex; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 100px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(79, 140, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(139, 92, 246, 0.15), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(34, 211, 238, 0.10), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(79, 140, 255, 0.08); color: var(--brand);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.4px;
  margin-bottom: 22px; border: 1px solid rgba(79, 140, 255, 0.18);
}
.hero__title { margin-bottom: 20px; }
.hero__subtitle { font-size: 1.15rem; color: var(--text-dim); max-width: 560px; margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__metrics { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__metrics li { display: flex; flex-direction: column; }
.hero__metrics strong { font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.hero__metrics span { color: var(--text-dim); font-size: 0.9rem; }

/* hero visual */
.hero__visual { position: relative; height: 460px; }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55; }
.orb--1 { width: 260px; height: 260px; background: #4f8cff; top: 30px; right: 30px; }
.orb--2 { width: 220px; height: 220px; background: #8b5cf6; bottom: 10px; left: 20px; }
.card-stack { position: absolute; inset: 0; }
.floatcard {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-strong);
  display: flex; align-items: center; gap: 14px;
  min-width: 230px; animation: floaty 6s ease-in-out infinite;
}
.floatcard--1 { top: 40px; left: 20px; }
.floatcard--2 { top: 180px; right: 0; animation-delay: -2s; }
.floatcard--3 { bottom: 40px; left: 60px; animation-delay: -4s; }
.floatcard__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.18); }
.floatcard__dot--alt { background: var(--brand-2); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }
.floatcard__dot--ok { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.floatcard__title { margin: 0; font-weight: 700; font-size: 0.95rem; }
.floatcard__text { margin: 2px 0 0; color: var(--text-dim); font-size: 0.85rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Trust strip ---------- */
.trust { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-light); }
.trust__lead { text-align: center; color: var(--text-dim); font-size: 1rem; margin: 0; font-style: italic; }

/* ---------- Generic section ---------- */
.section { padding: 100px 0; }
.section--soft { background: var(--bg-light); }
.section--dark { background: var(--bg); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark .section__lead { color: var(--text-on-dark-dim); }

.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--brand-3); }
.section__lead { font-size: 1.1rem; color: var(--text-dim); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Problem cards ---------- */
.problem-card {
  background: var(--bg-soft); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.problem-card h3 { color: var(--text-on-dark); }
.problem-card p { color: var(--text-on-dark-dim); margin: 0; }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.approach__item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.approach__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.approach__num {
  display: inline-block; font-size: 0.85rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.approach__item p { color: var(--text-dim); margin: 0; }

/* ---------- Pillars ---------- */
.pillar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(79, 140, 255, 0.10); display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.pillar p { color: var(--text-dim); margin: 0; }
.pillar--feature {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, var(--brand), var(--brand-2)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow);
}
.pillar--feature .pillar__icon {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
}

/* ---------- Humanizer Phase ---------- */
.humanizer__quote {
  border-left: 3px solid var(--brand); padding-left: 18px;
  font-style: italic; color: var(--text); font-size: 1.1rem;
  margin: 40px 0 24px;
}
.humanizer__quote--center {
  max-width: 760px;
  margin: 48px auto 24px;
  text-align: left;
}
.humanizer__cta { text-align: center; margin-top: 8px; }

.hitl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.hitl-step {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hitl-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.hitl-step__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-3);
  margin-bottom: 8px;
}
.hitl-step h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-on-dark); }
.hitl-step p { color: var(--text-on-dark-dim); font-size: 0.95rem; margin: 0; }
.hitl-step strong { color: var(--text-on-dark); }

.section--dark .humanizer__quote {
  color: var(--text-on-dark);
  border-left-color: var(--brand-3);
}

/* ---------- Bullets row ---------- */
.bullet {
  background: var(--bg-soft); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.bullet span { font-size: 1.6rem; color: var(--brand-3); display: block; margin-bottom: 6px; }
.bullet h4 { margin: 0; color: var(--text-on-dark); }

/* ---------- Vision ---------- */
.vision { background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%); }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: 100px 0;
  background: radial-gradient(800px 400px at 10% 30%, rgba(79,140,255,0.4), transparent 60%), var(--bg);
  color: var(--text-on-dark); overflow: hidden;
}
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: var(--text-on-dark-dim); font-size: 1.1rem; margin-bottom: 36px; }
.cta__form { display: grid; gap: 12px; max-width: 480px; margin: 0 auto; }
.cta__form input {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--border-dark); background: rgba(255,255,255,0.05);
  color: #fff; font-size: 1rem; font-family: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.cta__form input::placeholder { color: var(--text-on-dark-dim); }
.cta__form input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,0.08); }
.cta__feedback { margin: 6px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.cta__feedback.ok { color: #22c55e; }
.cta__feedback.err { color: #f87171; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--text-on-dark-dim); padding: 70px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.footer__tag { margin-top: 14px; max-width: 240px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h5 { color: #fff; margin-bottom: 12px; font-size: 0.95rem; }
.footer__cols a { display: block; color: var(--text-on-dark-dim); margin-bottom: 8px; font-size: 0.9rem; transition: color .15s ease; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 50px; padding-top: 24px;
  text-align: center; font-size: 0.85rem;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 60px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 380px; }
  .grid--2, .grid--3, .approach { grid-template-columns: 1fr 1fr; }
  .hitl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .grid--2, .grid--3, .approach, .footer__cols { grid-template-columns: 1fr; }
  .hero__metrics { gap: 24px; }
  .hitl-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .cta { padding: 70px 0; }
}

/* ---------- Global AI Flow diagram ---------- */
.flow-diagram {
  margin-top: 40px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(139, 92, 246, 0.06));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  overflow-x: auto;
}
.flow-diagram img {
  width: 100%;
  height: auto;
  min-width: 900px;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
}
@media (max-width: 900px) {
  .flow-diagram { padding: 12px; }
  .flow-diagram img { min-width: 720px; }
}

/* ==========================================================================
   Commercial pages (Services / Pricing / About / Contact)
   ========================================================================== */

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(79, 140, 255, 0.16), transparent 60%),
    radial-gradient(700px 400px at 90% 10%, rgba(139, 92, 246, 0.14), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { max-width: 820px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero__lead { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 28px; }
.page-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Offer cards (Services) ---------- */
.offers { display: grid; gap: 28px; }
.offer {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: var(--brand); }
.offer__icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 800;
}
.offer__body h3 { font-size: 1.4rem; margin-bottom: 6px; }
.offer__tagline { color: var(--brand); font-weight: 600; margin-bottom: 14px; font-size: 0.95rem; }
.offer__body > p { color: var(--text-dim); }
.offer__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.offer__lists h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 10px; }
.offer__lists ul { list-style: none; padding: 0; margin: 0; }
.offer__lists li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--text); font-size: 0.95rem; }
.offer__lists li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}
.offer__meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
}
.offer__price { font-weight: 800; font-size: 1.05rem; }
.offer__price span { color: var(--text-dim); font-weight: 500; font-size: 0.9rem; }

/* ---------- Pricing cards ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.price-card--featured { border: 2px solid var(--brand); position: relative; }
.price-card__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.price-card__name { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.price-card__desc { color: var(--text-dim); font-size: 0.92rem; min-height: 42px; }
.price-card__price { font-size: 2rem; font-weight: 800; margin: 12px 0 4px; }
.price-card__price small { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.price-card__list { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.price-card__list li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 0.93rem; }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.price-card .btn { width: 100%; }

/* ---------- Engagement table ---------- */
.engage-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 0.95rem; }
.engage-table th, .engage-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border-dark); }
.engage-table th { color: var(--brand-3); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.engage-table td { color: var(--text-on-dark-dim); }
.engage-table td:first-child { color: var(--text-on-dark); font-weight: 600; }

/* ---------- About / timeline ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-intro__proofs { display: grid; gap: 14px; margin-top: 8px; }
.about-intro__proofs .proof {
  text-align: left; padding: 18px 22px;
  display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 2px 20px; align-items: center;
}
.about-intro__proofs .proof__big { font-size: 1.5rem; white-space: nowrap; }
.about-intro__proofs .proof p { margin: 0; font-size: 0.88rem; }

.timeline { position: relative; margin-top: 40px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border-dark); }
.timeline__item { position: relative; margin-bottom: 30px; }
.timeline__item::before {
  content: ""; position: absolute; left: -28px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--brand-3);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}
.timeline__period { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--brand-3); text-transform: uppercase; }
.timeline__item h3 { margin: 4px 0 6px; color: var(--text-on-dark); }
.timeline__item p { color: var(--text-on-dark-dim); margin: 0; }
.timeline__tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.75rem; padding: 3px 10px; border-radius: 999px;
  background: rgba(79,140,255,0.10); color: var(--brand-3); border: 1px solid var(--border-dark);
}

/* ---------- Proof / result cards ---------- */
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); text-align: center;
}
.proof__big {
  font-size: 2.2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof p { color: var(--text-dim); margin: 8px 0 0; font-size: 0.95rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h3 { margin-bottom: 8px; }
.contact-info ul { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-info li { margin-bottom: 14px; color: var(--text-dim); }
.contact-info li strong { color: var(--text); display: block; }
.contact-card {
  background: var(--bg); color: var(--text-on-dark);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-strong);
}
.contact-card h3 { color: #fff; }
.contact-card .cta__form { max-width: none; }
.contact-card label { display: block; font-size: 0.85rem; color: var(--text-on-dark-dim); margin-bottom: 4px; }
.contact-card textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px; min-height: 120px; resize: vertical;
  border: 1px solid var(--border-dark); background: rgba(255,255,255,0.05);
  color: #fff; font-size: 1rem; font-family: inherit;
}
.contact-card textarea:focus { outline: none; border-color: var(--brand); }

/* ---------- Inline CTA band ---------- */
.cta-band {
  background: var(--grad); color: #fff; border-radius: var(--radius-lg);
  padding: 48px; text-align: center; box-shadow: var(--shadow-strong);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 26px; }
.cta-band .btn--ghost { background: #fff; color: var(--text); border-color: #fff; }

/* ---------- Blog feature card ---------- */
.blog-feature {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  margin-top: 40px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  color: var(--text); text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); text-decoration: none; }
.blog-feature__media { position: relative; min-height: 260px; background: var(--bg-soft); }
.blog-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-feature__body { padding: 34px 38px; display: flex; flex-direction: column; gap: 6px; }
.blog-feature__body h3 { font-size: 1.5rem; margin: 6px 0 4px; line-height: 1.2; }
.blog-feature__body p { color: var(--text-dim); margin: 4px 0 16px; }
.blog-feature__meta { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.blog-feature__meta li { font-size: 0.85rem; color: var(--text-dim); }
.blog-feature__link { margin-top: auto; font-weight: 700; color: var(--brand); }
.blog-feature:hover .blog-feature__link { color: var(--brand-2); }

/* ---------- Navigation cards ---------- */
.nav-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.nav-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); color: var(--text); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: var(--brand); text-decoration: none; }
.nav-card__media { height: 168px; background: var(--bg-soft); overflow: hidden; }
.nav-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.nav-card:hover .nav-card__media img { transform: scale(1.04); }
.nav-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.nav-card__eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--brand); font-weight: 700; margin-bottom: 6px; }
.nav-card h3 { font-size: 1.25rem; margin: 0 0 8px; }
.nav-card p { color: var(--text-dim); font-size: 0.95rem; margin: 0 0 20px; flex: 1; }
.nav-card__link { margin-top: auto; font-weight: 700; color: var(--brand); }
.nav-card:hover .nav-card__link { color: var(--brand-2); }
.nav-card--empty {
  display: grid; place-items: center; min-height: 220px; padding: 24px; text-align: center;
  background: transparent; border: 1.5px dashed var(--border); box-shadow: none; cursor: default;
}
.nav-card--empty:hover { transform: none; box-shadow: none; border-color: var(--border); }
.nav-card--empty span { color: var(--text-dim); font-size: 0.9rem; font-weight: 600; }

/* Contact-form card — a nav-card holding a form instead of a link.
   .cta__form is styled for dark sections, so --light restates it for the white card. */
.nav-card--form { cursor: default; }
.nav-card--form:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border); }
/* Tighter side padding than a normal card body — buys the fields ~10px each side. */
.nav-card--form .nav-card__body { padding: 24px 20px 20px; }
/* The other cards in the row are 168px taller (their media), so this body gets
   stretched. Let the form fill that height and hand the slack to the textarea,
   otherwise it pools in one dead gap above the footer link. */
.nav-card--form .cta__form {
  max-width: none; gap: 12px; margin: 2px 0 0; flex: 1;
  grid-template-rows: auto auto 1fr auto auto;
}
.nav-card--form .cta__form > div:nth-child(3) { display: flex; min-height: 0; }
.nav-card--form .cta__form--light textarea { height: 100%; }
/* min-height would otherwise reserve a blank line under the button. */
.nav-card--form .cta__feedback { flex: 0 0 auto; margin: 0; min-height: 0; }
.nav-card--form .nav-card__link { margin-top: 14px; }
.cta__form--light input,
.cta__form--light textarea {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-light);
  color: var(--text); font-size: 0.92rem; font-family: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.cta__form--light textarea { min-height: 74px; resize: vertical; display: block; }
.cta__form--light input::placeholder,
.cta__form--light textarea::placeholder { color: var(--text-dim); }
.cta__form--light input:focus,
.cta__form--light textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.cta__form--light .btn { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Responsive (commercial pages) ---------- */
@media (max-width: 1080px) { .nav-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .nav-cards { grid-template-columns: 1fr; max-width: 460px; margin: 40px auto 0; } }
@media (max-width: 860px) {
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature__media { min-height: 200px; max-height: 260px; }
}
@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .proofs { grid-template-columns: 1fr; }
  .about-intro, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .offer__lists { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .offer { grid-template-columns: 1fr; }
  .about-intro__proofs .proof { grid-template-columns: 1fr; gap: 4px; }
  .cta-band { padding: 32px 22px; }
}
