/* 123 Tech Group Marketing — brand tokens from 123technologygroup.com */
:root {
  --navy-dark: #1b2466;
  --navy: #2b3990;
  --sky: #1e9be0;
  --sky-light: #5cc0f2;
  --red: #e31e24;
  --red-dark: #c1161c;
  --yellow: #ffd400;

  --ink: #0f1638;
  --body: #3d4566;
  --muted: #6b7394;
  --line: #e4e8f3;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-deep: #0c1240;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 22, 56, .06), 0 8px 24px rgba(15, 22, 56, .06);
  --shadow-lg: 0 24px 60px rgba(15, 22, 56, .16);
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-sm { padding: 64px 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sky); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.hl { background: linear-gradient(90deg, var(--sky), var(--sky-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-red { color: var(--red); }
.uline { background-image: linear-gradient(transparent 70%, rgba(255, 212, 0, .55) 70%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 30, 36, .3); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-block { width: 100%; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Top bar & nav */
.topbar { background: var(--bg-deep); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a { color: rgba(255, 255, 255, .78); margin-left: 20px; }
.topbar a:hover { color: #fff; }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; margin-right: 6px; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 22, 56, .05); }
.nav-in { display: flex; align-items: center; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.brand-text b { font-size: 1.08rem; font-weight: 800; color: var(--navy); }
.brand-text small { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.brand-light .brand-text b { color: #fff; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a { color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
.menu a:hover { background: var(--bg-soft); color: var(--navy); }
.menu a[aria-current="page"] { color: var(--sky); }
.menu-cta { display: none !important; }
.nav-cta { padding: 11px 20px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; margin-left: auto; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, rgba(30, 155, 224, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(227, 30, 36, .18), transparent 60%), linear-gradient(180deg, var(--navy-dark), var(--bg-deep)); color: rgba(255, 255, 255, .82); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero-main { padding: 96px 0 72px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); border-radius: 999px; font-size: .85rem; color: #fff; margin-bottom: 26px; }
.badge b { background: var(--yellow); color: var(--ink); font-size: .72rem; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.2rem; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .6); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓ "; color: var(--sky-light); font-weight: 700; }
.page-hero { padding: 84px 0 76px; }
.page-hero .lead { margin-bottom: 0; }

/* Hero visual: AI answer card */
.hero-visual { position: relative; }
.ai-card { background: rgba(255, 255, 255, .97); color: var(--body); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; position: relative; }
.ai-card-head { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.ai-card-head i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.ai-query { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; font-weight: 500; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.ai-answer { font-size: .92rem; line-height: 1.55; }
.ai-answer .cite { display: inline-flex; align-items: center; gap: 6px; background: rgba(30, 155, 224, .1); color: var(--navy); font-weight: 600; font-size: .78rem; padding: 2px 9px; border-radius: 999px; }
.ai-answer mark { background: rgba(255, 212, 0, .45); color: var(--ink); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.ai-typing::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--sky); }
@keyframes blink { 50% { opacity: 0; } }
.float-chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px 14px; font-size: .8rem; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; animation: bob 5s ease-in-out infinite; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; }
.float-chip .ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: .9rem; flex: none; }
.chip-1 { top: -22px; right: -18px; }
.chip-2 { bottom: -46px; left: -26px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.logo-strip { border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0 84px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.logo-strip p { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.engines { display: flex; gap: 12px; flex-wrap: wrap; }
.engine { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .88rem; font-weight: 600; }
.engine i { width: 8px; height: 8px; border-radius: 50%; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: -48px; position: relative; z-index: 2; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stat b em { font-style: normal; color: var(--red); }
.stat span { font-size: .92rem; color: var(--muted); }

/* Section head */
.head { margin-bottom: 56px; max-width: 760px; }
.head.center { margin-left: auto; margin-right: auto; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head .head { margin-bottom: 0; }

/* Contrast (shift) */
.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shift-card { border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); background: #fff; }
.shift-card.old { background: var(--bg-soft); }
.shift-card.new { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: rgba(255, 255, 255, .82); border: 0; box-shadow: var(--shadow-lg); }
.shift-card.new h3 { color: #fff; }
.shift-card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.old .tag { background: #e6e9f2; color: var(--muted); }
.new .tag { background: var(--yellow); color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); }
.new .ticks li { border-color: rgba(255, 255, 255, .12); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.old .ticks li::before { background: #c7cde0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/10px no-repeat; }

/* Cards / services */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--body); }
.card .ticks li { border: 0; padding: 4px 0 4px 28px; font-size: .94rem; }
.card .ticks li::before { top: 8px; width: 16px; height: 16px; background-size: 10px; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; }
.i-sky { background: rgba(30, 155, 224, .12); color: var(--sky); }
.i-red { background: rgba(227, 30, 36, .1); color: var(--red); }
.i-navy { background: rgba(43, 57, 144, .1); color: var(--navy); }
.i-yellow { background: rgba(255, 212, 0, .22); color: #a37f00; }
.card-link { font-weight: 600; font-family: var(--font-display); display: inline-flex; gap: 6px; margin-top: 8px; }

/* Signals band (intent data) */
.signals { background: var(--bg-deep); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.signals h2, .signals h3, .signals h4 { color: #fff; }
.signals .eyebrow { color: var(--sky-light); }
.signal-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.feed { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 18px; }
.feed-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255, 255, 255, .6); padding: 4px 6px 14px; }
.feed-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); margin-bottom: 10px; animation: slideIn .5s both; }
.feed-row:last-child { margin-bottom: 0; }
.feed-row .av { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; font-family: var(--font-display); }
.feed-row b { color: #fff; display: block; font-size: .95rem; }
.feed-row small { color: rgba(255, 255, 255, .55); }
.heat { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.heat.hot { background: rgba(227, 30, 36, .2); color: #ff8a8d; }
.heat.warm { background: rgba(255, 212, 0, .18); color: var(--yellow); }
.heat.new { background: rgba(30, 155, 224, .2); color: var(--sky-light); }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } }
.sig-list { display: grid; gap: 18px; margin-top: 28px; }
.sig-item { display: flex; gap: 16px; }
.sig-item .num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(30, 155, 224, .18); color: var(--sky-light); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.sig-item p { margin: 0; font-size: .95rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--sky); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--sky); z-index: 1; }
.step::after { content: ""; position: absolute; top: 26px; left: 52px; right: -24px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--line)); }
.step:last-child::after { display: none; }
.step p { font-size: .95rem; }

/* Case studies */
.case { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.case-top { padding: 28px 30px; color: #fff; background: linear-gradient(140deg, var(--navy), var(--navy-dark)); position: relative; }
.case-top.alt { background: linear-gradient(140deg, var(--sky), var(--navy)); }
.case-top.alt2 { background: linear-gradient(140deg, var(--red), #7d0f13); }
.case-top .kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.case-top .big { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.15; margin-top: 6px; color: #fff; }
.case-body { padding: 26px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.case-body .card-link { margin-top: auto; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); margin: 0 6px 6px 0; }

/* Tool teaser */
.tool-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card { background: linear-gradient(180deg, #fff, var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }
.tool-card .free { font-size: .72rem; font-weight: 800; color: var(--red); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.2rem; color: var(--navy); transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--sky); color: #fff; }
.faq details p { padding: 0 44px 22px 0; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--sky)); border-radius: 28px; padding: 64px; color: rgba(255, 255, 255, .85); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 212, 0, .35), transparent 65%); }
.cta-band h2 { color: #fff; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* Pricing */
.toggle { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 5px; margin: 0 auto 40px; border: 1px solid var(--line); }
.toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-family: var(--font-display); cursor: pointer; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.toggle .save { color: var(--red); font-size: .78rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--sky); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 34px; background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan .price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 16px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan .per { font-size: .88rem; color: var(--muted); margin-bottom: 22px; min-height: 1.4em; }
.plan .ticks { margin-bottom: 28px; }
.plan .ticks li { border: 0; padding: 6px 0 6px 28px; font-size: .94rem; }
.plan .ticks li::before { top: 10px; width: 16px; height: 16px; background-size: 10px; }
.plan .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-family: var(--font-display); color: var(--ink); }
.compare .yes { color: var(--sky); font-weight: 800; }
.compare .no { color: #c7cde0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* Forms */
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 34px; border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(30, 155, 224, .15); }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: rgba(46, 204, 113, .12); color: #1d7a45; }
.form-msg.err { display: block; background: rgba(227, 30, 36, .1); color: var(--red-dark); }
.progress { height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--navy)); width: 0; transition: width .3s; }
.ms-step { display: none; }
.ms-step.active { display: block; animation: slideIn .3s both; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; }
.choice input:checked + span { border-color: var(--sky); background: rgba(30, 155, 224, .07); }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.ms-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* Tools */
.tool-section { scroll-margin-top: 100px; }
.tool-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.q { padding: 18px 0; border-bottom: 1px solid var(--line); }
.q p { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.q-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.q-opts label { position: relative; }
.q-opts input { position: absolute; opacity: 0; }
.q-opts span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-size: .9rem; font-weight: 500; }
.q-opts input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.q-opts input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.score-panel { position: sticky; top: 100px; }
.gauge { position: relative; width: 200px; height: 200px; margin: 0 auto 18px; }
.gauge svg { transform: rotate(-90deg); }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .val b { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; display: block; }
.gauge .val small { color: var(--muted); font-weight: 600; }
.grade { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.recs { list-style: none; padding: 0; margin: 0 0 20px; }
.recs li { padding: 10px 12px 10px 38px; position: relative; background: var(--bg-soft); border-radius: 10px; margin-bottom: 8px; font-size: .92rem; }
.recs li::before { content: "→"; position: absolute; left: 14px; color: var(--red); font-weight: 800; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.calc-out div { background: var(--bg-soft); border-radius: 12px; padding: 18px; }
.calc-out b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.calc-out .hero-num { grid-column: 1 / -1; background: linear-gradient(130deg, var(--navy), var(--navy-dark)); color: rgba(255, 255, 255, .8); }
.calc-out .hero-num b { color: #fff; font-size: 2.4rem; }
.calc-out span { font-size: .85rem; color: var(--muted); }
.calc-out .hero-num span { color: rgba(255, 255, 255, .7); }
.range-row { margin-bottom: 18px; }
.range-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.range-row output { color: var(--sky); font-family: var(--font-display); font-weight: 800; }
input[type=range] { width: 100%; accent-color: var(--sky); }
.audit-result { margin-top: 24px; display: none; }
.audit-result.show { display: block; animation: slideIn .4s both; }
.check-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.check-row .st { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .75rem; font-weight: 800; }
.st.pass { background: #2ecc71; }
.st.warn { background: #f0a500; }
.st.fail { background: var(--red); }
.check-row b { color: var(--ink); display: block; }
.ai-summary { background: linear-gradient(140deg, rgba(30, 155, 224, .08), rgba(43, 57, 144, .06)); border: 1px solid rgba(30, 155, 224, .25); border-radius: 14px; padding: 18px 20px; margin-top: 18px; font-size: .95rem; white-space: pre-line; }
.ai-summary h4 { display: flex; gap: 8px; align-items: center; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* About / misc */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.value { padding: 26px; border-left: 3px solid var(--sky); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.value:nth-child(2) { border-color: var(--red); }
.value:nth-child(3) { border-color: var(--yellow); }
.value:nth-child(4) { border-color: var(--navy); }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.book-embed { width: 100%; min-height: 680px; border: 0; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.agenda { list-style: none; padding: 0; margin: 24px 0; counter-reset: ag; }
.agenda li { counter-increment: ag; position: relative; padding: 0 0 18px 48px; }
.agenda li::before { content: counter(ag); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--font-display); }
.agenda b { color: var(--ink); display: block; }

/* Footer */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, .65); padding: 80px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer a { color: rgba(255, 255, 255, .65); display: block; padding: 4px 0; font-size: .94rem; }
.footer a:hover { color: #fff; }
.footer a.brand { display: flex; padding: 0; }
.footer-brand p { font-size: .94rem; max-width: 360px; margin-top: 18px; }
.footer-brand p a { display: inline; color: var(--sky-light); }
.footer-contact a { display: inline !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Chat widget */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 62px; height: 62px; border-radius: 50%; border: 0; background: linear-gradient(140deg, var(--sky), var(--navy)); color: #fff; box-shadow: 0 14px 34px rgba(27, 36, 102, .4); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab .ping { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: var(--red); border: 2px solid #fff; border-radius: 50%; }
.chat-teaser { position: fixed; right: 96px; bottom: 34px; z-index: 79; background: #fff; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: .9rem; color: var(--ink); max-width: 240px; animation: slideIn .4s both; cursor: pointer; }
.chat-panel { position: fixed; right: 22px; bottom: 96px; z-index: 81; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 130px); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(15, 22, 56, .3); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; animation: slideIn .25s both; }
.chat-head { background: linear-gradient(130deg, var(--navy-dark), var(--navy)); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head img { width: 38px; height: 38px; background: #fff; border-radius: 10px; padding: 3px; }
.chat-head b { display: block; font-family: var(--font-display); }
.chat-head small { color: rgba(255, 255, 255, .7); font-size: .78rem; }
.chat-head button { margin-left: auto; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow); align-self: flex-start; }
.msg.me { background: var(--sky); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--sky); font-weight: 600; text-decoration: underline; }
.msg.typing { color: var(--muted); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 10px; background: var(--bg-soft); }
.quick button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 12px; font-size: .8rem; cursor: pointer; font-weight: 500; }
.quick button:hover { border-color: var(--sky); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .95rem; }
.chat-form input:focus { outline: none; border-color: var(--sky); }
.chat-form button { border: 0; background: var(--red); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-foot { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 12px 8px; }

/* Exit-intent / sticky offer */
.sticky-offer { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 70; background: var(--ink); color: #fff; padding: 12px 12px 12px 20px; border-radius: 999px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); transition: transform .35s; font-size: .92rem; max-width: calc(100vw - 120px); }
.sticky-offer.show { transform: translate(-50%, 0); }
.sticky-offer .btn { padding: 9px 16px; font-size: .86rem; }
.sticky-offer .x { background: none; border: 0; color: rgba(255, 255, 255, .6); cursor: pointer; font-size: 1.1rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-main, .signal-grid, .tool-wrap, .book-grid, .cta-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .score-panel { position: static; }
  .cta-band { padding: 48px; }
}
@media (max-width: 900px) {
  .menu { position: fixed; inset: 112px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-140%); transition: transform .3s; gap: 2px; margin: 0; z-index: -1; }
  .menu.open { transform: none; }
  .menu a { padding: 14px 12px; font-size: 1.05rem; }
  .menu-cta { display: flex !important; margin-top: 10px; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .g3, .plans, .tool-teaser, .shift, .g2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .topbar-links { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero-main { padding: 64px 0 56px; }
  .g4, .steps, .footer-grid, .row2, .choice-grid, .calc-out { grid-template-columns: 1fr; }
  .chip-1 { right: 6px; top: -30px; }
  .chip-2 { left: 6px; }
  .cta-band { padding: 36px 24px; border-radius: 20px; }
  .form-card, .plan, .card, .shift-card { padding: 24px; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 1.7rem; }
  .chat-panel { right: 16px; bottom: 90px; }
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-teaser { display: none; }
  .sticky-offer { max-width: calc(100vw - 104px); left: 16px; transform: translate(0, 140%); font-size: .82rem; }
  .sticky-offer.show { transform: none; }
  .sticky-offer span { display: none; }
}
