:root {
  --bg: #121314;
  --bg-2: #18191b;
  --surface: #1f2022;
  --surface-2: #26282a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f4f5;
  --muted: #a7aeb3;
  --teal-1: #6fd6d0;
  --teal-2: #22b0a0;
  --teal-3: #0f5050;
  --teal-ink: #04201d;
  --grad: linear-gradient(135deg, #7fdcd6 0%, #22b0a0 55%, #138a80 100%);
  --head: "Sora", "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 19, 20, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.active { color: var(--text); }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: var(--teal-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid rgba(255,255,255,.18); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--teal-1); margin: 0 0 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-1); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: 42px; line-height: 1.15; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(34, 176, 160, 0.22), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(15, 80, 80, 0.35), transparent 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.08; margin-bottom: 24px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding: 0; list-style: none; }
.tags li {
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.02);
}
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.2;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 26px;
  border: 1px solid rgba(127, 220, 214, .35);
  background: linear-gradient(180deg, rgba(18,19,20,0) 55%, rgba(18,19,20,.55) 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-glow {
  position: absolute; inset: -18px; border-radius: 34px; z-index: -1;
  background: var(--grad); opacity: .28; filter: blur(30px);
}
.float-card {
  position: absolute; left: -28px; bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(31, 32, 34, .92); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 16px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.float-card img { width: 38px; height: 38px; }
.float-card strong { display: block; font-family: var(--head); font-size: 15px; font-weight: 600; }
.float-card span { font-size: 13px; color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 30px 30px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.service:hover { transform: translateY(-4px); border-color: rgba(127, 220, 214, .35); background: var(--surface-2); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(127,220,214,.18), rgba(19,138,128,.12));
  border: 1px solid rgba(127,220,214,.25); color: var(--teal-1);
}
.icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 21px; margin-bottom: 10px; }
.service p { color: var(--muted); margin: 0 0 18px; }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.service li { position: relative; padding-left: 20px; font-size: 14.5px; color: #d3d8db; }
.service li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal-2);
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 0; border-top: 2px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--grad);
}
.step .num { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--teal-1); margin-bottom: 14px; display: block; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Why ---------- */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.why-grid .section-head { margin-bottom: 0; position: sticky; top: 130px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.why-item h3 { font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.why-item h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); flex-shrink: 0; }
.why-item p { color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 28px; padding: 80px 32px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(34,176,160,.35), transparent 70%),
    linear-gradient(180deg, #1c2223, #161819);
  border: 1px solid rgba(127,220,214,.22);
}
.cta-box h2 { font-size: 44px; line-height: 1.15; margin-bottom: 18px; }
.cta-box p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.cta-box .btn-row { justify-content: center; }
.cta-mail { display: block; margin-top: 22px; color: var(--muted); font-size: 15px; }
.cta-mail a { color: var(--teal-1); text-decoration: none; }
.cta-mail a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 36px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 300px; margin: 0; }
.footer-col h4 { font-family: var(--head); font-size: 14px; font-weight: 600; letter-spacing: .5px; margin: 0 0 16px; color: var(--teal-1); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-col li { color: var(--muted); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: 14px; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service, .arrow { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 38px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 8px; font-size: 16px; }
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 17px; }
  .float-card { left: 12px; bottom: 12px; padding: 10px 14px; }
  .section, .cta { padding: 80px 0; }
  .section-head h2, .cta-box h2 { font-size: 32px; }
  .section-head p, .cta-box p { font-size: 16px; }
  .service-grid, .steps, .why-list { grid-template-columns: 1fr; }
  .cta-box { padding: 56px 20px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Linked service tags ---------- */
.tags a {
  display: block; color: inherit; text-decoration: none;
  margin: -6px -12px; padding: 6px 12px; border-radius: 999px;
}
.tags li { transition: border-color .15s ease, color .15s ease, background .15s ease; }
.tags li:hover, .tags li:focus-within {
  border-color: rgba(127, 220, 214, .55); color: var(--text); background: rgba(127, 220, 214, .08);
}
.service { scroll-margin-top: 24px; }
.service:target {
  border-color: rgba(127, 220, 214, .7);
  box-shadow: 0 0 0 1px rgba(127, 220, 214, .35), 0 18px 50px rgba(34, 176, 160, .18);
  animation: svcPulse 1.6s ease 1;
}
@keyframes svcPulse { 0% { background: rgba(127,220,214,.14); } 100% { background: var(--surface); } }
@media (prefers-reduced-motion: reduce) { .service:target { animation: none; } }

/* =========================================================
   Content v2 sections
   ========================================================= */
.hero h1 { font-size: 54px; }

/* Pillars */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 40px 32px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-num { font-family: var(--head); font-size: 13px; color: var(--teal-1); letter-spacing: 1px; }
.pillar h2 { font-size: 26px; margin: 8px 0 8px; }
.pillar p { color: var(--muted); margin: 0; max-width: 320px; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 72px; align-items: start; }
.problem-grid .section-head { margin-bottom: 0; }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain-list li {
  position: relative; padding: 18px 20px 18px 50px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; color: var(--muted);
}
.pain-list li::before {
  content: "×"; position: absolute; left: 18px; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #ffb4a8; background: rgba(255, 120, 100, .12);
}
.pain-list strong { color: var(--text); }
.problem-answer {
  grid-column: 1 / -1; margin: 24px 0 0; padding: 26px 30px; border-radius: 16px;
  border: 1px solid rgba(127,220,214,.3); background: linear-gradient(135deg, rgba(127,220,214,.08), rgba(19,138,128,.05));
  font-size: 18px; color: var(--text);
}

/* Services v2 */
.service-sub { color: var(--teal-1) !important; font-weight: 600; margin: -2px 0 12px !important; }
.service p { font-size: 15.5px; }
.service ul { margin-bottom: 18px; }
.service .fit {
  margin: 0 !important; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12); font-size: 14.5px;
}
.service .fit strong { color: var(--text); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  padding: 26px 26px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
}
.industry h3 { font-size: 18px; margin-bottom: 8px; }
.industry p { color: var(--muted); margin: 0; font-size: 15px; }

/* Process v2 */
.process-sec { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step .deliv { margin-top: 14px; font-size: 14.5px; color: #cfd5d8; }
.step .deliv strong { color: var(--teal-1); }

/* Engagement */
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.engage-card {
  position: relative; padding: 32px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.engage-card.featured { border-color: rgba(127,220,214,.5); background: linear-gradient(180deg, #1f2a2a, var(--surface)); }
.engage-card .badge {
  position: absolute; top: -12px; left: 30px; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 999px; background: var(--grad); color: var(--teal-ink);
}
.engage-card h3 { font-size: 22px; margin-bottom: 6px; }
.engage-for { color: var(--muted); margin: 0 0 18px; }
.engage-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.engage-card li { position: relative; padding-left: 24px; color: #d3d8db; font-size: 15px; }
.engage-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-1); font-weight: 700; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 130px; }
.faq-grid .section-head a { color: var(--teal-1); }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px;
  transition: border-color .15s ease;
}
.faq-list details[open] { border-color: rgba(127,220,214,.35); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font-family: var(--head); font-weight: 600; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--teal-1); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 20px; color: var(--muted); }

/* Contact v2 */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; text-align: left; padding: 64px 56px; }
.contact-box .contact-copy p:not(.eyebrow) { margin: 0 0 28px; }
.contact-box h2 { margin-bottom: 16px; }
.contact-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-points li { display: grid; gap: 2px; color: var(--text); }
.contact-points span { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.contact-points a { color: var(--teal-1); text-decoration: none; }
.contact-points a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 14px; background: rgba(18,19,20,.55); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #d3d8db; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-weight: 500; color: var(--text); background: var(--bg);
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 12px 14px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(34,176,160,.2);
}
.contact-form.show-errors input:invalid, .contact-form.show-errors textarea:invalid { border-color: #ff8a7a; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 1040px) {
  .problem-grid, .faq-grid, .contact-box { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid .section-head { position: static; }
  .industry-grid, .engage-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 36px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0; }
  .pillar:first-child { border-top: 0; }
  .industry-grid, .engage-grid, .field-row { grid-template-columns: 1fr; }
  .engage-card.featured { margin-top: 8px; }
  .contact-box { padding: 40px 20px; }
  .problem-answer { font-size: 16px; padding: 20px; }
}

/* Fixes: eyebrow and small text inside sections that style all <p> */
.section-head .eyebrow, .cta-box .eyebrow { color: var(--teal-1); font-size: 13px; margin: 0 0 20px; max-width: none; }
.cta-box .form-note { font-size: 13px; margin: 0; max-width: none; color: var(--muted); }
.why-item h3 { align-items: flex-start; }
.why-item h3::before { margin-top: 8px; }
