:root {
  --bg: #071225;
  --bg-soft: #0d1d37;
  --surface: #112746;
  --text: #e8eef8;
  --text-soft: #b7c3d9;
  --primary: #2bb5ff;
  --primary-strong: #0098eb;
  --line: rgba(255, 255, 255, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}

body.rak-nav-open {
  overflow: hidden;
}

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

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

.center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #011426;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(8px);
  background: rgba(7, 18, 37, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.6px;
}

.top-nav {
  display: flex;
  gap: 1.2rem;
}

.top-nav a {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.top-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 0.9rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.trust-dot {
  opacity: 0.45;
}

.hero {
  padding: 5.2rem 0 4rem;
  background: radial-gradient(circle at 80% 30%, rgba(43, 181, 255, 0.25), transparent 42%), var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(1.9rem, 4.7vw, 3.2rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin: 0 0 0.8rem;
}

h3 {
  margin-top: 0;
}

.lead {
  color: var(--text-soft);
  max-width: 60ch;
  font-size: 1.06rem;
}

.hero-card,
.product-card,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.74rem 1.12rem;
  border-radius: 10px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #011426;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-intro {
  color: var(--text-soft);
  max-width: 75ch;
}

.section-intro.is-tight {
  margin-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card.active {
  border-color: rgba(43, 181, 255, 0.55);
}

.text-link {
  color: var(--primary);
}

.badge {
  display: inline-block;
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

/* Full-bleed feature: snapshot fills viewport; copy sits on a legible card */
.feature-immersive {
  position: relative;
  min-height: min(92vh, 56rem);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background-color: #040a14;
}

/* Slight zoom-out + lift clarity so art reads as a “lit” background */
.feature-immersive .feature-immersive-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--feature-image);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transform: scale(0.94);
  filter: brightness(1.1) contrast(1.04) saturate(1.02);
  transform-origin: top center;
}

/* Two phone screenshots side by side (Field engineering) */
.feature-immersive.is-dual-screens .feature-immersive-dual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: row;
}

.feature-immersive.is-dual-screens .feature-immersive-dual .feature-immersive-bg {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  height: 100%;
  inset: auto;
  background-position: top center;
  background-size: 88% auto;
  background-repeat: no-repeat;
  background-color: #040a14;
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  transform: scale(0.9);
  transform-origin: top center;
  filter: brightness(1.12) contrast(1.05) saturate(1.04);
}

.feature-immersive.is-dual-screens .feature-immersive-dual .feature-immersive-bg:last-child {
  border-right: none;
}

.feature-immersive-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Slightly lighter scrim so the UI stays a bit more visible */
.is-scrim-left .feature-immersive-vignette {
  background: linear-gradient(
    90deg,
    rgba(4, 10, 22, 0.8) 0%,
    rgba(4, 10, 22, 0.46) 40%,
    rgba(4, 10, 22, 0.1) 100%
  );
}

.is-scrim-right .feature-immersive-vignette {
  background: linear-gradient(
    270deg,
    rgba(4, 10, 22, 0.8) 0%,
    rgba(4, 10, 22, 0.46) 40%,
    rgba(4, 10, 22, 0.1) 100%
  );
}

.feature-immersive-inner {
  position: relative;
  z-index: 2;
  min-height: min(92vh, 56rem);
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
}

/* Taller strip + top-anchored art so more of a “tall” UI (e.g. Wells Analysis) is visible */
.feature-immersive.is-height-extended {
  min-height: min(135vh, 90rem);
}

.feature-immersive.is-height-extended .feature-immersive-inner {
  min-height: min(135vh, 90rem);
  align-items: flex-start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.feature-immersive.is-height-extended .feature-immersive-bg {
  background-position: top center;
  background-size: cover;
  transform: scale(1);
}

/* Slightly softer edge on the left so the long form + schematic both read */
.feature-immersive.is-height-extended.is-scrim-left .feature-immersive-vignette {
  background: linear-gradient(
    90deg,
    rgba(4, 10, 22, 0.9) 0%,
    rgba(4, 10, 22, 0.5) 42%,
    rgba(4, 10, 22, 0.12) 100%
  );
}

.is-align-start .feature-immersive-inner {
  justify-content: flex-start;
}

.is-align-end .feature-immersive-inner {
  justify-content: flex-end;
}

.feature-immersive-card {
  max-width: min(30rem, 100%);
  background: rgba(5, 14, 28, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.45rem 1.55rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.feature-immersive-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.feature-immersive-card p {
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
  font-size: 1.02rem;
}

/* Full UI visible: contain-style background (readable screenshots) */
.feature-immersive--ui-snap .feature-immersive-bg {
  background-size: contain;
  background-position: center center;
  background-color: #0a1020;
  transform: none;
  filter: brightness(1.08) contrast(1.03) saturate(1.02);
  opacity: 0.93;
  transform-origin: center center;
}

.feature-immersive--ui-snap {
  min-height: min(88vh, 54rem);
}

.feature-immersive--ui-snap .feature-immersive-inner {
  min-height: min(88vh, 54rem);
}

.feature-immersive--ui-snap .feature-immersive-vignette {
  /* Softer so centered art stays legible */
  background: linear-gradient(
    90deg,
    rgba(4, 10, 22, 0.9) 0%,
    rgba(4, 10, 22, 0.4) 38%,
    rgba(4, 10, 22, 0.2) 100%
  ) !important;
}

.feature-immersive--ui-snap.is-scrim-right .feature-immersive-vignette {
  background: linear-gradient(
    270deg,
    rgba(4, 10, 22, 0.9) 0%,
    rgba(4, 10, 22, 0.4) 38%,
    rgba(4, 10, 22, 0.2) 100%
  ) !important;
}

/* ABAR snapshot tours: wells, field, management (mosaic of PNGs) */
.wells-analysis-tour,
.field-app-tour,
.bit-performance-tour,
.management-bi-tour {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 0 0.5rem;
}

.wells-analysis-heading,
.field-app-heading,
.bit-performance-heading,
.management-bi-heading {
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  margin: 0 0 0.75rem;
}

.wells-analysis-lead,
.field-app-lead,
.bit-performance-lead,
.management-bi-lead {
  margin-top: 0;
  margin-bottom: 1.75rem;
  max-width: 72ch;
}

.abar-intro-scope {
  margin-top: 0.75rem;
}

/* Shared mosaic grid (alias: .wells-mosaic) */
.wells-mosaic,
.feature-mosaic {
  display: grid;
  gap: 0.9rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.2rem;
}

.feature-mosaic--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Field app: first panel wider + taller frame so “create job” is easier to read */
.field-app-tour .feature-mosaic--3 {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.92fr) minmax(0, 0.92fr);
}

.field-app-tour .feature-mosaic__cell--lead .feature-mosaic__img-wrap {
  min-height: min(52vh, 32rem);
  padding: 0.55rem 0.75rem;
}

.field-app-tour .feature-mosaic__cell--lead .feature-mosaic__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-mosaic--2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  max-width: 1150px;
}

/* Bit performance: two equal shots (default SVG + ROP chart) */
.feature-mosaic--2-equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
}

/* Wells: 3 + full-width schematic */
.wells-mosaic,
.feature-mosaic--wells {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wells-mosaic__cell,
.feature-mosaic__cell {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wells-mosaic__img-wrap,
.feature-mosaic__img-wrap {
  background: #0a1020;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  line-height: 0;
}

.wells-mosaic__cell:not(.wells-mosaic__cell--schematic) .wells-mosaic__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.03) contrast(1.01);
  opacity: 0.93;
}

.feature-mosaic--wells .feature-mosaic__cell:not(.feature-mosaic__cell--wide) .feature-mosaic__img-wrap img,
.feature-mosaic--3 .feature-mosaic__img-wrap img,
.feature-mosaic--2
  .feature-mosaic__cell:not(.feature-mosaic__cell--spotlight)
  .feature-mosaic__img-wrap
  img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.03) contrast(1.01);
  opacity: 0.93;
}

.wells-mosaic__cell--schematic,
.feature-mosaic__cell--wide {
  grid-column: 1 / -1;
}

.feature-mosaic__cell--spotlight .feature-mosaic__img-wrap {
  min-height: min(48vh, 28rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, #0b1428 0%, #060b14 100%);
}

.feature-mosaic__cell--spotlight .feature-mosaic__img-wrap img {
  max-width: 100%;
  max-height: min(56vh, 34rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.04) contrast(1.02);
  opacity: 0.93;
}

.wells-mosaic__cell--schematic .wells-mosaic__img-wrap,
.feature-mosaic__cell--wide .feature-mosaic__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(64vh, 36rem);
  padding: 1.1rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, #0b1428 0%, #060b14 100%);
}

.wells-mosaic__cell--schematic .wells-mosaic__img-wrap img,
.feature-mosaic__cell--wide .feature-mosaic__img-wrap img {
  max-width: 100%;
  max-height: min(70vh, 46rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.04) contrast(1.02);
  opacity: 0.93;
}

.wells-mosaic__cap,
.feature-mosaic__cap {
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.32;
  padding: 0 0.1rem 0.25rem;
  font-weight: 600;
}

.wells-mosaic__cell--schematic .wells-mosaic__cap,
.feature-mosaic__cell--wide .feature-mosaic__cap,
.feature-mosaic__cell--spotlight .feature-mosaic__cap {
  text-align: center;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

/* Tour order strip */
.abar-tour-rail-wrap {
  margin-top: 0.5rem;
}

.abar-tour-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-soft);
  max-width: 80ch;
}

.abar-tour-rail a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 212, 200, 0.35);
}

.abar-tour-rail a:hover,
.abar-tour-rail a:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 900px) {
  .wells-mosaic,
  .feature-mosaic--wells,
  .feature-mosaic--3,
  .feature-mosaic--2,
  .feature-mosaic--2-equal {
    grid-template-columns: 1fr;
  }

  .field-app-tour .feature-mosaic__cell--lead .feature-mosaic__img-wrap {
    min-height: min(46vh, 26rem);
  }

  .wells-mosaic__cell--schematic,
  .feature-mosaic__cell--wide {
    grid-column: 1;
  }
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.infra-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}

.infra-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
}

.infra-card p {
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
  font-size: 0.96rem;
}

.ai-panel {
  margin-top: 2.25rem;
}

.section-alt-inner {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.45rem 1.35rem;
}

.ai-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.ai-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.ai-list li {
  margin: 0.45rem 0;
  line-height: 1.5;
}

.ai-soon {
  margin-top: 1.05rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(43, 181, 255, 0.32);
  background: rgba(43, 181, 255, 0.08);
}

.ai-soon p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.portal-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.portal-list li {
  margin: 0.4rem 0;
}

.portal-cta {
  text-align: center;
  margin-top: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.contact-section {
  max-width: 100%;
}

.contact-intro {
  margin-bottom: 2rem;
}

.contact-intro p {
  color: var(--text-soft);
  max-width: 65ch;
}

.contact-columns {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-columns--email-only {
  grid-template-columns: minmax(0, 28rem);
}

.contact-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.contact-card a {
  color: var(--primary);
}

.contact-card-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-form-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.4rem;
}

.contact-form {
  margin: 0;
}

.form-row {
  margin: 0 0 1rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
}

.req {
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(43, 181, 255, 0.45);
  outline-offset: 1px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1rem;
  margin: 0 0 1rem;
}

.form-row-grid .form-row {
  margin: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  margin: 0;
  padding: 0;
}

.form-actions {
  margin-bottom: 0;
}

.form-notice {
  margin: 0.8rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.form-notice-success {
  background: rgba(40, 200, 120, 0.12);
  border: 1px solid rgba(40, 200, 120, 0.35);
  color: #c8f5e0;
}

.form-notice-error {
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.3);
  color: #ffd6d6;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 1rem;
  background: #050e1c;
}

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

.footer-grid p,
.footer-legal {
  color: var(--text-soft);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  padding-top: 1rem;
  font-size: 0.88rem;
}

.footer-legal a {
  color: var(--text-soft);
}

.footer-legal a:hover {
  color: #fff;
}

.footer-sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.feature-snapshot {
  opacity: 0.5;
  transform: translateY(30px);
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.feature-snapshot.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .product-grid,
  .contact-grid,
  .footer-grid,
  .contact-columns,
  .form-row-grid,
  .deployment-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .top-nav {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.2rem 1.5rem 2rem;
    gap: 0.5rem;
    background: rgba(5, 14, 28, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .top-nav a {
    font-size: 1.02rem;
    padding: 0.4rem 0;
  }

  .top-nav.is-open {
    display: flex;
  }
}

/*
 * Narrow screens: full-bleed snapshot first, then text below — avoids the overlay card
 * covering most of the screenshot on phones (desktop overlay layout unchanged above).
 */
@media (max-width: 900px) {
  .feature-immersive {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }

  .feature-immersive .feature-immersive-bg {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    min-height: min(46vh, 22rem);
    height: min(46vh, 22rem);
    transform: none;
    background-size: cover;
    background-position: top center;
  }

  .feature-immersive--ui-snap .feature-immersive-bg {
    height: auto;
    min-height: min(52vh, 26rem);
    max-height: min(62vh, 34rem);
    background-size: contain;
    background-position: center center;
    background-color: #0a1020;
  }

  .feature-immersive-vignette {
    display: none;
  }

  .feature-immersive-inner {
    position: relative;
    z-index: 2;
    min-height: 0 !important;
    flex: none;
    width: 100%;
    padding: 1.15rem 0 1.85rem;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
  }

  .feature-immersive-card {
    max-width: none;
    width: 100%;
  }

  .feature-immersive-card p {
    font-size: 0.98rem;
  }

  .feature-immersive.is-height-extended,
  .feature-immersive.is-height-extended .feature-immersive-inner {
    min-height: 0 !important;
  }

  .feature-immersive.is-dual-screens .feature-immersive-dual {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    flex-direction: column;
    height: auto;
  }

  .feature-immersive.is-dual-screens .feature-immersive-dual .feature-immersive-bg {
    position: relative;
    flex: 0 0 auto;
    min-height: min(38vh, 19rem);
    height: min(38vh, 19rem);
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  }

  .feature-immersive.is-dual-screens .feature-immersive-dual .feature-immersive-bg:last-child {
    border-bottom: none;
  }
}
