/* PosledovAI: warm marble, brushed gold and muted forest. Page-local finish. */
.ai-page .ai-messenger-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ai-page .ai-messenger { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 16px; border: 1px solid #cdd7d3; border-radius: 8px; background: #f1f6f5; color: #315e70; font: 600 13px/1.4 var(--sans); text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.ai-page .ai-messenger.is-max { color: #514578; background: #f2f0f7; border-color: #d6d0e3; }
.ai-page .ai-messenger svg { width: 21px; height: 21px; flex-shrink: 0; }
.ai-page .ai-messenger b { margin-left: auto; transition: transform .25s; }
.ai-page .ai-messenger-links.is-compact .ai-messenger { flex: 1; padding: 10px 12px; }
.ai-page .ai-contact-hint { margin: 22px 0 0; color: #657060; font-size: 13px; line-height: 1.6; }
.ai-page .ai-conversation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid #d1d5c6; }
.ai-page .ai-conversation small { color: #806436; font-size: 11px; }
.ai-page .ai-conversation p { margin: 8px 0 0; font: 26px/1.3 var(--serif); }
.ai-page .ai-conversation .ai-messenger-links { margin: 0; }
.ai-page .ai-contact-dock { position: fixed; z-index: 70; bottom: 18px; left: 24px; padding: 12px 16px; border: 1px solid #d4d7c9; border-radius: 14px; background: rgba(255,254,249,.96); box-shadow: 0 8px 35px #304d4020; backdrop-filter: blur(14px); }
.ai-page .ai-contact-dock > span { font: 500 11px/1.4 var(--sans); color: #657060; }
.ai-page .ai-contact-dock .ai-messenger-links { margin-top: 7px; }
.ai-page .site-footer { padding-bottom: 130px; }
.ai-page:has(.consent:not([hidden])) .ai-contact-dock,
.ai-page:has(.p1-panel:not([hidden])) .ai-contact-dock { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ai-page .ai-messenger:hover { transform: translateY(-3px); background: #e0f0f3; box-shadow: 0 8px 20px #315e701c; }
  .ai-page .ai-messenger.is-max:hover { background: #e8e2f5; box-shadow: 0 8px 20px #51457820; }
  .ai-page .ai-messenger:hover b { transform: translate(2px,-2px); }
}
@media (max-width: 520px) {
  .ai-page .ai-messenger-links { gap: 8px; }
  .ai-page .ai-messenger { flex: 1 1 145px; padding: 12px; font-size: 12px; }
  .ai-page .ai-contact-dock { left: 10px; right: 82px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 8px; }
  .ai-page .ai-contact-dock > span { display: none; }
  .ai-page .ai-contact-dock .ai-messenger-links { margin: 0; flex-wrap: nowrap; }
  .ai-page .ai-contact-dock .ai-messenger { min-width: 0; padding: 10px 8px; gap: 6px; }
  .ai-page .ai-contact-dock .ai-messenger b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page .ai-messenger:hover, .ai-page .ai-messenger:hover b { transform: none; }
}
.ai-page {
  --ai-paper: #faf9f5;
  --ai-stone: #efeee7;
  --ai-ink: #293a32;
  --ai-gold: #927040;
  --ai-line: rgba(113, 103, 77, .2);
  --ai-forest: #304d40;
  --ai-shadow: 0 16px 42px rgba(52, 66, 46, .07);
  --ai-ease: cubic-bezier(.22, .68, .22, 1);
  color: var(--ai-ink);
  background: var(--ai-paper);
  -webkit-tap-highlight-color: rgba(153, 128, 74, .16);
}

.ai-page .site-header {
  background: rgba(251, 250, 246, .94);
  border-bottom-color: rgba(145, 123, 79, .2);
  box-shadow: 0 7px 30px rgba(46, 59, 41, .045);
}
.ai-page .brand-copy strong { color: #2d4237; }
.ai-page .brand-copy small { color: #716e60; }
.ai-page .nav a { color: #555c50; }
.ai-page .nav a[aria-current="page"] { color: #86622f; }
.ai-page .eyebrow { color: #806436; }
.ai-page em { color: #94703d; }
.ai-page .ai-brand-line { color: #766b52; }
.ai-page .ai-hero {
  background:
    radial-gradient(ellipse at 82% 25%, rgba(205, 213, 189, .3), transparent 42%),
    linear-gradient(135deg, #fffdf8, #f5f4ec 64%, #f9f7ef);
}
.ai-page .ai-hero-image { opacity: .1; filter: saturate(.45) contrast(.8); }
.ai-page .ai-hero-shade { background: linear-gradient(90deg, #faf9f5 24%, rgba(250,249,245,.7) 50%, transparent 85%); }
.ai-page .ai-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; }
.ai-page .ai-lead { color: #5f6659; }

/* Interaction is intentional: lift, a gold rim and a soft pool of light. */
.ai-page .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 7px;
  transition: transform .3s var(--ai-ease), box-shadow .3s var(--ai-ease), background .3s, border-color .3s, color .3s;
}
.ai-page .button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 10%, rgba(255,255,255,.17) 45%, transparent 80%);
  transform: translateX(-60%);
  transition: transform .6s var(--ai-ease), opacity .3s;
}
.ai-page .button-gold {
  color: #fffef6;
  border-color: #45664f;
  background: linear-gradient(135deg, #45624f, #2b483b);
  box-shadow: 0 7px 18px rgba(46, 74, 56, .16), inset 0 1px 0 rgba(255,255,255,.16);
}
.ai-page .button-outline {
  color: #344c3d;
  border-color: #b7bca8;
  background: rgba(255, 255, 248, .6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.ai-page .ai-text-link { color: #3b5543; transition: color .25s, border-color .25s, text-shadow .25s; }

/* The art is a real image, not a background, and retains its accessible alt. */
.ai-page .ai-hero-manifest {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 30%;
  border: 1px solid #d0cfbb;
  border-radius: 15px;
  background: #fffef9;
  box-shadow: 0 30px 70px rgba(45, 65, 41, .12), 0 5px 16px rgba(91, 76, 43, .05);
  transform: perspective(1300px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .35s var(--ai-ease), box-shadow .35s, border-color .35s, opacity .6s;
}
.ai-page .ai-hero-manifest::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--pointer-x) var(--pointer-y), rgba(255,244,201,.3), transparent 52%);
  opacity: 0;
  transition: opacity .4s;
}
.ai-page .ai-product-art {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 44%;
  border-bottom: 1px solid #d5d2bf;
  filter: saturate(.84) contrast(.97);
  transition: filter .6s var(--ai-ease);
}
.ai-page .ai-demo-top { padding: 17px 24px; background: #f1f2e9; }
.ai-page .ai-demo-top > span { color: #46604b; }
.ai-page .ai-demo-top small { color: #676f60; }
.ai-page .ai-demo-question { background: #edf0e5; color: #304b3a; }
.ai-page .ai-demo-sources span { border-color: #d7d5c4; color: #736347; background: #fcfbf5; }
.ai-page .ai-demo-answer { padding-block: 23px; }
.ai-page .ai-demo-answer small { color: #826337; }
.ai-page .ai-demo-next { background: linear-gradient(120deg, #f6f6ed, #fefdf6); }

.ai-page .ai-intro { border-top-color: #e0dfd1; }
.ai-page .ai-value-list article b { color: #907342; }
.ai-page .ai-value-list p { color: #666c5f; }
.ai-page .ai-stories { background: linear-gradient(150deg, #f0f0e8, #eaece2); }
.ai-page .ai-story-grid { gap: 22px; border: 0; }
.ai-page .ai-story {
  position: relative;
  padding: 24px;
  border: 1px solid #d7d9c9;
  border-radius: 12px;
  background: linear-gradient(150deg, #fffef9, #f7f8f0);
  box-shadow: var(--ai-shadow), inset 0 1px 0 white;
  transition: transform .4s var(--ai-ease), box-shadow .4s, border-color .4s;
}
.ai-page .ai-story-art {
  height: 200px;
  margin: -24px -24px 24px;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  border-bottom: 1px solid #d7d7c7;
  background: #e9e8dc;
}
.ai-page .ai-story-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 47%;
  filter: saturate(.8) contrast(.97);
  transition: transform .75s var(--ai-ease), filter .75s;
}
.ai-page .ai-story h3 { margin: 26px 0 22px; color: #314a3b; }
.ai-page .ai-story > span { color: #826535; }
.ai-page .ai-story-flow b { border-left-color: #a4b08c; background: #edf0e5; color: #45543e; }
.ai-page .ai-story p { color: #666c5c; }

.ai-page .ai-network { overflow: visible; border-radius: 0; background: radial-gradient(ellipse, #e6ebd9, rgba(245,245,233,.5) 53%, transparent 72%); }
.ai-page .ai-network::after, .ai-page .ai-network line, .ai-page .ai-network-core { animation: none; }
.ai-page .ai-network-core { border-color: #a7af8d; background: radial-gradient(circle at 40% 30%, #fffef4, #e6ecd8); box-shadow: 0 0 0 14px rgba(161,177,135,.07), 0 18px 42px rgba(75,95,54,.11); }
.ai-page .ai-network-node { color: #59634e; border-color: #c2c7b3; }
.ai-page .ai-network-node.is-active { color: #354f36; background: #e7eedc; border-color: #95a57c; box-shadow: 0 0 0 4px rgba(162,180,133,.12), 0 7px 18px rgba(67,89,48,.1); }
.ai-page .ai-plan-picker > div, .ai-page .ai-module-list { gap: 10px; border: 0; }
.ai-page .ai-plan-picker button, .ai-page .ai-module-list button {
  position: relative;
  border: 1px solid #d7dacb;
  border-radius: 8px;
  background: linear-gradient(130deg, #fffef9, #f6f7ee);
  box-shadow: 0 3px 10px rgba(50,67,42,.025), inset 0 1px 0 white;
  transition: transform .3s var(--ai-ease), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.ai-page .ai-plan-picker button.is-active, .ai-page .ai-module-list button.is-active {
  color: #2e4835;
  border-color: #9daa87;
  background: linear-gradient(135deg, #edf1e4, #e4ebd7);
  box-shadow: inset 3px 0 #7c9165, 0 5px 14px rgba(76,98,51,.06);
}
.ai-page .ai-module-list button small { color: #626d57; }
.ai-page .ai-module-list button::after { border-color: #adba97; color: #61734f; }
.ai-page .ai-module-list button.is-active::after { background: #5f784b; border-color: #5f784b; color: #fff; }
.ai-page .ai-configurator legend { color: #806638; }
.ai-page .ai-calculator {
  border-color: #ccd5bd;
  border-radius: 10px;
  background: linear-gradient(120deg, #ecf0e2, #f5f6ed);
  box-shadow: 0 10px 30px rgba(72,91,47,.055);
}
.ai-page .ai-calculator > button { min-height: 44px; }
.ai-page .ai-prices { background: linear-gradient(145deg, #f0eee5, #eeefe6); }
.ai-page .ai-entry-offer {
  border-color: #d3cbb5;
  border-radius: 12px;
  background: radial-gradient(ellipse at 100% 0%, rgba(223,211,166,.19), transparent 65%), #fffef8;
  box-shadow: 0 16px 44px rgba(78,75,45,.055), inset 0 1px 0 white;
}
.ai-page .ai-price-grid { gap: 20px; border: 0; }
.ai-page .ai-price-grid article {
  border: 1px solid #d3d5c4;
  border-radius: 12px;
  padding: 30px;
  background: linear-gradient(145deg, #fffef8, #f6f7ee);
  box-shadow: var(--ai-shadow);
  transition: transform .4s var(--ai-ease), border-color .4s, box-shadow .4s;
}
.ai-page .ai-price-grid article.is-featured {
  color: #30462f;
  border-color: #acb895;
  background: linear-gradient(135deg, #e9efdd, #e1e8d2);
  box-shadow: 0 18px 45px rgba(74,91,48,.1), inset 0 1px 0 rgba(255,255,255,.75);
}
.ai-page .ai-price-grid h3 { color: #334c38; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ai-page .ai-price-grid span, .ai-page .ai-price-grid article > b { color: #806337; }
.ai-page .ai-price-grid li { color: #5b6550; border-top-color: #d3d8c3; opacity: 1; }
.ai-page .ai-catalog { border-radius: 8px; border-color: #d2d5c3; background: #f8f9f0; }
.ai-page .ai-catalog summary, .ai-page .ai-deeper > details > summary { min-height: 48px; transition: color .25s, background .25s; }
.ai-page .ai-catalog-grid article { border-radius: 7px; }
.ai-page .ai-deeper > details > summary > span { transition: transform .3s var(--ai-ease); }
.ai-page .ai-deeper > details[open] > summary > span { transform: rotate(45deg); }
.ai-page .ai-reel { border-radius: 12px; border-color: #c5c6b1; box-shadow: 0 20px 55px rgba(53,66,40,.1); }
.ai-page .ai-reel-controls { background: #2c3e32; }
.ai-page .ai-reel-controls > button { min-height: 44px; border-radius: 5px; }
.ai-page .ai-reel-controls > div { gap: 4px; }
.ai-page .ai-reel-controls > div button { position: relative; min-width: 44px; height: 44px; background: transparent; }
.ai-page .ai-reel-controls > div button::before { position: absolute; top: 50%; left: 50%; width: 24px; height: 3px; content: ""; background: #828b77; transform: translate(-50%, -50%); transition: width .3s, background .3s; }
.ai-page .ai-reel-controls > div button.is-active { background: transparent; }
.ai-page .ai-reel-controls > div button.is-active::before { width: 36px; background: #dac18d; }
.ai-page .ai-reel-controls small { color: #c2c7b8; }
.ai-page .ai-cta { border-top: 1px solid #d5dac8; background: radial-gradient(ellipse at 10% 20%, #f7f8ee, transparent 70%), #e8eedd; }
.ai-page .ai-phone strong { color: #48603d; }
.ai-page .ai-phone { transition: border-color .3s, background .3s; }
.ai-page .site-footer { background: #eeeee4; border-top-color: #d2d5c4; }
.ai-page :focus-visible { outline: 3px solid #365a42; outline-offset: 5px; }
.ai-page .ai-plan-picker button:focus-visible, .ai-page .ai-module-list button:focus-visible { z-index: 2; }
.ai-page .reveal { transition-timing-function: var(--ai-ease); }
.ai-page .ai-entrance {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .65s var(--ai-ease), translate .65s var(--ai-ease), transform .4s var(--ai-ease), border-color .4s, box-shadow .4s;
}
.ai-page .ai-entrance.is-revealed { opacity: 1; translate: 0 0; }

@media (hover: hover) and (pointer: fine) {
  .ai-page .button:hover, .ai-page .button:focus-visible {
    transform: translateY(-4px);
    border-color: #c2a66a;
    box-shadow: 0 12px 28px rgba(64,88,49,.22), 0 0 28px rgba(195,170,102,.28), inset 0 1px 0 rgba(255,255,255,.24);
  }
  .ai-page .button-gold:hover { color: #fffdf3; background: linear-gradient(135deg, #557449, #35533e); }
  .ai-page .button-outline:hover { color: #375339; border-color: #aa955d; background: #fffdf1; }
  .ai-page .button:hover::after { opacity: 1; transform: translateX(45%); }
  .ai-page .ai-text-link:hover { color: #826331; border-color: #b08b4d; text-shadow: 0 0 20px rgba(184,155,90,.25); }
  .ai-page .ai-hero-manifest:hover { border-color: #baab7e; box-shadow: 0 35px 80px rgba(54,75,44,.17), 0 0 35px rgba(196,176,120,.12); }
  .ai-page .ai-hero-manifest:hover::after { opacity: 1; }
  .ai-page .ai-hero-manifest:hover .ai-product-art { filter: saturate(.98) contrast(1.01); }
  .ai-page .ai-story:hover, .ai-page .ai-price-grid article:hover {
    transform: translateY(-7px);
    border-color: #b7a773;
    box-shadow: 0 25px 50px rgba(61,80,45,.13), 0 0 25px rgba(193,172,106,.12);
  }
  .ai-page .ai-story:hover .ai-story-art img { transform: scale(1.055); filter: saturate(.96) contrast(1.01); }
  .ai-page .ai-plan-picker button:hover, .ai-page .ai-module-list button:hover {
    z-index: 1;
    transform: translateY(-3px);
    border-color: #b4a475;
    background: #f2f5e7;
    box-shadow: 0 10px 23px rgba(66,92,46,.12), 0 0 18px rgba(181,161,91,.13);
  }
  .ai-page .ai-plan-picker button.is-active:hover, .ai-page .ai-module-list button.is-active:hover { background: #e2ebd2; box-shadow: inset 3px 0 #7c9165, 0 10px 24px rgba(66,92,46,.15), 0 0 18px rgba(181,161,91,.13); }
  .ai-page .ai-catalog summary:hover, .ai-page .ai-deeper > details > summary:hover { color: #806234; }
  .ai-page .ai-phone:hover { border-color: #a1ad8b; background: rgba(255,255,245,.4); }
}

@media (max-width: 1100px) {
  .ai-page { --header: 68px; }
  .ai-page .header-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .ai-page .header-cta { display: none; }
  .ai-page .menu-toggle { display: block; justify-self: end; width: 44px; height: 44px; color: #193d34; }
  .ai-page .nav { position: fixed; inset: var(--header) 0 auto; display: none; padding: 20px 24px; flex-direction: column; align-items: stretch; background: #fafaf2; border-bottom: 1px solid #193d3426; max-height: calc(100dvh - var(--header)); overflow: auto; }
  .ai-page .nav.open { display: flex; }
  .ai-page .nav a, .ai-page .nav a:nth-child(4) { display: block; padding: 14px 0; font-size: 11px; border-bottom: 1px solid #193d341a; }
  .ai-page .ai-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .ai-page .ai-hero-manifest { width: 100%; max-width: 660px; }
  .ai-page .ai-product-art { height: 270px; }
  .ai-page .ai-price-grid article { padding: 24px; }
  .ai-page .ai-price-grid h3 { font-size: clamp(26px, 3.3vw, 36px); }
}
@media (max-width: 800px) {
  .ai-page { --header: 68px; }
  .ai-page .shell { width: calc(100% - 40px); }
  .ai-page .site-header .header-inner { height: 100%; }
  .ai-page .nav { background: #fafaf2; }
  .ai-page .ai-hero { padding-top: calc(var(--header) + 44px); }
  .ai-page .ai-hero-grid { gap: 32px; }
  .ai-page .ai-hero-manifest { transform: none; }
  .ai-page .ai-product-art { height: 240px; }
  .ai-page .ai-story-art { height: 210px; }
  .ai-page .ai-price-grid h3 { font-size: 36px; }
  .ai-page .ai-reel-controls { gap: 10px; padding: 10px 12px; flex-wrap: wrap; }
  .ai-page .ai-reel-controls small { flex-basis: 100%; margin-left: 0; }
  .ai-page .ai-reel-controls > div button { min-width: 44px; }
}
@media (max-width: 520px) {
  .ai-page .shell { width: calc(100% - 32px); }
  .ai-page .ai-product-art { height: 220px; }
  .ai-page .ai-demo-top { flex-wrap: wrap; gap: 7px; }
  .ai-page .ai-demo-top small { margin-left: 0; }
  .ai-page .ai-story-art { height: 200px; }
  .ai-page .ai-price-grid { gap: 16px; }
  .ai-page .ai-reel-controls > button { min-width: 86px; letter-spacing: .03em; }
  .ai-page .ai-reel-controls > div { gap: 0; }
  .ai-page .ai-reel-controls > div button.is-active { width: 44px; }
  .ai-page .ai-phone { flex-wrap: wrap; gap: 10px; }
}
@media (hover: none), (pointer: coarse) {
  .ai-page .button:hover { transform: none; }
  .ai-page .ai-hero-manifest { transform: none; }
  .ai-page .ai-hero-manifest::after { display: none; }
  .ai-page .button:active, .ai-page .ai-plan-picker button:active, .ai-page .ai-module-list button:active { box-shadow: inset 0 2px 6px rgba(38,57,31,.16); }
  .ai-page .ai-text-link { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page *, .ai-page *::before, .ai-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ai-page .reveal, .ai-page .ai-entrance { opacity: 1; translate: none; transform: none; }
  .ai-page .ai-hero-manifest, .ai-page .button:hover, .ai-page .button:focus-visible, .ai-page .ai-story:hover, .ai-page .ai-price-grid article:hover, .ai-page .ai-plan-picker button:hover, .ai-page .ai-module-list button:hover, .ai-page .ai-story:hover .ai-story-art img { transform: none; }
}
