/* =========================================================
   TheWebConz — Corporate Website
   Brand palette from the TheWebConz logo: crimson red on white, with
   charcoal type and dark sections, neutral greys and rounded cards.
   ========================================================= */

:root {
  --navy: #17181C;
  --navy-2: #1F2126;
  --navy-3: #2C2E35;
  --text: #17181C;
  --muted: #575A63;
  --muted-2: #6B6E77;
  --muted-dark: #B4B6BD;
  --line: #E8E8EB;
  --line-2: #D3D4D9;
  --line-dark: rgba(255, 255, 255, .1);
  --bg: #FFFFFF;
  --soft: #F8F8F9;
  --soft-2: #EFEFF2;
  --blue: #B3242A;
  --blue-hover: #8E1B20;
  --blue-light: #F08A8D;
  --blue-pale: #F3CFD0;
  --blue-faint: #FDF3F3;
  --orange: #B3242A;
  --orange-faint: #FDECEC;
  --radius: 24px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 28, .05);
  --shadow: 0 2px 4px rgba(23, 24, 28, .04), 0 16px 40px -12px rgba(23, 24, 28, .14);
  --shadow-blue: 0 18px 40px -16px rgba(179, 36, 42, .45);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: inherit; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }
.soft { background: var(--soft); }
.dark { background: var(--navy); color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow-dark { color: #F08A8D; }
.eyebrow-pill {
  text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 15px; color: var(--navy);
  padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(179, 36, 42, .18); }
.grad-text { color: var(--blue); }
.dark .grad-text { color: var(--blue-light); }

h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }
.dark .section-head p { color: var(--muted-dark); }
.lead { margin-top: 22px; font-size: 20px; color: var(--muted); max-width: 600px; }
.lead-dark { margin: 22px auto 0; max-width: 780px; font-size: 20px; color: var(--muted); }

/* ---------- Buttons (pill, bold) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 400px;
  font-weight: 750; font-size: 16px; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .i { width: 19px; height: 19px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-faint); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-faint); transform: translateY(-2px); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }
.btn-brand { background: var(--c); color: #fff; }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -16px var(--c); filter: brightness(.95); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.center-link { display: flex; justify-content: center; margin-top: 52px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo-mark { width: 38px; height: 38px; }
.logo-text { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.logo-text b { font-weight: 850; color: var(--blue); }
.footer .logo-text b { color: var(--blue-light); }

.nav ul { display: flex; gap: 2px; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  font-size: 16px; font-weight: 650; color: var(--navy-3);
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--blue); }
.nav a.active { color: var(--navy); }
.nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--orange); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.header.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(23, 24, 28, .2); }

/* ---------- Hero backgrounds (light) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blue-faint) 0%, #FFFAFA 60%, #fff 100%); }
.hero-bg, .section-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 560px; height: 560px; background: #F7CFD1; top: -200px; right: -120px; opacity: .55; }
.glow-2 { width: 420px; height: 420px; background: #E4E4E8; bottom: -220px; left: -140px; opacity: .45; }
.glow-3 { width: 640px; height: 640px; background: #5E1216; top: 10%; right: -260px; opacity: .45; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(23, 24, 28, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 24, 28, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 65% 40%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 65% 40%, #000 25%, transparent 75%);
}
.dark .grid-lines { background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); }

/* ---------- Home hero ---------- */
.hero { padding: calc(var(--header-h) + 64px) 0 100px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 70px); font-weight: 850; letter-spacing: -.03em; line-height: 1.06; margin-top: 8px; }
.hero .btn-row { margin-top: 36px; }

/* ---------- Ecosystem diagram ---------- */
.eco { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin: 0 auto; }
.eco-ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--line-2); inset: 10%; animation: spin 90s linear infinite; }
.eco-ring.r2 { inset: 28%; border-style: solid; border-color: var(--line); animation-duration: 70s; animation-direction: reverse; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-hex { fill: none; stroke: var(--line-2); stroke-width: .25; stroke-dasharray: 1 1.4; }
.eco-line { fill: none; stroke: var(--blue-light); stroke-width: .35; stroke-dasharray: 1.2 1.2; animation: dash 3s linear infinite; }
.pulse { fill: var(--blue); }
.eco-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, #4A1A1E, var(--navy) 70%); color: #fff;
  box-shadow: 0 0 0 12px rgba(179, 36, 42, .08), 0 0 0 26px rgba(179, 36, 42, .04), 0 30px 60px -20px rgba(23, 24, 28, .55);
}
.eco-core::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(179, 36, 42, .35); animation: ping 3s var(--ease) infinite; }
.eco-core svg { width: 34%; height: auto; }
.eco-core strong { font-size: clamp(12px, 1.5vw, 17px); font-weight: 800; margin-top: 6px; }
.eco-core small { font-size: clamp(9px, .9vw, 11px); color: var(--muted-dark); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.eco-node {
  position: absolute; transform: translate(-50%, -50%); z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  white-space: nowrap; color: var(--navy);
  animation: float 6s ease-in-out infinite;
  transition: border-color .25s, box-shadow .25s;
}
.eco-node:hover { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent), var(--shadow); }
.eco-node b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.eco-node small { display: block; font-size: 12.5px; color: var(--muted-2); line-height: 1.3; font-weight: 500; }
.n1 { left: 50%; top: 12%; }
.n2 { left: 79.71%; top: 26.31%; animation-delay: -1s; }
.n3 { left: 87.05%; top: 58.46%; animation-delay: -2s; }
.n4 { left: 66.49%; top: 84.24%; animation-delay: -3s; }
.n5 { left: 33.51%; top: 84.24%; animation-delay: -4s; }
.n6 { left: 12.95%; top: 58.46%; animation-delay: -5s; }
.n7 { left: 20.29%; top: 26.31%; animation-delay: -1.5s; }
.eco-light { max-width: 760px; }
.eco-light .eco-core { width: 26%; }
.eco-tags { margin-top: 52px; text-align: center; font-weight: 800; font-size: clamp(16px, 2vw, 21px); color: var(--navy); }
.eco-tags i { font-style: normal; color: var(--orange); margin: 0 10px; }
.ecosystem { overflow: hidden; }

/* product mark */
.pm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: var(--c); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.pm .i { width: 19px; height: 19px; }
.pm-lg { width: 52px; height: 52px; border-radius: 16px; }
.pm-lg .i { width: 26px; height: 26px; }
.pm-xl { width: 64px; height: 64px; border-radius: 20px; }
.pm-xl .i { width: 32px; height: 32px; }

/* ---------- Intro ---------- */
.intro-inner { max-width: 980px; text-align: center; }
.cat-labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cat-labels li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  background: var(--soft); border: 1px solid var(--line); color: var(--navy-3);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.cat-labels li:hover { border-color: var(--blue-light); background: var(--blue-faint); transform: translateY(-2px); }
.cat-labels .i { width: 18px; height: 18px; color: var(--blue); }

/* ---------- Home product cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pcard-all { background: var(--navy); border-color: var(--navy); color: #fff; }
.pcard-all p { color: #CDCFD5; }
.pcard-all .pcard-cta { color: var(--blue-light); }
.pcard-all:hover { border-color: var(--navy); }
.pcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pcard::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }
.pcard:hover::before { opacity: 1; }
.pcard:hover::after { transform: scaleX(1); }
.pcard > * { position: relative; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.pcard-cat { font-size: 13px; font-weight: 750; color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); padding: 5px 12px; border-radius: 999px; }
.pcard h3 { font-size: 22px; margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.pcard-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--blue); }
.pcard-cta .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.pcard:hover .pcard-cta .i { transform: translateX(4px); }
.pcard > .pcard-mark.i { position: absolute; right: -18px; bottom: -18px; width: 130px; height: 130px; color: var(--c); opacity: .06; stroke-width: 1.2; transition: transform .5s var(--ease), opacity .3s; }
.pcard:hover > .pcard-mark.i { transform: rotate(-8deg) scale(1.05); opacity: .1; }

/* ---------- Tech overview (dark) ---------- */
.tech-overview, .stack-section, .vm-section { overflow: hidden; }
.tech-overview .container, .stack-section .container, .vm-section .container { position: relative; }
.tcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tcard {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.tcard:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(240, 138, 141, .45); }
.tcard-icon { display: inline-flex; width: 50px; height: 50px; border-radius: 15px; align-items: center; justify-content: center; background: rgba(179, 36, 42, .18); color: var(--blue-light); margin-bottom: 20px; transition: background-color .25s, color .25s; }
.tcard.in .tcard-icon { animation: ring 1.6s var(--ease) .4s 1; }
.tcard:hover .tcard-icon { background: var(--blue); color: #fff; }
.tcard-icon .i { width: 24px; height: 24px; }
.tcard h3 { font-size: 18px; margin-bottom: 6px; }
.tcard p { font-size: 15px; color: var(--muted-dark); }

/* ---------- Why / Values cards ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-pale); }
.why-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 18px; align-items: center; justify-content: center; background: var(--blue-faint); color: var(--blue); margin-bottom: 22px; transition: background-color .25s, color .25s; }
.why-card:hover .why-icon { background: var(--blue); color: #fff; }
.why-icon .i { width: 26px; height: 26px; }
.why-card h3 { font-size: 21px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 16px; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 112px; }
.dark + .cta-wrap { padding-top: 112px; }
.soft + .cta-wrap { background: var(--soft); }
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 48px; border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 130%, #5E1216 0%, var(--navy) 62%);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
}
.cta::after { content: ""; position: absolute; width: 160px; height: 5px; border-radius: 0 0 6px 6px; background: var(--orange); top: 0; left: 50%; transform: translateX(-50%); }
.glow-cta { width: 520px; height: 300px; background: var(--blue); left: 50%; bottom: -240px; transform: translateX(-50%); opacity: .35; }
.cta > *:not(.glow) { position: relative; }
.cta h2 { max-width: 820px; margin: 0 auto; }
.cta p { max-width: 660px; margin: 20px auto 38px; font-size: 19px; color: var(--muted-dark); }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 88px; }
.page-hero-inner { position: relative; }
.page-hero-inner > h1, .page-hero-inner > .lead { max-width: 900px; }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 62px); font-weight: 850; letter-spacing: -.03em; line-height: 1.08; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero-split { max-width: 1240px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump a { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.jump a:hover { border-color: var(--c); transform: translateY(-2px); }
.jump .pm { width: 30px; height: 30px; border-radius: 50%; }
.jump .pm .i { width: 16px; height: 16px; }

/* isometric 3D stack */
.iso { position: relative; height: 420px; perspective: 1400px; }
.iso-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-40deg); animation: iso-float 8s ease-in-out infinite; }
.iso-plane {
  position: absolute; left: 50%; top: 50%; width: 270px; height: 270px; margin: -135px 0 0 -135px;
  border-radius: 30px; display: flex; align-items: flex-end; padding: 20px;
  border: 1.5px solid rgba(179, 36, 42, .35);
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(240, 247, 255, .85));
  box-shadow: 0 40px 60px -30px rgba(23, 24, 28, .35);
}
.iso-plane span { font-weight: 800; font-size: 15px; color: var(--navy); }
.iso-plane::before { content: ""; position: absolute; inset: 22px 22px auto auto; width: 70px; height: 10px; border-radius: 6px; background: var(--blue-pale); box-shadow: 0 20px 0 var(--soft-2), 0 40px 0 var(--soft-2); }
.iso-plane.p3 { transform: translateZ(0); background: linear-gradient(135deg, #1F2126, #2C2E35); border-color: rgba(240, 138, 141, .4); }
.iso-plane.p3 span { color: #fff; }
.iso-plane.p3::before { background: rgba(240, 138, 141, .5); box-shadow: 0 20px 0 rgba(255, 255, 255, .12), 0 40px 0 rgba(255, 255, 255, .12); }
.iso-plane.p2 { transform: translateZ(80px); }
.iso-plane.p2::before { background: var(--orange); opacity: .8; }
.iso-plane.p1 { transform: translateZ(160px); border-color: var(--blue); }

/* ---------- Product feature sections ---------- */
.pf { padding: 104px 0; }
.pf-alt { background: var(--soft); }
.pf-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.pf-rev .pf-copy { order: 2; }
.pf-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.pf-cat { display: block; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--c); margin-bottom: 4px; }
.pf h2 { font-size: clamp(32px, 3.6vw, 44px); }
.pf-desc { font-size: 18px; color: var(--muted); }
.pf-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 34px; }
.pf-features li { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; }
.pf-features .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); stroke-width: 3; }
.pf-visual {
  position: relative; padding: 44px; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 55%), var(--c-soft);
  border: 1px solid color-mix(in srgb, var(--c) 14%, #fff);
}
.pf-visual .mock { border-radius: 16px; border-bottom: 1px solid rgba(23, 24, 28, .08); }
.pf-float {
  position: absolute; left: -18px; bottom: 28px; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
  font-weight: 750; font-size: 14.5px; animation: float-y 5s ease-in-out infinite;
}
.pf-rev .pf-float { left: auto; right: -18px; }
.pf-float-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }

/* mockup window */
.mock {
  position: relative; background: #fff; border-radius: 14px 14px 0 0;
  border: 1px solid rgba(23, 24, 28, .08); border-bottom: 0;
  box-shadow: 0 24px 50px -20px rgba(23, 24, 28, .28);
  overflow: hidden; font-size: 13px;
}
.mock-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #EEF2F6; background: var(--soft); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-top em { font-style: normal; margin-left: 10px; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.m-search { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 4px; }
.m-field { padding: 2px 8px; line-height: 1.25; }
.m-field small { display: block; font-size: 10.5px; color: var(--muted-2); }
.m-field b { font-size: 15px; }
.m-plane { width: 16px; height: 16px; color: var(--c); }
.m-btn { margin-left: auto; background: var(--c); color: #fff; font-weight: 750; font-size: 12.5px; padding: 9px 16px; border-radius: 999px; }
.m-code { display: flex; align-items: center; gap: 10px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--navy-3); padding: 8px 12px; background: var(--soft); border-radius: 10px; }
.m-verb { font-weight: 700; color: var(--c); min-width: 34px; }
.m-verb.post { color: #0D9488; }
.m-ok { margin-left: auto; font-weight: 700; color: #15803D; background: #E8F8EE; padding: 1px 9px; border-radius: 999px; }
.m-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.m-tr { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; padding: 10px 14px; align-items: center; color: var(--navy-3); }
.m-tr + .m-tr { border-top: 1px solid #EEF2F6; }
.m-tr span:last-child { text-align: right; font-weight: 750; color: var(--navy); }
.m-th { background: var(--soft); font-size: 11px; font-weight: 750; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.m-th span:last-child { color: var(--muted-2); }
.m-seat { font-style: normal; font-weight: 750; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: #FFF1E0; color: #C2410C; }
.m-seat.low { background: #FEE2E2; color: #B91C1C; }
.m-upload { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1.5px dashed color-mix(in srgb, var(--c) 45%, #fff); border-radius: 12px; color: var(--navy-3); background: color-mix(in srgb, var(--c) 5%, #fff); }
.m-upload .i { color: var(--c); width: 18px; height: 18px; }
.m-prog-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--navy-3); margin-bottom: 5px; }
.m-bar { height: 7px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.m-bar i.anim { animation: grow 3.5s var(--ease) infinite; }
.m-mini-stats { display: flex; gap: 14px; margin-top: 4px; color: var(--muted-2); font-size: 12px; flex-wrap: wrap; }
.m-mini-stats b { color: var(--navy); }
.m-chat { gap: 10px; }
.m-msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; line-height: 1.45; }
.m-msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.m-msg.ai { background: color-mix(in srgb, var(--c) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); color: var(--navy-3); border-bottom-left-radius: 4px; }
.m-ai-tag { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: var(--c); margin-bottom: 4px; }
.m-ai-tag .i { width: 13px; height: 13px; }
.m-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.m-steps span { font-size: 11.5px; font-weight: 750; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.m-gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-gift { border: 1px solid var(--line); border-radius: 12px; padding: 8px; line-height: 1.3; }
.m-gift b { display: block; font-size: 12.5px; margin-top: 8px; }
.m-gift small { font-size: 11px; color: var(--muted-2); }
.m-gift-img { height: 70px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; }
.m-gift-img .i { width: 26px; height: 26px; }
.g1 { background: linear-gradient(135deg, #FB7185, #E11D48); }
.g2 { background: linear-gradient(135deg, #3A3C44, #17181C); }
.g3 { background: linear-gradient(135deg, #FFBF00, #FF7800); }
.m-order { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); color: var(--navy-3); font-size: 12.5px; }
.m-pill { font-weight: 750; font-size: 11.5px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.m-tours { display: flex; flex-direction: column; gap: 8px; }
.m-tour { display: flex; align-items: center; gap: 12px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; line-height: 1.3; }
.m-tour b { display: block; font-size: 13.5px; }
.m-tour small { font-size: 11.5px; color: var(--muted-2); }
.m-tour-img { width: 50px; height: 42px; border-radius: 9px; flex-shrink: 0; }
.t1 { background: linear-gradient(160deg, #86EFAC 0%, #16A34A 60%, #14532D 100%); }
.t2 { background: linear-gradient(170deg, #E0F2FE 0%, #7BB5FB 45%, #345970 100%); }
.t3 { background: linear-gradient(160deg, #A7F3D0 0%, #0D9488 70%, #134E4A 100%); }
.m-rate { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-weight: 800; font-size: 12.5px; }
.m-rate .i { width: 13px; height: 13px; fill: #FFBF00; stroke: #FFBF00; }

.m-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.m-tabs span { flex: 1; text-align: center; font-weight: 700; font-size: 12px; padding: 7px 4px; border-radius: 999px; color: var(--muted-2); }
.m-tabs span.on { background: var(--c); color: #fff; }
.m-wallet { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.m-wallet small { display: block; font-size: 11px; color: var(--muted-2); }
.m-wallet b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.m-brand { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 12px; color: var(--navy-3); font-weight: 600; }
.m-brand .sw { width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0; }
.m-brand .sw + span:not(.sw) { margin-left: 6px; }

/* ---------- Technology page ---------- */
.core { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.core-item { padding: 28px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.core-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-pale); }
.core-icon { display: inline-flex; width: 50px; height: 50px; border-radius: 15px; align-items: center; justify-content: center; background: var(--blue-faint); color: var(--blue); margin-bottom: 18px; transition: background-color .25s, color .25s; }
.core-item:hover .core-icon { background: var(--blue); color: #fff; }
.core-icon .i { width: 24px; height: 24px; }
.core-item h3 { font-size: 17px; margin-bottom: 6px; }
.core-item p { font-size: 14.5px; color: var(--muted); }

.sols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sol { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.sol:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--blue-pale); }
.sol-icon { display: inline-flex; width: 54px; height: 54px; border-radius: 16px; align-items: center; justify-content: center; background: var(--orange-faint); color: var(--orange); flex-shrink: 0; }
.sol-icon .i { width: 25px; height: 25px; }
.sol h3 { font-size: 18px; margin-bottom: 2px; }
.sol p { font-size: 15px; color: var(--muted); }

.philo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.philo-item { position: relative; padding: 32px 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.philo-item::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--blue); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.philo-item:hover::after { transform: scaleX(1); }
.philo-n { display: block; font-size: 44px; font-weight: 900; line-height: 1; color: var(--blue); margin-bottom: 18px; letter-spacing: -.04em; }
.philo-item h3 { font-size: 19px; margin-bottom: 8px; }
.philo-item p { font-size: 15.5px; color: var(--muted); }

.stack { max-width: 820px; margin: 0 auto; }
.stack-layer {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.stack-layer:hover { border-color: rgba(240, 138, 141, .5); background: rgba(255, 255, 255, .07); transform: scale(1.01); }
.stack-icon { display: inline-flex; width: 50px; height: 50px; border-radius: 15px; align-items: center; justify-content: center; background: rgba(179, 36, 42, .2); color: var(--blue-light); flex-shrink: 0; }
.stack-icon .i { width: 24px; height: 24px; }
.stack-body { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex: 1; flex-wrap: wrap; }
.stack-layer h3 { font-size: 18px; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-chips span { font-size: 13px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #D9DADF; }
.stack-ai { border-color: rgba(179, 36, 42, .45); background: linear-gradient(90deg, rgba(179, 36, 42, .12), rgba(255, 255, 255, .03)); }
.stack-ai .stack-icon { background: rgba(179, 36, 42, .2); color: #F08A8D; }
.stack-cloud { border-color: rgba(240, 138, 141, .4); background: linear-gradient(90deg, rgba(179, 36, 42, .16), rgba(255, 255, 255, .03)); }
.stack-flow { position: relative; height: 30px; display: flex; justify-content: center; }
.stack-flow i { position: relative; width: 2px; height: 100%; background: linear-gradient(rgba(240, 138, 141, .1), rgba(240, 138, 141, .8), rgba(240, 138, 141, .1)); background-size: 100% 200%; animation: flow 1.6s linear infinite; }
.stack-flow i::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; border-right: 2px solid var(--blue-light); border-bottom: 2px solid var(--blue-light); transform: translateX(-50%) rotate(45deg); }

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.story-copy p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.story-copy h2 { margin-bottom: 4px; }
.combine { padding: 30px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); }
.combine-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.combine ul { display: grid; gap: 10px; }
.combine li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.combine li:hover { transform: translateX(6px); border-color: var(--blue-pale); }
.combine-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 13px; align-items: center; justify-content: center; background: var(--blue-faint); color: var(--blue); flex-shrink: 0; }
.combine b { display: block; font-size: 16.5px; font-weight: 800; }
.combine small { color: var(--muted); font-size: 14.5px; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vision, .mission { padding: 44px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark); }
.vision { background: linear-gradient(145deg, rgba(179, 36, 42, .22), rgba(255, 255, 255, .03)); border-color: rgba(240, 138, 141, .3); }
.vm-icon { display: flex; width: 56px; height: 56px; border-radius: 18px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; margin-bottom: 22px; }
.vm-icon .i { width: 26px; height: 26px; }
.vision-text { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.mission-list { display: grid; gap: 14px; }
.mission-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 600; color: #ECECEF; }
.mission-list .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--orange); color: #fff; stroke-width: 3; margin-top: 1px; }

.brands { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 64px; }
.brands a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; border-radius: 20px; border: 1px solid var(--line); background: #fff; text-align: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.brands a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c); }
.brands b { font-size: 15px; font-weight: 800; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.form { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form-head h2 { font-size: 30px; }
.form-head p { color: var(--muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 700; color: var(--navy); }
.req { color: var(--orange); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff;
  font-weight: 500; font-size: 16px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(179, 36, 42, .14); }
.form .invalid { border-color: #D93511; box-shadow: 0 0 0 4px rgba(217, 53, 17, .1); }
.form-status { font-size: 15px; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #D93511; }
.contact-side { display: grid; gap: 16px; }
.ccards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.ccard:hover { border-color: var(--blue-pale); transform: translateX(4px); }
.ccard h3 { font-size: 17px; margin-bottom: 2px; }
.ccard p { font-size: 14.5px; color: var(--muted); margin-bottom: 4px; }
.ccard a { font-weight: 750; color: var(--blue); font-size: 15px; overflow-wrap: anywhere; }
.ccard a:hover { text-decoration: underline; }
.ci { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--blue); flex-shrink: 0; }
.office { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 650; }
.contact-list small { display: block; font-size: 13px; color: var(--muted-2); font-weight: 600; }
.contact-list a:hover { color: var(--blue); }
.office .ci { background: var(--blue-faint); border-color: transparent; }

/* ---------- Footer ---------- */
.footer { padding: 88px 0 32px; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 18px; color: var(--muted-dark); max-width: 330px; font-size: 16px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); color: #D9DADF; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.socials a:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.socials .i { width: 18px; height: 18px; }
.socials-light { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.socials-light a { border-color: var(--line-2); color: var(--navy-3); }
.socials-light a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-h { font-size: 15px; font-weight: 800; letter-spacing: .02em; margin-bottom: 18px; color: #fff; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--muted-dark); font-size: 15.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14.5px; color: var(--muted-dark); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
main { animation: page-in .5s var(--ease) both; }
body.leaving main { opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }

@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -4.8; } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ping { 0% { transform: scale(.95); opacity: .8; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(240, 138, 141, .55); } 100% { box-shadow: 0 0 0 16px rgba(240, 138, 141, 0); } }
@keyframes grow { 0% { width: 8%; } 70%, 100% { width: 72%; } }
@keyframes flow { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@keyframes iso-float { 0%, 100% { transform: rotateX(58deg) rotateZ(-40deg) translateZ(0); } 50% { transform: rotateX(58deg) rotateZ(-40deg) translateZ(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .pulse { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a:not(.btn) { padding: 10px 12px; font-size: 15.5px; }
  .nav a.active::after { left: 12px; right: 12px; }
  .core { grid-template-columns: repeat(3, 1fr); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .pcards { grid-template-columns: repeat(3, 1fr); }
  .tcards { grid-template-columns: repeat(2, 1fr); }
  .philo { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .section, .pf { padding: 88px 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header.menu-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px 24px 32px;
    display: flex; flex-direction: column; gap: 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { font-size: 21px; font-weight: 800; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.active { color: var(--blue); }
  .nav a.active::after { display: none; }
  .nav-cta-mobile { display: inline-flex; }

  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero-inner, .page-hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .iso { height: 340px; }
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .pcards-auto .pcard { flex-basis: calc((100% - 20px) / 2); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: 1fr; gap: 44px; }
  .pf-rev .pf-copy { order: 0; }
  .story, .vm, .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section, .pf { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p, .lead, .lead-dark, .pf-desc { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 64px; }
  .iso { height: 280px; }
  .iso-plane { width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 22px; padding: 14px; }
  .iso-plane span { font-size: 12.5px; }
  .iso-plane::before { width: 50px; inset: 16px 16px auto auto; }
  .iso-plane.p2 { transform: translateZ(60px); }
  .iso-plane.p1 { transform: translateZ(120px); }

  .eco-node { padding: 5px 8px 5px 5px; gap: 6px; border-radius: 11px; }
  .eco-node b { font-size: 11px; }
  .eco-node small, .eco-core small, .hide-sm { display: none; }
  .eco-node .pm { width: 24px; height: 24px; border-radius: 7px; }
  .eco-node .pm .i { width: 13px; height: 13px; }
  .eco-light .eco-core { width: 30%; }
  .eco-tags i { margin: 0 5px; }

  .pcards, .why, .tcards, .core, .sols, .philo, .form-row { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
  .pf-features { grid-template-columns: 1fr; }
  .pf-visual { padding: 22px 16px 34px; }
  .pf-float, .pf-rev .pf-float { left: 50%; right: auto; bottom: -18px; transform: translateX(-50%); animation: none; white-space: nowrap; font-size: 13px; }
  .mock { font-size: 11.5px; }
  .mock-body { padding: 12px; }
  .m-code { font-size: 11px; gap: 6px; padding: 7px 9px; }
  .m-verb { min-width: 30px; }
  .m-search .m-field:nth-of-type(3) { display: none; }
  .m-gift-img { height: 50px; }
  .stack-layer { align-items: flex-start; padding: 16px; gap: 14px; }
  .stack-icon { width: 42px; height: 42px; }
  .vision, .mission { padding: 30px 24px; }
  .form { padding: 24px 18px; }
  .cta { padding: 64px 22px; border-radius: 24px; }
  .cta-wrap { padding-bottom: 72px; }
  .dark + .cta-wrap { padding-top: 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .n6 { left: 17%; }
  .n3 { left: 83%; }
  .eco-node b { font-size: 10.5px; }
}

/* Let grid/flex children shrink below their content width on small screens */
.hero-inner > *, .page-hero-split > *, .pf-grid > *, .story > *, .vm > *, .contact > *, .form-row > *, .stack-body > *, .pf-brand > div, .contact-side > *, .ccard > div, .contact-list li > span:last-child, .mock-body > * { min-width: 0; }
.m-code { overflow: hidden; white-space: nowrap; }
.contact-list a { overflow-wrap: anywhere; }
.form select { min-width: 0; text-overflow: ellipsis; }

/* ---------- Solutions pages ---------- */
.outcome-card { position: relative; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.outcome-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue); }
.outcome-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 18px; align-items: center; justify-content: center; background: var(--blue); color: #fff; margin-bottom: 18px; }
.outcome-icon .i { width: 26px; height: 26px; }
.outcome-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.outcome-card ul { display: grid; gap: 12px; }
.outcome-card li { display: flex; align-items: flex-start; gap: 12px; font-weight: 650; font-size: 16.5px; }
.outcome-card li .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue-faint); color: var(--blue); stroke-width: 3; margin-top: 1px; }
.pcards.pcards-auto { display: flex; flex-wrap: wrap; justify-content: center; }
.pcards-auto .pcard { flex: 0 1 calc((100% - 40px) / 3); }
.sol { color: inherit; }
.sol > div { flex: 1; }
.sol-arrow { color: var(--line-2); transition: color .2s, transform .2s var(--ease); }
.sol:hover .sol-arrow { color: var(--blue); transform: translateX(3px); }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.faq-head p a { color: var(--blue); font-weight: 700; }
.faq-more { display: block; margin: 36px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.sol-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; transition: border-color .2s, color .2s; }
.sol-links a:hover { border-color: var(--blue); color: var(--blue); }
.sol-links .i { width: 16px; height: 16px; color: var(--blue); }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-pale); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--blue); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .i { transform: rotate(90deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- Legal pages ---------- */
.page-hero-sm { padding-bottom: 64px; }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.legal-toc-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.legal-toc ol { display: grid; gap: 4px; }
.legal-toc a { display: block; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--navy-3); }
.legal-toc a:hover { color: var(--blue); }
.legal-body { max-width: 760px; min-width: 0; }
.legal-updated { display: inline-block; font-size: 14px; font-weight: 700; color: var(--blue); background: var(--blue-faint); padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.legal-body h2 { font-size: 24px; margin: 40px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-body p, .legal-body li { color: var(--muted); font-size: 17px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.legal-body strong { color: var(--navy); }
.legal-body a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .faq-wrap, .legal { grid-template-columns: 1fr; gap: 36px; }
  .legal-toc { position: static; }
}
@media (max-width: 640px) {
  .outcome-card { padding: 26px 20px; }
  .faq-item summary { padding: 18px; font-size: 16px; }
  .faq-item p { padding: 0 18px 18px; }
  .pcards-auto .pcard { flex-basis: 100%; }
}

/* ---------- Brand logo image ---------- */
.logo-img { height: 44px; width: auto; }
.logo-chip { padding: 0; }
.logo-chip .logo-img { height: 40px; }
@media (max-width: 640px) { .logo-img { height: 38px; } }

/* ---------- Founder / Masterclass page ---------- */
.profile-hero { padding-bottom: 96px; }
.profile-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.profile-grid > * { min-width: 0; }
.profile-photo-wrap { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.profile-photo {
  position: relative; aspect-ratio: 1; border-radius: 40% 40% 32px 32px / 34% 34% 32px 32px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #D94A50, var(--blue) 55%, #6E1418);
  box-shadow: 0 40px 80px -30px rgba(179, 36, 42, .55), 0 0 0 10px #fff, 0 0 0 11px var(--line);
}
.profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(72px, 10vw, 128px); font-weight: 900; color: rgba(255, 255, 255, .92); letter-spacing: -.04em; }
.profile-badge {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float-y 6s ease-in-out infinite;
}
.profile-badge .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue-faint); color: var(--blue); }
.profile-badge b { display: block; font-size: 16px; font-weight: 850; line-height: 1.2; }
.profile-badge small { display: block; font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.pb-1 { left: -28px; bottom: 18%; }
.pb-2 { right: -24px; top: 12%; animation-delay: -3s; }
.profile-copy h1 { font-size: clamp(42px, 5.2vw, 68px); font-weight: 850; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 4px; }
.profile-copy .eyebrow { margin-bottom: 10px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.profile-tags li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--navy-3); }

.next-class { margin-top: 32px; padding: 18px 20px; border-radius: 20px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; max-width: 560px; }
.next-label { grid-column: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-light); }
.next-title { grid-column: 1; font-size: 17px; font-weight: 800; }
.countdown { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.countdown span { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.countdown b { font-size: 22px; font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: 10.5px; color: var(--muted-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #F43F5E; box-shadow: 0 0 0 0 rgba(244, 63, 94, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(244, 63, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); } }

.mc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mc-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.mc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-pale); }
.mc-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.mc-ribbon { position: absolute; top: -13px; left: 28px; padding: 5px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 800; }
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mc-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 66px; border-radius: 16px; background: var(--blue-faint); color: var(--blue); line-height: 1; }
.mc-date b { font-size: 26px; font-weight: 900; }
.mc-date span { font-size: 13px; font-weight: 800; text-transform: uppercase; margin-top: 4px; }
.mc-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; color: var(--navy-3); }
.mc-card h3 { font-size: 22px; margin-bottom: 10px; }
.mc-card > p { color: var(--muted); font-size: 15.5px; }
.mc-meta { display: grid; gap: 8px; margin: 20px 0 24px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.mc-meta li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 650; color: var(--navy-3); }
.mc-meta .i { width: 18px; height: 18px; color: var(--blue); }
.mc-grid > *, .founder-teaser > * { min-width: 0; }
.mc-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mc-price { font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.mc-price small { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.mc-past { opacity: .55; }
.mc-past .btn { pointer-events: none; background: var(--line-2); }

.advisory { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.advisory .mc-tag { background: rgba(255, 255, 255, .08); border-color: var(--line-dark); color: var(--blue-light); }
.advisory h3 { font-size: 24px; margin: 12px 0 8px; }
.advisory p { color: var(--muted-dark); max-width: 640px; }
.advisory-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.advisory .mc-price small { color: var(--muted-dark); }
.lock-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; font-weight: 650; color: var(--muted); text-align: center; }
.lock-note .i { color: var(--blue); }

.gets-section { overflow: hidden; }
.gets-section .container { position: relative; }
.gets { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.gets-lead { margin-top: 16px; font-size: 18px; color: var(--muted-dark); }
.gets-list { display: grid; gap: 12px; }
.gets-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.gets-list .i { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: rgba(179, 36, 42, .3); color: #fff; }
.gets-list b { display: block; font-size: 17px; }
.gets-list small { color: var(--muted-dark); font-size: 14.5px; }
.for-list { display: grid; gap: 12px; margin-top: 24px; }
.for-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 650; font-size: 16.5px; }
.for-list .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; flex-shrink: 0; }

/* booking dialog */
.book { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 28px; color: var(--text); box-shadow: 0 40px 100px -20px rgba(23, 24, 28, .5); overflow: auto; }
.book::backdrop { background: rgba(23, 24, 28, .55); backdrop-filter: blur(4px); }
.book[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.book-head { display: flex; justify-content: space-between; gap: 16px; padding: 26px 28px 18px; background: linear-gradient(135deg, var(--blue-faint), #fff); border-bottom: 1px solid var(--line); }
.book-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.book-head h2 { font-size: 24px; margin: 4px 0; }
.book-when { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.book-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.book-close:hover { border-color: var(--blue); color: var(--blue); }
.book-steps { display: flex; gap: 6px; padding: 16px 28px 0; }
.book-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 750; color: var(--muted-2); padding-bottom: 12px; border-bottom: 3px solid var(--line); transition: color .2s, border-color .2s; }
.book-steps li span { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--soft-2); font-size: 12px; }
.book-steps li.on { color: var(--navy); border-color: var(--blue); }
.book-steps li.on span { background: var(--blue); color: #fff; }
.book-steps li.done { color: var(--blue); border-color: var(--blue-pale); }
.book-steps li.done span { background: var(--blue-pale); color: var(--blue); }
.book-step { padding: 22px 28px 28px; }
.book .form { padding: 22px 28px 28px; border: 0; box-shadow: none; border-radius: 0; gap: 14px; }
.book .form textarea { min-height: 70px; }
.order { border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.order-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 650; }
.order-row + .order-row { border-top: 1px solid var(--line); }
.order-row.muted { color: var(--muted); font-size: 15px; }
.order-row.total { background: var(--soft); font-size: 18px; }
.order-row.total b { color: var(--blue); }
.locked-link, .unlocked-link { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--line-2); background: var(--soft); }
.locked-link .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: var(--muted-2); }
.locked-link b { display: block; font-size: 15px; }
.locked-link small { color: var(--muted); font-size: 13.5px; }
.unlocked-link { border-style: solid; border-color: #BBF7D0; background: #F0FDF4; font-weight: 650; font-size: 14.5px; word-break: break-all; text-align: left; }
.unlocked-link .i { color: #16A34A; }
#payBtn.is-loading { pointer-events: none; opacity: .85; }
#payBtn.is-loading .i { animation: spin 1s linear infinite; }
.pay-methods { margin-top: 10px; text-align: center; font-size: 13.5px; font-weight: 650; color: var(--muted-2); }
.book-back { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; }
.book-done { text-align: center; }
.done-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: #16A34A; color: #fff; margin-bottom: 14px; box-shadow: 0 0 0 10px #DCFCE7; animation: pop .4s var(--ease); }
.done-icon .i { width: 36px; height: 36px; stroke-width: 3; }
.book-done h3 { font-size: 24px; margin-bottom: 8px; }
.book-done > p { color: var(--muted); }

/* about page teaser */
.founder-teaser { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); }
.founder-teaser p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 640px; }
.founder-teaser .btn-row { margin-top: 22px; }
.founder-mini { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 20%, #D94A50, var(--blue) 55%, #6E1418); box-shadow: 0 0 0 8px #fff, 0 20px 40px -16px rgba(179, 36, 42, .5); }
.founder-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-mini .profile-initials { font-size: 64px; }

@media (max-width: 1180px) {
  .mc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .profile-grid, .gets { grid-template-columns: 1fr; gap: 48px; }
  .profile-photo-wrap { max-width: 360px; }
  .advisory { flex-direction: column; align-items: flex-start; }
  .advisory-side { align-items: flex-start; }
}
@media (max-width: 640px) {
  .mc-grid { grid-template-columns: 1fr; }
  .pb-1 { left: -6px; }
  .pb-2 { right: -6px; }
  .profile-badge { padding: 8px 12px 8px 8px; }
  .profile-badge .i { width: 32px; height: 32px; padding: 7px; }
  .next-class { grid-template-columns: 1fr; }
  .countdown { grid-column: 1; grid-row: auto; }
  .countdown span { flex: 1; min-width: 0; }
  .advisory { padding: 26px 22px; }
  .founder-teaser { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .founder-mini { width: 150px; }
  .book-head, .book-step, .book .form { padding-left: 20px; padding-right: 20px; }
  .book-steps { padding-left: 20px; padding-right: 20px; }
  .book-steps li { font-size: 12px; }
}

/* very narrow phones: let long button labels wrap */
@media (max-width: 380px) {
  .btn { white-space: normal; height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; text-align: center; line-height: 1.25; }
}

/* honeypot field (hidden from people, visible to spam bots) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lead capture ---------- */
.trust-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.trust-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--navy-3); }
.trust-points .i { width: 18px; height: 18px; color: #16A34A; stroke-width: 3; }

.leadbox {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 340px; max-width: calc(100vw - 32px);
  padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -20px rgba(23, 24, 28, .4);
  opacity: 0; transform: translateY(20px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.leadbox.in { opacity: 1; transform: none; }
.leadbox-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.leadbox-close .i { width: 16px; height: 16px; }
.leadbox-close:hover { border-color: var(--blue); color: var(--blue); }
.leadbox-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.leadbox h2 { font-size: 20px; margin: 8px 30px 4px 0; }
.leadbox > p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.leadbox form { display: grid; gap: 8px; }
.leadbox input, .leadbox textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: 15px; font-weight: 500; background: #fff; }
.leadbox textarea { resize: none; }
.leadbox input:focus, .leadbox textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(179, 36, 42, .12); }
.leadbox .invalid { border-color: #D93511; }
.leadbox .btn { height: 46px; margin-top: 4px; }
.leadbox .form-status { font-size: 13.5px; }

.notfound-links { margin-top: 32px; }
.page-hero-sm .sol-links a { background: #fff; }

@media (max-width: 640px) {
  .leadbox { right: 8px; left: 8px; bottom: 8px; width: auto; max-width: none; border-radius: 20px; }
}

/* ---------- CAPTCHA ---------- */
.captcha-q { display: flex; align-items: flex-end; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.captcha-q label { flex: 1; display: grid; gap: 8px; margin: 0; }
.captcha-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--navy-3); }
.captcha-label .i { width: 18px; height: 18px; color: var(--blue); }
.captcha-label b { color: var(--navy); }
.captcha-q input { max-width: 140px; }
.captcha-new { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--muted-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: color .2s, border-color .2s; }
.captcha-new:hover { color: var(--blue); border-color: var(--blue); }
.captcha-new .i { width: 18px; height: 18px; }
.captcha-ts { min-height: 65px; }
.leadbox .captcha-q { padding: 10px 12px; gap: 8px; }
.leadbox .captcha-label { font-size: 13.5px; }
.leadbox .captcha-q input { max-width: 100%; padding: 9px 11px; }
.leadbox .captcha-new { width: 40px; height: 40px; }
