:root {
  --display-glow:#0878c916;
  --display-shadow:0 28px 60px -25px #0b467b30,0 3px 8px #0b467b06;
}
[data-theme="dark"] {
  --display-glow:#398fef1c;
  --display-shadow:0 28px 65px -22px #0008,0 0 0 1px #63b6ff08;
}

/* A stronger rhythm below the hero. */
.section-title { font-weight:750; letter-spacing:-.05em; }
.section-head .section-title,.process-head .section-title { max-width:740px; }
.benefits { gap:20px; }
.benefit,.benefit+.benefit {
  position:relative;
  isolation:isolate;
  padding:32px 28px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(145deg,var(--paper),var(--surface));
  box-shadow:0 10px 28px -16px #0b467b18;
  overflow:hidden;
}
.benefit::before {
  content:'';
  position:absolute;
  z-index:-1;
  right:-70px;
  bottom:-150px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:radial-gradient(circle,var(--display-glow),transparent 68%);
  pointer-events:none;
}
.benefit-index { position:absolute; top:13px; right:23px; font-size:78px; font-weight:800; line-height:1; letter-spacing:-.08em; color:var(--brand-blue); opacity:.09; }
.benefit .icon-box { width:54px; height:54px; margin-bottom:29px; border:1px solid var(--line-accent); border-radius:16px; background:var(--accent-soft); box-shadow:inset 0 1px 0 #ffffff40; }
.benefit h3 { font-size:22px; line-height:1.3; max-width:280px; }
.benefit p { font-size:13px; line-height:1.85; }
.benefit:nth-child(2) { background:linear-gradient(145deg,#0d477c,#076aae); border-color:#2c81bd; box-shadow:0 20px 45px -25px #075baf88; color:#fff; }
.benefit:nth-child(2) p,.benefit:nth-child(2) .feature-source { color:#e0efff; }
.benefit:nth-child(2) .icon-box { background:#ffffff12; border-color:#ffffff26; color:#fff; }
.benefit:nth-child(2) .benefit-index { color:#fff; opacity:.12; }
.benefit:nth-child(2)::before { background:radial-gradient(circle,#73c5ff33,transparent 68%); }

.features-section { position:relative; background:radial-gradient(ellipse at 80% 65%,var(--display-glow),transparent 60%),var(--surface); }
.features-section .centered .section-title { font-size:clamp(32px,3.7vw,50px); }
.feature-tabs { padding:7px; border:1px solid var(--line-accent); border-radius:15px; background:var(--paper); box-shadow:0 8px 24px #0b467b08; }
.features-section .feature-tab { min-height:44px; border-radius:9px; }
.features-section .feature-tab[aria-selected="true"] { background:#0878c9; color:#fff; box-shadow:0 4px 12px #0878c926,inset 0 1px 0 #ffffff30; }
.feature-panel { gap:65px; }
.feature-copy h3 { font-weight:750; font-size:clamp(29px,2.8vw,37px); letter-spacing:-.045em; }
.feature-panel>.mini-window,.feature-panel>.integration-board,.filters-window,.ads-example { border-radius:20px; box-shadow:var(--display-shadow); border-top:3px solid var(--brand-blue); }
.feature-panel>.mini-window,.filters-window,.ads-example { padding:28px; }
.window-label { padding-bottom:17px; border-bottom:1px solid var(--line); }
.price-distribution i { transform-origin:bottom; background:linear-gradient(0deg,var(--blue-mist),var(--blue-muted)); }
.price-distribution>div:nth-child(3) i { background:linear-gradient(0deg,#0865ac,var(--brand-blue)); box-shadow:0 5px 16px #0878c924; }
.price-statistics strong,.limit-results strong,.chain-result strong { font-variant-numeric:tabular-nums; }
.limit-results>div { border:1px solid var(--line-accent); }
.chain-active { box-shadow:0 5px 15px #0878c910; }
.flow-liveprice { box-shadow:0 9px 25px #0878c914; }

/* Steps and portraits give the page a more human, editorial pace. */
.steps { gap:45px; }
.step-number { height:58px; gap:21px; margin-bottom:25px; }
.step-number span { width:58px; height:58px; font-size:17px; letter-spacing:-.04em; border:1px solid var(--line-accent); background:linear-gradient(145deg,var(--paper),var(--accent-soft)); box-shadow:0 6px 15px #0878c90c; }
.step:last-child .step-number span { color:#fff; border-color:#0878c9; background:linear-gradient(140deg,#0865ac,#0878c9); box-shadow:0 7px 20px #0878c925; }
.step-number::after { height:2px; background:linear-gradient(90deg,var(--brand-blue),var(--line)); transform-origin:left; }
.step h3 { font-size:21px; line-height:1.4; }
.step p { font-size:13px; }
.academy-card { display:flex; align-items:center; gap:22px; margin-top:40px; padding:28px; border:1px solid var(--line-accent); border-radius:16px; background:var(--surface-blue); }
.academy-host-mark { display:grid; place-items:center; flex:none; width:56px; height:56px; border-radius:50%; border:1px solid var(--line-accent); background:var(--paper); color:var(--brand-blue); font-size:25px; font-weight:750; }
.academy-copy { flex:1; min-width:0; }
.academy-copy .eyebrow { font-size:9px; margin-bottom:8px; }
.academy-copy h3 { font-size:22px; line-height:1.35; letter-spacing:-.025em; margin-bottom:8px; }
.academy-copy>p:last-child { font-size:13px; max-width:540px; }
.academy-card>.button { flex:none; gap:12px; font-size:12px; }
.team-section { position:relative; isolation:isolate; background:radial-gradient(ellipse at 75% 60%,var(--display-glow),transparent 58%),var(--surface-blue); }

.customer-stories { background:var(--paper); border-bottom:1px solid var(--line); }
.customer-story { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr); border:1px solid var(--line-accent); border-radius:22px; overflow:hidden; box-shadow:var(--display-shadow); }
.story-since { display:flex; flex-direction:column; align-items:flex-start; position:relative; isolation:isolate; overflow:hidden; padding:42px; color:#fff; background:linear-gradient(145deg,#0b4578,#076ab2); }
.story-since::after { content:''; position:absolute; z-index:-1; width:400px; height:400px; border:1px solid #ffffff12; border-radius:50%; right:-270px; bottom:-130px; box-shadow:0 0 0 45px #ffffff05,0 0 0 90px #ffffff03; pointer-events:none; }
.story-since-label { font-size:11px; font-weight:650; letter-spacing:.14em; text-transform:uppercase; color:#d7edff; }
.story-year { display:block; font-size:clamp(76px,8.4vw,112px); font-weight:750; line-height:1.2; letter-spacing:-.075em; margin:9px 0 19px; }
.story-since>p { color:#eef7ff; font-size:17px; line-height:1.7; }
.story-timeline { display:flex; justify-content:space-between; gap:16px; position:relative; width:100%; margin-top:auto; padding-top:53px; color:#d7edff; font-size:10px; }
.story-timeline::before { content:''; position:absolute; top:40px; inset-inline:3px; height:1px; background:#ffffff50; }
.story-timeline span::before { content:''; position:absolute; top:37px; width:7px; height:7px; border-radius:50%; background:#e2f3ff; }
.story-timeline span:first-child::before { left:0; }
.story-timeline span:last-child::before { right:0; box-shadow:0 0 0 4px #ffffff12; }
.story-content { padding:40px 44px; background:var(--paper); }
.story-content h3 { max-width:580px; font-size:clamp(25px,2.6vw,34px); font-weight:750; line-height:1.25; letter-spacing:-.04em; }
.story-intro { margin-top:20px; font-size:14px; line-height:1.85; }
.story-intro strong { color:var(--ink); font-weight:650; }
.story-placeholder { margin-top:26px; padding:18px 21px; border-left:2px solid var(--brand-blue); background:var(--surface-blue); border-radius:0 10px 10px 0; }
.story-placeholder>span { color:var(--brand-blue); font-size:11px; font-weight:750; }
.story-placeholder p { margin-top:6px; font-size:13px; line-height:1.75; }
.story-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.story-author { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.story-initial { display:grid; place-items:center; width:43px; height:43px; border-radius:50%; background:var(--accent-soft); color:var(--brand-blue); font-size:17px; font-weight:750; }
.story-author strong { display:block; font-size:13px; }
.story-author div>span { display:block; color:var(--muted); font-size:11px; }
.story-footer .text-link { margin:0; font-size:12px; gap:10px; }

/* Allegro: bring the outcome forward, keeping the simulator compact. */
.proof-strip { background:linear-gradient(90deg,var(--paper),var(--surface-blue),var(--paper)); }
.proof-item strong { color:var(--brand-blue); font-size:40px; font-weight:750; }
.filters-window .filter-selection { border:1px solid var(--line-accent); border-radius:10px; }
.markets { background:linear-gradient(120deg,var(--surface-blue),var(--paper)); border-color:var(--line-accent); }
.cen-section { background:radial-gradient(ellipse at 50% 50%,var(--display-glow),transparent 70%),var(--surface-blue); }
.cen-intro .section-title { font-size:clamp(31px,3.5vw,46px); }
.cen-simulator { box-shadow:var(--display-shadow),0 0 0 6px var(--display-glow); }
.cen-price-result { background:linear-gradient(115deg,#075ca0,#0878c9); color:#fff; box-shadow:0 7px 17px #0878c91c; }
.cen-price-result>p { color:#fff; }
.cen-mode-nav button { border-radius:50%; }
.cen-mode-nav span { color:var(--brand-blue); }
.ads-section { background:radial-gradient(ellipse at 80% 50%,var(--display-glow),transparent 55%),var(--surface-blue); }
.ads-copy .section-title { font-size:clamp(34px,3.6vw,48px); }
.ads-copy .section-title .accent { color:var(--brand-blue); }
.ads-focus { border-radius:0 12px 12px 0; }
.ads-example { position:relative; }
.ads-goal-line { padding:9px 0 20px; }
.ads-goal-line strong { flex-shrink:0; white-space:nowrap; font-size:42px; line-height:1.1; font-variant-numeric:tabular-nums; }
.ads-offer .ads-meter { display:block; grid-column:1/-1; position:relative; height:5px; margin-top:8px; border-radius:5px; background:var(--line); }
.ads-meter i { display:block; width:var(--ads-level,0%); height:100%; border-radius:inherit; background:linear-gradient(90deg,#0878c9,var(--brand-blue)); transform-origin:left; transition:width .65s cubic-bezier(.22,1,.36,1); }
.ads-meter::after { content:''; position:absolute; top:-3px; bottom:-3px; left:50%; width:2px; background:var(--ink); border-radius:2px; opacity:.6; }
.ads-review .ads-meter i { background:var(--blue-muted); }
.ads-scale-note { margin-top:13px; color:var(--muted); font-size:9px; }
.price-card { border-radius:20px; padding-top:35px; box-shadow:0 12px 30px -20px #0b467b20; }
.price-card h3 { font-size:25px; }
.price-card.featured { background:linear-gradient(150deg,#e1f0fd,var(--paper) 75%); padding-top:34px; box-shadow:0 22px 50px -23px #0878c945,0 0 0 5px var(--display-glow); }
[data-theme="dark"] .price-card.featured { background:linear-gradient(150deg,#163e65,var(--surface) 75%); }
.price-value { font-size:55px; font-variant-numeric:tabular-nums; }
.price-badge { padding:6px 15px; border-radius:20px; }

/* A calm, high-contrast finish around the form. */
.faq-list details[open] { border-color:var(--line-accent); }
.faq-list summary { gap:16px; }
.faq-list summary::after { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--surface); font-size:21px; }
.faq-list details[open] summary::after { background:var(--accent-soft); color:var(--brand-blue); }
.faq-list summary:hover { color:var(--blue-hover); }
.contact-section { isolation:isolate; background:linear-gradient(120deg,#080f24,#0a1b32 70%,#0c2744); }
.contact-section::before { content:''; position:absolute; z-index:-1; inset:-25%; background:radial-gradient(ellipse at 20% 65%,#0878c920,transparent 35%),radial-gradient(ellipse at 90% 20%,#0878c932,transparent 32%); pointer-events:none; }
.contact-section::after { width:850px; height:850px; left:-560px; bottom:-380px; border-color:#71b9f11a; box-shadow:0 0 0 65px #0878c907,0 0 0 130px #0878c905; z-index:-1; }
.contact-copy h2 { font-size:clamp(36px,3.9vw,52px); font-weight:750; letter-spacing:-.055em; }
.contact-copy h2 span { color:#7bc0ff; }
.contact-grid { gap:75px; }
.lead-form { position:relative; border:1px solid #ffffff30; border-radius:22px; box-shadow:0 25px 65px #0003,0 0 0 7px #ffffff04; }
.lead-form:focus-within { border-color:#70b7ed; box-shadow:0 25px 65px #0003,0 0 0 7px #0878c919; }
.form-field:focus-within label { color:var(--blue-hover); }
.contact-section :is(a,button,input,select,textarea) { transition:none; }
.form-field :is(input,select,textarea):focus { box-shadow:0 0 0 3px var(--display-glow); }
.hero.product-hero .dashboard::after { content:''; position:absolute; inset:0 0 auto 49px; height:1px; background:linear-gradient(90deg,transparent,#81c6f8bb,transparent); pointer-events:none; }
.hero-chart-beacon { transform-box:fill-box; transform-origin:center; opacity:0; }
.hero .button-primary { position:relative; isolation:isolate; overflow:hidden; }
.hero .button-primary::after { content:''; position:absolute; pointer-events:none; top:-50%; left:-60%; width:40%; height:200%; background:linear-gradient(90deg,transparent,#ffffff25,transparent); transform:skewX(-20deg); opacity:0; }
.chat-launcher { border:1px solid #ffffff30; box-shadow:0 10px 30px #075baf40,inset 0 1px 0 #ffffff24; }

@keyframes illustration-arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes chart-grow { from { transform:scaleY(.06); } to { transform:scaleY(1); } }
@keyframes line-draw { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes chart-beacon { 0%,65%,100% { transform:scale(1); opacity:0; } 12% { opacity:.5; } 50% { transform:scale(2.4); opacity:0; } }
@keyframes button-sheen { 0% { transform:translateX(0) skewX(-20deg); opacity:0; } 20% { opacity:1; } 100% { transform:translateX(475%) skewX(-20deg); opacity:0; } }
@keyframes contact-glow-drift {
  0%,100% { transform:translate(-2%,1%) scale(1); opacity:.7; }
  50% { transform:translate(3%,-2%) scale(1.06); opacity:1; }
}

@media(prefers-reduced-motion:no-preference) {
  .motion-ready .contact-section::before { animation:contact-glow-drift 32s ease-in-out infinite; animation-play-state:var(--ambient-state); }
  .motion-ready .hero-chart-beacon { animation:chart-beacon 2.4s ease-out both; animation-play-state:var(--ambient-state); }
  .feature-panel.illustration-ready:not([hidden]) .price-distribution i { animation:chart-grow .8s .15s cubic-bezier(.22,1,.36,1) both; }
  .feature-panel.illustration-ready:not([hidden]) .price-distribution>div:nth-child(3) i { animation-delay:.3s; }
  .feature-panel.illustration-ready:not([hidden]) .price-distribution>div:nth-child(4) i { animation-delay:.4s; }
  .feature-panel.illustration-ready:not([hidden]) .price-chain li { animation:illustration-arrive .55s .1s both; }
  .feature-panel.illustration-ready:not([hidden]) .price-chain li:nth-child(2) { animation-delay:.2s; }
  .feature-panel.illustration-ready:not([hidden]) .price-chain li:nth-child(3) { animation-delay:.3s; }
  .feature-panel.illustration-ready:not([hidden]) .chain-result { animation:illustration-arrive .55s .4s both; }
  .ads-example.illustration-ready .ads-meter i { animation:line-draw .85s .2s both; }
  :root[data-motion-paused="true"] :is(.feature-panel,.ads-example) :is(.price-distribution i,.price-chain li,.chain-result,.ads-meter i) { animation:none; transition:none; }
  :root:not([data-motion-paused="true"]) .nav-dropdown[open] .dropdown-panel { animation:illustration-arrive .2s both; }
  :root:not([data-motion-paused="true"]) .chat-panel:not([hidden]) { animation:illustration-arrive .25s both; }
  :root:not([data-motion-paused="true"]) .hero .button-primary:is(:hover,:focus-visible)::after { animation:button-sheen .7s ease-out; }
  .hero .button .icon { transition:translate .35s; }
  @media(hover:hover) and (pointer:fine) {
    :root:not([data-motion-paused="true"]) .hero .button:hover>.icon { translate:3px 0; }
  }
}

@media(max-width:980px) {
  .benefit,.benefit+.benefit { padding:25px 21px; }
  .benefit h3 { font-size:20px; }
  .feature-panel { gap:35px; }
  .contact-grid { gap:40px; }
  .story-since,.story-content { padding:30px; }
  .story-footer { align-items:flex-start; flex-direction:column; gap:18px; }
}
@media(max-width:800px) {
  .customer-story { grid-template-columns:minmax(0,1fr); }
  .story-since { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 36px; align-items:center; }
  .story-since-label { grid-column:1/-1; }
  .story-year { font-size:82px; margin:0; }
  .story-timeline { grid-column:1/-1; padding-top:28px; }
  .story-timeline::before { top:15px; }
  .story-timeline span::before { top:12px; }
  .story-footer { flex-direction:row; align-items:center; }
  .academy-card { display:grid; grid-template-columns:48px minmax(0,1fr); gap:18px; padding:24px; align-items:start; }
  .academy-host-mark { width:48px; height:48px; font-size:22px; }
  .academy-card>.button { grid-column:1/-1; justify-self:start; }
  .benefits { grid-template-columns:1fr; gap:15px; }
  .benefit,.benefit+.benefit { padding:27px; }
  .benefit .icon-box { margin-bottom:21px; }
  .benefit h3 { max-width:none; }
  .benefit-index { font-size:68px; }
  .steps { gap:25px; }
  .step h3 { font-size:18px; }
  .contact-grid { gap:35px; }
  .feature-copy h3 { font-size:32px; }
}
@media(max-width:520px) {
  .customer-story { border-radius:17px; }
  .story-since,.story-content { padding:25px 22px; }
  .story-since { gap:7px 20px; }
  .story-year { font-size:68px; }
  .story-since>p { font-size:12px; }
  .story-content h3 { font-size:26px; }
  .story-placeholder { padding:16px; }
  .story-footer { align-items:flex-start; flex-direction:column; gap:20px; }
  .academy-card { padding:22px 18px; column-gap:13px; }
  .academy-copy h3 { font-size:20px; }
  .academy-card>.button { width:100%; font-size:11px; padding-inline:12px; }
  .feature-panel>.mini-window,.filters-window,.ads-example { padding:21px 16px; border-radius:16px; }
  .features-section .feature-tab { min-height:44px; padding:10px 7px; font-size:10px; }
  .features-section .centered .section-title { font-size:31px; }
  .feature-copy h3 { font-size:29px; }
  .step-number { height:48px; }
  .step-number span { width:48px; height:48px; font-size:15px; }
  .proof-item strong { font-size:31px; }
  .ads-copy .section-title { font-size:34px; }
  .ads-goal-line strong { font-size:35px; }
  .ads-offer strong { font-size:11px; }
  .price-value { font-size:49px; }
  .contact-copy h2 { font-size:36px; }
  .lead-form { padding:24px 19px; border-radius:17px; }
  .hero.product-hero .dashboard::after { left:0; }
}
