/* Premium inner pages. The native CMS remains the source of content and routes. */
body.exales-premium-subpage {
  --bg: #fff;
  --surface: #f7f8fb;
  --ink: #1e2734;
  --muted: #687184;
  --line: #e7e9f0;
  --soft: #f1ecff;
  --shadow: 0 18px 70px #21203c0a;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 RobotoLocal, Roboto, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="dark"] body.exales-premium-subpage {
  --bg: #11151e;
  --surface: #1e2531;
  --ink: #f2f3fa;
  --muted: #a9b2c5;
  --line: #303847;
  --soft: #30214f;
  --shadow: 0 18px 70px #0003;
}
body.exales-premium-subpage .container { max-width: 1344px; padding-inline: 40px; }
body.exales-premium-subpage :is(h1,h2,h3) { letter-spacing: -.04em; line-height: 1.13; }
body.exales-premium-subpage :is(.eyebrow,.suite-kicker) { color: var(--brand); letter-spacing: .13em; font-size: 11px; font-weight: 750; text-transform: uppercase; }
body.exales-premium-subpage .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 9px; border-radius: 50%; background: currentColor; vertical-align: 2px; }
body.exales-premium-subpage .button { border-radius: 11px; min-height: 44px; padding: 11px 18px; font-size: 13px; box-shadow: 0 5px 15px #651fff22; }
body.exales-premium-subpage .button.outline { box-shadow: none; background: var(--bg); }
body.exales-premium-subpage .text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; }

/* Header and footer use the same visual rhythm as the Premium home, while
   keeping the dynamic menu, language picker, theme control and CMS links. */
body.exales-premium-subpage .site-nav { background: var(--bg); border-color: var(--line); box-shadow: 0 4px 24px #1e273405; }
body.exales-premium-subpage .site-nav .nav-inner { width: 100%; max-width: 1360px; min-height: 78px; gap: 22px; padding-inline: 40px; }
body.exales-premium-subpage .site-nav .brand,
body.exales-premium-subpage .site-nav .brand img { width: 126px; height: 36px; object-fit: contain; }
body.exales-premium-subpage .site-nav #main-menu { gap: 2px; }
body.exales-premium-subpage .site-nav #main-menu > a,
body.exales-premium-subpage .site-nav .suite-nav > a { font-size: 12px; font-weight: 600; min-height: 40px; padding: 9px 9px; }
body.exales-premium-subpage .site-nav .nav-actions .button { background: var(--ink); color: var(--bg); border-color: transparent; box-shadow: none; }
body.exales-premium-subpage .site-nav .nav-actions .button:hover { background: var(--brand); color: #fff; }
body.exales-premium-subpage .site-nav .language-select,
body.exales-premium-subpage .site-nav .theme-toggle { background: var(--bg); border-color: var(--line); }
body.exales-premium-subpage .suite-footer { margin-top: 88px; background: var(--surface); border-top-color: var(--line); }
body.exales-premium-subpage .suite-footer-grid { padding-block: 60px 48px; }

/* The same heading composition is shared by CMS lists, article detail,
   services and company pages. Metadata and text still come from the CMS. */
body.exales-premium-subpage :is(.page-head,.suite-page-head) {
  position: relative;
  isolation: isolate;
  padding-block: 84px 54px;
  background: radial-gradient(ellipse at 80% 12%, #651fff0f, transparent 52%);
}
body.exales-premium-subpage :is(.page-head,.suite-page-head)::after {
  content: "";
  position: absolute;
  inset-inline: 40px;
  bottom: 0;
  border-bottom: 1px solid var(--line);
}
body.exales-premium-subpage :is(.page-head,.suite-page-head) h1 {
  max-width: 900px;
  font-size: clamp(38px,5vw,64px);
  font-weight: 700;
  margin: 12px 0 22px;
}
body.exales-premium-subpage :is(.page-head,.suite-page-head) > p {
  max-width: 710px;
  font-size: clamp(15px,1.4vw,18px);
  line-height: 1.75;
  margin: 0;
}
body.exales-premium-subpage .page-head + .section { padding-top: 36px; }
body.exales-premium-subpage .section { padding-top: 78px; padding-bottom: 28px; }
body.exales-premium-subpage .search-bar { max-width: 680px; margin: 0 0 28px; padding: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; }
body.exales-premium-subpage .search-bar input { background: transparent; border: 0; box-shadow: none; padding-inline: 16px; }
body.exales-premium-subpage .search-bar .button { min-width: 100px; box-shadow: none; }
body.exales-premium-subpage .content-card,
body.exales-premium-subpage .suite-service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
body.exales-premium-subpage .card-grid { gap: 18px; align-items: stretch; }
body.exales-premium-subpage .content-card { display: flex; flex-direction: column; min-width: 0; }
body.exales-premium-subpage .content-card > img { width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; }
body.exales-premium-subpage .content-card .card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
body.exales-premium-subpage .content-card .card-copy .text-link { margin-top: auto; padding-top: 15px; }
body.exales-premium-subpage :is(.content-card,.suite-service-card):is(:hover,:focus-within) { transform: translateY(-3px); box-shadow: var(--shadow); }
body.exales-premium-subpage .card-copy { padding: 25px; }
body.exales-premium-subpage .card-copy h2 { font-size: 22px; }
body.exales-premium-subpage .card-copy p { line-height: 1.7; }
body.exales-premium-subpage .prose { max-width: 940px; padding-top: 48px; }
body.exales-premium-subpage .prose :is(p,li) { color: var(--muted); }
body.exales-premium-subpage .prose :is(p,li) + :is(p,li) { margin-top: 12px; }
body.exales-premium-subpage .article-cover { border-radius: 24px; }
body.exales-premium-subpage .pagination a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
body.exales-premium-subpage .empty { border-radius: 22px; background: var(--surface); box-shadow: none; }
body.exales-premium-subpage :is(.content-card,.suite-service-card,.suite-video-card,.plan-card) a:focus-visible,
body.exales-premium-subpage :is(.search-bar,.pagination,.contact-form) :is(a,button,input,textarea):focus-visible,
body.exales-premium-subpage .site-nav :is(a,button,select):focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* Industry collection: the published CMS entries supply titles, descriptions,
   features and images. If an entry has no image, the gradient is intentional. */
body.exales-premium-subpage .premium-industry-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
body.exales-premium-subpage .premium-industry-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 405px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 10%,#cab9ff 0%,transparent 40%),
              linear-gradient(150deg,#f2f5fc 4%,#e4e9fa 53%,#f3edff 100%);
  border: 1px solid var(--line);
}
body.exales-premium-subpage .premium-industry-card:nth-child(4n+2) { background: radial-gradient(circle at 85% 12%,#a9d8e8 0%,transparent 42%),linear-gradient(150deg,#e9f5f6,#dde5f2 55%,#f2f7fb); }
body.exales-premium-subpage .premium-industry-card:nth-child(4n+3) { background: radial-gradient(circle at 85% 12%,#e8d0ae 0%,transparent 42%),linear-gradient(150deg,#f8f3e8,#ede4dc 55%,#f4f5f9); }
body.exales-premium-subpage .premium-industry-card:nth-child(4n+4) { background: radial-gradient(circle at 85% 12%,#b9e3cd 0%,transparent 42%),linear-gradient(150deg,#e6f7ee,#dce7e3 55%,#f1f4f3); }
body.exales-premium-subpage .premium-industry-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,transparent 0%,#171c2a12 40%,#171c2aa8 100%); pointer-events: none; }
body.exales-premium-subpage .premium-industry-card::after { content: "↗"; position: absolute; z-index: 2; top: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #1e273488; font-size: 17px; pointer-events: none; }
body.exales-premium-subpage .premium-industry-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
body.exales-premium-subpage .premium-industry-card:is(:hover,:focus-within) > img { transform: scale(1.04); }
body.exales-premium-subpage .premium-industry-card .card-copy { z-index: 2; position: relative; width: 100%; padding: 26px 22px; color: #fff; }
body.exales-premium-subpage .premium-industry-card .card-copy .eyebrow { display: inline-block; color: #fff; background: #19212b99; border: 1px solid #ffffff4d; border-radius: 18px; padding: 5px 9px; font-size: 10px; max-width: calc(100% - 30px); overflow-wrap: anywhere; }
body.exales-premium-subpage .premium-industry-card .card-copy .eyebrow::before { display: none; }
body.exales-premium-subpage .premium-industry-card .card-copy h2 { font-size: clamp(22px,2vw,27px); margin: 6px 0 10px; }
body.exales-premium-subpage .premium-industry-card .card-copy h2 a::before { content: ""; position: absolute; inset: 0; z-index: 3; }
body.exales-premium-subpage .premium-industry-card .card-copy p { color: #f4f5f9; font-size: 13px; line-height: 1.6; margin: 0; }
body.exales-premium-subpage .premium-industry-card .card-copy ul { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid #ffffff45; padding: 12px 0 0; margin: 17px 0 0; list-style: none; }
body.exales-premium-subpage .premium-industry-card .card-copy li { font-size: 11px; color: #fff; line-height: 1.35; }
body.exales-premium-subpage .premium-industry-card .card-copy li::before { content: "✓ "; }
body.exales-premium-subpage .premium-industry-card .card-copy .text-link { display: none; }
body.exales-premium-subpage .premium-industry-card:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
body.exales-premium-subpage .premium-industry-card .card-copy h2 a:focus-visible { outline: none; }
html[data-theme="dark"] body.exales-premium-subpage .premium-industry-card:not(.premium-has-cover) { background: radial-gradient(circle at 85% 12%,#534875,transparent 50%),linear-gradient(135deg,#2e3542,#151b26); }

/* Article, SaaS catalogue and contact layout share the same surfaces. */
body.exales-premium-subpage .contact-form,
body.exales-premium-subpage .contact-aside,
body.exales-premium-subpage .plan-card,
body.exales-premium-subpage .suite-note { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: none; }
body.exales-premium-subpage .contact-aside { padding: 30px; }
body.exales-premium-subpage :is(.contact-form,.suite-newsletter) :is(input,textarea) { background: var(--bg); }
body.exales-premium-subpage .suite-service-card h2 { font-size: 22px; }
body.exales-premium-subpage .suite-services,
body.exales-premium-subpage .suite-video-gallery { gap: 18px; }
body.exales-premium-subpage .suite-video-card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: none; }
body.exales-premium-subpage .suite-video-copy { padding: 25px; }
body.exales-premium-subpage .suite-service-detail { max-width: 960px; padding-top: 44px; color: var(--muted); }
body.exales-premium-subpage .suite-service-detail > img { border-radius: 24px; }
body.exales-premium-subpage .suite-service-detail > ul { padding-inline-start: 22px; }
body.exales-premium-subpage .suite-service-detail > ul li { margin-block: 10px; }
body.exales-premium-subpage .suite-growth-card { box-shadow: none; }
body.exales-premium-subpage .suite-growth { margin-top: 60px; }
body.exales-premium-subpage .article-meta { color: var(--muted); font-size: 13px; }
body.exales-premium-subpage .prose :is(audio,video) { display: block; width: 100%; margin-block: 25px; }
body.exales-premium-subpage .prose .button { margin-top: 20px; }
body.exales-premium-subpage .contact-grid { align-items: start; }
body.exales-premium-subpage .contact-form { padding: clamp(24px,3vw,38px); }
body.exales-premium-subpage .contact-aside { min-width: 0; overflow-wrap: anywhere; }
body.exales-premium-subpage[data-page="pricing"] .xe-wallet { padding-top: 80px; }
body.exales-premium-subpage[data-page="pricing"] .xe-wallet-grid article { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
body.exales-premium-subpage .market-pricing { max-width: 1344px; }
body.exales-premium-subpage .market-pricing :is(.market-pricing-card,.market-pricing-panel) { border-radius: 22px; }
body.exales-premium-subpage :is(.suite-page-head,.page-head,.suite-service-detail,.prose,.search-bar,.suite-note) { overflow-wrap: anywhere; }
body.exales-premium-subpage .suite-footer a { overflow-wrap: anywhere; }
html[dir="rtl"] body.exales-premium-subpage :is(.page-head,.suite-page-head,.prose,.card-copy,.suite-service-detail) { text-align: start; }

@media (max-width: 1160px) {
  body.exales-premium-subpage .premium-industry-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.exales-premium-subpage .site-nav .nav-inner { gap: 12px; }
}
@media (max-width: 900px) {
  body.exales-premium-subpage .site-nav .nav-inner { flex-wrap: wrap; }
  body.exales-premium-subpage .site-nav .menu-toggle { display: block; }
  body.exales-premium-subpage .site-nav #main-menu { display: none; order: 4; flex-basis: 100%; align-items: stretch; flex-direction: column; padding-bottom: 12px; }
  body.exales-premium-subpage .site-nav #main-menu.open { display: flex; }
  body.exales-premium-subpage .site-nav #main-menu > a { justify-content: flex-start; }
  body.exales-premium-subpage .premium-industry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.exales-premium-subpage .suite-services,
  body.exales-premium-subpage .suite-video-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  body.exales-premium-subpage .container { padding-inline: 20px; }
  body.exales-premium-subpage .site-nav .nav-inner { padding-inline: 20px; min-height: 68px; }
  body.exales-premium-subpage :is(.page-head,.suite-page-head) { padding-block: 55px 38px; }
  body.exales-premium-subpage :is(.page-head,.suite-page-head)::after { inset-inline: 20px; }
  body.exales-premium-subpage :is(.page-head,.suite-page-head) h1 { font-size: clamp(34px,9vw,46px); }
  body.exales-premium-subpage .section { padding-top: 44px; }
  body.exales-premium-subpage .premium-industry-grid { grid-template-columns: 1fr; }
  body.exales-premium-subpage .premium-industry-card { min-height: 360px; }
  body.exales-premium-subpage .suite-services,
  body.exales-premium-subpage .suite-video-gallery { grid-template-columns: 1fr; }
  body.exales-premium-subpage .search-bar { flex-direction: row; }
  body.exales-premium-subpage .search-bar .button { min-width: 75px; }
  body.exales-premium-subpage .suite-footer { margin-top: 48px; }
  body.exales-premium-subpage .suite-footer-grid { padding-block: 40px 30px; }
}
@media (max-width: 400px) {
  body.exales-premium-subpage .search-bar { flex-direction: column; align-items: stretch; }
  body.exales-premium-subpage .search-bar .button { width: 100%; }
  body.exales-premium-subpage .premium-industry-card { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  body.exales-premium-subpage :is(.content-card,.suite-service-card,.premium-industry-card > img) { transition: none; }
}

/* Unified page continuation: the pages use published CMS copy and the same
   visual tokens as the Premium homepage. No content is fabricated in CSS. */
body.exales-premium-subpage main { min-width: 0; overflow: clip; }
body.exales-premium-subpage .page-head { max-width: 1344px; }
body.exales-premium-subpage .page-head h1 { max-width: 950px; }
body.exales-premium-subpage :is(.suite-page-head,.page-head) > p { max-width: 730px; }
body.exales-premium-subpage .premium-about-copy { max-width: 1050px; }
body.exales-premium-subpage .premium-about-copy > p { max-width: 770px; font-size: clamp(16px,1.5vw,19px); line-height: 1.8; }
body.exales-premium-subpage .premium-about-copy > p + p { margin-top: 16px; }
body.exales-premium-subpage .premium-next-step { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 60px; padding-block: 48px; border-top: 1px solid var(--line); }
body.exales-premium-subpage .premium-next-step h2 { font-size: clamp(28px,3.5vw,42px); margin: 10px 0; }
body.exales-premium-subpage .premium-next-step p { margin: 0; }
body.exales-premium-subpage .premium-next-step .button { flex-shrink: 0; }
body.exales-premium-subpage .contact-aside a:not(.button) { color: var(--brand); overflow-wrap: anywhere; }
body.exales-premium-subpage .contact-aside > p { max-width: 340px; }
body.exales-premium-subpage .empty { padding: clamp(36px,5vw,64px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; }
body.exales-premium-subpage[data-page="pricing"] .page-head { padding-bottom: 46px; }
body.exales-premium-subpage[data-page="pricing"] .xe-wallet { width: 100%; max-width: 1344px; min-width: 0; padding-block: 38px; }
body.exales-premium-subpage[data-page="pricing"] .xe-section-top { gap: 24px; }
body.exales-premium-subpage[data-page="pricing"] .xe-wallet-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
body.exales-premium-subpage[data-page="pricing"] .xe-wallet-grid article { min-width: 0; }
body.exales-premium-subpage[data-page="pricing"] .xe-connection-note { min-width: 0; flex-wrap: wrap; }
body.exales-premium-subpage[data-page="pricing"] .market-pricing { min-width: 0; width: 100%; padding-top: 30px; }
body.exales-premium-subpage[data-page="pricing"] .market-pricing-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,255px),1fr)); }
body.exales-premium-subpage[data-page="pricing"] :is(.xe-wallet-grid article,.market-pricing-card) { overflow-wrap: anywhere; }

/* The public home still has its own Premium template. Its menu is now filled
   from published navigation rows, while the inner-page menu uses the same rows. */
body.exales-premium-subpage .suite-nav a,
body.exales-premium-subpage #main-menu > a { white-space: normal; }
body.exales-premium-subpage #main-menu a[aria-current="page"] { background: var(--soft); color: var(--brand); border-radius: 10px; }
@media (max-width: 900px) {
  body.exales-premium-subpage[data-page="pricing"] .xe-wallet-grid { grid-template-columns: 1fr; }
  body.exales-premium-subpage .premium-next-step { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  body.exales-premium-subpage[data-page="pricing"] .xe-section-top { display: block; }
  body.exales-premium-subpage[data-page="pricing"] .xe-wallet { padding-top: 24px; }
  body.exales-premium-subpage .premium-next-step { margin-top: 36px; padding-block: 34px; }
  body.exales-premium-subpage .premium-next-step .button { width: 100%; }
  body.exales-premium-subpage :is(.contact-grid,.suite-footer-grid,.card-grid) > * { min-width: 0; }
}
