/*
 * Nelect Studio — Studio Experience
 * Дополнительные компоненты для каталога проектов и галереи.
 * Слой поверх aurora-glass-2026.css, без тяжёлых библиотек.
 */
body.nelect-aurora .studio-capabilities {
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(48px, 6vw, 74px);
}
body.nelect-aurora .studio-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
body.nelect-aurora .studio-capability {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 0;
  min-height: 250px;
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid rgba(119,153,197,.22);
  border-radius: 30px;
  color: #1c3253;
  background:
    radial-gradient(circle at 100% 0%, rgba(177,208,246,.25), transparent 48%),
    linear-gradient(150deg, rgba(255,255,255,.98), rgba(248,251,255,.90));
  box-shadow: 0 18px 46px rgba(42,78,128,.07), inset 0 1px 0 #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.nelect-aurora .studio-capability:hover {
  transform: translateY(-5px);
  border-color: rgba(66,112,177,.38);
  box-shadow: 0 26px 60px rgba(42,78,128,.14);
}
body.nelect-aurora .studio-capability__index {
  color: #216180;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.nelect-aurora .studio-capability h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.15;
  max-width: 230px;
}
body.nelect-aurora .studio-capability p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 310px;
}
body.nelect-aurora .studio-capability__arrow {
  position: absolute;
  right: 24px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #255685;
  background: #eff6ff;
  font-size: 21px;
  font-weight: 700;
}
body.nelect-aurora .portfolio-page .apps-hero { 
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(30px, 4vw, 52px);
}
body.nelect-aurora .portfolio-page .apps-hero__title {
  max-width: 900px;
  font-size: clamp(43px, 5.4vw, 78px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
body.nelect-aurora .portfolio-page .apps-hero__description {
  max-width: 730px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}
body.nelect-aurora .portfolio-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 30px;
}
body.nelect-aurora .portfolio-tools__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
body.nelect-aurora .portfolio-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  background: rgba(255,255,255,.86);
  color: #344963;
  border: 1px solid rgba(117,148,188,.25);
  border-radius: 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.nelect-aurora .portfolio-filter.is-active,
body.nelect-aurora .portfolio-filter[aria-pressed="true"] {
  color: #fff;
  border-color: #2c558b;
  background: linear-gradient(125deg, #283d85, #28628d);
  box-shadow: 0 10px 24px rgba(37,77,135,.18);
}
body.nelect-aurora .portfolio-filter:hover:not(.is-active) {
  background: #eff6ff;
  border-color: rgba(57,112,182,.34);
}
body.nelect-aurora .portfolio-tools__count {
  color: #586d89;
  margin: 0;
  font-size: 14px;
}
body.nelect-aurora .portfolio-grid-new { gap: clamp(18px, 2vw, 24px); }
body.nelect-aurora .portfolio-project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: clamp(23px, 3vw, 32px);
  border: 1px solid rgba(118,152,197,.20);
  border-radius: 30px;
  background: linear-gradient(152deg, #fff, #f8fbff);
  box-shadow: 0 17px 46px rgba(43,77,129,.08);
}
body.nelect-aurora .portfolio-project .app-card__body { flex: 1 1 auto; }
body.nelect-aurora .portfolio-project .app-card__title a:hover { color: #2851a9; }
body.nelect-aurora .portfolio-project .app-card__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
body.nelect-aurora .portfolio-translation-note {
  font-size: 13px;
  color: #596f8b !important;
  padding: 8px 11px;
  background: #eef4fb;
  border-radius: 10px;
}
body.nelect-aurora .portfolio-empty {
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(118,152,197,.22);
  border-radius: 24px;
}
body.nelect-aurora [hidden] { display: none !important; }

/* Галерея: вся карточка скриншота — большая доступная зона нажатия. */
body.nelect-aurora .app-screenshot-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}
body.nelect-aurora .app-screenshot-trigger img { width: 100%; }
body.nelect-aurora .app-screenshot-trigger:hover img {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(34,64,110,.17);
}
body.nelect-aurora .app-screenshot-trigger img {
  transition: transform .18s ease, box-shadow .18s ease;
}
body.nelect-aurora .app-screenshot-trigger:focus-visible {
  outline: 3px solid #2455a4;
  outline-offset: 5px;
}
/* Диалог добавляется в body через JS и наследует светлую палитру. */
body.nelect-aurora .nelect-lightbox {
  width: min(96vw, 920px);
  max-height: 96vh;
  padding: 0;
  border: 1px solid rgba(211,225,244,.92);
  border-radius: 26px;
  color: #172136;
  background: #fff;
  box-shadow: 0 34px 110px rgba(11,24,49,.30);
  overflow: auto;
}
body.nelect-aurora .nelect-lightbox::backdrop {
  background: rgba(12,29,55,.77);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.nelect-aurora .nelect-lightbox__inner {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: clamp(30px, 5vw, 58px) 12px 16px;
}
body.nelect-aurora .nelect-lightbox__inner img {
  max-width: 100%;
  max-height: min(72vh, 840px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}
body.nelect-aurora .nelect-lightbox__close {
  position: absolute;
  top: 9px;
  right: 14px;
  font-size: 28px;
}
body.nelect-aurora .nelect-lightbox button {
  display: grid;
  place-items: center;
  width: 43px;
  min-height: 43px;
  color: #20395b;
  border: 1px solid rgba(103,141,191,.22);
  border-radius: 14px;
  background: #f2f7ff;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
body.nelect-aurora .nelect-lightbox button:hover { background: #e1efff; }
body.nelect-aurora .nelect-lightbox__inner p {
  grid-column: 1/-1;
  margin: 4px 0;
  text-align: center;
  font-size: 13px;
}
/* Новый компактный футер оставляет те же цвета, что и главная. */
body.nelect-aurora .footer-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
}
body.nelect-aurora .footer {
  margin-top: clamp(32px, 5vw, 68px);
}
body.nelect-aurora .footer-main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.nelect-aurora .footer-cta { justify-content: center; }
body.nelect-aurora .footer-column a { transition: color .18s ease, transform .18s ease; }

@media (max-width: 980px) {
  body.nelect-aurora .studio-capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.nelect-aurora .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.nelect-aurora .footer-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.nelect-aurora .studio-capabilities__grid { grid-template-columns: 1fr; }
  body.nelect-aurora .studio-capability { min-height: 210px; }
  body.nelect-aurora .portfolio-tools { align-items: flex-start; }
  body.nelect-aurora .portfolio-tools__filters { width: 100%; gap: 8px; }
  body.nelect-aurora .portfolio-filter { flex: 1 1 auto; padding-inline: 10px; }
  body.nelect-aurora .portfolio-project .app-card__actions { gap: 8px; }
  body.nelect-aurora .nelect-lightbox { width: 98vw; }
  body.nelect-aurora .nelect-lightbox__inner { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 4px; }
  body.nelect-aurora .nelect-lightbox button { width: 34px; min-height: 40px; }
  body.nelect-aurora .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  body.nelect-aurora .studio-capability,
  body.nelect-aurora .app-screenshot-trigger img,
  body.nelect-aurora .portfolio-project { transition: none !important; }
}


/*
 * STUDIO COMPOSITION V2 — 02.11.2026
 * Consolidates the stacked legacy home-section paddings, bounds the hero
 * artwork, and prevents the giant transparent/black diagonal in Safari PDF.
 * Intentionally scoped to the light Nelect theme, after Aurora + frontend.
 */

/* One opaque canvas for Safari, print-to-PDF and reduced-transparency modes. */
html:has(body.nelect-aurora) { background: #f5f8fd; }
body.nelect-aurora {
  background-color: #f5f8fd;
  background-image: none;
  color: #17283f;
}
body.nelect-aurora main {
  position: relative;
  isolation: isolate;
  min-width: 0;
  background: #f5f8fd;
}

/* The hero is a self-contained editorial card; no full-page pseudo layers. */
body.nelect-aurora main > .studio-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: min(100% - 32px, 1320px);
  max-width: 1320px;
  min-height: 0;
  margin: 10px auto 0;
  padding: clamp(36px, 4.7vw, 70px) clamp(30px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  border: 1px solid rgba(134, 165, 205, .2);
  border-radius: clamp(24px, 3.2vw, 40px);
  background: linear-gradient(125deg, #eef7ff 0%, #f9fbff 51%, #e7f1fc 100%);
  box-shadow: 0 20px 64px rgba(47, 79, 123, .10);
}
body.nelect-aurora main > .studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 52% 78% at 86% 46%, rgba(159, 199, 244, .28), transparent 86%),
    linear-gradient(135deg, rgba(255, 255, 255, .36), rgba(237, 246, 255, .12));
  pointer-events: none;
}
body.nelect-aurora main > .studio-hero::after { content: none; }
body.nelect-aurora main > .studio-hero .studio-hero__glow {
  inset: 0;
  filter: none;
  opacity: .8;
  background: radial-gradient(circle at 83% 43%, rgba(165, 207, 255, .20), transparent 51%);
  pointer-events: none;
}
body.nelect-aurora main > .studio-hero .studio-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  padding: 0;
  align-self: center;
}
body.nelect-aurora main > .studio-hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(54px, 5.5vw, 82px);
  line-height: 1;
  letter-spacing: -.06em;
  overflow-wrap: normal;
}
body.nelect-aurora main > .studio-hero .home-eyebrow {
  max-width: 32rem;
  margin-bottom: 16px;
  line-height: 1.45;
}
body.nelect-aurora main > .studio-hero .studio-hero__subtitle {
  max-width: 550px;
  margin: clamp(18px, 2.4vw, 25px) 0 0;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.2;
}
body.nelect-aurora main > .studio-hero .studio-hero__text {
  max-width: 560px;
  margin-top: 14px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.58;
}
body.nelect-aurora main > .studio-hero .studio-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 2.4vw, 30px);
}
body.nelect-aurora main > .studio-hero .premium-btn {
  min-height: 48px;
  padding: 0 19px;
  border-radius: 14px;
  font-size: 14px;
}
body.nelect-aurora main > .studio-hero .studio-hero__visual {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  min-height: 0;
  height: clamp(340px, 37vw, 520px);
  margin: 0;
  overflow: visible;
  transform: none;
  filter: none;
}
body.nelect-aurora main > .studio-hero .hero-phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  transform: none;
}
body.nelect-aurora main > .studio-hero .hero-phone-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
  transform: none;
  filter: drop-shadow(0 22px 38px rgba(39, 73, 117, .16));
}
body.nelect-aurora main > .studio-hero .hero-visual::before {
  inset: 8% 3%;
  width: auto;
  height: auto;
  opacity: .5;
  filter: blur(8px);
  pointer-events: none;
}
body.nelect-aurora main > .studio-hero .hero-app-cards {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}
body.nelect-aurora main > .studio-hero .hero-app-card {
  width: min(58%, 290px);
  min-height: 62px;
  padding: 11px 12px;
  border-radius: 17px;
  gap: 9px;
  box-shadow: 0 12px 30px rgba(31, 60, 103, .13);
}
body.nelect-aurora main > .studio-hero .hero-app-card--primary {
  inset: 21% auto auto 0;
}
body.nelect-aurora main > .studio-hero .hero-app-card--secondary {
  inset: auto 0 17% auto;
}
body.nelect-aurora main > .studio-hero .hero-app-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
body.nelect-aurora main > .studio-hero .hero-app-card__title {
  font-size: 13px;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
body.nelect-aurora main > .studio-hero .hero-app-card__text {
  font-size: 11px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Editorial rhythm: no double 90px paddings + margin on every section. */
body.nelect-aurora .home-section {
  box-sizing: border-box;
  width: min(100% - 48px, 1240px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 3.8vw, 48px) 0;
}
body.nelect-aurora .studio-hero + .home-section,
body.nelect-aurora .home-section + .home-section,
body.nelect-aurora .home-section + .platform-section,
body.nelect-aurora .platform-section + .home-section,
body.nelect-aurora .philosophy-section + .home-section {
  margin-top: 0;
}
body.nelect-aurora .studio-hero + .studio-capabilities {
  padding-top: clamp(32px, 4.4vw, 56px);
}
body.nelect-aurora .home-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px 24px;
  margin: 0 0 clamp(18px, 2.2vw, 26px);
}
body.nelect-aurora .home-section__head > div { min-width: 0; }
body.nelect-aurora .home-section__head h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(29px, 3.3vw, 43px);
  line-height: 1.09;
  letter-spacing: -.047em;
}
body.nelect-aurora .home-section__lead {
  max-width: 780px;
  margin: 10px 0 0;
  font-size: clamp(15px, 1.24vw, 17px);
  line-height: 1.58;
}
body.nelect-aurora .home-eyebrow { margin-bottom: 11px; }
body.nelect-aurora .home-link {
  flex: 0 0 auto;
  align-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Three content-first capability tiles, not three tall empty boxes. */
body.nelect-aurora .studio-capabilities { padding-bottom: 24px; }
body.nelect-aurora .studio-capabilities__grid { gap: 14px; }
body.nelect-aurora .studio-capability {
  min-height: 0;
  padding: clamp(18px, 2vw, 25px);
  gap: 9px;
  border-radius: 23px;
  justify-content: flex-start;
}
body.nelect-aurora .studio-capability h3 {
  max-width: none;
  margin: 0;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.17;
}
body.nelect-aurora .studio-capability p {
  max-width: 360px;
  margin: 0;
  font-size: 14px;
  line-height: 1.48;
}
body.nelect-aurora .studio-capability__index { font-size: 11px; }
body.nelect-aurora .studio-capability__arrow {
  right: 17px;
  top: 17px;
  width: 33px;
  height: 33px;
  border-radius: 11px;
}

/* Four published cards should occupy one balanced row at desktop width. */
body.nelect-aurora .home-section--apps { padding-top: 28px; }
body.nelect-aurora .premium-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}
body.nelect-aurora .premium-app-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: clamp(17px, 1.75vw, 23px);
  border-radius: 23px;
  overflow: hidden;
}
body.nelect-aurora .premium-app-card__top {
  align-items: start;
  gap: 8px;
  margin-bottom: 16px;
}
body.nelect-aurora .premium-app-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 15px;
}
body.nelect-aurora .premium-app-card h3 {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.17;
  overflow-wrap: anywhere;
}
body.nelect-aurora .premium-app-card p {
  font-size: 14px;
  line-height: 1.55;
}
body.nelect-aurora .premium-app-card__subtitle {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.4;
}
body.nelect-aurora .premium-app-card__description {
  margin: 0;
  color: #4e6179;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}
body.nelect-aurora .premium-card-links {
  display: flex;
  align-items: center;
  gap: 5px 12px;
  flex-wrap: wrap;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(112, 149, 193, .20);
}
body.nelect-aurora .premium-card-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  line-height: 1.3;
  font-size: 12px;
  font-weight: 800;
  color: #244d87;
  overflow-wrap: normal;
}
body.nelect-aurora .premium-card-links__primary { flex-basis: 100%; }
body.nelect-aurora .premium-card-links a:hover { color: #0e3777; text-decoration: underline; }

/* Tight and readable product-platform / philosophy editorial grids. */
body.nelect-aurora .platform-section,
body.nelect-aurora .philosophy-section {
  display: grid;
  align-items: stretch;
  gap: 16px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
body.nelect-aurora .platform-intro,
body.nelect-aurora .editorial-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(22px, 3vw, 35px);
  border-radius: 26px;
}
body.nelect-aurora .platform-intro h2,
body.nelect-aurora .editorial-panel h2 {
  max-width: 520px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}
body.nelect-aurora .platform-intro p,
body.nelect-aurora .editorial-panel p { line-height: 1.56; }
body.nelect-aurora .platform-grid,
body.nelect-aurora .value-orbit {
  align-content: stretch;
  gap: 12px;
}
body.nelect-aurora .platform-card,
body.nelect-aurora .value-orbit article {
  min-height: 0;
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: 21px;
}
body.nelect-aurora .platform-card h3,
body.nelect-aurora .value-orbit h3 { margin-bottom: 6px; }
body.nelect-aurora .platform-card p,
body.nelect-aurora .value-orbit p { font-size: 14px; line-height: 1.46; }

body.nelect-aurora .trust-band {
  margin-top: clamp(18px, 2.2vw, 30px);
  padding: clamp(22px, 3vw, 39px);
  border-radius: 26px;
  gap: 24px;
}
body.nelect-aurora .trust-band h2 {
  font-size: clamp(26px, 2.9vw, 39px);
  line-height: 1.12;
}
body.nelect-aurora .trust-checks { gap: 9px; }
body.nelect-aurora .trust-checks span {
  min-height: 0;
  padding: 11px 14px;
  border-radius: 13px;
}
body.nelect-aurora .studio-statement { gap: 16px; }
body.nelect-aurora .statement-card,
body.nelect-aurora .signature-card {
  min-height: 0;
  padding: clamp(24px, 2.9vw, 38px);
  border-radius: 26px;
}
body.nelect-aurora .studio-statement h2 {
  font-size: clamp(31px, 3.4vw, 47px);
  line-height: 1.1;
}
body.nelect-aurora .app-foundation { padding-top: 18px; }
body.nelect-aurora .foundation-grid { gap: 12px; }
body.nelect-aurora .foundation-card {
  min-height: 0;
  padding: 20px;
  border-radius: 22px;
}
body.nelect-aurora .foundation-card span { margin-bottom: 10px; }
body.nelect-aurora .foundation-card h3 { line-height: 1.2; }
body.nelect-aurora .foundation-card p { font-size: 14px; line-height: 1.5; }

body.nelect-aurora .final-cta {
  margin-top: 18px;
  padding: clamp(22px, 3.2vw, 42px);
  border-radius: 26px;
  gap: 22px;
}
body.nelect-aurora .final-cta h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
}
body.nelect-aurora .final-cta__actions { min-width: 0; }
body.nelect-aurora .final-cta .email-link { overflow-wrap: anywhere; }

/* Footer aligns with the same grid rather than adding a blank landing zone. */
body.nelect-aurora .footer {
  margin-top: clamp(28px, 3vw, 42px);
  border-top: 1px solid rgba(118, 153, 198, .18);
}
body.nelect-aurora .footer-shell {
  max-width: 1240px;
  padding-top: clamp(28px, 3vw, 42px);
}
body.nelect-aurora .footer-top { gap: 26px; padding-bottom: 24px; }
body.nelect-aurora .footer-cta { padding: 20px 24px; border-radius: 23px; }
body.nelect-aurora .footer-main { gap: 24px; padding-block: 22px; }
body.nelect-aurora .footer-bottom { padding-top: 17px; }

/* Intentional tablet layout. */
@media (max-width: 1120px) {
  body.nelect-aurora .premium-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.nelect-aurora .premium-app-card__description { -webkit-line-clamp: 4; line-clamp: 4; }
  body.nelect-aurora main > .studio-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.nelect-aurora main > .studio-hero .studio-hero__visual { height: clamp(320px, 38vw, 450px); }
}
@media (max-width: 900px) {
  body.nelect-aurora main > .studio-hero {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 33px clamp(22px, 4vw, 36px) 24px;
  }
  body.nelect-aurora main > .studio-hero .studio-hero__content { max-width: 700px; }
  body.nelect-aurora main > .studio-hero .studio-hero__visual {
    height: 350px;
    width: min(100%, 650px);
    margin: 0 auto;
  }
  body.nelect-aurora main > .studio-hero .hero-phone-frame { position: absolute; }
  body.nelect-aurora main > .studio-hero .hero-app-cards { position: absolute; }
  body.nelect-aurora .platform-section,
  body.nelect-aurora .philosophy-section { grid-template-columns: 1fr; }
  body.nelect-aurora .platform-grid,
  body.nelect-aurora .value-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.nelect-aurora .trust-band { grid-template-columns: 1fr; }
  body.nelect-aurora .studio-statement { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  body.nelect-aurora .foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.nelect-aurora main > .studio-hero {
    width: calc(100% - 22px);
    padding: 27px 19px 20px;
    border-radius: 24px;
  }
  body.nelect-aurora main > .studio-hero h1 { font-size: clamp(46px, 11.4vw, 70px); }
  body.nelect-aurora main > .studio-hero .studio-hero__subtitle { font-size: clamp(20px, 5.6vw, 25px); }
  body.nelect-aurora main > .studio-hero .studio-hero__visual {
    width: 100%;
    height: clamp(245px, 69vw, 360px);
  }
  body.nelect-aurora main > .studio-hero .hero-app-card {
    width: min(64%, 210px);
    min-height: 52px;
    padding: 8px;
    gap: 6px;
    border-radius: 13px;
  }
  body.nelect-aurora main > .studio-hero .hero-app-card--primary { inset: 18% auto auto 0; }
  body.nelect-aurora main > .studio-hero .hero-app-card--secondary { inset: auto 0 11% auto; }
  body.nelect-aurora main > .studio-hero .hero-app-card__icon { width: 33px; height: 33px; border-radius: 9px; }
  body.nelect-aurora main > .studio-hero .hero-app-card__title { font-size: 11px; }
  body.nelect-aurora main > .studio-hero .hero-app-card__text { display: none; }
  body.nelect-aurora .home-section {
    width: calc(100% - 32px);
    padding-block: 26px;
  }
  body.nelect-aurora .home-section__head { align-items: start; flex-direction: column; }
  body.nelect-aurora .home-section__head h2 { font-size: clamp(28px, 7vw, 37px); }
  body.nelect-aurora .studio-capabilities__grid,
  body.nelect-aurora .premium-app-grid,
  body.nelect-aurora .platform-grid,
  body.nelect-aurora .value-orbit,
  body.nelect-aurora .foundation-grid,
  body.nelect-aurora .studio-statement { grid-template-columns: 1fr; }
  body.nelect-aurora .studio-capability { min-height: 0; padding: 20px; }
  body.nelect-aurora .premium-app-card { padding: 21px; }
  body.nelect-aurora .premium-app-card__description { -webkit-line-clamp: 4; line-clamp: 4; }
  body.nelect-aurora .premium-card-links a { min-height: 35px; }
  body.nelect-aurora .trust-band,
  body.nelect-aurora .final-cta { padding: 22px; }
  body.nelect-aurora .footer-cta { padding: 20px; }
  body.nelect-aurora .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.nelect-aurora .footer-bottom { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 380px) {
  body.nelect-aurora main > .studio-hero .hero-app-card--secondary { display: none; }
  body.nelect-aurora .footer-main { grid-template-columns: 1fr; }
}
@media print {
  body.nelect-aurora {
    background: #fff !important;
    color: #17283f !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body.nelect-aurora main { background: #fff !important; }
  body.nelect-aurora main > .studio-hero,
  body.nelect-aurora main > .studio-hero::before { background: #eef6ff !important; }
  body.nelect-aurora .home-section { break-inside: avoid; }
}
