/* ==========================================================================
   Taryon — design tokens (ported from the Taryon Design System, dark/ink
   variant; see project/_ds/taryon-design-system-…/tokens/ in the handoff
   bundle for the source of truth).
   ========================================================================== */

@font-face{font-family:"Golos Text";src:url("../assets/fonts/GolosText-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Golos Text";src:url("../assets/fonts/GolosText-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Golos Text";src:url("../assets/fonts/GolosText-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Golos Text";src:url("../assets/fonts/GolosText-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Golos Text";src:url("../assets/fonts/GolosText-ExtraBold.ttf") format("truetype");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Golos Text";src:url("../assets/fonts/GolosText-Black.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap}

:root{
  /* Brand blue — --blue-600 is read from the Taryon mark, never changes */
  --blue-950:#0A1330;--blue-900:#081F5C;--blue-800:#14357F;--blue-700:#23419A;--blue-600:#334EAC;--blue-500:#4A63BC;--blue-400:#7096D1;--blue-300:#A8C3E4;--blue-200:#BAD6EB;--blue-100:#D0E3FF;--blue-50:#F9FCFF;

  /* Ink — dark surfaces, the base of the interface */
  --ink-950:#08090B;--ink-900:#0C0E11;--ink-850:#101317;--ink-800:#15181D;--ink-750:#1A1E24;--ink-700:#232830;--ink-600:#2E343E;--ink-500:#3A424E;
  --light:#F9FCFF;--white:#FFFFFF;

  --green-300:#5BC49B;--amber-300:#E3B168;--red-300:#F08C84;

  /* Semantic aliases */
  --text-heading:var(--light);--text-body:rgba(249,252,255,.74);--text-muted:rgba(249,252,255,.56);--text-faint:rgba(249,252,255,.38);
  --text-on-accent:var(--light);--text-on-light:var(--ink-900);
  --text-link:var(--blue-400);--text-link-hover:var(--blue-200);

  --surface-page:var(--ink-950);--surface-sunken:var(--ink-900);--surface-card:var(--ink-850);--surface-raised:var(--ink-800);--surface-inset:var(--ink-750);
  --surface-hover:rgba(249,252,255,.06);--surface-active:rgba(249,252,255,.10);
  --surface-selected:rgba(51,78,172,.24);--text-selected:var(--blue-200);
  --surface-accent:var(--blue-600);--surface-accent-hover:var(--blue-500);--surface-accent-active:var(--blue-700);--surface-accent-quiet:rgba(51,78,172,.16);
  --surface-light:var(--light);--surface-scrim:rgba(4,5,7,.72);

  --border-subtle:rgba(249,252,255,.09);--border-default:rgba(249,252,255,.16);--border-strong:rgba(249,252,255,.28);--border-accent:var(--blue-500);
  --hairline-top:inset 0 1px 0 rgba(249,252,255,.06);
  --focus-ring:0 0 0 3px rgba(112,150,209,.34);

  --status-success-fg:var(--green-300);--status-success-bg:rgba(91,196,155,.14);--status-success-border:rgba(91,196,155,.30);
  --status-warning-fg:var(--amber-300);--status-warning-bg:rgba(227,177,104,.14);--status-warning-border:rgba(227,177,104,.30);
  --status-danger-fg:var(--red-300);--status-danger-bg:rgba(240,140,132,.14);--status-danger-border:rgba(240,140,132,.30);
  --status-info-fg:var(--blue-400);--status-info-bg:rgba(112,150,209,.14);--status-info-border:rgba(112,150,209,.30);
  --status-neutral-fg:rgba(249,252,255,.62);--status-neutral-bg:rgba(249,252,255,.05);--status-neutral-border:rgba(249,252,255,.14);

  /* Typography — Golos Text is the only typeface on the site (no engineering-
     blueprint / monospace metaphor; see project/CLAUDE.md) */
  --font-sans:"Golos Text","Helvetica Neue",Arial,sans-serif;
  --fw-regular:400;--fw-medium:500;--fw-semibold:600;--fw-bold:700;

  /* Spacing / layout */
  --control-h-sm:30px;--control-h-md:38px;--control-h-lg:48px;
  --container-max:1240px;

  /* Radius — controls & chips are pill-shaped, fields & cards use large radii */
  --radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-xl:20px;--radius-2xl:28px;--radius-pill:999px;
  --radius-button:var(--radius-md);--radius-control:var(--radius-pill);--radius-field:12px;--radius-card:20px;--radius-panel:28px;

  /* Elevation — on dark surfaces depth reads as a hairline + a dense shadow */
  --shadow-xs:0 1px 2px rgba(0,0,0,.4);
  --shadow-sm:0 2px 8px -2px rgba(0,0,0,.5);
  --shadow-md:0 10px 28px -10px rgba(0,0,0,.66);
  --shadow-lg:0 24px 56px -20px rgba(0,0,0,.72);
  --shadow-xl:0 40px 96px -32px rgba(0,0,0,.8);
  --glow-accent:0 0 0 1px rgba(112,150,209,.4),0 8px 32px -12px rgba(51,78,172,.65);

  /* Motion */
  --dur-fast:160ms;--dur-base:240ms;--dur-slow:340ms;
  --ease-standard:cubic-bezier(.2,.6,.2,1);--ease-out:cubic-bezier(.16,.84,.44,1);
  --transition-control:background-color var(--dur-fast) var(--ease-standard),border-color var(--dur-fast) var(--ease-standard),color var(--dur-fast) var(--ease-standard),box-shadow var(--dur-fast) var(--ease-standard),transform var(--dur-fast) var(--ease-standard);
  --transition-surface:background-color var(--dur-base) var(--ease-standard),border-color var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-out),transform var(--dur-base) var(--ease-out);
  --lift-sm:translateY(-1px);--lift-md:translateY(-3px);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;background:var(--surface-page);color:var(--text-body);font-family:var(--font-sans);font-size:16px;line-height:1.62;-webkit-font-smoothing:antialiased;text-wrap:pretty;overflow-x:hidden}
h1,h2,h3,h4{margin:0;color:var(--text-heading);font-weight:var(--fw-semibold);letter-spacing:-.02em;text-wrap:balance}
p{margin:0}
a{color:var(--text-link);text-decoration:none;transition:color var(--dur-fast) var(--ease-standard)}
a:hover{color:var(--text-link-hover)}
img{max-width:100%}
::selection{background:var(--surface-selected);color:var(--light)}
:focus-visible{outline:none;box-shadow:var(--focus-ring)}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(249,252,255,.14);border-radius:var(--radius-pill);border:2px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:rgba(249,252,255,.24);background-clip:content-box}

.container{max-width:var(--container-max);margin:0 auto;padding:0 clamp(20px,4vw,32px)}
.t-overline{font-size:14px;font-weight:var(--fw-medium);color:var(--text-muted);margin-bottom:16px}
.t-mono{font-variant-numeric:tabular-nums}
.section{padding-top:clamp(72px,10vw,128px)}
.section-tight{padding-top:clamp(56px,8vw,80px)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ==========================================================================
   Icon — lucide glyphs painted with currentColor via CSS mask
   ========================================================================== */

.icon{display:inline-block;flex:0 0 auto;background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}
.icon-12{width:12px;height:12px}
.icon-14{width:14px;height:14px}
.icon-16{width:16px;height:16px}
.icon-18{width:18px;height:18px}
.icon-19{width:19px;height:19px}
.icon-20{width:20px;height:20px}
.icon-22{width:22px;height:22px}

.icon-arrow-right{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/arrow-right.svg")}
.icon-arrow-left{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/arrow-left.svg")}
.icon-shield-check{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/shield-check.svg")}
.icon-database{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/database.svg")}
.icon-boxes{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/boxes.svg")}
.icon-stamp{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/stamp.svg")}
.icon-workflow{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/workflow.svg")}
.icon-lock{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/lock.svg")}
.icon-check{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/check.svg")}
.icon-history{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/history.svg")}
.icon-info{--icon-url:url("https://cdn.jsdelivr.net/npm/lucide-static@0.544.0/icons/info.svg")}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-sans);font-weight:var(--fw-medium);line-height:1;letter-spacing:-.005em;text-decoration:none;border-radius:var(--radius-button);cursor:pointer;white-space:nowrap;border:1px solid transparent;transition:var(--transition-control)}
.btn:hover{color:var(--text-on-accent)}
.btn .icon{transition:transform var(--dur-base) var(--ease-out)}
.btn:hover .icon-after{transform:translateX(2px)}

.btn-sm{height:var(--control-h-sm);padding:0 12px;font-size:13px}
.btn-md{height:var(--control-h-md);padding:0 18px;font-size:14.5px}
.btn-lg{height:var(--control-h-lg);padding:0 26px;font-size:16px}
.btn-sm .icon,.btn-md .icon{width:16px;height:16px}
.btn-lg .icon{width:19px;height:19px}

.btn-primary{background:var(--surface-accent);color:var(--text-on-accent);border-color:transparent}
.btn-primary:hover{background:var(--surface-accent-hover);box-shadow:var(--glow-accent)}
.btn-primary:active{background:var(--surface-accent-active);transform:scale(.985)}

.btn-secondary{background:rgba(249,252,255,.04);color:var(--text-heading);border-color:var(--border-default)}
.btn-secondary:hover{background:var(--surface-hover);border-color:var(--border-strong);color:var(--text-heading)}
.btn-secondary:active{background:var(--surface-active);transform:scale(.985)}

.btn[disabled]{cursor:not-allowed;background:rgba(249,252,255,.05);color:var(--text-faint);border-color:var(--border-subtle);box-shadow:none}

.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;border-radius:var(--radius-control);background:rgba(249,252,255,.04);border:1px solid var(--border-default);color:var(--text-heading);transition:var(--transition-control)}
.icon-button:hover{background:var(--surface-hover);border-color:var(--border-strong)}
.icon-button:active{background:var(--surface-active);transform:scale(.985)}

/* ==========================================================================
   Cards
   ========================================================================== */

.card{display:flex;flex-direction:column;border-radius:var(--radius-card);overflow:hidden;box-shadow:var(--hairline-top);transition:var(--transition-surface);text-decoration:none;background:var(--surface-card);border:1px solid var(--border-subtle)}
a.card:hover,.card.is-interactive:hover{transform:var(--lift-md);/*border-color:var(--border-default)*/;box-shadow:var(--shadow-lg)}
.card-body{padding:24px;flex:1;min-height:0}
.card-body-lg{padding:32px}
.card-body-none{padding:0}
.card-body--flex{display:flex;flex-direction:column}
.card-header{padding:15px 20px;border-bottom:1px solid var(--border-subtle);font-size:14.5px;font-weight:var(--fw-medium);color:var(--text-heading)}

.card-raised{background:var(--surface-raised);box-shadow:var(--shadow-md)}
.card-quiet{background:rgba(249,252,255,.025)}
.card-accent{background:var(--surface-accent-quiet);border-color:rgba(112,150,209,.28)}

.card-product{display:flex;flex-direction:column;gap:14px}
.card-concept{display:flex;flex-direction:column;gap:12px}
.card-eyebrow{color:var(--text-muted);display:inline-flex}
.card-accent .card-eyebrow{color:var(--blue-300)}
.card-title{font-size:21px;line-height:1.3;letter-spacing:-.008em;font-weight:600;color:var(--text-heading)}
.card-kicker{font-size:13px;color:var(--text-faint);margin-top:5px}
.card-accent .card-kicker{color:var(--blue-200)}
.card-text{margin:0;font-size:14.5px;line-height:1.62;color:var(--text-muted)}
.card-accent .card-text{color:var(--text-body)}
.card-cta{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:var(--text-link);margin-top:auto;padding-top:10px}
.card-accent .card-cta{color:var(--blue-200)}

.principle-title{font-size:16px;font-weight:var(--fw-medium);color:var(--text-heading)}
.principle-text{margin:8px 0 0;font-size:14.5px;line-height:1.6;color:var(--text-muted)}

.concept-code{font-size:13px;color:var(--text-faint)}

/* ==========================================================================
   Navigation — floating pill capsule + mobile off-canvas drawer
   ========================================================================== */

.nav-wrap{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;justify-content:center;padding:40px 20px 0;pointer-events:none}
.pill-nav{display:flex;align-items:center;gap:6px;padding:0 9px 0 10px;width:100%;max-width:900px;height:70px;background:rgba(5,5,5,.38);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);border:1px solid var(--border-subtle);border-radius:20px;pointer-events:auto;box-shadow:var(--shadow-lg),var(--hairline-top)}
.pill-nav__logo{display:inline-flex;align-items:center;max-width:250px;padding:0 18px 0 12px}
.pill-nav__logo img{height:32px;display:block}
.pill-nav__links{display:inline-flex;align-items:center;gap:6px;margin-left:auto}
.pill-nav__link{display:inline-flex;align-items:center;gap:7px;height:50px;padding:0 10px;text-decoration:none;border-radius:10px;font-size:13.5px;font-weight:var(--fw-medium);color:var(--text-muted);transition:var(--transition-control)}
.pill-nav__link:hover{background:var(--surface-hover);color:var(--text-heading)}
.pill-nav__link.is-active{background:var(--surface-inset);color:var(--text-heading)}
.pill-nav__action{margin-left:14px;display:flex}
/* Language switch: shows the language you can switch to (EN on Russian pages, RU on English pages) */
.pill-nav__lang{position:relative;display:inline-flex;align-items:center;justify-content:center;height:50px;min-width:44px;padding:0 10px;margin-left:12px;border-radius:10px;font-size:13px;font-weight:var(--fw-semibold);letter-spacing:.06em;color:var(--text-faint);text-decoration:none;transition:var(--transition-control)}
.pill-nav__lang::before{content:"";position:absolute;left:-7px;top:50%;width:1px;height:20px;transform:translateY(-50%);background:var(--border-default)}
.pill-nav__lang:hover{background:var(--surface-hover);color:var(--text-heading)}
.pill-nav__action .btn{height:50px;padding:0 10px}

.burger{display:none;position:relative;width:40px;height:40px;margin-left:auto;cursor:pointer;background:transparent;border:0;padding:0;z-index:1100}
.burger span{position:absolute;left:11px;width:18px;height:1.5px;border-radius:2px;background:var(--text-heading);transition:transform .24s var(--ease-out),opacity .16s linear}
.burger span:nth-child(1){top:13px}
.burger span:nth-child(2){top:19px}
.burger span:nth-child(3){top:25px}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.nav-scrim{position:fixed;inset:0;z-index:998;background:rgba(5,5,5,.5);opacity:0;pointer-events:none;transition:opacity .34s ease-in-out}
.nav-scrim.is-open{opacity:1;pointer-events:auto}

.nav-drawer{position:fixed;top:115px;right:max(20px,calc((100vw - 900px) / 2));z-index:999;width:250px;max-width:80%;height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:25px;padding:30px;background:rgba(5,5,5,.38);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);border:1px solid var(--border-subtle);border-radius:20px;pointer-events:none;transform:translateX(calc(110% + max(20px,calc((100vw - 900px) / 2))));transition:transform .4s ease-in-out}
.nav-drawer.is-open{pointer-events:auto;transform:translateX(0)}
.nav-drawer__link{display:flex;align-items:center;text-decoration:none;font-size:13.5px;font-weight:var(--fw-medium);color:var(--text-muted);transition:var(--transition-control)}
.nav-drawer__link:hover,.nav-drawer__link.is-active{color:var(--text-heading)}
.nav-drawer .btn{height:50px;padding:0 10px}

@media (max-width:768px){
  .pill-nav__links,.pill-nav__action{display:none}
  .burger{display:block;margin-left:4px}
  .pill-nav__lang{margin-left:auto}
  .pill-nav__lang::before{display:none}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{position:relative;overflow:hidden;padding-top:70px}
.hero__glow{position:absolute;top:-300px;left:50%;transform:translateX(-50%);width:1100px;height:640px;background:radial-gradient(ellipse at center,rgba(51,78,172,.22),transparent 68%);pointer-events:none}
.hero__inner{position:relative;max-width:980px;margin:0 auto;padding:clamp(72px,10vw,132px) clamp(20px,4vw,32px) 0;text-align:center}
.hero__eyebrow{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:8px 20px;margin-bottom:32px;border-radius:10px;border:1px solid var(--border-subtle);background:rgba(249,252,255,.04);font-size:12.5px;line-height:1.4;color:var(--text-muted);text-align:left}
.hero__eyebrow-dot{width:6px;height:6px;border-radius:50%;background:var(--status-success-fg)}
.hero__title{font-size:clamp(38px,7vw,76px);line-height:1.02;letter-spacing:-.034em;font-weight:600;color:var(--text-heading)}
.hero__lead{margin:26px auto 0;max-width:60ch;font-size:clamp(16px,1.7vw,19px);line-height:1.58;color:var(--text-muted)}
.hero__actions{display:flex;gap:12px;justify-content:center;margin-top:38px;flex-wrap:wrap}
.hero__demo{max-width:1080px;margin:clamp(48px,7vw,80px) auto 0;padding:0 clamp(20px,4vw,32px);will-change:transform,opacity}
.hero__demo img{display:block;width:100%;max-width:940px;height:auto;margin:0 auto}
.hero__demo-caption{margin:14px 0 0;font-size:13px;color:var(--text-faint);text-align:center}

/* Product-page hero */
.page-hero{position:relative;overflow:hidden}
.page-hero__glow{position:absolute;top:-320px;left:50%;transform:translateX(-50%);width:1100px;height:640px;background:radial-gradient(ellipse at center,rgba(51,78,172,.18),transparent 68%);pointer-events:none}
.page-hero__inner{position:relative;max-width:1240px;margin:0 auto;padding:clamp(130px,14vw,160px) clamp(20px,4vw,32px) 0}
.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--text-faint);margin-bottom:32px;flex-wrap:wrap}
.page-hero__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:clamp(32px,5vw,56px);align-items:start}
.page-hero__title{font-size:clamp(32px,5vw,54px);line-height:1.06;letter-spacing:-.028em;max-width:24ch}
.page-hero__lead{margin:24px 0 0;font-size:clamp(16px,1.6vw,19px);line-height:1.58;color:var(--text-muted);max-width:58ch}
.page-hero__actions{display:flex;gap:12px;margin-top:36px;flex-wrap:wrap}
.page-hero__card{align-self:start;width:100%}

/* ==========================================================================
   About / expertise
   ========================================================================== */

.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:clamp(32px,5vw,56px);align-items:start}
.section-heading{font-size:clamp(26px,3.6vw,38px);line-height:1.12;letter-spacing:-.022em;max-width:24ch}
.about-copy p{margin:18px 0 0;font-size:16px;line-height:1.62;color:var(--text-muted);max-width:60ch}
.about-copy p:first-of-type{margin-top:18px}

.expertise-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:0;will-change:transform}
.expertise-list li{display:flex;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--border-subtle);font-size:15px;line-height:1.55;color:var(--text-body)}
.expertise-list .icon{color:var(--text-faint)}

/* ==========================================================================
   Products grid
   ========================================================================== */

.section-lede{max-width:46ch}
.section-lede p{margin:16px 0 0;font-size:16px;line-height:1.62;color:var(--text-muted)}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px;margin-top:44px}
@media (min-width:761px){.card-grid--2x2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.card-grid-narrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:44px}

/* ==========================================================================
   Constructum — principles stack + carousel
   ========================================================================== */

.principles-stack{display:flex;flex-direction:column;gap:12px}

.carousel-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.carousel-head__text{flex:1 1 auto;min-width:0}
.carousel-head h3{font-size:clamp(21px,2.4vw,27px);line-height:1.22;letter-spacing:-.016em}
.carousel-head p{margin:8px 0 0;font-size:14.5px;color:var(--text-muted)}
.carousel-head__actions{display:flex;gap:8px}

.carousel-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-top:4px;padding-bottom:0;padding-right:clamp(20px,4vw,32px);padding-left:calc(clamp(20px,4vw,32px) + max(0px,(100vw - 1240px) / 2));scroll-padding-left:calc(clamp(20px,4vw,32px) + max(0px,(100vw - 1240px) / 2))}
.carousel-track::-webkit-scrollbar{height:0}
.carousel-track{scrollbar-width:none}
.carousel-slide{flex:0 0 min(780px,86vw);margin:0;scroll-snap-align:start}
.carousel-slide__frame{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:var(--radius-panel);border:1px solid var(--border-subtle);background:var(--surface-inset);box-shadow:var(--hairline-top);display:flex;align-items:flex-end;padding:26px}
.carousel-slide__frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.carousel-slide__n{position:relative;font-size:14px;color:var(--text-faint)}
.carousel-slide figcaption{margin-top:18px;max-width:58ch}
.carousel-slide__title{font-size:17px;font-weight:var(--fw-medium);color:var(--text-heading)}
.carousel-slide__note{margin:7px 0 0;font-size:14.5px;line-height:1.6;color:var(--text-muted)}

/* ==========================================================================
   Product-detail attribute card / SQL panel / effects & limits lists
   ========================================================================== */

.attrs-list{padding:6px 0;height:100%;display:flex;flex-direction:column;justify-content:space-between}
.attrs-row{display:flex;gap:16px;margin:0 8px;padding:11px 12px;border-bottom:1px solid var(--border-subtle);flex-wrap:wrap}
.attrs-row:last-child{border-bottom:none}
.attrs-row__k{font-size:13.5px;color:var(--text-muted);flex:0 0 42%;min-width:120px}
.attrs-row__v{font-size:13.5px;color:var(--text-heading)}

.code-panel{margin-top:auto;font-size:13.5px;line-height:1.85;color:var(--blue-200);background:rgba(8,9,11,.5);border:1px solid var(--border-subtle);border-radius:var(--radius-field);padding:14px 16px;overflow-x:auto}
.code-panel--roomy{padding:16px 18px;line-height:1.95}
.code-panel .faint{color:var(--text-faint)}

.effects-list,.limits-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:0;max-width:56ch}
.effects-list li,.limits-list li{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border-subtle);font-size:14.5px;line-height:1.55;color:var(--text-body)}
.effects-list .icon{color:var(--status-success-fg)}
.limits-list .icon{color:var(--status-warning-fg)}

/* ==========================================================================
   Contacts / CTA panel
   ========================================================================== */

.cta-panel{position:relative;overflow:hidden;border-radius:var(--radius-panel);border:1px solid var(--border-subtle);background:var(--surface-card);box-shadow:var(--hairline-top);padding:clamp(40px,6vw,72px) clamp(24px,4vw,56px);text-align:center}
.cta-panel__glow{position:absolute;bottom:-220px;left:50%;transform:translateX(-50%);width:760px;height:420px;background:radial-gradient(ellipse at center,rgba(51,78,172,.2),transparent 70%);pointer-events:none}
.cta-panel__body{position:relative}
.cta-panel h2{font-size:clamp(26px,3.6vw,38px);line-height:1.12;letter-spacing:-.022em}
.cta-panel p{margin:16px auto 32px;max-width:52ch;font-size:16px;line-height:1.62;color:var(--text-muted)}
.cta-panel__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ==========================================================================
   Feedback form
   ========================================================================== */

.feedback-panel{border-radius:var(--radius-panel);border:1px solid var(--border-subtle);background:var(--surface-inset);box-shadow:var(--hairline-top);padding:clamp(36px,5vw,64px) clamp(24px,4vw,56px)}
.feedback-panel__head{max-width:60ch;margin:0 auto;text-align:center}
.feedback-panel__head h2{font-size:clamp(24px,3.2vw,34px);line-height:1.14;letter-spacing:-.022em}
.feedback-panel__head p{margin:14px 0 0;font-size:16px;line-height:1.62;color:var(--text-muted)}

.field-grid{max-width:900px;margin:36px auto 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.field{display:flex;flex-direction:column;gap:8px}
.field-full{grid-column:1 / -1}
.field input[type="text"],.field input[type="email"],.field textarea{height:48px;padding:0 16px;box-sizing:border-box;width:100%;font-family:var(--font-sans);font-size:15px;color:var(--text-heading);background:var(--surface-card);border:1px solid var(--border-default);border-radius:var(--radius-field);outline:none;transition:border-color 160ms cubic-bezier(.2,.6,.2,1),box-shadow 160ms cubic-bezier(.2,.6,.2,1)}
.field textarea{height:auto;min-height:150px;padding:14px 16px;line-height:1.6;resize:vertical}
.field input:focus,.field textarea:focus{border-color:var(--blue-400);box-shadow:0 0 0 3px rgba(112,150,209,.34)}
.field__label{font-size:13.5px;color:var(--text-faint)}

.consent-row{grid-column:1 / -1;display:flex;align-items:flex-start;gap:12px;cursor:pointer;font-size:14px;line-height:1.55;color:var(--text-muted)}
.consent-row input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--blue-600);cursor:pointer}

.form-submit-row{grid-column:1 / -1;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.form-submit-row .hint{font-size:13.5px;color:var(--text-faint)}
.form-status{flex-basis:100%;font-size:13.5px;line-height:1.5}
.form-status.is-success{color:var(--status-success-fg)}
.form-status.is-error{color:var(--status-danger-fg)}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{border-top:1px solid var(--border-subtle)}
.site-footer__inner{max-width:var(--container-max);margin:0 auto;padding:36px clamp(20px,4vw,32px);display:flex;gap:20px;flex-wrap:wrap;align-items:center}
.site-footer__logo{height:22px;display:block}
.site-footer__copyright{font-size:13.5px;color:var(--text-faint)}
.site-footer__legal{display:flex;gap:20px;margin:0 auto;flex-wrap:wrap}
.site-footer__legal a{font-size:13.5px;color:var(--text-faint);text-decoration:none;transition:var(--transition-control)}
.site-footer__legal a:hover{color:var(--text-heading)}
.site-footer__social{display:flex;gap:10px;margin-left:auto;flex-wrap:wrap}
.social-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius-field);border:1px solid var(--border-subtle);background:var(--surface-card);transition:var(--transition-control)}
.social-icon:hover{transform:var(--lift-md);border-color:var(--border-default);box-shadow:var(--shadow-md)}
.social-icon:active{transform:var(--lift-sm)}
.social-icon img{width:18px;height:18px;display:block}
/* ==========================================================================
   Mobile refinements
   ========================================================================== */

@media (max-width:600px){

  /* 1. Пилюля "Инженерное ПО для промышленных предприятий" —
     сама пилюля по размеру текста, текст в 2 строки по центру,
     пилюля центрирована на экране */
.hero__eyebrow{
  max-width:270px;
  justify-content:center;
  gap:4px;
  text-align:center;
  padding:10px 18px;
}
.hero__eyebrow-dot{
  flex-shrink:0;
  margin-top:0;
}

  /* 2. Поля формы обратной связи — всегда в один столбец,
     центрированы вместе со всей панелью */
  .field-grid{
    grid-template-columns:1fr;
  }

  /* 3. Футер — лого, копирайт, ссылки на оферту/политику и соцсети
     идут друг под другом по центру, а не в ряд */
  .site-footer__inner{
    flex-direction:column;
    text-align:center;
  }
  .site-footer__legal,
  .site-footer__social{
    margin:0;
  }

    /* 4. Карусель «Платформа в разрезах» — стрелки всегда под заголовком */
  .carousel-head__text{
    flex-basis:100%;
  }
}
