/* ==========================================================================
   ADVERTISERS — "Growth & Customer Acquisition"
   Direction: bright, clean, corporate. White and blue-tinted surfaces,
   photography combined with a 3D acquisition funnel, editorial layouts.
   ========================================================================== */

/* 1. Hero ---------------------------------------------------------------- */
.a-hero { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); background: radial-gradient(48% 60% at 88% 18%, #E3EBFF 0%, rgba(227,235,255,0) 70%), radial-gradient(30% 40% at 0% 100%, #EAF7F3, transparent 70%), linear-gradient(#F8FAFE, #fff); }
.a-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(53,99,240,.12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 90%); mask-image: linear-gradient(100deg, transparent 40%, #000 90%); pointer-events: none; }
.a-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.a-hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.5vw, 3.6rem); margin-bottom: 22px; }
.a-hero .lead { margin-bottom: 36px; max-width: 520px; }
.a-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .9375rem; font-weight: 500; color: var(--text); }
.a-trust li { display: inline-flex; align-items: center; gap: 8px; }
.a-trust svg { width: 18px; height: 18px; color: var(--mint-700); }

.a-hero-visual { position: relative; height: clamp(520px, 50vw, 640px); }
.a-hero-photo { position: absolute; right: 0; top: 0; width: 58%; height: 88%; border-radius: 28px; box-shadow: var(--shadow-lg); }
.a-funnel { position: absolute; left: -3%; top: 7%; width: 68%; z-index: 2; filter: drop-shadow(0 30px 34px rgba(21, 34, 56, .22)); }
.a-funnel svg { width: 100%; height: auto; overflow: visible; }
.f-drops circle { fill: #4778FF; opacity: 0; animation: drop 2.6s linear infinite; }
.f-drops circle:nth-child(2) { animation-delay: .45s; fill: #7FA2FF; }
.f-drops circle:nth-child(3) { animation-delay: .9s; }
.f-drops circle:nth-child(4) { animation-delay: 1.35s; fill: #38BFA5; }
.f-drops circle:nth-child(5) { animation-delay: 1.8s; fill: #7FA2FF; }
.f-drops circle:nth-child(6) { animation-delay: 2.2s; }
@keyframes drop { 0% { transform: translateY(-6px); opacity: 0; } 20% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(82px); opacity: 0; } }
.f-out-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.f-labels path { stroke: #94A3B8; stroke-dasharray: 3 4; fill: none; }
.f-labels circle { fill: var(--blue-600); }
.f-l, .f-s { paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.f-l { font: 800 19px var(--font-head); fill: var(--text); }
.f-l--mint { fill: var(--mint-700); }
.f-s { font: 500 13px var(--font-body); fill: var(--muted); }

.a-dash { position: absolute; right: 3%; bottom: 0; width: 280px; padding: 18px; z-index: 3; }
.a-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; font-family: var(--font-head); font-size: .9375rem; margin-bottom: 14px; }
.a-dash-bars { display: grid; gap: 10px; font-size: .8125rem; }
.a-dash-bars div { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 10px; color: var(--muted); }
.a-dash-bars b { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.a-dash-bars i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3563F0, #6E95FF); }
.a-dash-bars i.mint { background: linear-gradient(90deg, #1A7F6C, #38BFA5); }
.a-dash-line { width: 100%; height: auto; margin-top: 14px; }

/* 2. Editorial challenges ------------------------------------------------ */
.a-editorial { padding-block: var(--section-y); background: #fff; }
.a-ed-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.a-ed-lede { position: sticky; top: calc(var(--header-h) + 32px); }
.a-pull { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.08; margin-bottom: 40px; }
.a-pull span { color: var(--blue-600); }
.a-ed-photo { aspect-ratio: 4 / 3; }
.a-ed-intro { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.45; color: var(--text); letter-spacing: -0.01em; margin-bottom: 48px; }
.a-ed-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-top: 1px solid var(--border); }
.a-ed-num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--blue-600); }
.a-ed-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.a-ed-item p { color: var(--muted); }

/* 3. Horizontal chapters -------------------------------------------------- */
.a-chapters { padding-block: var(--section-y); background: var(--bg); overflow: hidden; }
.a-chapters-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.a-chapters-head h2 { margin: 0; }
.rail-controls { display: flex; align-items: center; gap: 12px; }
.rail-progress { width: 140px; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; margin-right: 12px; }
.rail-progress span { display: block; height: 100%; background: var(--blue-600); transform-origin: left; transform: scaleX(.1); transition: transform .3s var(--ease); }
.rail-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; display: grid; place-items: center; color: var(--text); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s; }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 84vw); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 28px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline-offset: -3px; }
.chapter { position: relative; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.chapter:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.chapter-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: .875rem; color: var(--blue-text); }
.chapter h3 { font-size: 1.375rem; margin-bottom: 10px; }
.chapter p { color: var(--muted); font-size: .9688rem; }
.chapter-visual { height: 190px; border-radius: 14px; margin-bottom: 26px; background: linear-gradient(145deg, #EEF3FF, #F7F9FD); border: 1px solid #E5ECFB; display: grid; place-content: center; padding: 18px; overflow: hidden; }
.cv-doc { width: 230px; background: #fff; border-radius: 10px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 8px; transform: rotate(-3deg); }
.cv-doc b { font-family: var(--font-head); font-size: .875rem; }
.cv-doc i { display: block; height: 6px; width: var(--w); border-radius: 4px; background: var(--border); }
.cv-doc .pill { justify-self: start; }
.cv-doc .pill svg { width: 12px; height: 12px; }
.cv-match { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 300px; }
.cv-chip { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: .8125rem; font-weight: 600; color: var(--muted); }
.cv-chip em { font-style: normal; font-size: .6875rem; padding: 2px 7px; border-radius: 99px; background: var(--bg); }
.cv-chip.is-on { color: var(--text); border-color: #BFD0FF; box-shadow: 0 6px 14px -8px rgba(53,99,240,.5); }
.cv-chip.is-on em { background: var(--mint-50); color: var(--mint-700); }
.cv-track { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; }
.cv-track span { padding: 8px 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; white-space: nowrap; }
.cv-track span.ok { display: inline-flex; gap: 4px; align-items: center; border-color: rgba(26,127,108,.35); color: var(--mint-700); }
.cv-track span.ok svg { width: 13px; height: 13px; }
.cv-track i { width: 18px; height: 2px; background: var(--blue-600); border-radius: 2px; }
.cv-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 280px; }
.cv-rules div { background: #fff; border-radius: 10px; padding: 12px; display: grid; gap: 6px; font-size: .75rem; border: 1px solid var(--border); }
.cv-rules b { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-700); }
.cv-rules div + div b { color: var(--danger); }
.cv-rules span { padding: 4px 6px; border-radius: 5px; background: var(--bg); }
.cv-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.cv-bars i { width: 26px; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(#6E95FF, #3563F0); }
.cv-bars i:last-child { background: linear-gradient(#5FE0C6, #1A7F6C); }

/* 4. Workflow band -------------------------------------------------------- */
.a-workflow { padding-block: var(--section-y); background: radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #1F43C4 0%, #3563F0 55%, #4778FF 100%); color: #DCE6FF; overflow: hidden; }
.a-workflow h2, .a-workflow h3 { color: #fff; }
.a-workflow .eyebrow { color: #BFF3E7; }
.a-workflow .lead { color: #DCE6FF; }
.a-workflow-head { max-width: 760px; margin-bottom: 56px; }
.a-path { --active-index: 0; }
.a-path-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 40px; }
.a-path-line { position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,.25); }
.a-path-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--active-index) * 25%); background: #fff; transition: width .7s var(--ease-out); }
.a-path-packet { position: absolute; top: -5px; left: calc(var(--active-index) * 25%); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #BFF3E7; box-shadow: 0 0 0 6px rgba(191,243,231,.25), 0 0 20px #BFF3E7; transition: left .7s var(--ease-out); }
.a-stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; background: none; border: 0; color: #DCE6FF; font-weight: 600; font-size: 1rem; padding: 0 4px; }
.a-stage-dot { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .4s var(--ease-out), background-color .3s, color .3s, box-shadow .3s; }
.a-stage-dot svg { width: 26px; height: 26px; }
.a-stage:hover .a-stage-dot { background: rgba(255,255,255,.22); }
.a-stage[aria-selected="true"] { color: #fff; }
.a-stage[aria-selected="true"] .a-stage-dot { background: #fff; color: var(--blue-600); transform: scale(1.12); box-shadow: 0 16px 34px -12px rgba(8, 20, 70, .6), 0 0 0 8px rgba(255,255,255,.12); }
.a-stage.is-done .a-stage-dot { background: rgba(255,255,255,.3); }
.a-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: clamp(24px, 3.5vw, 40px); border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.a-panel h3 { font-size: 1.5rem; margin-bottom: 10px; }
.a-panel h4 { color: #BFF3E7; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; font-family: var(--font-body); }
.a-panel p { color: #E6EDFF; }
.a-panel > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }

/* 5. Objective matcher ---------------------------------------------------- */
.a-models-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.a-matcher { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.a-matcher .chip-tabs { margin-bottom: 26px; }
.a-match { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.a-match-model { position: relative; overflow: hidden; border-radius: 16px; padding: 22px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(circle at 80% 0%, rgba(110,149,255,.6), transparent 60%), linear-gradient(160deg, #22355A, #0B1424); box-shadow: 0 20px 40px -20px rgba(11,20,36,.6); }
.a-match-model span { position: absolute; top: 18px; left: 22px; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #9DB8FF; }
.a-match-model strong { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; }
.a-match-model em { font-style: normal; color: #C6D2E6; font-size: .875rem; margin-top: 6px; }
.a-match-body h3 { font-size: 1.375rem; margin-bottom: 10px; }
.a-match-body p { color: var(--muted); }
.a-match-watch { padding: 12px 14px; border-radius: 10px; background: var(--warning-50); color: #5E3D00 !important; font-size: .9375rem; }
.a-match-watch strong { color: #5E3D00; }

/* 6. Monitoring dashboard ------------------------------------------------- */
.a-monitor { background: var(--bg); }
.a-monitor-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.a-monitor .checklist { margin-top: 28px; }
.a-board { padding: 22px; border-radius: 20px; overflow: hidden; }
.a-board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.a-board-title { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-head); font-weight: 800; }
.a-board-title svg { width: 18px; height: 18px; color: var(--blue-600); }
.a-board-tabs { display: flex; gap: 6px; margin-bottom: 16px; font-size: .8125rem; font-weight: 600; }
.a-board-tabs span { padding: 6px 12px; border-radius: 8px; color: var(--muted); }
.a-board-tabs .on { background: var(--blue-50); color: var(--blue-text); }
.a-board-chart { border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.a-board-chart svg { width: 100%; height: auto; }
.a-board-legend { display: flex; gap: 18px; font-size: .75rem; color: var(--muted); margin-top: 8px; }
.a-board-legend span { display: inline-flex; gap: 6px; align-items: center; }
.a-board-legend i { width: 12px; height: 3px; border-radius: 2px; background: var(--blue-600); }
.a-board-legend i.mint { background: var(--mint); }
.a-board-rows { display: grid; gap: 8px; }
.a-board-rows > div { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #FAFBFD; border: 1px solid #EEF2F7; font-size: .8438rem; }
.a-board-rows .src { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-board-rows .src svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.a-board-rows .q { height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.a-board-rows .q i { display: block; height: 100%; width: var(--w); background: var(--mint); border-radius: inherit; }
.a-board-rows .q.warn i { background: #D9822B; }
.a-board-rows .pill { justify-self: end; }
.a-board-alert { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FFF4E5; color: #7A4A00; font-size: .8438rem; font-weight: 500; }
.a-board-alert svg { width: 18px; height: 18px; flex: none; }

/* 7. Onboarding ----------------------------------------------------------- */
.a-onboard-head { max-width: 720px; margin-bottom: 56px; }
.a-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.a-steps::before { content: ""; position: absolute; top: 25px; left: 26px; right: 26px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.a-steps.is-visible::before { transform: scaleX(1); }
.a-steps li { position: relative; }
.a-step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); color: var(--blue-600); font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; margin-bottom: 22px; box-shadow: 0 0 0 8px #fff; }
.a-steps li:last-child .a-step-n { border-color: var(--mint-700); color: var(--mint-700); }
.a-steps h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.a-steps p { color: var(--muted); font-size: .9688rem; }
.a-step-you { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: .8438rem !important; }
.a-step-you strong { color: var(--text); }

/* 8. Inquiry ------------------------------------------------------------- */
.a-inquiry { background: linear-gradient(#fff, #F4F6FA); border-top: 1px solid var(--border); }
.a-inquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.a-inquiry-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.a-inquiry-aside .accordion { margin-top: 36px; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .a-hero-grid { grid-template-columns: 1fr; }
  .a-hero-visual { height: clamp(460px, 70vw, 620px); max-width: 760px; width: 100%; margin-inline: auto; }
  .a-panel { grid-template-columns: 1fr 1fr; }
  .a-panel > div:first-child { grid-column: 1 / -1; }
  .a-panel > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .a-models-grid, .a-monitor-grid, .a-inquiry-grid, .a-ed-grid { grid-template-columns: 1fr; }
  .a-ed-lede, .a-inquiry-aside { position: static; }
  .a-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .a-steps::before { display: none; }
}
@media (max-width: 680px) {
  .a-hero-visual { height: auto; display: flex; flex-direction: column; }
  .a-hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3.4; right: auto; top: auto; }
  .a-funnel { position: relative; left: auto; top: auto; width: 100%; margin-top: -48px; background: rgba(255,255,255,.94); border-radius: 20px; padding: 14px 6px 0; box-shadow: var(--shadow-lg); filter: none; }
  .f-s { display: none; }
  .f-l { font-size: 24px; }
  .a-dash { display: none; }
  .a-path-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .a-stage { font-size: .75rem; gap: 10px; }
  .a-stage-dot { width: 48px; height: 48px; }
  .a-stage-dot svg { width: 20px; height: 20px; }
  .a-path-line { top: 24px; }
  .a-panel { grid-template-columns: 1fr; gap: 18px; }
  .a-panel > div + div { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
  .a-match { grid-template-columns: 1fr; }
  .a-match-model { min-height: 130px; }
  .a-board-rows > div { grid-template-columns: minmax(0, 1fr) 92px; }
  .a-board-rows .q { display: none; }
  .a-steps { grid-template-columns: 1fr; }
  .a-ed-item { grid-template-columns: 1fr; gap: 6px; }
  .a-ed-num { font-size: 2.2rem; }
  .rail-progress { display: none; }
}
@media (max-width: 400px) {
  .a-stage span:last-child { font-size: .6875rem; }
  .a-stage-dot { width: 42px; height: 42px; }
  .a-path-line { top: 21px; }
}
