/* Stripe-inspired: light, airy pages, dark slate text, one blurple accent,
   and a colorful gradient wave in the hero. */
:root {
  --white: #ffffff;
  --mist: #f6f9fc;          /* pale blue-grey section background */
  --line: #e3e8ef;
  --ink: #1a1f36;           /* headings */
  --slate: #425466;         /* body text */
  --muted: #6b7c93;
  --blurple: #635bff;       /* the one accent */
  --blurple-dark: #4b45d6;
  --deep: #1a1f36;          /* dark section */
  --wave: linear-gradient(115deg, #f6a23a 0%, #ef7f45 18%, #d93fd0 38%, #b022f2 52%, #6a2cf5 70%, #4a14f2 82%, #2d6cf3 100%);
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); letter-spacing: -0.02em; margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blurple); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--blurple);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--blurple-dark); box-shadow: 0 8px 20px -8px rgba(99,91,255,.6); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: transparent; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; box-shadow: 0 8px 20px -10px rgba(26,31,54,.25); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 19px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(227,232,239,.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo img { display: block; }
.logo .mark-img { width: 54px; height: auto; }
.logo .wordmark-img { height: 30px; width: auto; margin-top: 7px; }
.wordmark { font-family: "Montserrat", var(--body); font-weight: 600; font-size: 24px; letter-spacing: .01em; color: var(--ink); }
.wordmark b { font-weight: 700; color: #3d7ef5; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; opacity: .8; }
.nav-links a:not(.btn):hover { opacity: 1; }

/* Hero with gradient wave */
.hero {
  position: relative; overflow: hidden;
  background: var(--white);
  padding: 150px 0 210px;
}
.hero-bg {
  position: absolute; left: -10%; right: -10%; top: -30%; height: 142%;
  background: var(--wave);
  background-size: 130% 130%;
  transform: skewY(-11deg);
  transform-origin: top left;
  animation: wave 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wave { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: .04em; margin-bottom: 20px; display: inline-block; background: rgba(255,255,255,.75); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 700; color: var(--ink); }
.hl { color: var(--ink); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink); margin-top: 24px; max-width: 480px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Capability orbit: tags circle the logo, satellites ride the rings, the core pulses */
.orbit { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin-left: auto; }
@media (min-width: 1200px) { .orbit { width: 560px; max-width: none; margin-right: -70px; } }
@media (max-width: 1199px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } .orbit { width: min(520px, 100%); max-width: none; margin: 0 auto; } }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.45); }
.r1 { inset: 6%; animation: spin 36s linear infinite; }
.r2 { inset: 26%; border-style: solid; border-color: rgba(255,255,255,.25); animation: spin 22s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.swarm { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
.core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 30px 60px -20px rgba(26,31,54,.45), 0 0 0 10px rgba(255,255,255,.18);
}
.core::before, .core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: beat 3.2s ease-out infinite; }
.core::after { animation-delay: 1.6s; }
@keyframes beat { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.core img { width: 66%; height: auto; position: relative; }
.chips { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.chips li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 12px 28px -12px rgba(26,31,54,.45);
  animation: pop .6s ease backwards, upright 70s linear infinite, glow 9s ease-in-out infinite;
  animation-delay: calc(.3s + var(--d) * .12s), 0s, calc(var(--d) * 1s);
}
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes upright { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes glow {
  0%, 16%, 100% { box-shadow: 0 12px 28px -12px rgba(26,31,54,.45); color: var(--ink); }
  6%, 10% { box-shadow: 0 0 0 3px #ffb23f, 0 0 24px 6px rgba(255,138,76,.55); color: #c2410c; }
}


/* Statement */
.statement { padding: 130px 0 110px; }
.big { font-family: var(--head); font-weight: 600; font-size: clamp(32px, 5vw, 58px); line-height: 1.12; letter-spacing: -0.025em; max-width: 960px; color: var(--ink); }
.big .muted { color: var(--blurple); }

/* Sections */
.section { padding: 110px 0; }
.section h2 { font-size: clamp(34px, 4.5vw, 50px); margin-bottom: 52px; }
#services { background: var(--mist); position: relative; overflow: hidden; }
#services::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 420px at 10% 40%, rgba(232,137,58,.22), transparent 68%), radial-gradient(640px 420px at 50% 55%, rgba(168,85,247,.22), transparent 68%), radial-gradient(640px 420px at 90% 40%, rgba(13,148,136,.22), transparent 68%); }
#services .wrap { position: relative; }
#services .sub { margin: -36px 0 22px; }
.dark { background: var(--deep); color: #c1c9d2; }
.dark h2 { color: #fff; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; transition: grid-template-columns .45s cubic-bezier(.4,0,.2,1); }
/* Each pillar carries one colour from the logo gradient: Enable amber, Innovate purple, Improve blue */
#enable   { --pc: #e8893a; --pc-soft: #fff4ea; --pc-ink: #b45f1a; }
#innovate { --pc: #a855f7; --pc-soft: #f6f0ff; --pc-ink: #7e2fd6; }
#improve  { --pc: #0d9488; --pc-soft: #e8f7f4; --pc-ink: #0b7a70; }
.service {
  background: rgba(255,255,255,.6); border-radius: 18px; overflow: hidden; min-width: 0; position: relative;
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 50px -24px color-mix(in srgb, var(--pc) 45%, rgba(26,31,54,.25));
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 34px 70px -24px color-mix(in srgb, var(--pc) 60%, rgba(26,31,54,.3)); }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 35%, transparent)); }
.service::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 55%, #fff), color-mix(in srgb, var(--pc) 20%, transparent) 55%, transparent 72%); filter: blur(14px); opacity: .35; transition: opacity .4s ease, transform .6s ease; }
.service:hover::after, .service.active::after { opacity: .6; transform: scale(1.15); }
.service-head { position: relative; z-index: 1; }
.service-head { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 34px 30px 30px; cursor: pointer; font: inherit; color: inherit; }
.service-head:focus-visible { outline: 2px solid var(--blurple); outline-offset: -2px; border-radius: 14px; }
.service svg { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 14px; background: color-mix(in srgb, var(--pc) 14%, #fff); fill: none; stroke: var(--pc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service .idx { color: var(--pc); font-size: 13px; font-weight: 600; margin-top: 26px; }
.service h3 { font-size: 30px; margin: 6px 0 12px; }
.service .hook { color: var(--ink); font-weight: 600; font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
.service .blurb { color: var(--slate); }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--pc-ink); font-weight: 600; font-size: 15px; }
.more-link i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pc-soft); color: var(--pc-ink); font-style: normal; font-weight: 700; transition: transform .3s ease; }
.service:hover .more-link i { transform: scale(1.1); }
.service.active { box-shadow: 0 0 0 2px var(--pc), 0 1px 0 rgba(255,255,255,.9) inset, 0 34px 70px -24px color-mix(in srgb, var(--pc) 60%, rgba(26,31,54,.3)); transform: translateY(-4px); }
.service.active .more-link i { transform: rotate(45deg); }
.service.active .more-link span { font-size: 0; }
.service.active .more-link span::before { content: "Close"; font-size: 15px; }

/* One panel slides open beneath the row and points at the chosen card */
.service-panel { height: 0; overflow: hidden; transition: height .5s cubic-bezier(.4,0,.2,1); position: relative; --pc: var(--panel-pc, var(--blurple)); }
.service-panel::before { content: ""; position: absolute; left: 10%; right: 10%; top: 40px; bottom: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at 30% 30%, color-mix(in srgb, var(--pc) 45%, transparent), transparent 60%), radial-gradient(ellipse at 75% 70%, color-mix(in srgb, var(--pc) 30%, transparent), transparent 60%); filter: blur(30px); opacity: 0; transition: opacity .6s ease; }
.service-panel.open::before { opacity: 1; }
.service-panel-inner {
  position: relative; margin-top: 26px; border-radius: 20px;
  background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.8);
  padding: 38px 40px 40px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -28px color-mix(in srgb, var(--pc, var(--blurple)) 40%, rgba(26,31,54,.25));
  opacity: 0; transform: translateY(-8px); transition: opacity .4s ease .1s, transform .5s cubic-bezier(.4,0,.2,1) .05s;
}
.service-panel.open .service-panel-inner { opacity: 1; transform: none; }
.service-panel-inner::before { content: ""; position: absolute; top: -9px; left: var(--arrow, 16.7%); width: 18px; height: 18px; background: rgba(255,255,255,.9); transform: translateX(-50%) rotate(45deg); border-radius: 3px; box-shadow: -3px -3px 6px -4px rgba(50,50,93,.15); transition: left .5s cubic-bezier(.4,0,.2,1); }
.service-panel-inner::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--pc, var(--blurple)), color-mix(in srgb, var(--pc, var(--blurple)) 35%, transparent)); border-radius: 20px 20px 0 0; transition: background .4s ease; }
.service-panel.open .service-panel-inner { --pc: var(--panel-pc); }
.service-panel-inner.swap { animation: panel-swap .35s ease; }
@keyframes panel-swap { 0% { opacity: .35; } 100% { opacity: 1; } }
.panel-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mist); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.panel-close:hover { background: #e8ecf4; color: var(--ink); }
.service-detail { display: none; }
.service-detail.on { display: block; }
.service-detail .lead { font-size: 21px; color: var(--ink); line-height: 1.45; max-width: 760px; padding-right: 40px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.more-grid h4 { font-size: 16px; margin-bottom: 10px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.more-grid h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pc, var(--blurple)); }
.more-grid ul { margin: 0; padding-left: 18px; }
.more-grid li { margin: 6px 0; color: var(--slate); font-size: 15.5px; line-height: 1.5; }
.more-grid li strong { color: var(--ink); }
.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 0; padding: 0; counter-reset: ms; }
.mini-steps li { counter-increment: ms; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.8); border-radius: 12px; padding: 14px 14px 12px; position: relative; min-width: 0; }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--pc, var(--blurple)); display: block; margin-bottom: 6px; }
.mini-steps b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.mini-steps span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.proof { margin-top: 24px; color: var(--slate); font-size: 15.5px; line-height: 1.55; border-left: 3px solid var(--pc, var(--blurple)); padding-left: 16px; }
.proof strong { color: var(--ink); }
.more-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.more-cta .btn { background: var(--pc, var(--blurple)); border-color: var(--pc, var(--blurple)); }
.more-cta .btn:hover { background: var(--pc, var(--blurple)); filter: brightness(.92); box-shadow: 0 8px 20px -8px var(--pc, var(--blurple)); }
.more-cta .muted { font-size: 14px; }
.more-page { color: var(--pc-ink, var(--blurple)); font-weight: 600; text-decoration: none; }
.more-page:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .more-grid, .mini-steps { grid-template-columns: 1fr 1fr; }
  .service-panel-inner::before { display: none; }
}
@media (max-width: 560px) {
  .more-grid, .mini-steps { grid-template-columns: 1fr; }
  .service-head { padding: 28px 22px 24px; }
  .service-panel-inner { padding: 30px 22px 28px; }
  .service-detail .lead { font-size: 18px; padding-right: 30px; }
}

/* How we work: six steps on a connecting line */
#approach h2 { margin-bottom: 12px; }
.approach-sub { font-size: clamp(18px, 2vw, 22px); color: #c1c9d2; margin-bottom: 64px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: calc((100% - 140px) / 6 - 23px); top: 22px; height: 2px; background: linear-gradient(90deg, rgba(246,162,58,.7), rgba(176,34,242,.7), rgba(45,108,243,.7)); }
.step { position: relative; min-width: 0; }
.step-n {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--deep); border: 2px solid rgba(255,255,255,.35); color: #fff;
  font: 600 14px var(--head); margin-bottom: 22px;
}
.step h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.6; color: #aab4c3; }
.step-key .step-n { border: 0; background: linear-gradient(135deg, #f6a23a, #b022f2 55%, #2d6cf3); box-shadow: 0 0 0 6px rgba(176,34,242,.25), 0 0 28px rgba(176,34,242,.55); }
.step-key h3 { background: linear-gradient(90deg, #ffb86b, #e48bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.approach-foot { margin-top: 72px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.approach-tag { color: #8792a2; font-size: 15px; letter-spacing: .08em; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #f0f2ff; box-shadow: 0 10px 24px -10px rgba(255,255,255,.35); }
@media (max-width: 1099px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 30px; padding-left: 0; }
  .steps::before { display: block; left: 22px; right: auto; top: 22px; bottom: 60px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(246,162,58,.7), rgba(176,34,242,.7), rgba(45,108,243,.7)); }
  .step { padding-left: 66px; }
  .step-n { position: absolute; left: 0; top: -4px; margin: 0; }
  .step h3 { font-size: 20px; margin-bottom: 6px; }
}

/* CTA */
.cta { text-align: center; padding: 150px 0; position: relative; }
.cta h2 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 0; }
.cta .lede { color: var(--slate); margin: 18px auto 40px; max-width: 520px; font-size: 19px; }

/* Footer */
.site-footer { background: var(--mist); color: var(--muted); font-size: 14px; padding: 32px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .logo .mark-img { width: 44px; }
.site-footer .logo .wordmark-img { height: 24px; margin-top: 5px; }
.site-footer .wordmark { font-size: 18px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.services .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 130px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }

  .services { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .statement, .section { padding: 80px 0; }
  .cta { padding: 100px 0; }
  .section h2 { margin-bottom: 36px; }
  .orbit { aspect-ratio: auto; max-width: none; }
  .ring, .core { display: none; }
  .spin { position: static; animation: none; } .swarm { display: none; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; position: static; animation: none; }
  .chips li { position: static; transform: none; font-size: 13px; animation: pop .6s ease backwards, glow 9s ease-in-out infinite; animation-delay: calc(.3s + var(--d) * .08s), calc(var(--d) * 1s); }
  .btn-large { font-size: 17px; padding: 15px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .reveal, .chips li { opacity: 1; transition: none; animation: none; }
  .services, .service-panel, .service-panel-inner, .service-panel-inner::before, .more-link i { transition: none; animation: none; }
  .ring, .chips, .spin, .core::before, .core::after, .pillar-page::after { animation: none; }
  .swarm { display: none; }
}

/* Hero text on the logo-colored wave */
.hero h1, .hero .hl, .hero .lede { color: #fff; }
.hero h1 { text-shadow: 0 2px 24px rgba(26,31,54,.18); }
.hero .btn:not(.btn-ghost) { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:not(.btn-ghost):hover { background: #f0f2ff; box-shadow: 0 10px 24px -10px rgba(26,31,54,.45); }
.hero .btn-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.26); box-shadow: none; }

/* Worm character: crawls along the logo, greets you, then asks a question */
.logo-tab {
  display: flex; align-items: center; gap: 14px; margin-top: 36px; max-width: 470px;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%); border-radius: 18px; padding: 14px 16px 14px 12px;
  box-shadow: 0 24px 48px -20px rgba(26,31,54,.45);
  transition: box-shadow .4s ease;
}
.logo-tab.cheer { animation: cheer .6s cubic-bezier(.34,1.8,.64,1); box-shadow: 0 24px 48px -18px rgba(232,87,42,.45), 0 0 0 1px rgba(246,162,58,.18); }
@keyframes cheer { 0% { transform: scale(1); } 45% { transform: scale(1.035); } 100% { transform: scale(1); } }
.tab-mark { width: 150px; flex: none; height: auto; display: block; overflow: visible; }
.t-track { stroke: #f3ebe4; }
.t-worm { stroke-dasharray: 0 99999; filter: drop-shadow(0 2px 5px rgba(239,138,64,.4)); }
.t-trail { stroke-dasharray: 0 99999; opacity: .18; }
.t-eyes { transition: opacity .2s; }
.t-eyes circle { transform-box: fill-box; transform-origin: center; }
.t-eyes.wink circle { animation: wink .45s ease-in-out; }
@keyframes wink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
.t-dot { r: 0; }
.t-ripple { opacity: 0; }
.tab-mark.pop .t-dot { animation: dotpop .45s cubic-bezier(.34,1.8,.64,1) forwards; }
.tab-mark.pop .t-ripple { animation: ripple .8s ease-out .1s; }
.tab-mark.pop .t-ripple2 { animation: ripple .9s ease-out .25s; }
.sparks circle { opacity: 0; }
.sparks circle:nth-child(odd) { fill: #ffb23f; } .sparks circle:nth-child(even) { fill: #ff6a3d; }
.tab-mark.pop .sparks circle { animation: spark .75s ease-out .08s; }
@keyframes spark { 0% { opacity: 1; transform: translate(0, 0) scale(1.3); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
@keyframes dotpop { 0% { r: 0; } 60% { r: 26px; } 100% { r: 19px; } }
@keyframes ripple { 0% { r: 20px; opacity: .85; } 100% { r: 60px; opacity: 0; } }

.bubble {
  position: relative; flex: 1; min-width: 0; min-height: 58px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, #fff1e3 0%, #ffe8ef 100%); color: var(--ink); text-decoration: none;
  border: 1px solid rgba(246,162,58,.28);
  border-radius: 14px; padding: 10px 14px; overflow: hidden;
  font-weight: 600; font-size: 15px; line-height: 1.35;
}
.bubble::before { content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; background: #fff1e3; border-left: 1px solid rgba(246,162,58,.28); border-bottom: 1px solid rgba(246,162,58,.28); transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
/* a warm shine sweeps across the bubble when the question lands */
.bubble::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); opacity: 0; pointer-events: none; }
.bubble.ask::after { animation: shine .9s ease-out .15s; }
@keyframes shine { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 0; } }
.greet { position: absolute; left: 14px; right: 14px; top: 50%; transform: translateY(-50%); color: #e8572a; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: opacity .2s; }
.bubble .q { position: relative; opacity: 0; visibility: hidden; transform: translateY(6px) scale(.96); transition: opacity .25s, transform .45s cubic-bezier(.34,1.8,.64,1), visibility 0s .25s; }
.bubble .hint { position: relative; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #e8572a; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .3s .3s, transform .3s .3s, visibility 0s .3s; }
.bubble.ask { animation: nudge .5s cubic-bezier(.34,1.8,.64,1); }
.bubble.ask .greet { opacity: 0; }
.bubble.ask .q { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s cubic-bezier(.34,1.8,.64,1), visibility 0s; }
.bubble.ask .hint { opacity: 1; visibility: visible; transform: none; transition: opacity .3s .3s, transform .3s .3s, visibility 0s; }
@keyframes nudge { 0% { transform: scale(.96); } 100% { transform: none; } }
.bubble.ask:hover .q { color: #e8572a; }
.bubble.ask:hover .hint { text-decoration: underline; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; animation: dots .75s infinite; }
.typing i:nth-child(1) { background: #f6a23a; } .typing i:nth-child(2) { background: #ff6a3d; animation-delay: .1s; } .typing i:nth-child(3) { background: #ff3d8b; animation-delay: .2s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0) scale(1); opacity: .45; } 30% { transform: translateY(-4px) scale(1.25); opacity: 1; } }
@media (max-width: 560px) { .tab-mark { width: 118px; } .bubble { font-size: 14px; } .greet { font-size: 13px; } }

@media (prefers-reduced-motion: reduce) {
  .typing i { animation: none; }
  .tab-mark.pop .t-dot { animation: none; r: 19px; }
  .tab-mark.pop .t-ripple, .tab-mark.pop .sparks circle, .bubble.ask, .bubble.ask::after, .logo-tab.cheer, .t-eyes.wink circle { animation: none; }
}

/* Service pages (/enable, /innovate, /improve): frosted-glass panels over a soft colour glow */
.pillar-page { position: relative; background: var(--mist); overflow: hidden; }
.pillar-page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 520px at 8% 2%, color-mix(in srgb, var(--pc) 55%, transparent), transparent 68%),
    radial-gradient(620px 460px at 96% 28%, color-mix(in srgb, var(--pc) 38%, transparent), transparent 68%),
    radial-gradient(520px 420px at 30% 62%, color-mix(in srgb, #ff3d8b 22%, transparent), transparent 70%),
    radial-gradient(760px 560px at 70% 100%, color-mix(in srgb, var(--pc) 30%, transparent), transparent 70%);
}
.pillar-page::after {
  /* two soft colour orbs that drift slowly behind the glass */
  content: ""; position: absolute; width: 520px; height: 520px; left: -140px; top: 120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--pc) 70%, #fff), color-mix(in srgb, var(--pc) 30%, transparent) 55%, transparent 72%);
  filter: blur(14px); opacity: .55; animation: orb 18s ease-in-out infinite alternate;
}
@keyframes orb { from { transform: translate(0, 0); } to { transform: translate(140px, 90px); } }
.pillar-page .wrap { position: relative; }
.glass {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -24px color-mix(in srgb, var(--pc) 35%, rgba(26,31,54,.25));
  border-radius: 22px;
}
.pillar-hero { padding: 140px 0 40px; }
.pillar-hero .glass { padding: 40px 44px 44px; }
.crumb { display: inline-block; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px; margin-bottom: 26px; }
.crumb:hover { color: var(--ink); }
.pillar-title { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.pillar-page svg { width: 44px; height: 44px; padding: 12px; box-sizing: content-box; border-radius: 16px; background: color-mix(in srgb, var(--pc) 14%, #fff); fill: none; stroke: var(--pc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pillar-page .idx { color: var(--pc-ink); font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.pillar-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.pillar-hero .hook { color: var(--ink); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; max-width: 800px; margin-bottom: 14px; }
.pillar-hero .blurb { color: var(--slate); font-size: 18px; max-width: 720px; }
.pillar-body { padding: 24px 0 40px; }
.page-panel { opacity: 1; transform: none; margin-top: 0; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid rgba(255,255,255,.8); border-radius: 22px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -28px color-mix(in srgb, var(--pc) 35%, rgba(26,31,54,.25)); }
.page-panel::before { display: none; }
.page-panel::after { background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 40%, transparent)); border-radius: 22px 22px 0 0; }
.page-panel .service-detail { display: block; }
.page-panel .lead { padding-right: 0; }
.page-panel .mini-steps li { background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.8); }
.pillar-others { padding: 40px 0 100px; }
.pillar-others h2 { font-size: 28px; margin-bottom: 26px; }
.other-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other { display: block; text-decoration: none; padding: 26px 28px; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.other::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--pc); }
.other:hover { transform: translateY(-4px); }
.other span { display: block; color: var(--pc-ink); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.other strong { display: block; font-family: var(--head); font-size: 24px; color: var(--ink); }
.other em { display: block; font-style: normal; color: var(--slate); margin-top: 4px; }
#enable-link   { --pc: #e8893a; --pc-ink: #b45f1a; }
#innovate-link { --pc: #a855f7; --pc-ink: #7e2fd6; }
#improve-link  { --pc: #0d9488; --pc-ink: #0b7a70; }
@media (max-width: 640px) { .pillar-hero { padding: 110px 0 24px; } .pillar-hero .glass { padding: 28px 22px 30px; } .other-links { grid-template-columns: 1fr; } .pillar-title { gap: 14px; } }
