:root {
  --blue: #1a68df;
  --blue-dark: #0d53bd;
  --blue-soft: #eaf2ff;
  --ink: #33383f;
  --muted: #68717d;
  --line: #e3e8ef;
  --surface: #f7f9fc;
  --white: #ffffff;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 22px 70px rgba(20, 54, 98, .10);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}
.section { padding: 58px 0; }
.section--compact { padding: 22px 0 38px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 14px 0 0;
  pointer-events: none;
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 12px 10px 24px;
  border: 1px solid rgba(224, 229, 237, .95);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 40px rgba(20, 44, 77, .08);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand__brain { margin-right: .24em; color: #2B6CF5; }
.brand__bloom { color: #15233B; }
.brand__ai { color: #2B6CF5; }
.desktop-nav { display: flex; align-items: center; gap: 42px; }
.desktop-nav a {
  position: relative;
  color: #4e5660;
  font-size: 14px;
  font-weight: 600;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: right .25s ease;
}
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #eff4fb;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 0 19px; border-radius: 12px; }
.button--large { min-height: 60px; padding: 0 34px; border-radius: 17px; }
.button--wide { width: 100%; }
.button--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px rgba(26, 104, 223, .20); }
.button--primary:hover { background: var(--blue-dark); box-shadow: 0 15px 30px rgba(26, 104, 223, .28); }
.button--dark { background: var(--ink); color: #fff; }
.button--dark:hover { background: #1e2227; }
.button--light { background: #fff; color: var(--ink); }
.button--light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .16); }
.button--outline { border-color: #b9c3cf; background: transparent; color: var(--ink); }
.button--outline:hover { border-color: var(--ink); }
.button--ghost-light { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.button--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 750;
}

.hero { padding-top: 20px; }
.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fefefe;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 86px 30px 78px 70px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35c76f;
  box-shadow: 0 0 0 5px rgba(53, 199, 111, .13);
}
.hero h1 {
  max-width: 680px;
  margin: 24px 0 24px;
  font-size: clamp(42px, 4.55vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy > p {
  max-width: 590px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #edf5ff 0%, #f9fbff 50%, #e5f0ff 100%);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, rgba(26,104,223,.18), transparent 36%), radial-gradient(circle at 16% 85%, rgba(123,178,255,.27), transparent 42%);
}
.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: linear-gradient(rgba(26,104,223,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(26,104,223,.09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, transparent, #000 20%, #000);
}
.hero-visual svg { position: absolute; width: 113%; max-width: none; left: -8%; top: 9%; }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.metrics-row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 102px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.metrics-row > div:last-child { border-right: 0; }
.metrics-row strong { color: var(--blue); font-size: 25px; letter-spacing: -.04em; }
.metrics-row span { color: var(--muted); font-size: 13px; }

.section-heading { max-width: 740px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 {
  margin: 10px 0 13px;
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.section-heading--split {
  display: flex;
  justify-content: space-between;
  max-width: none;
  text-align: left;
  flex-direction: column;
}
.section-heading--split p { max-width: 460px; padding-bottom: 8px; }

.products { background: linear-gradient(180deg, #fff 0%, #f8faff 100%); }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  padding: 40px;
  border-radius: 30px;
  isolation: isolate;
}
.product-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .12;
}
.product-card--blue { background: var(--blue); color: #fff; }
.product-card--dark { background: #30363d; color: #fff; }
.product-card--pale { border: 1px solid #dce5f1; background: #edf4ff; }
.product-card--image { color: #fff; background: #2d3948 var(--card-image) center / cover no-repeat; }
.product-card__overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(100deg, rgba(16,28,44,.92), rgba(16,28,44,.55)); }
.product-card__number {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 13px;
  font-weight: 800;
  opacity: .65;
}
.product-card__title { display: flex; align-items: flex-start; gap: 16px; max-width: 440px; }
.product-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 14px;
  font-size: 22px;
  opacity: .85;
}
.product-card h3 { margin: 4px 0 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.02; letter-spacing: -.04em; }
.product-card > p, .product-card__content > p { max-width: 520px; margin: 28px 0 34px; font-size: 16px; opacity: .88; }
.product-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.product-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 44px;
  min-height: 370px;
  padding: 28px;
}
.product-card__visual { overflow: hidden; border-radius: 23px; }
.product-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.product-card__content { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 24px 18px 0; }

.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid #dce7f8;
  border-radius: 29px;
  background: #eff5ff;
}
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26,104,223,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(26,104,223,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%);
  pointer-events: none;
}
.case-card--featured { background: var(--blue); color: #fff; }
.case-card--dark { background: #30363d; color: #fff; border-color: #30363d; }
.case-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; min-height: 300px; background: #e5efff; }
.case-card__tag {
  position: relative;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}
.case-card h3 { position: relative; max-width: 680px; margin: 24px 0 30px; font-size: clamp(25px, 3vw, 38px); line-height: 1.04; letter-spacing: -.045em; }
.case-card__result { position: relative; display: flex; align-items: baseline; gap: 12px; margin-top: auto; }
.case-card__result strong { color: var(--blue); font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.case-card--featured .case-card__result strong, .case-card--dark .case-card__result strong { color: #fff; }
.case-card__result span { max-width: 140px; font-size: 13px; opacity: .72; }
.case-card__link {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}
.case-card__link span { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.case-card__link:hover span { transform: rotate(45deg); transition: transform .2s ease; }
.case-card--wide .case-card__link { position: static; margin-top: 8px; }
.case-card--wide .case-card__result { justify-self: end; flex-direction: column; align-items: flex-end; text-align: right; }
.case-card--wide .case-card__result strong { font-size: clamp(54px, 8vw, 94px); }
.case-card--wide .case-card__result span { max-width: 220px; }

.cta-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  padding: 64px;
  border-radius: 34px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.cta-card::before, .cta-card::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}
.cta-card::before { left: -190px; top: -180px; }
.cta-card::after { right: -210px; bottom: -260px; }
.cta-card__mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cta-card h2 { position: relative; z-index: 1; max-width: 850px; margin: 28px auto 18px; font-size: clamp(40px, 5.5vw, 70px); line-height: .97; letter-spacing: -.055em; }
.cta-card p { position: relative; z-index: 1; margin: 0 0 32px; font-size: 18px; opacity: .85; }
.cta-card .button { position: relative; z-index: 1; }
.cta-orbit { position: absolute; left: 50%; top: 50%; width: 650px; height: 650px; border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; transform: translate(-50%,-50%); }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.faq-heading { position: sticky; top: 110px; margin: 0; text-align: left; }
.faq-heading .text-link { margin-top: 24px; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  width: 100%;
  min-height: 98px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}
.accordion-button i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #eef4fc; color: var(--blue); font-style: normal; font-size: 25px; transition: transform .25s ease, background .25s ease; }
.accordion-button[aria-expanded="true"] i { transform: rotate(45deg); background: var(--blue); color: #fff; }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion-panel > div { overflow: hidden; }
.accordion-button[aria-expanded="true"] + .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel p { margin: 0; padding: 0 64px 28px 0; color: var(--muted); font-size: 17px; }

.site-footer { padding: 58px 0 24px; }
.footer-card { overflow: hidden; padding: 24px 30px 30px; border: 1px solid var(--line); border-radius: 26px; background: #fefefe; }
.footer-wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: -4px 0 18px;
  font-size: clamp(58px, 10.4vw, 154px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.075em;
  white-space: nowrap;
}
.footer-wordmark__brain { margin-right: .20em; color: #2B6CF5; }
.footer-wordmark__bloom { color: #15233B; }
.footer-wordmark__ai { color: #2B6CF5; }
.footer-action { display: flex; justify-content: center; padding: 10px 0 38px; }
.footer-action button { display: inline-flex; align-items: center; gap: 38px; min-width: 230px; padding: 16px 20px; border: 0; border-radius: 16px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 700; }
.footer-action button span { margin-left: auto; }
.footer-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-meta p { margin: 0; }
.footer-meta > div { display: flex; gap: 24px; }
.footer-meta a:hover { color: var(--blue); }

.mobile-menu {
  position: fixed;
  z-index: 300;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(390px, 100%);
  padding: 18px 20px 24px;
  background: #fff;
  box-shadow: -30px 0 70px rgba(0,0,0,.16);
  transform: translateX(105%);
  transition: transform .3s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 62px; border-top: 1px solid var(--line); }
.mobile-menu nav a { display: flex; justify-content: space-between; padding: 23px 2px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 650; letter-spacing: -.025em; }
.mobile-menu__bottom { display: flex; flex-direction: column; gap: 20px; margin-top: auto; }
.menu-backdrop { position: fixed; z-index: 290; inset: 0; visibility: hidden; background: rgba(26,34,43,.32); opacity: 0; transition: opacity .3s ease, visibility .3s ease; }
.menu-backdrop.is-open { visibility: visible; opacity: 1; }

.cookie-banner {
  position: fixed;
  z-index: 250;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(calc(100% - 32px), 680px);
  padding: 14px 14px 14px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(44, 50, 57, .96);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  color: #fff;
  transform: translate(-50%, 150%);
  transition: transform .35s ease;
}
.cookie-banner.is-visible { transform: translate(-50%, 0); }
.cookie-banner p { margin: 0; font-size: 13px; }
.cookie-banner button { flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 11px; background: #fff; cursor: pointer; font-weight: 750; }

.modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: visibility .25s ease, opacity .25s ease;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,26,33,.54); backdrop-filter: blur(7px); }
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0,0,0,.28);
  transform: translateY(24px) scale(.98);
  transition: transform .25s ease;
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
  box-shadow: 0 7px 20px rgba(0,0,0,.08);
}
.modal__dialog--form { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; }
.lead-modal__visual { min-height: 620px; background: #eaf2ff; }
.lead-modal__visual img { width: 100%; height: 100%; object-fit: cover; }
.lead-modal__content { padding: 54px 50px 44px; }
.lead-modal__content h2 { margin: 12px 0 12px; font-size: 38px; line-height: 1.02; letter-spacing: -.045em; }
.lead-modal__content > p { margin: 0 0 28px; color: var(--muted); }
.lead-form { display: grid; gap: 15px; }
.lead-form label:not(.checkbox) { display: grid; gap: 7px; color: #58606b; font-size: 12px; font-weight: 750; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #d8dfe8;
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  transition: border .2s ease, box-shadow .2s ease;
}
.lead-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,104,223,.1); }
.checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.checkbox input { margin-top: 3px; accent-color: var(--blue); }
.checkbox a { text-decoration: underline; }
.form-status { min-height: 20px; margin: 0; color: #218c50; font-size: 13px; }
.modal__dialog--article { width: min(100%, 800px); padding: 34px 44px 44px; }
.article-cover { width: calc(100% + 88px); max-width: none; height: 300px; margin: -34px -44px 34px; object-fit: cover; }
.modal__dialog--article h2, .modal__dialog--case h2 { margin: 10px 0 20px; font-size: clamp(34px, 5vw, 56px); line-height: .98; letter-spacing: -.05em; }
.modal__dialog--article p { color: #59636f; font-size: 17px; }
.modal__dialog--article .button { margin-top: 18px; }
.modal__dialog--case { width: min(100%, 980px); padding: 54px; }
.case-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.case-detail-grid section { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fafbfd; }
.case-detail-grid h3 { margin: 0 0 10px; color: var(--blue); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.case-detail-grid p { margin: 0; color: var(--muted); }
.case-detail-result { grid-column: 1 / -1; background: var(--blue) !important; color: #fff; }
.case-detail-result h3 { color: #fff; }
.case-detail-result ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin: 0; padding-left: 20px; }

.policy-page { background: #f7f9fc; }
.inner-header { padding: 16px 0; }
.inner-header .header-shell { position: static; }
.policy-main { padding: 45px 0 80px; }
.policy-card { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 54px 60px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.policy-card h1 { margin: 0 0 18px; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -.055em; }
.policy-card h2 { margin: 42px 0 14px; font-size: 27px; letter-spacing: -.03em; }
.policy-card p, .policy-card li { color: #59636e; }
.policy-card li + li { margin-top: 8px; }
.policy-card a { color: var(--blue); text-decoration: underline; }
.error-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: #edf4ff; }
.error-card { width: min(100%, 860px); padding: 60px; border-radius: 34px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.error-code { color: var(--blue); font-size: clamp(100px, 22vw, 220px); font-weight: 750; line-height: .8; letter-spacing: -.08em; }
.error-card h1 { margin: 28px 0 12px; font-size: 40px; letter-spacing: -.04em; }
.error-card p { max-width: 520px; margin: 0 auto 30px; color: var(--muted); }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .header-actions .button { display: none; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 48px 35px; }
  .hero-visual { min-height: 430px; }
  .hero-visual svg { width: 90%; left: 5%; top: 0; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .metrics-row > div:nth-child(2) { border-right: 0; }
  .metrics-row > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .products-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: auto; grid-template-columns: 1fr; }
  .product-card__visual { height: 290px; }
  .product-card__content { padding: 8px 12px 14px; }
  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card--wide { grid-column: auto; grid-template-columns: 1fr; }
  .case-card--wide .case-card__result { justify-self: start; align-items: flex-start; margin-top: 40px; text-align: left; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-heading { position: static; }
  .modal__dialog--form { grid-template-columns: 1fr; }
  .lead-modal__visual { display: none; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .section--compact { padding: 12px 0 28px; }
  .site-header { padding-top: 8px; }
  .header-shell { min-height: 58px; padding: 7px 7px 7px 17px; border-radius: 17px; }
  .brand { font-size: 22px; }
  .hero { padding-top: 10px; }
  .hero-card { min-height: auto; border-radius: 24px; }
  .hero-copy { padding: 46px 24px 26px; }
  .hero h1 { margin: 20px 0; font-size: 42px; }
  .hero-copy > p { margin-bottom: 28px; font-size: 16px; }
  .hero-copy .button { width: 100%; }
  .hero-visual { min-height: 300px; }
  .hero-visual svg { width: 125%; left: -15%; top: -4%; }
  .metrics-row { border-radius: 18px; }
  .metrics-row > div { min-height: 93px; padding: 18px; }
  .metrics-row strong { font-size: 22px; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section-heading h2 { font-size: 38px; }
  .section-heading p { font-size: 16px; }
  .product-card { min-height: 390px; padding: 28px 24px; border-radius: 24px; }
  .product-card h3 { font-size: 30px; }
  .product-card__title { padding-right: 20px; }
  .product-card__actions { flex-direction: column; width: 100%; }
  .product-card__actions .button { width: 100%; }
  .product-card--wide { padding: 16px; gap: 20px; }
  .product-card__visual { height: 230px; }
  .case-card { min-height: 400px; padding: 28px 24px; border-radius: 24px; }
  .case-card h3 { font-size: 30px; }
  .case-card__link { left: 24px; right: auto; bottom: 24px; }
  .case-card__result { margin-top: auto; margin-bottom: 62px; }
  .case-card--wide .case-card__result { margin-bottom: 0; }
  .case-card--wide .case-card__link { position: static; }
  .cta-card { min-height: 470px; padding: 48px 22px; border-radius: 25px; }
  .cta-card h2 { font-size: 43px; }
  .cta-card .button { width: 100%; }
  .accordion-button { min-height: 88px; font-size: 17px; }
  .accordion-panel p { padding-right: 0; }
  .footer-card { padding: 18px 18px 24px; }
  .footer-wordmark { margin-top: 0; font-size: 13.7vw; }
  .footer-action button { width: 100%; }
  .footer-meta > div { flex-direction: column; gap: 8px; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 12px; }
  .cookie-banner button { width: 100%; }
  .modal { padding: 8px; }
  .modal__dialog { max-height: calc(100vh - 16px); border-radius: 23px; }
  .lead-modal__content { padding: 44px 24px 26px; }
  .lead-modal__content h2 { font-size: 34px; }
  .modal__dialog--article, .modal__dialog--case { padding: 42px 24px 28px; }
  .article-cover { width: calc(100% + 48px); height: 220px; margin: -42px -24px 28px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-detail-result { grid-column: auto; }
  .case-detail-result ul { grid-template-columns: 1fr; }
  .policy-card { width: min(calc(100% - 24px), 900px); padding: 36px 22px; border-radius: 22px; }
  .error-card { padding: 45px 22px; border-radius: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Portal and content pages */
.cookie-banner button { color:var(--ink); }
.desktop-nav { gap: 22px; }
.desktop-nav a[aria-current="page"] { color: var(--blue); }
.desktop-nav a[aria-current="page"]::after { right: 0; }
.partner-button { white-space: nowrap; }
.footer-directory { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; padding:34px 0 20px; border-top:1px solid var(--line); }
.footer-directory > div { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.footer-directory strong { margin-bottom:5px; font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.footer-directory a { color:var(--muted); font-size:14px; }
.footer-directory a:hover { color:var(--blue); }
.ecosystem-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ecosystem-card { display:flex; min-height:285px; flex-direction:column; align-items:flex-start; padding:28px; border:1px solid var(--line); border-radius:25px; background:#fff; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.ecosystem-card:hover { transform:translateY(-5px); border-color:#c7d9f4; box-shadow:var(--shadow); }
.ecosystem-card--blue { background:var(--blue); color:#fff; border-color:var(--blue); }
.ecosystem-card--dark { background:var(--ink); color:#fff; border-color:var(--ink); }
.ecosystem-card__icon { display:grid; width:48px; height:48px; place-items:center; margin-bottom:24px; border-radius:14px; background:var(--blue-soft); color:var(--blue); font-size:22px; }
.ecosystem-card--blue .ecosystem-card__icon,.ecosystem-card--dark .ecosystem-card__icon { background:rgba(255,255,255,.13); color:#fff; }
.ecosystem-card__count { color:var(--blue); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.ecosystem-card--blue .ecosystem-card__count,.ecosystem-card--dark .ecosystem-card__count { color:rgba(255,255,255,.72); }
.ecosystem-card h3 { margin:10px 0 10px; font-size:29px; letter-spacing:-.04em; }
.ecosystem-card p { margin:0 0 20px; color:var(--muted); }
.ecosystem-card--blue p,.ecosystem-card--dark p { color:rgba(255,255,255,.76); }
.ecosystem-card b { margin-top:auto; font-size:14px; }
.partner-strip { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-top:18px; padding:25px 30px; border-radius:22px; background:#eaf2ff; color:var(--ink); }
.partner-strip span { display:flex; flex-direction:column; gap:4px; }
.partner-strip small { color:var(--blue); font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.partner-strip strong { font-size:19px; }
.partner-strip b { color:var(--blue); white-space:nowrap; }
.content-page { background:#fff; }
.page-hero { padding-top:20px; padding-bottom:24px; }
.page-hero__card { position:relative; display:grid; grid-template-columns:1.2fr .8fr; min-height:440px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-xl); background:linear-gradient(135deg,#fff 0%,#f5f9ff 100%); }
.page-hero__content { position:relative; z-index:2; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:64px 30px 60px 64px; }
.breadcrumb { display:flex; gap:8px; margin-bottom:25px; color:#89919c; font-size:12px; }
.breadcrumb a:hover { color:var(--blue); }
.page-hero h1 { max-width:800px; margin:20px 0 20px; font-size:clamp(44px,6vw,76px); line-height:.98; letter-spacing:-.06em; }
.page-hero h1 em { color:var(--blue); font-style:normal; }
.page-hero__content>p { max-width:670px; margin:0; color:var(--muted); font-size:18px; }
.page-hero__visual { position:relative; overflow:hidden; background:radial-gradient(circle at 35% 35%,#fff 0 8%,transparent 9%),linear-gradient(145deg,#eaf2ff,#cfe1ff); }
.page-hero__orb { position:absolute; width:360px; height:360px; left:50%; top:50%; border:1px solid rgba(26,104,223,.25); border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 58px rgba(26,104,223,.05),0 0 0 116px rgba(26,104,223,.035); }
.page-hero__mark { position:absolute; left:50%; top:50%; color:var(--blue); font-size:72px; font-weight:850; letter-spacing:-.08em; transform:translate(-50%,-50%) rotate(-8deg); }
.page-hero__mark span { color:var(--ink); }
.hero-facts { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.hero-facts span { padding:8px 13px; border:1px solid #d8e5f6; border-radius:999px; background:#fff; color:#53606d; font-size:12px; font-weight:700; }
.page-hero__actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.content-section { padding-top:28px; }
.content-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:30px; padding:15px; border:1px solid var(--line); border-radius:20px; background:#fafbfd; }
.filter-chips { display:flex; flex-wrap:wrap; gap:8px; }
.filter-chip { min-height:39px; padding:0 15px; border:1px solid var(--line); border-radius:999px; background:#fff; cursor:pointer; font-size:13px; font-weight:700; }
.filter-chip:hover,.filter-chip.is-active { border-color:var(--blue); background:var(--blue); color:#fff; }
.search-field { display:flex; align-items:center; gap:10px; min-width:300px; padding:0 14px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.search-field span { color:#89919c; font-size:12px; }
.search-field input { width:100%; min-height:42px; border:0; outline:0; background:transparent; }
.content-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.content-card { display:flex; min-height:360px; flex-direction:column; align-items:flex-start; padding:27px; border:1px solid var(--line); border-radius:25px; background:#fff; transition:transform .2s ease,box-shadow .2s ease; }
.content-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.content-card--featured { grid-column:span 2; background:#eaf2ff; }
.content-card__top { display:flex; width:100%; align-items:center; justify-content:space-between; gap:12px; color:#89919c; font-size:12px; }
.content-tag,.content-status { display:inline-flex; padding:7px 10px; border-radius:999px; background:#eaf2ff; color:var(--blue); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.content-status { background:#eef1f5; color:#636c76; }
.content-status--live { background:#e8f8ee; color:#218c50; }
.content-card h2 { margin:24px 0 13px; font-size:clamp(25px,3vw,36px); line-height:1.03; letter-spacing:-.045em; }
.content-card p { margin:0 0 22px; color:var(--muted); }
.content-card>.text-link,.content-card>.button { margin-top:auto; }
.content-metric { display:flex; align-items:baseline; gap:11px; margin:auto 0 22px; }
.content-metric strong { color:var(--blue); font-size:38px; letter-spacing:-.05em; }
.content-metric span { max-width:135px; color:var(--muted); font-size:12px; }
.article-topics { display:flex; gap:7px; margin:auto 0 18px; }
.article-topics span { padding:6px 9px; border-radius:8px; background:#f1f3f6; color:#68717d; font-size:11px; }
.no-results { margin:30px 0 0; padding:30px; border:1px dashed #cbd6e4; border-radius:20px; color:var(--muted); text-align:center; }
.demo-notice { display:flex; align-items:flex-start; gap:16px; margin-bottom:20px; padding:18px 20px; border-radius:17px; background:#fff7df; color:#715d22; }
.demo-notice strong { flex:0 0 auto; }
.demo-notice code { padding:2px 5px; border-radius:5px; background:rgba(0,0,0,.06); }
.inline-cta { display:flex; align-items:center; justify-content:space-between; gap:40px; padding:38px 42px; border:1px solid var(--line); border-radius:27px; background:#f8fafc; }
.inline-cta h2 { margin:8px 0 7px; font-size:34px; letter-spacing:-.04em; }
.inline-cta p { margin:0; color:var(--muted); }
.inline-cta--blue { background:var(--blue); color:#fff; border-color:var(--blue); }
.inline-cta--blue .section-kicker,.inline-cta--blue p { color:rgba(255,255,255,.75); }
.events-list,.templates-list { display:grid; gap:16px; }
.event-card { display:grid; grid-template-columns:135px 1fr; overflow:hidden; border:1px solid var(--line); border-radius:25px; background:#fff; }
.event-date { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:260px; background:#eaf2ff; color:var(--blue); }
.event-date strong { font-size:64px; line-height:.9; letter-spacing:-.07em; }
.event-date span { margin-top:8px; font-size:15px; font-weight:750; }
.event-card__content { padding:30px 34px; }
.event-card h2 { margin:18px 0 10px; font-size:32px; letter-spacing:-.04em; }
.event-card p { margin:0 0 24px; color:var(--muted); }
.event-actions { display:flex; flex-wrap:wrap; gap:10px; }
.services-catalog { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { display:flex; min-height:430px; flex-direction:column; padding:28px; border:1px solid var(--line); border-radius:25px; background:#fff; }
.service-card:nth-child(2),.service-card:nth-child(5) { background:#eaf2ff; }
.service-card__number { color:var(--blue); font-size:13px; font-weight:800; }
.service-card h2 { margin:30px 0 14px; font-size:31px; line-height:1.04; letter-spacing:-.045em; }
.service-card p { margin:0 0 24px; color:var(--muted); }
.service-card dl { display:grid; gap:10px; margin:auto 0 25px; }
.service-card dl div { display:flex; justify-content:space-between; gap:16px; padding-top:10px; border-top:1px solid rgba(125,137,151,.2); }
.service-card dt { color:#89919c; font-size:12px; }
.service-card dd { margin:0; font-size:13px; font-weight:750; text-align:right; }
.process-strip { display:flex; align-items:center; justify-content:center; gap:22px; padding:25px; border-radius:20px; background:var(--ink); color:#fff; }
.process-strip span { display:flex; align-items:center; gap:8px; }
.process-strip b { color:#8eb9ff; }
.process-strip i { opacity:.35; font-style:normal; }
.template-card { display:grid; grid-template-columns:110px 1fr; overflow:hidden; border:1px solid var(--line); border-radius:24px; background:#fff; }
.template-card__icon { display:grid; min-height:230px; place-items:center; background:var(--ink); color:#fff; font-size:27px; font-weight:850; letter-spacing:-.05em; }
.template-card__content { padding:28px 32px; }
.template-card h2 { margin:16px 0 9px; font-size:30px; letter-spacing:-.04em; }
.template-card p { margin:0 0 22px; color:var(--muted); }
.referral-stats-panel { display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden; border:1px solid var(--line); border-radius:25px; }
.referral-stats-panel>div { display:flex; min-height:150px; flex-direction:column; justify-content:center; padding:24px; border-right:1px solid var(--line); text-align:center; }
.referral-stats-panel>div:last-child { border-right:0; }
.referral-stats-panel strong { color:var(--blue); font-size:37px; letter-spacing:-.05em; }
.referral-stats-panel span { color:var(--muted); font-size:13px; }
.referral-benefits,.referral-products { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.referral-benefits article,.referral-products article { padding:30px; border:1px solid var(--line); border-radius:25px; background:#fff; }
.referral-benefits article>span,.referral-products article>span { color:var(--blue); font-size:12px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.referral-benefits h3,.referral-products h3 { margin:24px 0 12px; font-size:28px; letter-spacing:-.04em; }
.referral-benefits p,.referral-products p { margin:0; color:var(--muted); }
.referral-products article:nth-child(2) { background:#eaf2ff; }
.referral-products strong { display:block; margin-top:25px; }
.referral-calculator-section { background:#f4f8fe; }
.referral-calculator { display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:stretch; }
.referral-calculator h2 { margin:14px 0 12px; font-size:46px; line-height:1; letter-spacing:-.05em; }
.referral-calculator>div>p { color:#fff; }
.calculator-fields { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:28px; }
.calculator-fields label { display:grid; gap:8px; color:#68717d; font-size:12px; font-weight:750; }
.calculator-fields input { width:100%; min-height:54px; padding:0 14px; border:1px solid var(--line); border-radius:13px; background:#fff; outline:0; }
.calculator-fields input:focus { border-color:var(--blue); box-shadow:0 0 0 4px rgba(26,104,223,.1); }
.calculator-result { display:flex; flex-direction:column; justify-content:center; padding:38px; border-radius:25px; background:var(--blue); color:#fff; }
.calculator-result>span { opacity:.7; }
.calculator-result>strong { margin:8px 0 24px; font-size:49px; line-height:1; letter-spacing:-.055em; }
.calculator-result p { color:rgba(255,255,255,.78); }
.calculator-result small { opacity:.56; }
.referral-steps { display:grid; grid-template-columns:repeat(2,1fr); gap:13px; padding:0; list-style:none; }
.referral-steps li { display:flex; gap:18px; padding:24px; border:1px solid var(--line); border-radius:20px; }
.referral-steps li>b { display:grid; flex:0 0 44px; height:44px; place-items:center; border-radius:13px; background:#eaf2ff; color:var(--blue); }
.referral-steps h3 { margin:0 0 5px; font-size:20px; }
.referral-steps p { margin:0; color:var(--muted); }
.referral-join { padding:65px; border-radius:32px; background:var(--ink); color:#fff; text-align:center; }
.referral-join .section-kicker { color:#8eb9ff; }
.referral-join h2 { max-width:850px; margin:18px auto; font-size:clamp(40px,5vw,65px); line-height:.98; letter-spacing:-.055em; }
.referral-join p { max-width:720px; margin:0 auto 30px; color:rgba(255,255,255,.7); }
.referral-join>div { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }
.error-links { display:flex; justify-content:center; flex-wrap:wrap; gap:16px; margin-top:24px; }
.error-links a { color:var(--blue); font-weight:750; }
[data-filter-item][hidden] { display:none !important; }
@media (max-width:1120px){.desktop-nav{gap:13px}.desktop-nav a{font-size:12px}.partner-button{padding:0 13px}.content-grid,.services-catalog{grid-template-columns:repeat(2,1fr)}.content-card--featured{grid-column:span 2}.ecosystem-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:980px){.partner-button{display:none}.page-hero__card{grid-template-columns:1fr}.page-hero__visual{min-height:230px}.page-hero__content{padding:55px 44px}.footer-directory{grid-template-columns:repeat(2,1fr)}.referral-calculator{grid-template-columns:1fr}.calculator-fields{grid-template-columns:1fr 1fr 1fr}.referral-stats-panel{grid-template-columns:1fr 1fr}.referral-stats-panel>div:nth-child(2){border-right:0}.referral-stats-panel>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media (max-width:720px){.ecosystem-grid,.content-grid,.services-catalog,.referral-benefits,.referral-products{grid-template-columns:1fr}.content-card--featured{grid-column:auto}.partner-strip,.content-toolbar,.inline-cta{align-items:flex-start;flex-direction:column}.partner-strip b{white-space:normal}.search-field{width:100%;min-width:0}.event-card{grid-template-columns:1fr}.event-date{min-height:130px}.template-card{grid-template-columns:1fr}.template-card__icon{min-height:100px}.calculator-fields{grid-template-columns:1fr}.referral-steps{grid-template-columns:1fr}.process-strip{align-items:flex-start;flex-direction:column}.process-strip i{display:none}.footer-directory{grid-template-columns:1fr}.demo-notice{flex-direction:column}}
@media (max-width:640px){.page-hero__content{padding:42px 24px}.page-hero h1{font-size:44px}.page-hero__visual{min-height:180px}.page-hero__mark{font-size:55px}.ecosystem-card{min-height:250px}.partner-strip{padding:23px}.content-toolbar{padding:12px}.filter-chips{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.filter-chip{white-space:nowrap}.content-card,.service-card{min-height:auto}.inline-cta{padding:30px 24px}.event-card__content{padding:24px}.template-card__content{padding:24px}.referral-stats-panel{grid-template-columns:1fr}.referral-stats-panel>div{border-right:0;border-bottom:1px solid var(--line)}.referral-stats-panel>div:last-child{border-bottom:0}.referral-calculator h2{font-size:38px}.calculator-result{padding:28px 23px}.calculator-result>strong{font-size:40px}.referral-join{padding:45px 23px}.referral-join .button{width:100%}}

/* 2026 navigation update */
.application-button{white-space:nowrap;border:0;cursor:pointer}
.mobile-menu__bottom button.button{border:0;cursor:pointer}
@media(max-width:1120px){.desktop-nav{gap:16px}.desktop-nav a{font-size:13px}}

/* ===== BrainBloom AI: compact two-line wordmark ===== */
.brand {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-areas:
    "brain brain"
    "bloom ai";
  align-items: end;
  justify-items: start;

  row-gap: 0;
  width: max-content;
  font-size: 22px;
  line-height: .78;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand__brain { grid-area: brain; margin: 0; }
.brand__bloom { grid-area: bloom; }
.brand__ai { grid-area: ai; }

.footer-wordmark {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-areas:
    "brain brain"
    "bloom ai";
  justify-content: center;
  justify-items: start;
  row-gap: 0;
  width: max-content;
  margin: 0 auto 30px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .76;
  letter-spacing: -.075em;
  white-space: nowrap;
}
.footer-wordmark__brain { grid-area: brain; margin: 0; }
.footer-wordmark__bloom { grid-area: bloom; }
.footer-wordmark__ai { grid-area: ai; }

/* ===== Lead forms submit directly to Telegram ===== */
.lead-form textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid #d8dfe8;
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border .2s ease, box-shadow .2s ease;
}
.lead-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,104,223,.1); }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status.is-success { color: #218c50; }
.form-status.is-error { color: #c83f49; }

/* ===== Dedicated MAS showcase on the home page ===== */
.home-mas-showcase { padding-top: 18px; }
.home-mas-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  padding: 58px;
  border: 1px solid rgba(43,108,245,.13);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 20%, rgba(70,214,196,.18), transparent 25%),
    radial-gradient(circle at 75% 82%, rgba(43,108,245,.16), transparent 31%),
    linear-gradient(135deg, #f9fbff, #edf4ff);
  box-shadow: 0 24px 70px rgba(20,61,123,.10);
}
.home-mas-card__copy { position: relative; z-index: 2; }
.home-mas-card h2 { max-width: 760px; margin: 14px 0 18px; font-size: clamp(40px, 5vw, 68px); line-height: .98; letter-spacing: -.055em; }
.home-mas-card p { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; }
.home-mas-card__features { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 30px; }
.home-mas-card__features span { padding: 9px 13px; border: 1px solid rgba(43,108,245,.15); border-radius: 999px; background: rgba(255,255,255,.72); color: #355276; font-size: 13px; font-weight: 750; }
.home-mas-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-mas-card__visual { position: relative; display: grid; min-height: 350px; place-items: center; }
.home-mas-orbit { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(43,108,245,.18); border-radius: 50%; box-shadow: inset 0 0 0 46px rgba(255,255,255,.28), inset 0 0 0 92px rgba(43,108,245,.045); }
.home-mas-core { position: relative; display: grid; width: 176px; height: 176px; place-items: center; border-radius: 42px; background: linear-gradient(145deg, #2b6cf5, #174fbf); color: #fff; box-shadow: 0 28px 60px rgba(43,108,245,.28); font-size: 58px; font-weight: 850; letter-spacing: -.08em; transform: rotate(-4deg); }
.home-mas-core small { position: absolute; bottom: 27px; font-size: 12px; letter-spacing: .14em; opacity: .72; }
.home-mas-node { position: absolute; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(43,108,245,.14); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 14px 35px rgba(20,61,123,.12); color: var(--blue); font-weight: 850; }
.home-mas-node--one { top: 18px; left: 24px; }
.home-mas-node--two { right: 8px; top: 92px; }
.home-mas-node--three { left: 54px; bottom: 4px; }

/* ===== Referral calculator: all lower text stays white ===== */
.calculator-result p,
.calculator-result p b,
.calculator-result small { color: #fff !important; }
.calculator-result small { opacity: .82; }

@media (max-width: 900px) {
  .home-mas-card { grid-template-columns: 1fr; padding: 42px 30px; }
  .home-mas-card__visual { min-height: 300px; }
}
@media (max-width: 640px) {
  .brand { font-size: 20px; }
  .footer-wordmark { font-size: 18vw; }
  .home-mas-card { padding: 34px 23px; border-radius: 25px; }
  .home-mas-card h2 { font-size: 42px; }
  .home-mas-card__actions .button { width: 100%; justify-content: center; }
  .home-mas-card__visual { min-height: 270px; transform: scale(.88); margin: -14px 0; }
}


/* Строгая проверка телефонных номеров во всех формах */
.phone-field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #c73838;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
input.is-phone-invalid {
  border-color: #d84a4a !important;
  box-shadow: 0 0 0 3px rgba(216, 74, 74, 0.10) !important;
}
