:root {
  --navy: #1F2A44;
  --navy-deep: #151d33;
  --navy-ink: #0e1424;
  --teal: #1F7A7A;
  --teal-bright: #2ea8a8;
  --amber: #D08C2E;
  --amber-bright: #e9a747;
  --cream: #F7F5F0;
  --cream-2: #EFEBE1;
  --slate: #E7E9EE;
  --ink: #111827;
  --ink-2: #2a3242;
  --muted: #6b7280;
  --line: rgba(17,24,39,.08);
  --line-dark: rgba(255,255,255,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #1F2A44; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.dark { color: #fff; }
.nav.scrolled.dark { background: rgba(14,20,36,0.72); backdrop-filter: blur(14px); border-bottom-color: var(--line-dark); }
.nav.scrolled.light { background: rgba(247,245,240,0.84); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora'; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; position: relative; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; }
.nav-links a { opacity: .72; transition: opacity .2s; position: relative; padding: 4px 0; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--amber); border-radius: 2px; }
body[data-accent=teal] .nav-links a.active::after { background: var(--teal-bright); }

/* Inner pages */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--navy-ink) 0%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-glow, .page-hero .hero-grid { position: absolute; inset: 0; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; margin: 24px 0 18px; max-width: 18ch; }
.page-hero .sub { color: rgba(255,255,255,.7); font-size: 18px; max-width: 56ch; }
.page-hero .crumb { font-family: 'JetBrains Mono'; font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .12em; }

.page-body { background: var(--cream); }
.page-body section:first-of-type { padding-top: 80px; }

/* Two column detail */
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* Case detail list */
.case-detail {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  margin-bottom: 20px;
}
@media (max-width: 820px) { .case-detail { grid-template-columns: 1fr; padding: 28px; } }
.case-detail .kind { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: .12em; }
.case-detail h3 { font-size: 26px; margin: 10px 0 14px; }
.case-detail p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.case-detail .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.case-detail .metric { background: var(--cream-2); border-radius: 12px; padding: 14px; }
.case-detail .metric .n { font-family: 'Sora'; font-weight: 600; font-size: 22px; color: var(--navy); }
.case-detail .metric .l { font-size: 12px; color: var(--muted); margin-top: 2px; }
.case-detail .flow-stack { display: flex; flex-direction: column; gap: 10px; }
.case-detail .flow-stack .node {
  padding: 12px 16px; border-radius: 10px; background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.case-detail .flow-stack .node .tag { font-family: 'JetBrains Mono'; font-size: 10px; padding: 2px 7px; border-radius: 5px; background: #fff; color: var(--muted); border: 1px solid var(--line); margin-left: auto; }
.case-detail .flow-stack .sep { text-align: center; color: var(--muted); font-family: 'JetBrains Mono'; font-size: 14px; }

/* About */
.about-lede { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; font-family: 'Sora'; font-weight: 400; letter-spacing: -0.01em; max-width: 26ch; color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 60px; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }
.principle { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.principle .num { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--teal); }
.principle h4 { font-size: 20px; margin: 10px 0 8px; }
.principle p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.contact-form label { font-size: 12px; font-family: 'JetBrains Mono'; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit; font-size: 15px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--cream);
  transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--amber); background: #fff;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .contact-form .row-2 { grid-template-columns: 1fr; } }
.contact-form button[type=submit] {
  margin-top: 6px; padding: 14px 22px; border-radius: 999px;
  background: var(--amber); color: #1a1409; font-weight: 500;
  transition: all .2s;
}
.contact-form button[type=submit]:hover { background: var(--amber-bright); }
.contact-side .channel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 14px; }
.contact-side .channel .k { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.contact-side .channel .v { font-family: 'Sora'; font-size: 18px; margin-top: 6px; color: var(--ink); }
.contact-side .channel .d { font-size: 13px; color: var(--muted); margin-top: 4px; }

.sent { padding: 20px; background: var(--cream-2); border-radius: 12px; margin-top: 16px; font-size: 14px; color: var(--ink); border: 1px solid var(--line); }

/* Page transitions */
.page-enter { animation: pageIn .6s cubic-bezier(.22,.61,.36,1) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-leave { animation: pageOut .35s cubic-bezier(.55,.06,.68,.19) both; }
@keyframes pageOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
.page-curtain {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(180deg, var(--navy-ink), var(--navy-deep));
  transform: translateY(100%);
  pointer-events: none;
}
.page-curtain.up { animation: curtainUp .5s cubic-bezier(.55,.06,.68,.19) forwards; }
.page-curtain.down { animation: curtainDown .5s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes curtainUp   { to { transform: translateY(0); } }
@keyframes curtainDown { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.page-curtain .mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  color: var(--amber); font-family: 'Sora'; font-weight: 600; font-size: 18px;
  display: flex; align-items: center; gap: 10px; opacity: 0;
  animation: markIn .5s .05s forwards;
}
@keyframes markIn { to { opacity: 1; } }

/* Compact contact form (for subpages) */
.contact-compact {
  background: var(--navy-ink); color: #fff;
  border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
  margin: 60px 0;
}
.contact-compact::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 15% 50%, rgba(208,140,46,.18), transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 30%, rgba(31,122,122,.14), transparent 70%);
  z-index: -1;
}
@media (max-width: 820px) { .contact-compact { grid-template-columns: 1fr; padding: 32px; } }
.contact-compact h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; max-width: 16ch; }
.contact-compact p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.6; max-width: 42ch; }
.contact-compact .mini-form { display: flex; flex-direction: column; gap: 12px; }
.contact-compact .mini-form input, .contact-compact .mini-form textarea {
  font: inherit; font-size: 14.5px;
  padding: 13px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: #fff;
  transition: all .2s;
}
.contact-compact .mini-form input::placeholder,
.contact-compact .mini-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-compact .mini-form input:focus, .contact-compact .mini-form textarea:focus {
  outline: none; border-color: var(--amber); background: rgba(255,255,255,.08);
}
.contact-compact .mini-form textarea { min-height: 84px; resize: vertical; }
.contact-compact .mini-form button {
  padding: 13px 20px; border-radius: 999px;
  background: var(--amber); color: #1a1409; font-weight: 500;
  transition: all .2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.contact-compact .mini-form button:hover { background: var(--amber-bright); }
.contact-compact .trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.contact-compact .trust span { display: inline-flex; align-items: center; gap: 6px; }
.contact-compact .trust span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); }

/* Why-us block (subpages) */
.why { background: var(--cream-2); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: all .3s; }
.why-card:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: 0 20px 40px -20px rgba(17,24,39,.18); }
.why-card .big { font-family: 'Sora'; font-weight: 600; font-size: 42px; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.why-card .big small { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.why-card h4 { font-size: 19px; margin: 16px 0 8px; }
.why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Value/assurance row */
.assurance {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  margin-top: 48px; background: #fff;
}
@media (max-width: 820px) { .assurance { grid-template-columns: repeat(2, 1fr); } }
.assurance .cell { padding: 24px; border-right: 1px solid var(--line); }
.assurance .cell:last-child { border-right: 0; }
@media (max-width: 820px) {
  .assurance .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .assurance .cell:nth-child(odd) { border-right: 1px solid var(--line); }
}
.assurance .cell .k { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.assurance .cell .v { font-family: 'Sora'; font-weight: 500; font-size: 17px; color: var(--ink); line-height: 1.3; }

/* Comparison strip (services value) */
.compare { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 48px; }
.compare .head { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 18px 24px; background: var(--cream-2); border-bottom: 1px solid var(--line); font-family: 'Sora'; font-size: 14px; font-weight: 500; }
.compare .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: center; }
.compare .row:last-child { border-bottom: 0; }
.compare .row .dim { color: var(--muted); }
.compare .row .bad::before { content: '✕'; color: #c54a4a; margin-right: 8px; font-weight: 600; }
.compare .row .good::before { content: '✓'; color: var(--teal); margin-right: 8px; font-weight: 600; }
@media (max-width: 720px) { .compare .head, .compare .row { grid-template-columns: 1fr; } .compare .row > span { padding: 4px 0; } }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); transition: all .2s; cursor: pointer; font-family: inherit; color: inherit; }
.nav.dark .nav-cta:hover { background: rgba(255,255,255,.08); }
.nav.light .nav-cta { border-color: var(--line); background: var(--ink); color: var(--cream); }
.nav.light .nav-cta:hover { background: var(--ink-2); }

@media (max-width: 820px) { .nav-links { display: none; } }

/* --------- Hamburger + mobile menu --------- */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.nav.light .nav-burger { border-color: var(--line); }
.nav-burger:hover { background: rgba(255,255,255,.06); }
.nav.light .nav-burger:hover { background: rgba(0,0,0,.04); }
.nav-burger span {
  display: block;
  position: absolute;
  left: 12px; right: 12px;
  height: 1.75px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.7,.02,.3,1), opacity .18s, top .28s cubic-bezier(.7,.02,.3,1);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 48;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu.dark { background: linear-gradient(180deg, #0e1424 0%, #151b2e 100%); color: #F7F5F0; }
.mobile-menu.light { background: var(--cream); color: var(--ink); }
.mobile-menu-inner {
  padding: 96px 28px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
}
.mobile-links { display: flex; flex-direction: column; flex: 1; justify-content: center; gap: 4px; }
.mobile-links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 18px 4px;
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.6,.2,1), color .2s;
}
.mobile-menu.dark .mobile-links a { border-bottom-color: rgba(255,255,255,.1); }
.mobile-menu.light .mobile-links a { border-bottom-color: rgba(0,0,0,.08); }
.mobile-menu.open .mobile-links a { opacity: 1; transform: translateY(0); }
.mobile-links a.active { color: var(--amber); }
.mobile-menu.dark .mobile-links a.active { color: var(--teal-bright); }
.mobile-links .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  opacity: .55;
  letter-spacing: 0.05em;
}
.mobile-links .arrow {
  font-size: 22px;
  opacity: .4;
  transition: transform .3s, opacity .3s;
}
.mobile-links a:hover .arrow { opacity: 1; transform: translateX(4px); }
.mobile-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.6,.2,1);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.mobile-menu.open .mobile-cta { opacity: 1; transform: translateY(0); }
.mobile-menu.dark .mobile-cta { background: var(--teal-bright); color: var(--ink); }
.mobile-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.6,.2,1);
}
.mobile-menu.open .mobile-footer { opacity: .6; transform: translateY(0); }
.mobile-footer .dot { opacity: .5; }

@media (max-width: 820px) {
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-inner { height: 64px; }
}
@media (max-width: 820px) and (min-width: 520px) {
  .nav-cta { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--navy-ink) 0%, var(--navy-deep) 50%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(208,140,46,.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(31,122,122,.18), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(208,140,46,.10), transparent 70%);
  z-index: 0;
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  z-index: 0;
}

.hero-inner { position: relative; z-index: 2; padding: 140px 0 56px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-bright); box-shadow: 0 0 12px var(--amber-bright); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.hero h1 {
  color: #fff;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 600;
  margin: 28px auto 22px;
  max-width: 12ch;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}
.hero p.sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,.72);
  max-width: 620px; margin: 0 auto;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--amber);
  color: #1a1409;
  box-shadow: 0 8px 24px -8px rgba(208,140,46,.6), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-primary:hover { background: var(--amber-bright); transform: translateY(-1px); }
.btn-ghost { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-2); }

/* --------- Automation Flow (hero) --------- */
.flow-stage {
  position: relative;
  width: min(1000px, 96vw);
  height: 420px;
  margin: 70px auto 0;
}
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.flow-col {
  position: absolute; top: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 12px;
  width: 210px;
}
.flow-col-left { left: 0; align-items: flex-start; }
.flow-col-right { right: 0; align-items: flex-end; }
.flow-col-left .flow-node { width: 210px; }

.flow-node {
  background: rgba(21,29,51,.78);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
  min-width: 180px;
  transition: transform .3s, border-color .3s;
}
.flow-node:hover { transform: translateX(0) translateY(-2px); border-color: rgba(208,140,46,.5); }
.flow-col-right .flow-node:hover { transform: translateX(0) translateY(-2px); }

.flow-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  font-size: 13px; color: var(--amber-bright);
  font-family: 'Sora'; font-weight: 600;
  flex-shrink: 0;
}
.flow-lbl { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; color: #fff; font-weight: 500; flex: 1; min-width: 0; }
.flow-lbl small { font-size: 11.5px; color: rgba(255,255,255,.5); font-weight: 400; }
.flow-lbl.text-right { text-align: right; align-items: flex-end; }
.flow-col-right .flow-node { width: 210px; justify-content: flex-end; }

.flow-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  z-index: 2;
}
.flow-core {
  position: relative;
  width: 180px; height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f3b45b, #c27a1f 70%);
  box-shadow:
    0 0 60px rgba(233,167,71,.5),
    inset 0 2px 10px rgba(255,255,255,.3),
    inset 0 -6px 14px rgba(0,0,0,.25);
  display: grid; place-items: center;
}
.flow-core-inner {
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(26,20,9,.12);
  border: 1px solid rgba(26,20,9,.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: #1a1409;
}
.flow-core-icon { margin-bottom: 6px; }
.flow-core-label { font-family: 'Sora'; font-weight: 600; font-size: 16px; letter-spacing: .02em; }
.flow-core-sub { font-size: 10.5px; font-family: 'JetBrains Mono'; color: rgba(26,20,9,.65); margin-top: 3px; }
.flow-core-ring {
  position: absolute; inset: -16px; border-radius: 50%;
  border: 1px solid rgba(208,140,46,.3);
  animation: coreRing 3s ease-out infinite;
}
.flow-core-ring.ring2 { animation-delay: 1.5s; }
@keyframes coreRing {
  0% { transform: scale(.9); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.flow-center-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}
.flow-center-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 10px var(--teal-bright); animation: pulse 2s infinite; }

@media (max-width: 720px) {
  .flow-stage { height: 520px; }
  .flow-col { width: 160px; }
  .flow-node { min-width: 140px; padding: 8px 10px; }
  .flow-lbl { font-size: 12px; }
  .flow-lbl small { font-size: 10.5px; }
  .flow-core { width: 130px; height: 130px; }
  .flow-core-inner { width: 108px; height: 108px; }
  .flow-core-label { font-size: 13px; }
  .flow-core-sub { font-size: 9.5px; }
}

body[data-accent=teal] .flow-core { background: radial-gradient(circle at 35% 30%, #3bc0c0, #105757 70%); }
body[data-accent=teal] .flow-core-ring { border-color: rgba(31,122,122,.4); }
body[data-accent=teal] .flow-icon { color: var(--teal-bright); }
.plate-stage {
  position: relative;
  width: min(720px, 92vw);
  height: 440px;
  margin: 60px auto 0;
}
.plate {
  position: absolute; left: 50%; top: 50%;
  width: 360px; height: 360px;
  transform: translate(-50%,-50%) perspective(900px) rotateX(62deg);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(208,140,46,.25) 0%, rgba(208,140,46,.08) 40%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  border: 1px solid rgba(208,140,46,.25);
  box-shadow:
    0 0 0 10px rgba(208,140,46,.05),
    0 0 0 30px rgba(208,140,46,.025),
    0 30px 60px -10px rgba(0,0,0,.6);
}
.plate::before {
  content: '';
  position: absolute; inset: 28px;
  border-radius: 50%;
  border: 1px dashed rgba(208,140,46,.35);
}
.plate::after {
  content: '';
  position: absolute; inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,140,46,.12), transparent 70%);
  animation: plateSpin 20s linear infinite;
}
@keyframes plateSpin { to { transform: rotate(360deg); } }

.plate-core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 92px; height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e9a747, #9e6b22 70%);
  box-shadow:
    0 0 60px rgba(233,167,71,.6),
    inset 0 2px 8px rgba(255,255,255,.3),
    inset 0 -4px 12px rgba(0,0,0,.3);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: #1a1409;
  font-family: 'Sora'; font-weight: 600; font-size: 12px;
  letter-spacing: .04em;
}
.plate-core-inner {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(26,20,9,.18);
  display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.1;
}

/* Orbiting task chips */
.chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(21,29,51,.86);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
  opacity: 0;
  animation: chipFly 7s ease-in-out infinite;
}
.chip .chip-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  font-size: 11px;
}
.chip .chip-sub { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 400; margin-left: 2px; }
.chip.strike { text-decoration: line-through; opacity: .4 !important; }

@keyframes chipFly {
  0%   { transform: translate(var(--x0), var(--y0)) scale(.95); opacity: 0; }
  12%  { opacity: 1; }
  45%  { transform: translate(var(--x1), var(--y1)) scale(1); opacity: 1; }
  70%  { transform: translate(var(--x2), var(--y2)) scale(.9); opacity: .6; filter: blur(0); }
  100% { transform: translate(var(--x3), var(--y3)) scale(.7); opacity: 0; filter: blur(3px); }
}

/* Trails */
.trail {
  position: absolute;
  width: 1px; height: 1px;
  background: var(--amber-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber-bright);
  opacity: 0;
  animation: trailFly 4s ease-out infinite;
}
@keyframes trailFly {
  0%   { opacity: 0; transform: translate(0,0) scale(.5); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.2); }
}

.logos-strip {
  margin-top: 48px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.logos-strip .row {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  margin-top: 14px;
  font-family: 'Sora'; font-weight: 500; font-size: 16px;
  color: rgba(255,255,255,.68);
}
.logos-strip .row span { opacity: .8; }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
.eyebrow-light {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono'; font-size: 12px; font-weight: 500;
  color: var(--teal);
  text-transform: uppercase; letter-spacing: .12em;
}
.eyebrow-light::before { content: ''; width: 18px; height: 1px; background: var(--teal); }

.section-title { font-size: clamp(32px, 4.2vw, 52px); margin: 16px 0 20px; max-width: 18ch; }
.section-lede { font-size: 18px; color: var(--muted); max-width: 56ch; }

/* Problem */
.problem { background: var(--cream); border-top: 1px solid var(--line); }
.problem .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
@media (max-width: 900px) { .problem .grid { grid-template-columns: 1fr; gap: 40px; } }

.chaos-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px -30px rgba(17,24,39,.25);
  position: relative;
}
.chaos-card header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  font-family: 'Sora'; font-weight: 500; font-size: 14px;
  color: var(--ink);
}
.chaos-card header .dots { display: flex; gap: 6px; margin-right: 6px; }
.chaos-card header .dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--slate); }
.chaos-card header .dots span:nth-child(1) { background: #F08686; }
.chaos-card header .dots span:nth-child(2) { background: #F0C46A; }
.chaos-card header .dots span:nth-child(3) { background: #86CC86; }

.task-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 4px;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
  transition: all .5s ease;
}
.task-row:last-child { border-bottom: 0; }
.task-row .pill {
  font-family: 'JetBrains Mono'; font-size: 11px;
  padding: 3px 8px; border-radius: 6px;
  background: var(--cream-2); color: var(--ink-2);
}
.task-row .pill.urgent { background: #FCE8DA; color: #A14A16; }
.task-row .pill.late { background: #FBD9D9; color: #9A2E2E; }
.task-row .time { margin-left: auto; font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); }
.task-row.done { opacity: .35; text-decoration: line-through; }
.task-row.done .time { text-decoration: none; }

.problem-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.stat-card { padding: 20px; border-radius: 14px; background: var(--slate); border: 1px solid var(--line); }
.stat-card .num { font-family: 'Sora'; font-weight: 600; font-size: 32px; letter-spacing: -0.02em; color: var(--navy); }
.stat-card .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Process */
.process { background: var(--cream-2); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  transition: all .3s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(17,24,39,.2); border-color: var(--amber); }
.step-num {
  font-family: 'JetBrains Mono'; font-size: 12px; color: var(--teal);
  margin-bottom: 20px;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: var(--amber-bright);
  display: grid; place-items: center;
  font-family: 'Sora'; font-weight: 600; font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Services */
.services { background: var(--cream); border-top: 1px solid var(--line); }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ladder { grid-template-columns: 1fr; } }

.rung {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .25s ease;
}
.rung:last-child { border-right: 0; }
@media (max-width: 900px) {
  .rung { border-right: 0; border-bottom: 1px solid var(--line); }
  .rung:nth-child(odd) { border-right: 1px solid var(--line); }
}
.rung:hover { background: var(--cream); }
.rung.featured { background: var(--navy); color: #fff; }
.rung.featured h3 { color: #fff; }
.rung.featured .rung-lede { color: rgba(255,255,255,.7); }
.rung.featured .rung-price { color: var(--amber-bright); }
.rung.featured .rung-list li { color: rgba(255,255,255,.85); }
.rung.featured .rung-list li::before { background: var(--amber-bright); }

.rung-tier { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; }
.rung.featured .rung-tier { color: var(--amber-bright); }
.rung h3 { font-size: 22px; margin: 14px 0 8px; }
.rung-lede { font-size: 14px; color: var(--muted); min-height: 42px; }
.rung-price { margin-top: 20px; font-family: 'Sora'; font-size: 20px; font-weight: 600; color: var(--navy); }
.rung-price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.rung-list { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; }
.rung-list li { padding: 7px 0 7px 20px; position: relative; color: var(--ink-2); }
.rung-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--teal); }

/* Examples */
.examples { background: var(--navy-deep); color: #fff; border-top: 1px solid rgba(255,255,255,.05); }
.examples .section-title { color: #fff; }
.examples .section-lede { color: rgba(255,255,255,.66); }
.examples .eyebrow-light { color: var(--amber-bright); }
.examples .eyebrow-light::before { background: var(--amber-bright); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

.case {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 28px;
  transition: all .3s ease;
}
.case:hover { border-color: var(--amber); background: rgba(208,140,46,.04); transform: translateY(-3px); }
.case .case-kind { font-family: 'JetBrains Mono'; font-size: 11px; color: var(--amber-bright); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.case h4 { font-size: 20px; color: #fff; margin-bottom: 10px; }
.case .case-desc { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; }

.case .flow {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: 'JetBrains Mono'; font-size: 11.5px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.case .flow .node {
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.case .flow .arr { opacity: .5; }

.case-result {
  margin-top: 18px;
  padding: 14px; border-radius: 10px;
  background: rgba(31,122,122,.15);
  border: 1px solid rgba(46,168,168,.2);
  display: flex; align-items: center; gap: 10px;
}
.case-result .arrow { color: var(--teal-bright); font-family: 'Sora'; font-weight: 600; }
.case-result .text { font-size: 13.5px; color: rgba(255,255,255,.9); }

/* Pricing / Proof */
.proof { background: var(--cream); border-top: 1px solid var(--line); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute; top: 10px; right: 22px;
  font-family: 'Sora'; font-size: 64px; font-weight: 600;
  color: var(--amber); opacity: .18; line-height: 1;
}
.quote p { font-size: 16px; line-height: 1.6; color: var(--ink); }
.quote .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--slate); display: grid; place-items: center; font-family: 'Sora'; font-weight: 600; font-size: 13px; color: var(--navy); }
.quote .meta { font-size: 13px; }
.quote .meta b { display: block; color: var(--ink); font-weight: 600; }
.quote .meta span { color: var(--muted); }

/* FAQ */
.faq { background: var(--cream-2); border-top: 1px solid var(--line); }
.faq-list { margin-top: 60px; border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
  transition: all .2s;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
  font-family: 'Sora'; font-size: 19px; font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .tog {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all .3s;
  flex-shrink: 0;
}
.faq-item[open] .tog { background: var(--navy); color: var(--amber-bright); border-color: var(--navy); transform: rotate(45deg); }
.faq-item .a { margin-top: 14px; font-size: 15.5px; color: var(--muted); line-height: 1.65; max-width: 72ch; }

/* CTA */
.cta-section {
  background:
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(208,140,46,.2), transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(31,122,122,.16), transparent 70%),
    var(--navy-ink);
  color: #fff;
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); max-width: 16ch; margin: 16px auto 22px; }
.cta-section p { color: rgba(255,255,255,.7); max-width: 48ch; margin: 0 auto; font-size: 17px; }
.cta-section .hero-ctas { margin-top: 40px; }

/* Footer */
.footer { background: var(--navy-ink); color: rgba(255,255,255,.6); padding: 60px 0 50px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { color: #fff; font-size: 20px; }
.footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer .col h5 { color: rgba(255,255,255,.9); font-family: 'Sora'; font-size: 13px; font-weight: 500; margin-bottom: 14px; letter-spacing: .02em; }
.footer .col a { display: block; font-size: 14px; padding: 5px 0; opacity: .7; }
.footer .col a:hover { opacity: 1; color: var(--amber-bright); }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Tweaks panel */
.tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(17,24,39,.35);
  padding: 18px;
  font-size: 13px;
}
.tweaks-panel h4 { font-size: 14px; margin-bottom: 4px; }
.tweaks-panel .sub { color: var(--muted); font-size: 12px; margin-bottom: 16px; }
.tweaks-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tweaks-row label { font-size: 11px; font-family: 'JetBrains Mono'; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.tweaks-seg { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tweaks-seg button { flex: 1; padding: 7px 8px; font-size: 12px; background: #fff; transition: all .15s; }
.tweaks-seg button.on { background: var(--ink); color: var(--cream); }
.tweaks-panel input[type=text] { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12px; }
.tweaks-panel .close { position: absolute; top: 12px; right: 12px; opacity: .5; font-size: 16px; }
.tweaks-panel .close:hover { opacity: 1; }

/* theme: teal accent */
body[data-accent=teal] .hero-glow {
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(31,122,122,.28), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(208,140,46,.12), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(31,122,122,.16), transparent 70%);
}
body[data-accent=teal] .hero h1 .accent { background: linear-gradient(180deg, var(--teal-bright), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-accent=teal] .btn-primary { background: var(--teal-bright); color: #06201d; box-shadow: 0 8px 24px -8px rgba(31,122,122,.6); }
body[data-accent=teal] .btn-primary:hover { background: var(--teal); }
body[data-accent=teal] .plate { border-color: rgba(31,122,122,.35); background: radial-gradient(circle, rgba(31,122,122,.22) 0%, rgba(31,122,122,.06) 40%, transparent 70%); }
body[data-accent=teal] .plate::before { border-color: rgba(31,122,122,.4); }
body[data-accent=teal] .plate-core { background: radial-gradient(circle at 30% 30%, var(--teal-bright), #0f4545 70%); color: #e7fdfc; box-shadow: 0 0 60px rgba(46,168,168,.6), inset 0 2px 8px rgba(255,255,255,.2), inset 0 -4px 12px rgba(0,0,0,.3); }
body[data-accent=teal] .eyebrow .dot { background: var(--teal-bright); box-shadow: 0 0 12px var(--teal-bright); }
body[data-accent=teal] .trail { background: var(--teal-bright); box-shadow: 0 0 8px var(--teal-bright); }

/* --------- Page transition curtain --------- */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #0e1424 0%, #1F2A44 100%);
  display: grid;
  place-items: center;
  pointer-events: none;
  will-change: transform;
  transform: translateY(100%);
}
.page-curtain.covering {
  transform: translateY(0);
  pointer-events: auto;
}
.page-curtain .mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 18px;
  color: #F7F5F0; letter-spacing: -0.01em;
}

.hero-logo {
  display: block;
  margin: 0 auto 28px;
  height: 64px;
  width: auto;
}
@media (max-width: 720px) {
  .hero-logo { height: 54px; margin-bottom: 20px; }
}

/* --------- From our CEO --------- */
.ceo-section { padding: 120px 0 80px; }
.ceo-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}
.ceo-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(15,20,36,.25);
}
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ceo-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,20,36,.5));
  pointer-events: none;
}
.ceo-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(247,245,240,.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px; border-radius: 999px;
  font-family: 'JetBrains Mono'; font-size: 11.5px;
  color: var(--navy); font-weight: 500;
  letter-spacing: .06em;
  z-index: 2;
}

.ceo-body .eyebrow-light { margin-bottom: 24px; }
.ceo-quote {
  position: relative;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
  padding-left: 36px;
  border-left: 3px solid var(--amber);
}
.ceo-quote .quote-mark {
  position: absolute;
  left: 8px; top: -14px;
  font-family: 'Sora'; font-size: 80px;
  color: var(--amber); opacity: .35;
  line-height: 1;
  font-weight: 700;
}
.ceo-sign { margin-top: 36px; padding-left: 36px; }
.ceo-sig-line {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.sig-name { font-family: 'Sora'; font-weight: 600; font-size: 18px; color: var(--ink); }
.sig-title { font-size: 14px; color: var(--muted); }
.ceo-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ceo-meta > div { display: flex; flex-direction: column; gap: 4px; }
.ceo-meta .k {
  font-family: 'JetBrains Mono'; font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .08em;
}
.ceo-meta .v { font-size: 14.5px; color: var(--ink); font-weight: 500; }

body[data-accent=teal] .ceo-quote { border-left-color: var(--teal); }
body[data-accent=teal] .ceo-quote .quote-mark { color: var(--teal); }

@media (max-width: 900px) {
  .ceo-grid { grid-template-columns: 1fr; gap: 40px; }
  .ceo-photo { max-width: 360px; }
  .ceo-sign { padding-left: 0; }
  .ceo-quote { padding-left: 22px; }
  .ceo-meta { grid-template-columns: 1fr 1fr; }
}

/* =======================  How It Works page  ======================= */

.proc-body { padding: 40px 0 0; }

.proc-step {
  padding: 90px 0;
  position: relative;
}
.proc-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.proc-step.flip .proc-grid { grid-template-columns: 1.05fr 1fr; }
.proc-step.flip .proc-copy { order: 2; }
.proc-step.flip .proc-visual { order: 1; }

.proc-num {
  font-family: 'Sora'; font-weight: 700;
  font-size: 120px; line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(208,140,46,.35);
  margin-bottom: 16px;
  letter-spacing: -.04em;
}
body[data-accent=teal] .proc-num { -webkit-text-stroke-color: rgba(46,168,168,.4); }

.proc-copy .eyebrow-light { margin-bottom: 16px; }
.proc-copy h2 {
  font-family: 'Sora'; font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.02em; line-height: 1.1;
  color: var(--ink);
  margin: 0 0 18px;
}
.proc-copy p {
  font-size: 17px; line-height: 1.65; color: var(--ink-2);
  max-width: 52ch;
}
.proc-bullets {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 12px;
}
.proc-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--ink-2);
}
.proc-bullets li svg { color: var(--amber); flex-shrink: 0; }
body[data-accent=teal] .proc-bullets li svg { color: var(--teal); }

/* Reveal on inView */
.proc-step .proc-copy, .proc-step .proc-visual {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.proc-step.flip .proc-visual { transform: translateY(30px) translateX(-20px); }
.proc-step:not(.flip) .proc-visual { transform: translateY(30px) translateX(20px); }
.proc-step.in .proc-copy, .proc-step.in .proc-visual {
  opacity: 1; transform: translateY(0) translateX(0);
}
.proc-step.in .proc-visual { transition-delay: .12s; }

/* connector between steps */
.proc-connector {
  position: absolute;
  bottom: -45px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 1;
}
.proc-connector .line {
  width: 1px; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(208,140,46,.5), transparent);
}
.proc-connector .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
  margin-top: -8px;
}
body[data-accent=teal] .proc-connector .dot { background: var(--teal-bright); box-shadow: 0 0 14px var(--teal-bright); }

/* --- Step frame (fake app chrome) --- */
.step-frame {
  background: linear-gradient(180deg, #0f1424 0%, #131b34 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 30px 60px -25px rgba(15,20,36,.35);
  min-height: 360px;
}
.step-frame-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
  position: relative;
}
.step-frame-chrome span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.step-frame-chrome span:nth-child(1) { background: #ff5f57; }
.step-frame-chrome span:nth-child(2) { background: #febc2e; }
.step-frame-chrome span:nth-child(3) { background: #28c840; }
.step-frame-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono'; font-size: 11.5px;
  color: rgba(255,255,255,.4);
}
.step-frame-body { padding: 28px 26px; min-height: 300px; }

/* --- Anim: chat (discovery) --- */
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; opacity: 0; transform: translateY(8px); }
.chat-msg.us { justify-content: flex-start; }
.chat-msg.them { justify-content: flex-end; }
.chat-msg .bubble {
  max-width: 78%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #F7F5F0;
}
.chat-msg.us .bubble {
  background: rgba(208,140,46,.18);
  border: 1px solid rgba(208,140,46,.3);
  border-top-left-radius: 4px;
}
.chat-msg.them .bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-top-right-radius: 4px;
}
.chat-msg.in {
  animation: chatIn .5s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes chatIn {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Anim: diagnosis --- */
.diag { font-family: 'Inter'; }
.diag-head {
  display: grid; grid-template-columns: 1fr 80px 110px;
  padding: 0 14px 10px;
  font-family: 'JetBrains Mono'; font-size: 11px;
  color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em;
}
.diag-row {
  display: grid; grid-template-columns: 1fr 80px 110px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 6px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255,255,255,.85);
  opacity: 0; transform: translateX(-16px);
}
.diag-row.in { animation: diagIn .5s ease forwards; }
@keyframes diagIn {
  to { opacity: 1; transform: translateX(0); }
}
.diag-time { font-family: 'JetBrains Mono'; color: rgba(255,255,255,.6); font-size: 12.5px; }
.diag-tag {
  font-family: 'JetBrains Mono'; font-size: 10.5px;
  padding: 4px 9px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .07em; text-align: center;
  justify-self: start;
}
.tag-auto { background: rgba(46,168,168,.18); color: #82e0e0; border: 1px solid rgba(46,168,168,.3); }
.tag-keep { background: rgba(208,140,46,.18); color: #e9a747; border: 1px solid rgba(208,140,46,.3); }

.diag-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px; padding: 14px 14px 2px;
  border-top: 1px dashed rgba(255,255,255,.1);
  opacity: 0; transform: translateY(8px);
}
.diag-total.in { animation: chatIn .6s ease forwards; }
.diag-total span { font-size: 13px; color: rgba(255,255,255,.55); }
.diag-total strong {
  font-family: 'Sora'; font-weight: 600; font-size: 24px;
  color: var(--amber-bright);
}

/* --- Anim: build --- */
.build-stage { position: relative; min-height: 260px; display: grid; place-items: center; }
.build-svg { width: 100%; max-width: 460px; height: auto; }
.bn { opacity: 0; transform: translateY(8px); transform-origin: center; }
.bn.in { animation: bnIn .5s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes bnIn { to { opacity: 1; transform: translateY(0); } }

.build-stamp {
  position: absolute; right: 8px; top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(46,168,168,.18); border: 1px solid rgba(46,168,168,.35);
  color: #82e0e0; font-family: 'JetBrains Mono'; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em;
  opacity: 0; transform: translateY(-6px);
}
.build-stamp.in { animation: chatIn .6s ease 2400ms forwards; }
.build-stamp .dot { width: 6px; height: 6px; border-radius: 50%; background: #2ea8a8; box-shadow: 0 0 8px #2ea8a8; animation: pulse 1.8s ease-in-out infinite; }

/* --- Anim: monitor --- */
.mon { display: flex; flex-direction: column; gap: 18px; }
.mon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mon-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px;
}
.mon-card .k {
  font-family: 'JetBrains Mono'; font-size: 10.5px;
  color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em;
}
.mon-card .n {
  font-family: 'Sora'; font-weight: 600;
  font-size: 28px; color: #fff; margin-top: 4px;
  letter-spacing: -.02em;
}
.mon-card .sub { font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 2px; }
.mon-graph { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 14px; }
.mon-graph svg { width: 100%; height: 70px; display: block; }
.mon-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: 'JetBrains Mono'; font-size: 10px; color: rgba(255,255,255,.35); }

/* --- Anim: iterate --- */
.iter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: stretch; }
.iter-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 16px 14px;
  color: #F7F5F0;
  opacity: 0; transform: translateY(12px);
  position: relative; overflow: hidden;
}
.iter-card.in { animation: bnIn .55s cubic-bezier(.2,.8,.2,1) forwards; }
.iter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.iter-tag {
  font-family: 'JetBrains Mono'; font-size: 10px;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .07em;
}
.iter-tag.done { background: rgba(46,168,168,.18); color: #82e0e0; }
.iter-tag.next { background: rgba(208,140,46,.2); color: #e9a747; }
.iter-when { font-family: 'JetBrains Mono'; font-size: 10.5px; color: rgba(255,255,255,.4); }
.iter-title { font-family: 'Sora'; font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.iter-sub { font-size: 12.5px; color: rgba(255,255,255,.55); }
.iter-card.new { border-color: rgba(208,140,46,.3); }
.iter-card.new::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(208,140,46,.15), transparent 60%);
  pointer-events: none;
}
.iter-pulse {
  position: absolute; right: -30px; top: -30px;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(208,140,46,.3), transparent 70%);
  animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 900px) {
  .proc-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .proc-step.flip .proc-copy { order: 1; }
  .proc-step.flip .proc-visual { order: 2; }
  .proc-num { font-size: 80px; }
  .step-frame-body { padding: 20px 16px; }
  .mon-row { grid-template-columns: 1fr 1fr 1fr; }
  .iter { grid-template-columns: 1fr; }
}

/* ===============  Contact page (redesigned)  =============== */

.contact-hero {
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, #1F2A44 0%, #151d33 45%, #0e1424 100%);
  color: #F7F5F0;
  padding: 130px 0 90px;
  overflow: hidden;
}
.contact-hero .hero-grid, .contact-hero .hero-glow { position: absolute; inset: 0; z-index: 0; }
.contact-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: end;
}
.contact-hero-copy .crumb {
  font-family: 'JetBrains Mono'; font-size: 12px;
  color: rgba(247,245,240,.55);
  text-transform: uppercase; letter-spacing: .12em;
}
.contact-hero-copy h1 {
  font-family: 'Sora'; font-weight: 600;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 20px 0 24px;
}
.contact-hero-copy .accent-underline {
  color: var(--amber-bright);
  position: relative;
  white-space: nowrap;
}
.contact-hero-copy .accent-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: rgba(208,140,46,.2);
  z-index: -1;
  border-radius: 2px;
}
.contact-hero-copy .sub {
  color: rgba(247,245,240,.7);
  font-size: 18px;
  max-width: 56ch;
  line-height: 1.55;
  margin: 0 0 40px;
}
body[data-accent=teal] .contact-hero-copy .accent-underline { color: var(--teal-bright); }
body[data-accent=teal] .contact-hero-copy .accent-underline::after { background: rgba(46,168,168,.22); }

.contact-hi {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  max-width: 520px;
}
.contact-hi img {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(208,140,46,.5);
  flex-shrink: 0;
}
.hi-greet { font-family: 'Sora'; font-weight: 500; font-size: 15px; color: #fff; margin-bottom: 2px; letter-spacing: -0.01em; }
.hi-sub   { font-size: 13px; color: rgba(247,245,240,.55); line-height: 1.45; }

.contact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cs-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 18px;
}
.cs-k {
  font-family: 'JetBrains Mono'; font-size: 10.5px;
  color: rgba(247,245,240,.45); text-transform: uppercase; letter-spacing: .1em;
}
.cs-v {
  font-family: 'Sora'; font-weight: 600;
  font-size: 28px; color: #fff;
  margin-top: 6px; letter-spacing: -0.02em;
  line-height: 1;
}
.cs-sub { font-size: 12px; color: rgba(247,245,240,.5); margin-top: 4px; }

/* Ways grid */
.contact-body { padding: 0; background: var(--cream); }
.contact-ways { padding: 90px 0 40px; background: var(--cream); }
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.way-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .3s, transform .3s;
}
.way-card:hover { border-color: rgba(208,140,46,.4); transform: translateY(-2px); }
body[data-accent=teal] .way-card:hover { border-color: rgba(31,122,122,.45); }
.way-head { display: flex; justify-content: space-between; align-items: center; }
.way-k {
  font-family: 'Sora'; font-weight: 700;
  font-size: 22px;
  color: var(--amber);
  letter-spacing: -0.02em;
}
body[data-accent=teal] .way-k { color: var(--teal); }
.way-s {
  font-family: 'JetBrains Mono'; font-size: 10.5px;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(208,140,46,.12); color: var(--amber);
  text-transform: uppercase; letter-spacing: .08em;
}
body[data-accent=teal] .way-s { background: rgba(31,122,122,.12); color: var(--teal); }
.way-card h3 {
  font-family: 'Sora'; font-weight: 600;
  font-size: 18px; color: var(--ink);
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}
.way-card p {
  font-size: 14px; line-height: 1.55;
  color: var(--muted);
  margin: 0; flex: 1;
}
.way-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Sora'; font-weight: 500; font-size: 14px;
  color: var(--ink); text-decoration: none;
  margin-top: 8px;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color .2s, gap .2s;
}
.way-action:hover { color: var(--amber); gap: 10px; }
body[data-accent=teal] .way-action { border-bottom-color: var(--teal); }
body[data-accent=teal] .way-action:hover { color: var(--teal); }

/* Contact form grid */
.contact-form-section { padding: 60px 0 80px; background: var(--cream); }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 30px 80px -40px rgba(15,20,36,.15);
}
.cfs-left h2 {
  font-family: 'Sora'; font-weight: 600;
  font-size: 34px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink);
  margin: 14px 0 14px;
}
.cfs-left p {
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 28px;
}
.cfs-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
  position: relative;
}
.cfs-list::before {
  content: '';
  position: absolute; left: 13px; top: 14px; bottom: 14px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--amber) 0%, rgba(208,140,46,.2) 100%);
}
body[data-accent=teal] .cfs-list::before { background: linear-gradient(180deg, var(--teal) 0%, rgba(31,122,122,.2) 100%); }
.cfs-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14.5px; color: var(--ink-2);
  position: relative;
  z-index: 1;
}
.cfs-list .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono'; font-weight: 600; font-size: 12.5px;
  flex-shrink: 0;
}
body[data-accent=teal] .cfs-list .n { border-color: var(--teal); color: var(--teal); }

.cfs-trust { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.t-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.t-badge svg { color: var(--amber); }
body[data-accent=teal] .t-badge svg { color: var(--teal); }

.form-reassure {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px;
  font-size: 12.5px; color: var(--muted);
}
.form-reassure svg { color: var(--amber); }
body[data-accent=teal] .form-reassure svg { color: var(--teal); }

.check-ring {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(46,168,168,.12);
  border: 1.5px solid rgba(46,168,168,.35);
  display: grid; place-items: center;
}

/* Close section */
.contact-close {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.contact-close-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.cc-copy h2 {
  font-family: 'Sora'; font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink);
  margin: 14px 0 18px;
  max-width: 20ch;
}
.cc-copy p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cc-kicker {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 36px 30px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -30px rgba(15,20,36,.15);
}
.kc-mark {
  position: absolute; top: 14px; left: 28px;
  font-family: 'Sora'; font-size: 80px; line-height: .5;
  color: var(--amber); opacity: .3;
  font-weight: 700;
}
body[data-accent=teal] .kc-mark { color: var(--teal); }
.cc-kicker p {
  font-family: 'Sora'; font-weight: 500;
  font-size: 20px; line-height: 1.4;
  color: var(--ink);
  margin: 26px 0 18px;
  letter-spacing: -0.01em;
}
.kc-sig { font-size: 14px; color: var(--muted); font-style: italic; }

@media (max-width: 900px) {
  .contact-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-stats { grid-template-columns: 1fr 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .contact-close-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-hero-copy h1 br { display: none; }
}


/* ===========================================================
   MOBILE RESPONSIVE TUNING (consolidated)
   =========================================================== */

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  /* Hero */
  .hero-inner { padding: 92px 0 32px; }
  .hero-logo { height: 40px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px); max-width: 14ch; letter-spacing: -0.03em; }
  .hero .sub { font-size: 15.5px; max-width: 92%; }
  .eyebrow { font-size: 12px; padding: 6px 12px; }
  .hero-ctas { margin-top: 22px; gap: 10px; }
  .btn { padding: 12px 18px; font-size: 14px; }

  /* Hero flow: compact 2-column grids above/below the AI Agent */
  .flow-stage {
    height: auto;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .flow-lines { display: none; }
  .flow-col {
    position: static;
    width: 100%;
    max-width: 420px;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch !important;
  }
  .flow-node {
    width: 100% !important;
    transform: none !important;
    min-width: 0;
    padding: 8px 10px;
    gap: 8px;
  }
  .flow-col-right .flow-node { flex-direction: row; justify-content: flex-start; }
  .flow-col-right .flow-lbl.text-right { text-align: left; align-items: flex-start; }
  .flow-col-right .flow-lbl.text-right b,
  .flow-col-right .flow-lbl.text-right small { text-align: left; }
  .flow-node .flow-icon { width: 28px; height: 28px; font-size: 13px; flex-shrink: 0; }
  .flow-node .flow-lbl b { font-size: 13px; }
  .flow-node .flow-lbl small { font-size: 11px; }
  .flow-center { position: static; transform: none; margin: 2px auto; }
  .flow-core { width: 108px; height: 108px; }
  .flow-core-inner { width: 92px; height: 92px; }
  .flow-core-label { font-size: 12px; }
  .flow-core-sub { font-size: 9px; }
  .flow-center-badge { position: static; margin: 6px auto 0; }

  .logos-strip { margin-top: 36px; }
  .logos-strip .row { gap: 22px; font-size: 14px; }

  /* Sections: tighter padding, smaller headings */
  section { padding: 64px 0 !important; }
  section h2, h2 { font-size: clamp(28px, 7vw, 40px) !important; letter-spacing: -0.025em; }
  section h3 { font-size: 20px; }
  .section-eyebrow { font-size: 11.5px; }

  /* Problem section */
  .problem .col h3 { font-size: 22px; }

  /* Steps cards */
  .steps { gap: 16px !important; }
  .step { padding: 22px; }

  /* Services ladder */
  .rung { padding: 26px; }
  .rung h3 { font-size: 22px; }
  .rung .price { font-size: 22px; }

  /* Case studies */
  .case-card { padding: 24px; }
  .case-card h3 { font-size: 22px; }
  .case-detail { padding: 22px !important; gap: 20px; }
  .case-detail h3 { font-size: 22px; }

  /* CTA / contact */
  .cta-big h2 { font-size: clamp(32px, 9vw, 48px) !important; }
  .contact-hero h1 { font-size: clamp(36px, 10vw, 54px) !important; }
  .contact-stats { grid-template-columns: 1fr 1fr !important; }
  .contact-form-grid { padding: 22px !important; }

  /* About */
  .about-hero h1, .page-hero h1 { font-size: clamp(36px, 10vw, 52px) !important; }
  .ceo-photo { max-width: 100%; }
  .ceo-quote { font-size: 18px; padding-left: 16px; }

  /* Process */
  .proc-num { font-size: 56px !important; }
  .mon-row { grid-template-columns: 1fr 1fr !important; }

  /* Footer */
  .footer { padding: 48px 0 28px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }

  /* FAQ */
  .faq-item summary { font-size: 16px; padding: 18px 0; }
  .faq-item .a { font-size: 14.5px; }

  /* Pricing */
  .pricing-card { padding: 26px; }

  /* Quick contact (compact form) */
  .contact-compact { padding: 24px !important; }
  .contact-compact h3 { font-size: 22px; }

  /* Prevent horizontal overflow anywhere */
  html, body { overflow-x: hidden; }
  img, svg { max-width: 100%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 36px; }
  .wrap { padding: 0 16px; }
  .btn { padding: 11px 16px; font-size: 13.5px; }
  .nav-inner { height: 58px; }
  .hero-inner { padding: 84px 0 28px; }
  .flow-stage { margin-top: 26px; gap: 14px; }
  .flow-col { gap: 6px; }
  .flow-node { padding: 7px 9px; gap: 7px; }
  .flow-node .flow-icon { width: 26px; height: 26px; font-size: 12px; }
  .flow-node .flow-lbl b { font-size: 12.5px; }
  .flow-node .flow-lbl small { font-size: 10.5px; }
  .flow-core { width: 100px; height: 100px; }
  .flow-core-inner { width: 86px; height: 86px; }
  .mobile-links a { font-size: 26px; padding: 14px 4px; }
  .mobile-menu-inner { padding: 84px 22px 36px; }
}


/* ===========================================================
   HELP MODAL (multi-step contact qualifier)
   =========================================================== */

.help-modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14,20,36,.82);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  animation: helpFadeIn .25s ease forwards;
}
.help-modal-overlay.open { opacity: 1; }

@keyframes helpFadeIn { to { opacity: 1; } }

.help-modal {
  position: relative;
  background: var(--cream);
  border-radius: 22px;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 40px 44px 32px;
  box-shadow: 0 40px 120px -20px rgba(14,20,36,.6), 0 0 0 1px rgba(14,20,36,.06);
  transform: translateY(16px) scale(.98);
  animation: helpSlideIn .35s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes helpSlideIn { to { transform: translateY(0) scale(1); } }

.help-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(14,20,36,.1);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.help-close:hover { background: rgba(14,20,36,.06); border-color: rgba(14,20,36,.2); }

.help-progress {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 28px;
  padding-right: 48px;
  font-family: 'JetBrains Mono'; font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.hp-dot {
  flex: 1;
  height: 3px;
  background: rgba(14,20,36,.08);
  border-radius: 2px;
  transition: background .3s;
}
.hp-dot.done { background: var(--amber); }
.hp-dot.active { background: var(--amber); box-shadow: 0 0 0 3px rgba(208,140,46,.15); }
.hp-label { margin-left: 10px; white-space: nowrap; }

.help-step-wrap { min-height: 300px; position: relative; }
.help-step {
  animation: helpStepIn .35s cubic-bezier(.2,.8,.2,1) both;
}
.help-step.back { animation-name: helpStepInBack; }
@keyframes helpStepIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes helpStepInBack {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.help-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.help-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}

.help-opts { display: flex; flex-direction: column; gap: 10px; }
.help-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(14,20,36,.1);
  background: rgba(255,255,255,.5);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .15s;
}
.help-opt:hover { border-color: rgba(14,20,36,.25); background: #fff; }
.help-opt.on {
  border-color: var(--amber);
  background: rgba(208,140,46,.08);
}
.help-opt .help-arrow {
  margin-left: auto;
  opacity: .35;
  font-size: 18px;
  transition: transform .2s, opacity .2s;
}
.help-opt:hover .help-arrow { opacity: 1; transform: translateX(4px); }

.help-check {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(14,20,36,.2);
  display: grid; place-items: center;
  transition: background .18s, border-color .18s, color .18s;
  flex-shrink: 0;
  color: transparent;
}
.help-opt.on .help-check {
  background: var(--amber); border-color: var(--amber);
  color: #fff;
}

.help-details { display: flex; flex-direction: column; gap: 14px; }
.help-details label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.help-details label em { font-style: normal; opacity: .7; font-weight: 400; }
.help-details input, .help-details textarea {
  font: inherit; font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(14,20,36,.12);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  font-family: inherit;
}
.help-details input:focus, .help-details textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(208,140,46,.15);
}
.help-details textarea { resize: vertical; min-height: 80px; }
.help-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.help-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(14,20,36,.08);
  gap: 12px;
}
.help-back, .help-next {
  padding: 12px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, opacity .18s;
  border: 1px solid transparent;
}
.help-back {
  background: transparent;
  color: var(--muted);
  border-color: rgba(14,20,36,.12);
}
.help-back:hover:not(:disabled) { color: var(--ink); background: rgba(14,20,36,.04); }
.help-back:disabled { opacity: 0; pointer-events: none; }
.help-next {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  min-width: 130px;
}
.help-next:hover:not(:disabled) { background: var(--amber); border-color: var(--amber); color: #fff; }
.help-next:disabled { opacity: .35; cursor: not-allowed; }

.help-thanks { text-align: center; padding: 12px 0 8px; }
.help-check-big {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(208,140,46,.1);
  color: var(--amber);
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.help-thanks .help-title { text-align: center; }
.help-thanks .help-sub { text-align: center; max-width: 400px; margin: 0 auto 28px; }
.help-recap {
  background: rgba(14,20,36,.04);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  margin: 0 0 24px;
  font-size: 13.5px;
}
.recap-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(14,20,36,.08);
}
.recap-row:last-child { border-bottom: 0; }
.recap-row span:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.recap-row span:last-child {
  color: var(--ink);
  text-align: right;
  word-break: break-word;
}

@media (max-width: 560px) {
  .help-modal { padding: 32px 22px 24px; border-radius: 16px; }
  .help-close { top: 14px; right: 14px; }
  .help-row2 { grid-template-columns: 1fr; }
  .help-title { font-size: 22px; }
  .help-step-wrap { min-height: 260px; }
}
