:root {
  --portal-bg: #07090d;
  --portal-bg-soft: #0f141c;
  --portal-panel: rgba(9, 12, 18, 0.78);
  --portal-panel-strong: rgba(8, 10, 15, 0.9);
  --portal-border: rgba(255, 255, 255, 0.08);
  --portal-text: #f5f7fb;
  --portal-text-muted: #b4becc;
  --portal-gold: #d4af37;
  --portal-gold-soft: #f0cf66;
  --portal-ice: #8ec5ff;
  --portal-ice-bright: #d6ecff;
  --portal-silver: #dbe3ee;
  --portal-radius: 8px;
  --portal-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --portal-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--portal-text);
  background: #05070b;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.portal-shell {
  position: relative;
  overflow: hidden;
}

.portal-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 207, 102, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.48), rgba(4, 6, 10, 0.76) 34%, rgba(5, 8, 12, 0.9) 70%, rgba(5, 8, 12, 0.94));
}

.portal-bg::before {
  content: "";
  position: absolute;
  inset: -8% 0 -8%;
  background: url('/images/empire-investment-capital-bg.png') center center/cover no-repeat;
  transform: translateY(0%);
}

.portal-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, transparent 18%, transparent 82%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.portal-header,
.hero,
.group-section,
.pillars,
.portal-footer {
  position: relative;
  z-index: 1;
}

.portal-header {
  width: min(calc(100% - 32px), var(--portal-max));
  margin: 0 auto;
  padding: 24px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.portal-brand__mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.portal-brand__copy {
  display: grid;
  gap: 4px;
}

.portal-brand__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 207, 102, 0.74);
}

.portal-brand__name {
  margin: 0;
  color: #f4e5b4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-brand__subline {
  margin: 0;
  color: rgba(219, 227, 238, 0.68);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-lang {
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--portal-text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.portal-lang:hover,
.portal-lang:focus-visible {
  color: var(--portal-text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.portal-lang__option {
  opacity: 0.72;
}

.portal-lang__option--active {
  opacity: 1;
  color: var(--portal-text);
}

.portal-lang__divider {
  opacity: 0.4;
}

.portal-nav__link {
  min-height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: var(--portal-text-muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portal-nav__link:hover,
.portal-nav__link:focus-visible {
  color: var(--portal-text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.portal-nav__link--crypto {
  color: rgba(240, 207, 102, 0.94);
  border-color: rgba(240, 207, 102, 0.22);
  background: rgba(212, 175, 55, 0.06);
}

.portal-nav__link--crypto:hover,
.portal-nav__link--crypto:focus-visible {
  color: rgba(248, 228, 115, 0.98);
  border-color: rgba(240, 207, 102, 0.34);
  background: rgba(212, 175, 55, 0.12);
}

.portal-nav__link--ai {
  color: rgba(198, 229, 255, 0.96);
  border-color: rgba(142, 197, 255, 0.22);
  background: rgba(142, 197, 255, 0.06);
}

.portal-nav__link--ai:hover,
.portal-nav__link--ai:focus-visible {
  color: rgba(220, 239, 255, 0.98);
  border-color: rgba(142, 197, 255, 0.34);
  background: rgba(142, 197, 255, 0.12);
}

.hero {
  width: min(calc(100% - 32px), var(--portal-max));
  margin: 0 auto;
  padding: 74px 0 62px;
}

.hero__lang-mobile {
  display: none;
}

.hero__lang-mobile-wrap {
  display: none;
}

.hero__intro {
  max-width: 980px;
  margin-bottom: 42px;
  padding: 22px 0 12px;
}

.hero__brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__eyebrow {
  margin: 0;
  color: var(--portal-gold-soft);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero__divider {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 207, 102, 0.85), rgba(240, 207, 102, 0));
}

.hero__microcopy {
  margin: 0;
  color: rgba(219, 227, 238, 0.66);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1;
  color: rgba(244, 232, 198, 0.82);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__stage {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding: 18px 0 26px;
}

.hero__stage::before,
.hero__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero__stage::before {
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 207, 102, 0), rgba(240, 207, 102, 0.52), rgba(240, 207, 102, 0));
}

.hero__stage::after {
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 207, 102, 0), rgba(240, 207, 102, 0.24), rgba(240, 207, 102, 0));
}

.hero__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(88px, 15vw, 168px);
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4e5b4;
  text-shadow:
    0 0 26px rgba(212, 175, 55, 0.18),
    0 24px 42px rgba(0, 0, 0, 0.34);
}

.hero__subbrand {
  margin: 6px 0 0;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(236, 240, 246, 0.78);
}

.hero__statement {
  margin-top: 26px;
  max-width: 860px;
}

.hero__subtitle {
  max-width: 860px;
  margin: 0;
  color: var(--portal-text-muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.82;
  white-space: nowrap;
}

.hero__selection {
  margin: 14px 0 0;
  color: rgba(244, 232, 198, 0.92);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(12px);
  animation: portalCardsReveal 1200ms ease 520ms forwards;
}

.product-panel {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--portal-radius);
  overflow: hidden;
  background: rgba(7, 10, 14, 0.56);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

@keyframes portalCardsReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-panel::before,
.product-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-panel::before {
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.08), rgba(5, 8, 12, 0.82) 74%);
}

.product-panel::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.product-panel__media {
  position: absolute;
  inset: 0;
}

.product-panel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 320ms ease, filter 320ms ease;
}

.product-panel__overlay {
  position: absolute;
  inset: 0;
  transition: opacity 220ms ease, background 220ms ease;
}

.product-panel--crypto .product-panel__overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(212, 175, 55, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(7, 7, 7, 0.64) 54%, rgba(7, 7, 7, 0.92) 100%);
}

.product-panel--ai {
  background:
    linear-gradient(160deg, rgba(6, 10, 18, 0.72), rgba(7, 14, 24, 0.94));
}

.product-panel--ai .product-panel__overlay {
  background:
    linear-gradient(180deg, rgba(4, 9, 16, 0.18), rgba(4, 9, 16, 0.82) 72%),
    radial-gradient(circle at 82% 16%, rgba(142, 197, 255, 0.18), transparent 22%);
}

.product-panel--ai::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.12), rgba(5, 8, 12, 0.72) 72%),
    radial-gradient(circle at top right, rgba(142, 197, 255, 0.08), transparent 26%);
}

.product-panel__content {
  position: relative;
  z-index: 1;
  min-height: 560px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-panel__tag {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-panel--crypto .product-panel__tag {
  color: var(--portal-gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

.product-panel--ai .product-panel__tag {
  color: var(--portal-ice-bright);
  background: rgba(142, 197, 255, 0.08);
}

.product-panel__body {
  max-width: 420px;
  margin-top: auto;
}

.product-panel__statement {
  position: relative;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: rgba(5, 7, 11, 0.56);
  border-radius: 0 12px 0 12px;
  transition: background 220ms ease, transform 220ms ease;
}

.product-panel__statement::before,
.product-panel__statement::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
}

.product-panel__statement::before {
  left: 0;
  top: 0;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
}

.product-panel__statement::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.product-panel__statement--ai::before {
  top: 7px;
}

.product-panel__statement--crypto {
  color: rgba(240, 207, 102, 0.88);
}

.product-panel__statement--ai {
  color: rgba(182, 220, 255, 0.9);
}

.product-panel__statement--crypto .product-panel__summary {
  color: rgba(240, 207, 102, 0.96);
}

.product-panel__statement--ai .product-panel__summary {
  color: rgba(198, 229, 255, 0.96);
}

.product-panel__title {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 0.98;
  font-weight: 600;
}

.product-panel__summary {
  margin: 0;
  color: #d8deea;
  font-size: 17px;
  line-height: 1.7;
}

.product-panel__summary--desktop {
  display: block;
  font-size: 16px;
  line-height: 1.72;
}

.product-panel__summary--mobile,
.product-panel__capabilities--mobile {
  display: none !important;
}

.product-panel__points--desktop {
  display: grid;
}

.product-panel__capabilities {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.product-panel__capability {
  display: block;
  color: inherit;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.product-panel__statement--crypto .product-panel__capability {
  color: rgba(240, 207, 102, 0.98);
}

.product-panel__statement--ai .product-panel__capability {
  color: rgba(198, 229, 255, 0.98);
}

.product-panel__statement .product-panel__summary {
  color: rgba(227, 233, 241, 0.84);
  font-size: 14px;
  line-height: 1.68;
}

.product-panel__statement .product-panel__summary--desktop {
  font-size: 18px;
  line-height: 1.56;
}

.product-panel__summary--composed {
  display: block;
  font-size: 18px;
  line-height: 1.56;
  letter-spacing: 0.01em;
}

.product-panel__line {
  display: block;
}

.product-panel__line + .product-panel__line {
  margin-top: 3px;
}

.product-panel__line--accent {
  color: inherit;
  font-weight: 600;
}

.product-panel__inline-accent {
  color: inherit;
  font-weight: 600;
}

.product-panel__statement--crypto .product-panel__line--accent,
.product-panel__statement--crypto .product-panel__inline-accent {
  color: rgba(240, 207, 102, 0.98);
}

.product-panel__statement--ai .product-panel__line--accent,
.product-panel__statement--ai .product-panel__inline-accent {
  color: rgba(198, 229, 255, 0.98);
}

.product-panel:hover,
.product-panel:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-panel:hover .product-panel__image,
.product-panel:focus-within .product-panel__image {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.product-panel:hover .product-panel__statement,
.product-panel:focus-within .product-panel__statement {
  background: rgba(5, 7, 11, 0.64);
}

.product-panel--crypto:hover .product-panel__overlay,
.product-panel--crypto:focus-within .product-panel__overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(212, 175, 55, 0.28), transparent 22%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(7, 7, 7, 0.58) 54%, rgba(7, 7, 7, 0.9) 100%);
}

.product-panel--ai:hover .product-panel__overlay,
.product-panel--ai:focus-within .product-panel__overlay {
  background:
    linear-gradient(180deg, rgba(4, 9, 16, 0.14), rgba(4, 9, 16, 0.8) 72%),
    radial-gradient(circle at 82% 16%, rgba(142, 197, 255, 0.24), transparent 22%);
}

.product-panel__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--portal-text-muted);
  font-size: 14px;
}

.product-panel__points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-panel__points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.product-panel--crypto .product-panel__points li::before {
  background: var(--portal-gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.52);
}

.product-panel--ai .product-panel__points li::before {
  background: var(--portal-ice);
  box-shadow: 0 0 14px rgba(142, 197, 255, 0.46);
}

.product-panel__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button-primary,
.button-secondary {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-1px);
}

.button-primary--crypto {
  color: #16120a;
  background: linear-gradient(135deg, #f3d16f, #d4af37 54%, #8b6f1d);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.24);
}

.button-primary--crypto:hover,
.button-primary--crypto:focus-visible {
  box-shadow: 0 18px 34px rgba(212, 175, 55, 0.3);
}

.button-primary--ai {
  color: #04101c;
  background: linear-gradient(135deg, #d9ecff, #8ec5ff 54%, #6d9cd4);
  box-shadow: 0 14px 32px rgba(142, 197, 255, 0.2);
}

.button-primary--ai:hover,
.button-primary--ai:focus-visible {
  box-shadow: 0 18px 34px rgba(142, 197, 255, 0.26);
}

.button-secondary {
  color: var(--portal-text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.product-panel__actions .button-secondary {
  flex: 0 0 auto;
}

.group-section,
.pillars {
  width: min(calc(100% - 32px), var(--portal-max));
  margin: 0 auto;
}

.group-section {
  padding: 28px 0 22px;
}

.group-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 22px;
}

.group-panel,
.pillar {
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-panel);
  box-shadow: var(--portal-shadow);
}

.group-panel {
  padding: 28px 30px;
}

.section-eyebrow {
  margin: 0 0 14px;
  color: rgba(219, 227, 238, 0.7);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.group-panel h2,
.group-panel h3,
.pillar h3,
.ai-hero__content h1,
.ai-hero__content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.group-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
}

.group-panel p,
.group-panel li,
.pillar p,
.portal-footer p,
.portal-footer a,
.ai-overview p,
.ai-overview li {
  color: var(--portal-text-muted);
  line-height: 1.7;
}

.group-panel ul,
.ai-overview ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.group-panel--aside {
  display: grid;
  align-content: start;
  gap: 16px;
}

.group-panel--aside .stat {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.group-panel--aside .stat:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--portal-text);
  font-size: 18px;
}

.pillars {
  padding: 22px 0 70px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pillar {
  min-height: 230px;
  padding: 28px;
}

.pillar h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.08;
}

.portal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 12, 0.78);
}

.portal-footer__inner {
  width: min(calc(100% - 32px), var(--portal-max));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.portal-footer__brand {
  display: grid;
  gap: 6px;
}

.portal-footer__name {
  margin: 0;
  color: #f4e5b4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-footer__tagline {
  margin: 0;
  color: rgba(219, 227, 238, 0.7);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.portal-footer__lang-mobile {
  display: none;
}

.portal-footer__meta {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.portal-footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.portal-footer__contact a {
  color: rgba(236, 240, 246, 0.9);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.portal-footer__contact a:hover,
.portal-footer__contact a:focus-visible {
  color: #ffffff;
}

.portal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.portal-footer__links a:hover,
.portal-footer__links a:focus-visible {
  color: var(--portal-text);
}

.ai-page {
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.68), rgba(4, 8, 16, 0.94)),
    url('/images/empire-ai-labs-hero.png') center/cover fixed;
}

.crypto-page {
  background:
    linear-gradient(180deg, rgba(10, 7, 3, 0.68), rgba(10, 7, 3, 0.94)),
    url('/frontend/images/empirebackground.png') center/cover fixed;
}

.ai-page .portal-header {
  padding-bottom: 18px;
}

.crypto-page .portal-header {
  padding-bottom: 18px;
}

.crypto-page .ai-hero {
  padding: 24px 0 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 18px;
}

.crypto-page .ai-hero__content,
.crypto-page .ai-hero__panel,
.crypto-page .ai-overview__panel,
.crypto-page .group-panel {
  background: rgba(11, 8, 4, 0.78);
}

.crypto-page .ai-hero__content {
  padding: 28px;
}

.crypto-page .ai-hero__content h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.02;
  max-width: 760px;
}

.crypto-page .ai-hero__content p {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.72;
}

.crypto-page .ai-hero__panel {
  min-height: 360px;
  padding: 24px;
}

.crypto-page .ai-hero__panel-copy {
  max-width: 240px;
}

.crypto-page .ai-hero__panel-copy h2 {
  font-size: 28px;
}

.crypto-page .ai-overview {
  padding: 0 0 28px;
}

.crypto-page .ai-overview__panel {
  padding: 24px 26px;
}

.crypto-page .ai-overview__panel h2,
.crypto-page .group-panel h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.crypto-page .ai-overview__panel > p,
.crypto-page .group-panel > p,
.crypto-page .group-panel li,
.crypto-page .stat p {
  font-size: 15px;
  line-height: 1.7;
}

.crypto-page .ai-overview__grid {
  gap: 14px;
  margin-top: 18px;
}

.crypto-page .ai-overview__card {
  min-height: 0;
  padding: 18px;
}

.crypto-page .ai-overview__card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.crypto-page .group-section {
  padding: 4px 0 44px;
}

.crypto-page .group-panel {
  padding: 24px 26px;
}

.crypto-page .group-panel--aside .stat {
  padding: 14px 0;
}

.ai-hero,
.ai-overview {
  width: min(calc(100% - 32px), var(--portal-max));
  margin: 0 auto;
}

.ai-hero {
  padding: 40px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.ai-hero__content,
.ai-hero__panel,
.ai-overview__panel {
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: rgba(5, 11, 19, 0.74);
  box-shadow: var(--portal-shadow);
}

.ai-hero__content {
  padding: 36px;
}

.ai-hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.95;
}

.ai-hero__content p {
  max-width: 640px;
  margin: 0 0 22px;
  color: var(--portal-silver);
  font-size: 18px;
  line-height: 1.7;
}

.ai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 28px;
}

.ai-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.12), rgba(4, 8, 16, 0.82)),
    radial-gradient(circle at 78% 14%, rgba(142, 197, 255, 0.24), transparent 24%);
}

.crypto-hero__panel::before {
  background:
    linear-gradient(180deg, rgba(10, 7, 3, 0.14), rgba(10, 7, 3, 0.84)),
    radial-gradient(circle at 78% 14%, rgba(212, 175, 55, 0.2), transparent 24%);
}

.ai-hero__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-hero__panel-copy {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin-top: auto;
}

.ai-hero__panel-copy h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.05;
}

.ai-overview {
  padding: 0 0 70px;
}

.ai-overview__panel {
  padding: 28px 30px;
}

.ai-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ai-overview__card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--portal-radius);
  background: rgba(255, 255, 255, 0.03);
}

.crypto-card {
  background: rgba(212, 175, 55, 0.04);
}

.crypto-main {
  width: min(calc(100% - 32px), var(--portal-max));
  margin: 0 auto;
  padding-bottom: 54px;
}

.crypto-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 26px;
  align-items: end;
  padding: 34px 0 54px;
}

.crypto-landing__content {
  padding: 12px 0;
}

.crypto-landing__eyebrow {
  margin: 0 0 14px;
  color: rgba(240, 207, 102, 0.86);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.crypto-landing__title {
  margin: 0;
  max-width: 760px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.94;
  font-weight: 600;
  color: #f6ebc8;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.crypto-landing__copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(232, 236, 243, 0.82);
  font-size: 17px;
  line-height: 1.82;
}

.crypto-landing__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.crypto-landing__aside {
  display: flex;
  justify-content: flex-end;
}

.crypto-landing__frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 0.92;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--portal-radius);
  background: rgba(10, 7, 3, 0.82);
  box-shadow: var(--portal-shadow);
}

.crypto-landing__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crypto-landing__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 3, 0.12), rgba(10, 7, 3, 0.86)),
    radial-gradient(circle at 82% 14%, rgba(212, 175, 55, 0.24), transparent 24%);
}

.crypto-landing__note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.crypto-landing__note span {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 8, 0.34);
  color: rgba(248, 240, 217, 0.92);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crypto-essence {
  padding: 0 0 34px;
}

.crypto-essence__intro {
  max-width: 640px;
  margin-bottom: 22px;
}

.crypto-essence__intro h2,
.crypto-statement__panel h2,
.crypto-close__band h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
}

.crypto-essence__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.crypto-feature,
.crypto-statement__panel,
.crypto-close__band {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--portal-radius);
  background: rgba(11, 8, 4, 0.76);
  box-shadow: var(--portal-shadow);
}

.crypto-feature {
  min-height: 220px;
  padding: 24px;
}

.crypto-feature__index {
  margin: 0 0 16px;
  color: rgba(240, 207, 102, 0.88);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.crypto-feature h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1.04;
}

.crypto-feature p,
.crypto-statement__panel p,
.crypto-close__band p {
  color: var(--portal-text-muted);
  font-size: 15px;
  line-height: 1.76;
}

.crypto-statement {
  padding: 8px 0 34px;
}

.crypto-statement__panel {
  padding: 28px 30px;
  max-width: 980px;
}

.crypto-statement__panel h2 {
  max-width: 880px;
  margin-bottom: 14px;
}

.crypto-close__band {
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.crypto-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-overview__card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--portal-text);
}

@media (max-width: 960px) {
  body,
  .ai-page {
    background-attachment: scroll;
  }

  .portal-bg {
    position: absolute;
    inset: 0;
  }

  .portal-bg::before {
    inset: 0;
    transform: translateY(0);
  }

  .hero-grid,
  .group-section__grid,
  .pillars__grid,
  .ai-hero,
  .ai-overview__grid {
    grid-template-columns: 1fr;
  }

  .product-panel,
  .product-panel__content,
  .ai-hero__panel {
    min-height: auto;
  }

  .product-panel__content {
    padding: 26px;
  }

  .portal-footer__inner,
  .portal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .crypto-page .ai-hero {
    grid-template-columns: 1fr;
  }

  .crypto-landing,
  .crypto-essence__grid {
    grid-template-columns: 1fr;
  }

  .crypto-close__band {
    flex-direction: column;
    align-items: flex-start;
  }

  .crypto-landing__aside {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .portal-header {
    display: none;
  }

  .hero,
  .group-section,
  .pillars,
  .ai-hero,
  .ai-overview,
  .portal-footer__inner {
    width: min(calc(100% - 24px), var(--portal-max));
  }

  .hero {
    padding-top: 12px;
    padding-bottom: 20px;
  }

  .hero__brandline {
    gap: 10px;
    margin-bottom: 6px;
  }

  .hero__divider {
    display: none;
  }

  .hero__lead {
    font-size: 16px;
    letter-spacing: 0.16em;
    margin-bottom: 0;
  }

  .hero__title {
    font-size: clamp(44px, 14vw, 66px);
    max-width: 100%;
  }

  .hero__subbrand {
    font-size: 14px;
    letter-spacing: 0.22em;
    margin-top: 2px;
  }

  .hero__subtitle {
    max-width: 100%;
    white-space: normal;
  }

  .hero__statement {
    margin-top: 12px;
  }

  .hero__selection {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .product-panel__title {
    font-size: clamp(34px, 12vw, 46px);
  }

  .product-panel__tag {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .product-panel__summary {
    font-size: clamp(24px, 8vw, 30px);
  }

  .product-panel {
    min-height: 0;
  }

  .product-panel__content {
    min-height: 0;
    padding: 20px 18px 18px;
    justify-content: flex-start;
    gap: 14px;
  }

  .product-panel__body {
    max-width: 100%;
  }

  .product-panel__statement {
    margin: 0 0 14px;
    padding: 14px 14px;
    border-radius: 0 10px 0 10px;
  }

  .product-panel__statement::before,
  .product-panel__statement::after {
    width: 24px;
    height: 24px;
  }

  .product-panel__capabilities--mobile {
    display: grid !important;
    gap: 10px;
    margin-bottom: 14px;
  }

  .product-panel__summary--mobile {
    display: block !important;
    font-size: 14px;
    line-height: 1.58;
  }

  .product-panel__statement .product-panel__summary--mobile {
    font-size: 14px;
    line-height: 1.58;
  }

  .product-panel__summary--desktop {
    display: none !important;
  }

  .product-panel__points--desktop {
    display: none;
  }

  .product-panel__summary--composed {
    font-size: 15px;
    line-height: 1.55;
  }

  .product-panel__line {
    display: inline;
  }

  .product-panel__line::after {
    content: " ";
  }

  .product-panel__line + .product-panel__line {
    margin-top: 0;
  }

  .product-panel__line--accent {
    letter-spacing: 0;
  }

  .product-panel__points {
    gap: 7px;
    font-size: 13px;
  }

  .product-panel__points li {
    align-items: flex-start;
    line-height: 1.5;
  }

  .product-panel__actions {
    margin-top: 16px;
  }

  .hero-grid {
    gap: 14px;
    margin-top: -8px;
  }

  .group-panel,
  .pillar,
  .ai-hero__content,
  .ai-hero__panel,
  .ai-overview__panel {
    padding: 24px 22px;
  }

  .crypto-page .ai-hero__content h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .crypto-page .ai-hero__content p,
  .crypto-page .ai-overview__panel > p,
  .crypto-page .group-panel > p,
  .crypto-page .group-panel li,
  .crypto-page .stat p {
    font-size: 15px;
  }

  .crypto-main {
    width: min(calc(100% - 24px), var(--portal-max));
  }

  .crypto-landing {
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .crypto-landing__title {
    font-size: clamp(42px, 14vw, 62px);
  }

  .crypto-landing__copy {
    font-size: 15px;
  }

  .crypto-landing__actions,
  .crypto-close__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .crypto-landing__frame {
    aspect-ratio: 1;
  }

  .crypto-feature,
  .crypto-statement__panel,
  .crypto-close__band {
    padding: 22px;
  }

  .portal-footer__inner {
    padding: 20px 0 24px;
    gap: 14px;
    align-items: flex-start;
  }

  .portal-footer__name {
    font-size: 22px;
  }

  .portal-footer__tagline {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .portal-footer__brand {
    width: 100%;
  }

  .portal-footer__lang-mobile {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: rgba(236, 240, 246, 0.72);
  }

  .portal-footer__lang-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    cursor: pointer;
  }

  .portal-footer__lang-btn.is-active {
    color: rgba(244, 229, 180, 0.92);
  }

  .portal-footer__lang-sep {
    opacity: 0.42;
  }

  .portal-footer__meta {
    gap: 10px;
    justify-items: start;
  }

  .portal-footer__contact {
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .portal-footer__links {
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .portal-footer__contact a,
  .portal-footer__links a {
    font-size: 12px;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .product-panel__actions .button-primary {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .product-panel__actions .button-secondary {
    width: 100%;
  }

  .product-panel__actions,
  .ai-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
