:root {
  color-scheme: dark;
  --bg: #101418;
  --panel: #151b21;
  --panel-2: #11171d;
  --line: #26313c;
  --line-strong: #354454;
  --text: #e8edf2;
  --muted: #9aa8b5;
  --accent: #2f83ff;
  --accent-2: #7db5ff;
  --good: #3ccf8e;
  --warning: #e2b84e;
  --danger: #e56f6f;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.portal {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #0d1116;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.rail-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span,
.rail-footer,
.muted,
small,
.section-heading p,
.auth-copy p,
.plan-card p,
.device-item span {
  color: var(--muted);
}

.brand span {
  display: block;
  font-size: 12px;
}

.nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.nav-item {
  width: 100%;
  text-align: left;
  color: #cbd6e0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text);
  background: #18212a;
}

.rail-footer {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.rail-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 30px;
}

h2 {
  margin-bottom: 6px;
  font-size: 21px;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.account-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 10px;
  background: #111923;
  color: #d8e3ee;
  font-size: 12px;
  white-space: nowrap;
}

.status-pill.danger {
  border-color: rgba(229, 111, 111, 0.45);
  color: #ffc8c8;
}

.auth-layout {
  min-height: calc(100vh - 130px);
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 440px);
  gap: 24px;
  align-items: center;
}

.auth-copy h2 {
  max-width: 560px;
  font-size: 38px;
}

.auth-copy p {
  max-width: 560px;
  font-size: 16px;
}

.auth-panel,
.section-band,
.metric,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-panel {
  padding: 22px;
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #c6d1dc;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #0d1116;
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

.primary,
.secondary,
.ghost,
.danger-button,
.link-button {
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  color: white;
}

.primary {
  background: var(--accent);
}

.secondary {
  background: #31404e;
}

.ghost,
.link-button {
  background: transparent;
  color: #cbd6e0;
  border: 1px solid var(--line-strong);
}

.link-button {
  border-color: transparent;
  padding-left: 0;
  text-align: left;
}

.danger-button {
  background: #7d3030;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a.primary,
a.secondary,
a.ghost,
a.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.small {
  padding: 7px 10px;
  font-size: 12px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  font-size: 22px;
}

.section-band {
  padding: 22px;
  margin-bottom: 16px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-list {
  display: grid;
  gap: 8px;
}

.feature-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
}

.feature-row span {
  width: 74px;
  flex: 0 0 auto;
  color: var(--good);
  font-size: 12px;
}

.feature-row.disabled span {
  color: var(--muted);
}

.feature-row strong {
  font-size: 13px;
}

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

.plan-card {
  padding: 18px;
  display: grid;
  gap: 16px;
  box-shadow: none;
}

.plan-card.current {
  border-color: rgba(47, 131, 255, 0.75);
}

.plan-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

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

.limit-row span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
}

.limit-row strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.device-list,
.user-list {
  display: grid;
  gap: 8px;
}

.device-item,
.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
  padding: 12px;
}

.device-item strong,
.user-row strong {
  display: block;
}

.user-row {
  width: 100%;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.user-row:hover {
  border-color: var(--accent);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 16px;
}

.search {
  margin-bottom: 12px;
}

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

.wide {
  grid-column: 1 / -1;
}

.subsection {
  margin-top: 22px;
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 18px;
  color: var(--muted);
  background: var(--panel-2);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  background: #0d1116;
  color: var(--text);
  box-shadow: var(--shadow);
}

.landing-page {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #0d1116 0%, #101418 42%, #0e1318 100%);
}

.landing-page main {
  display: grid;
  gap: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(53, 68, 84, 0.72);
  background: rgba(13, 17, 22, 0.86);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: auto;
  max-width: 198px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
}

.site-nav a,
.footer-links a {
  color: #cbd6e0;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(47, 131, 255, 0.72);
  border-radius: 6px;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(47, 131, 255, 0.22);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 12px;
  color: #cbd6e0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

.header-link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(24, 33, 42, 0.78);
}

.button-link {
  font: inherit;
}

.landing-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(38px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(28px, 6vw, 76px);
}

.hero-copy {
  max-width: 690px;
}

.hero-copy h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 610px;
  color: #c2ced8;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.large {
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 800;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  color: #d9e4ee;
  background: rgba(17, 25, 35, 0.72);
  font-size: 13px;
}

.hero-visual img,
.visual-stack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.hero-visual {
  min-width: 0;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.logo-strip span {
  display: grid;
  min-height: 78px;
  place-items: center;
  color: #bac7d3;
  background: #11171d;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 750;
}

.section {
  padding: clamp(54px, 8vw, 106px) clamp(18px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1.22fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.split-section h2,
.security-band h2,
.download-section h2,
.section-heading.centered h2 {
  max-width: 780px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

.split-section p,
.security-band p,
.download-section p {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.visual-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.visual-stack img:nth-child(2) {
  margin-top: 42px;
}

.section-heading.centered {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #151b21;
}

.feature-card h3 {
  margin-top: 32px;
  font-size: 21px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.58;
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #2f83ff;
  font-weight: 900;
}

.security-band,
.download-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 28px;
  background: #11171d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  color: #dce7f2;
  background: #0d1116;
}

.download-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #151b21;
  box-shadow: var(--shadow);
}

.download-panel span {
  color: var(--muted);
  font-size: 13px;
}

.landing-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(210px, 320px);
  align-items: center;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #0d1116;
  border-top: 1px solid var(--line);
}

.landing-footer p {
  max-width: 470px;
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.make-india {
  justify-self: end;
}

.make-india img {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.auth-page,
.commerce-page,
.license-page {
  background: #0d1116;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(340px, 520px);
}

.login-visual {
  display: grid;
  align-content: space-between;
  padding: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(140deg, rgba(47, 131, 255, 0.22), transparent 38%),
    #101418;
}

.login-visual h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.login-visual p:not(.eyebrow) {
  max-width: 560px;
  color: #c2ced8;
  font-size: 18px;
  line-height: 1.62;
}

.login-panel {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(24px, 5vw, 54px);
  background: #151b21;
  border-left: 1px solid var(--line);
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  background: #0d1116;
}

.login-tabs button {
  min-height: 42px;
  border-radius: 6px;
  color: #cbd6e0;
  background: transparent;
  cursor: pointer;
}

.login-tabs button.active {
  color: #ffffff;
  background: var(--accent);
}

.stack-form {
  display: grid;
  gap: 14px;
}

.purchase-main,
.license-main {
  padding: clamp(34px, 6vw, 72px);
}

.purchase-hero {
  max-width: 940px;
  margin-bottom: 30px;
}

.purchase-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.03;
}

.purchase-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.pricing-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #151b21;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: rgba(47, 131, 255, 0.86);
  background: #172030;
}

.plan-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-card h2 {
  font-size: 28px;
}

.pricing-card p,
.pricing-card li {
  color: var(--muted);
  line-height: 1.52;
}

.price-line strong {
  display: block;
  font-size: 34px;
}

.price-line span {
  color: var(--muted);
}

.pricing-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.comparison-wrap,
.jet-panel,
.license-hero-panel,
.success-banner {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151b21;
  box-shadow: var(--shadow);
}

.comparison-wrap {
  padding: 24px;
}

.comparison-table {
  display: grid;
  overflow-x: auto;
}

.comparison-row {
  min-width: 720px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(120px, 0.5fr));
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row span,
.comparison-row strong {
  padding: 13px 12px;
}

.comparison-row span:not(:first-child) {
  color: #d7e2ec;
}

.comparison-row.head {
  color: var(--accent-2);
  font-weight: 800;
}

.license-main {
  display: grid;
  gap: 18px;
}

.success-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  border-color: rgba(60, 207, 142, 0.62);
  padding: 16px 18px;
  color: #ccffe8;
  background: rgba(60, 207, 142, 0.1);
}

.license-hero-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
}

.license-hero-panel h1 {
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 58px);
}

.license-hero-panel p {
  color: var(--muted);
}

.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jet-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jet-panel {
  padding: 22px;
}

.jet-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.jet-row span {
  color: var(--muted);
}

@media (max-width: 960px) {
  .portal {
    grid-template-columns: 1fr;
  }

  .rail {
    position: static;
    height: auto;
    grid-template-rows: auto auto;
  }

  .rail-footer {
    display: none;
  }

  .nav {
    display: flex;
    overflow-x: auto;
  }

  .nav-item {
    width: auto;
    white-space: nowrap;
  }

  .auth-layout,
  .summary-grid,
  .plan-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .feature-list.compact {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .landing-hero,
  .split-section,
  .security-band,
  .download-section,
  .login-shell,
  .pricing-table,
  .jet-layout,
  .landing-footer {
    grid-template-columns: 1fr;
  }

  .login-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .landing-hero {
    min-height: auto;
  }

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

  .make-india {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .content {
    padding: 18px;
  }

  .topbar,
  .section-heading,
  .device-item,
  .user-row {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-copy h2 {
    font-size: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-actions,
  .download-panel,
  .license-hero-panel,
  .success-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a,
  .download-panel a {
    width: 100%;
  }

  .logo-strip,
  .visual-stack,
  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .logo-strip span {
    min-height: 52px;
  }

  .visual-stack img:nth-child(2) {
    margin-top: 0;
  }
}

/* 2026 main website refresh, inspired by live-production product sites while keeping MCast branding distinct. */
.landing-vmix {
  --bg: #06111a;
  --panel: #0e1e2b;
  --panel-2: #142839;
  --line: #214053;
  --line-strong: #335d75;
  --text: #f2fbff;
  --muted: #9bb2c2;
  --accent: #21a7ff;
  --accent-2: #75dbff;
  --good: #35d49b;
  background:
    radial-gradient(circle at 15% 0%, rgba(33, 167, 255, 0.24), transparent 33%),
    radial-gradient(circle at 82% 8%, rgba(53, 212, 155, 0.14), transparent 27%),
    linear-gradient(180deg, #06111a 0%, #081722 54%, #06111a 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.landing-vmix .site-header {
  border-bottom-color: rgba(51, 93, 117, 0.6);
  background: rgba(6, 17, 26, 0.88);
}

.landing-vmix .site-nav a,
.landing-vmix .footer-links a,
.landing-vmix .header-link {
  color: #d4e8f5;
}

.landing-vmix .header-cta,
.landing-vmix .primary {
  border: 0;
  color: #04131d;
  background: linear-gradient(135deg, #75dbff 0%, #35d49b 100%);
  box-shadow: 0 16px 34px rgba(33, 167, 255, 0.22);
}

.landing-vmix .secondary {
  background: #1c3a4d;
  border: 1px solid rgba(117, 219, 255, 0.22);
}

.vmix-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 76px) clamp(36px, 6vw, 82px);
}

.landing-vmix .hero-copy h1 {
  max-width: 820px;
  font-size: clamp(48px, 6.5vw, 86px);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.landing-vmix .hero-lede {
  max-width: 680px;
  color: #c0d5e3;
}

.switcher-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(117, 219, 255, 0.22);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(20, 40, 57, 0.96), rgba(8, 23, 34, 0.98)),
    #0e1e2b;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.switcher-card::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 219, 255, 0.2), transparent 67%);
  pointer-events: none;
}

.switcher-top,
.program-row,
.input-grid,
.control-row {
  position: relative;
  z-index: 1;
}

.switcher-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.monitor {
  min-height: clamp(190px, 24vw, 320px);
  display: grid;
  align-content: end;
  gap: 8px;
  border: 1px solid rgba(117, 219, 255, 0.24);
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
}

.preview-monitor {
  background:
    linear-gradient(155deg, rgba(33, 167, 255, 0.2), transparent 48%),
    linear-gradient(25deg, #132b3b 0 18%, #0b1a25 18% 35%, #1c4157 35% 62%, #081722 62%);
}

.live-monitor {
  border-color: rgba(53, 212, 155, 0.5);
  background:
    linear-gradient(155deg, rgba(53, 212, 155, 0.22), transparent 46%),
    linear-gradient(25deg, #0b1f20 0 22%, #1c4a3f 22% 46%, #0c2330 46% 68%, #051019 68%);
  box-shadow: inset 0 0 0 2px rgba(53, 212, 155, 0.16);
}

.monitor span,
.input-tile span,
.control-pill {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.monitor strong {
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1;
}

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

.input-tile {
  min-height: 86px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(117, 219, 255, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(6, 17, 26, 0.78);
}

.input-tile.active {
  border-color: rgba(53, 212, 155, 0.66);
  background: rgba(53, 212, 155, 0.1);
}

.control-row {
  display: grid;
  grid-template-columns: auto auto minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.control-pill {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(33, 167, 255, 0.14);
}

.control-pill.go { color: #ccffe9; background: rgba(53, 212, 155, 0.15); }
.control-pill.rec { color: #ffd9ad; background: rgba(255, 184, 77, 0.14); }

.meter {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35d49b, #75dbff);
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.product-strip article {
  min-height: 128px;
  display: grid;
  gap: 10px;
  padding: 24px clamp(18px, 3vw, 34px);
  background: rgba(8, 23, 34, 0.96);
}

.product-strip strong {
  color: var(--accent-2);
  font-size: 14px;
}

.product-strip span {
  color: #d5e7f2;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.16;
}

.wide-heading {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.wide-heading h2,
.portal-band h2 {
  max-width: 860px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.wide-heading p:not(.eyebrow),
.portal-band p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.production-card,
.capability-grid article,
.edition-card,
.portal-card {
  border: 1px solid rgba(117, 219, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 40, 57, 0.9), rgba(8, 23, 34, 0.94));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
}

.production-card {
  min-height: 250px;
  padding: 24px;
}

.production-card.tall { grid-row: span 2; min-height: 520px; }
.production-card.wide-card { grid-column: span 2; }

.production-card h3,
.edition-card h3 {
  margin-top: 34px;
  font-size: 26px;
}

.production-card p,
.capability-grid span,
.edition-card p,
.portal-card strong {
  color: var(--muted);
  line-height: 1.58;
}

.landing-vmix .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #04131d;
  background: linear-gradient(135deg, #75dbff, #35d49b);
}

.feature-stage {
  background:
    linear-gradient(180deg, rgba(6, 17, 26, 0.1), rgba(20, 40, 57, 0.42)),
    #081722;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid article {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 20px;
}

.capability-grid strong {
  font-size: 20px;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.edition-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.edition-card.featured {
  border-color: rgba(53, 212, 155, 0.56);
  background: linear-gradient(180deg, rgba(17, 55, 45, 0.92), rgba(8, 23, 34, 0.95));
}

.edition-kicker {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
  background: #06111a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-card {
  display: grid;
  gap: 14px;
  min-height: 190px;
  padding: 24px;
  text-decoration: none;
}

.portal-card span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
}

.vmix-download {
  background:
    radial-gradient(circle at 82% 10%, rgba(53, 212, 155, 0.16), transparent 28%),
    #0a1a25;
}

@media (max-width: 1080px) {
  .vmix-hero,
  .portal-band {
    grid-template-columns: 1fr;
  }

  .production-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .production-card.tall,
  .production-card.wide-card {
    grid-row: auto;
    grid-column: auto;
    min-height: 250px;
  }
}

@media (max-width: 720px) {
  .vmix-hero {
    padding-top: 32px;
  }

  .landing-vmix .hero-copy h1 {
    font-size: 44px;
  }

  .program-row,
  .input-grid,
  .control-row,
  .product-strip,
  .production-grid,
  .capability-grid,
  .edition-grid,
  .portal-links {
    grid-template-columns: 1fr;
  }

  .monitor {
    min-height: 170px;
  }
}

/* Bright public website refresh focused on product features and screen captures. */
.landing-bright {
  --bright-ink: #123044;
  --bright-muted: #607c8e;
  --bright-blue: #0ea5e9;
  --bright-blue-2: #65d8ff;
  --bright-green: #22c55e;
  --bright-orange: #f97316;
  --bright-pink: #ec4899;
  --bright-purple: #8b5cf6;
  --bright-cyan: #06b6d4;
  --bright-lime: #84cc16;
  --bright-red: #ef4444;
  --bright-cream: #fff7ed;
  --bright-card: rgba(255, 255, 255, 0.86);
  color: var(--bright-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(101, 216, 255, 0.45), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(255, 198, 109, 0.48), transparent 26%),
    radial-gradient(circle at 42% 72%, rgba(139, 92, 246, 0.15), transparent 34%),
    linear-gradient(180deg, #f7fdff 0%, #fff7ed 45%, #f8fbff 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.landing-bright h1,
.landing-bright h2,
.landing-bright h3,
.landing-bright p {
  color: inherit;
}

.bright-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(18, 48, 68, 0.1);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 38px rgba(18, 48, 68, 0.08);
}

.bright-header .site-brand img {
  height: 48px;
}

.bright-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 32px);
}

.bright-nav a,
.bright-actions .text-link,
.bright-footer .footer-links a {
  color: var(--bright-ink);
  font-weight: 850;
  text-decoration: none;
}

.bright-nav a:hover,
.bright-actions .text-link:hover,
.bright-footer .footer-links a:hover {
  color: var(--bright-blue);
}

.bright-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.pill-cta,
.bright-primary,
.bright-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.pill-cta,
.bright-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  box-shadow: 0 18px 38px rgba(14, 165, 233, 0.25);
}

.pill-cta {
  min-height: 42px;
  padding: 0 18px;
}

.bright-primary,
.bright-secondary {
  min-height: 48px;
  padding: 13px 20px;
}

.bright-secondary {
  color: var(--bright-ink);
  border: 1px solid rgba(18, 48, 68, 0.18);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 48, 68, 0.08);
}

.bright-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 78px) clamp(36px, 6vw, 82px);
}

.bright-kicker {
  margin: 0 0 10px;
  color: var(--bright-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bright-hero .hero-copy h1 {
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--bright-ink);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.bright-hero .hero-lede {
  max-width: 700px;
  color: var(--bright-muted);
  font-size: 20px;
  line-height: 1.62;
}

.landing-bright .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stream-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.stream-row span {
  color: var(--bright-muted);
  font-weight: 800;
}

.stream-row strong {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--bright-ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(18, 48, 68, 0.06);
}

.hero-product-shot,
.screenshot-media {
  min-width: 0;
  border: 1px solid rgba(18, 48, 68, 0.1);
  border-radius: 32px;
  padding: clamp(10px, 2vw, 18px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 90px rgba(18, 48, 68, 0.18);
}

.hero-product-shot img,
.screenshot-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.quick-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(18, 48, 68, 0.1);
  border-bottom: 1px solid rgba(18, 48, 68, 0.1);
  background: rgba(18, 48, 68, 0.1);
}

.quick-proof article {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.72);
}

.quick-proof strong {
  color: var(--bright-blue);
  font-size: 14px;
  text-transform: uppercase;
}

.quick-proof span {
  max-width: 430px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.18;
}

.bright-section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 78px);
}

.bright-centered {
  display: grid;
  justify-items: center;
  max-width: 940px;
  margin: 0 auto 34px;
  text-align: center;
}

.bright-centered h2,
.bright-split-heading h2,
.pricing-copy h2,
.download-ribbon h2 {
  max-width: 960px;
  color: var(--bright-ink);
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.bright-centered p:not(.bright-kicker),
.bright-split-heading p,
.pricing-copy p,
.download-ribbon p {
  max-width: 760px;
  color: var(--bright-muted);
  font-size: 18px;
  line-height: 1.62;
}

.feature-intro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(236, 251, 255, 0.8));
}

.feature-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mosaic-card,
.workflow-grid article,
.solution-grid article,
.bright-plan-row article,
.screenshot-card {
  border: 1px solid rgba(18, 48, 68, 0.1);
  border-radius: 28px;
  background: var(--bright-card);
  box-shadow: 0 22px 54px rgba(18, 48, 68, 0.1);
}

.mosaic-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
}

.mosaic-card span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 950;
}

.mosaic-card h3 {
  margin-bottom: 0;
  color: var(--bright-ink);
  font-size: 23px;
  line-height: 1.08;
}

.mosaic-card p {
  margin-bottom: 0;
  color: var(--bright-muted);
  line-height: 1.56;
}

.mosaic-card.blue span { background: var(--bright-blue); }
.mosaic-card.green span { background: var(--bright-green); }
.mosaic-card.orange span { background: var(--bright-orange); }
.mosaic-card.pink span { background: var(--bright-pink); }
.mosaic-card.purple span { background: var(--bright-purple); }
.mosaic-card.cyan span { background: var(--bright-cyan); }
.mosaic-card.lime span { background: var(--bright-lime); }
.mosaic-card.red span { background: var(--bright-red); }

.mosaic-card.blue { background: linear-gradient(180deg, #ffffff, #e9f8ff); }
.mosaic-card.green { background: linear-gradient(180deg, #ffffff, #ecfff4); }
.mosaic-card.orange { background: linear-gradient(180deg, #ffffff, #fff4e8); }
.mosaic-card.pink { background: linear-gradient(180deg, #ffffff, #fff0f8); }
.mosaic-card.purple { background: linear-gradient(180deg, #ffffff, #f4f0ff); }
.mosaic-card.cyan { background: linear-gradient(180deg, #ffffff, #e9fbff); }
.mosaic-card.lime { background: linear-gradient(180deg, #ffffff, #f7ffe6); }
.mosaic-card.red { background: linear-gradient(180deg, #ffffff, #fff0f0); }

.screenshot-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(34, 197, 94, 0.12), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(236, 72, 153, 0.1), transparent 27%),
    #fffaf2;
}

.bright-split-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
}

.screenshot-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
}

.screenshot-card.large-shot {
  grid-row: span 2;
}

.screenshot-card figcaption {
  display: grid;
  gap: 5px;
  padding: 0 6px 6px;
}

.screenshot-card figcaption strong {
  font-size: 22px;
  color: var(--bright-ink);
}

.screenshot-card figcaption span {
  color: var(--bright-muted);
  line-height: 1.5;
}

.workflow-section {
  background: #ffffff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid article {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.workflow-grid span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bright-blue), var(--bright-green));
  font-weight: 950;
}

.workflow-grid h3,
.solution-grid strong,
.bright-plan-row strong {
  color: var(--bright-ink);
  font-size: 23px;
}

.workflow-grid p,
.solution-grid span,
.bright-plan-row p {
  color: var(--bright-muted);
  line-height: 1.58;
}

.solutions-section {
  background: linear-gradient(180deg, #f3fbff, #fff7ed);
}

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

.solution-grid article {
  min-height: 176px;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.solution-grid strong,
.solution-grid span {
  display: block;
}

.pricing-highlight {
  display: grid;
  gap: 26px;
  background:
    radial-gradient(circle at 78% 16%, rgba(14, 165, 233, 0.14), transparent 28%),
    #ffffff;
}

.pricing-copy {
  max-width: 940px;
}

.bright-plan-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bright-plan-row article {
  min-height: 220px;
  display: grid;
  gap: 14px;
  padding: 26px;
}

.bright-plan-row article.featured {
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
}

.bright-plan-row article.featured span,
.bright-plan-row article.featured strong,
.bright-plan-row article.featured p {
  color: #ffffff;
}

.bright-plan-row span {
  color: var(--bright-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-ribbon {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin: clamp(18px, 5vw, 78px);
  border-radius: 34px;
  padding: clamp(30px, 5vw, 58px);
  color: var(--bright-ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.55), transparent 32%),
    linear-gradient(135deg, #dff7ff, #fff2d8 52%, #edfff5);
  box-shadow: 0 32px 84px rgba(18, 48, 68, 0.14);
}

.download-ribbon h2 {
  margin-bottom: 10px;
}

.download-ribbon p {
  margin-bottom: 0;
}

.bright-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(210px, 320px);
  align-items: center;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 78px);
  border-top: 1px solid rgba(18, 48, 68, 0.1);
  background: #ffffff;
}

.bright-footer p {
  max-width: 490px;
  margin: 12px 0 0;
  color: var(--bright-muted);
}

@media (max-width: 1120px) {
  .bright-hero,
  .bright-split-heading,
  .download-ribbon {
    grid-template-columns: 1fr;
  }

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

  .screenshot-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card.large-shot {
    grid-row: auto;
  }
}

@media (max-width: 920px) {
  .bright-header {
    grid-template-columns: 1fr auto;
  }

  .bright-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .bright-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .quick-proof,
  .bright-plan-row,
  .bright-footer {
    grid-template-columns: 1fr;
  }

  .make-india {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .bright-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .bright-actions .text-link {
    display: none;
  }

  .pill-cta {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .bright-hero {
    padding-top: 34px;
  }

  .bright-hero .hero-copy h1 {
    font-size: 43px;
  }

  .bright-hero .hero-lede,
  .bright-centered p:not(.bright-kicker),
  .bright-split-heading p,
  .pricing-copy p,
  .download-ribbon p {
    font-size: 16px;
  }

  .feature-mosaic,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions a,
  .pricing-actions a,
  .download-ribbon a {
    width: 100%;
  }
}

/* Fixed-width multi-page public website layer. */
.public-site {
  --public-ink: #102f43;
  --public-muted: #5f798c;
  --public-blue: #0ea5e9;
  --public-green: #22c55e;
  --public-orange: #f97316;
  --public-pink: #ec4899;
  --public-purple: #8b5cf6;
  --public-cyan: #06b6d4;
  --public-red: #ef4444;
  --public-bg: #f8fdff;
  --public-card: #ffffff;
  --public-line: rgba(16, 47, 67, 0.12);
  --public-shadow: 0 24px 70px rgba(16, 47, 67, 0.12);
  color: var(--public-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(14, 165, 233, 0.17), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(249, 115, 22, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fdff 0%, #fff8ef 48%, #f8fdff 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site p {
  color: inherit;
}

.public-container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--public-line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(16, 47, 67, 0.08);
}

.public-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.public-header .site-brand img,
.public-footer .site-brand img {
  height: 48px;
  max-width: 198px;
}

.public-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 34px);
}

.public-nav a,
.public-login,
.public-footer .footer-links a {
  color: var(--public-ink);
  font-weight: 900;
  text-decoration: none;
}

.public-nav a:hover,
.public-login:hover,
.public-footer .footer-links a:hover {
  color: var(--public-blue);
}

.public-actions,
.public-button-row,
.centered-action,
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.public-actions {
  justify-content: flex-end;
}

.public-cta,
.public-primary,
.public-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 950;
  text-decoration: none;
}

.public-cta,
.public-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--public-blue), var(--public-green));
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.24);
}

.public-secondary {
  color: var(--public-ink);
  border: 1px solid var(--public-line);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 47, 67, 0.08);
}

.public-hero,
.public-page-hero {
  padding: 64px 0;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 42px;
}

.narrow-page-hero {
  max-width: 900px;
}

.public-kicker {
  margin: 0 0 10px;
  color: var(--public-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-hero h1,
.public-page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--public-ink);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.052em;
}

.public-page-hero h1 {
  font-size: clamp(42px, 5.2vw, 68px);
}

.hero-lede,
.public-page-hero p,
.two-column-heading p,
.workflow-heading p,
.download-grid-public p,
.narrow-page-hero p {
  color: var(--public-muted);
  font-size: 18px;
  line-height: 1.62;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.platform-pills span {
  color: var(--public-muted);
  font-weight: 850;
}

.platform-pills strong {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(16, 47, 67, 0.06);
}

.real-shot-frame {
  min-height: 330px;
  display: grid;
  place-items: center;
  border: 1px solid var(--public-line);
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(34, 197, 94, 0.08)),
    #ffffff;
  box-shadow: var(--public-shadow);
}

.hero-shot {
  min-height: 460px;
}

.shot-placeholder {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 2px dashed rgba(16, 47, 67, 0.18);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(16, 47, 67, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(16, 47, 67, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.72);
  background-size: 26px 26px;
}

.shot-placeholder span {
  color: var(--public-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shot-placeholder strong {
  color: var(--public-ink);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.08;
}

.shot-placeholder small {
  max-width: 360px;
  color: var(--public-muted);
  line-height: 1.45;
}

.public-band {
  padding: 0 0 38px;
}

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

.band-grid article,
.feature-card-grid article,
.workflow-grid-public article,
.solution-detail-grid article,
.feature-category-grid article,
.download-panel-public,
.real-shot-card {
  border: 1px solid var(--public-line);
  border-radius: 24px;
  background: var(--public-card);
  box-shadow: 0 18px 46px rgba(16, 47, 67, 0.08);
}

.band-grid article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
}

.band-grid strong {
  color: var(--public-blue);
  font-size: 14px;
  text-transform: uppercase;
}

.band-grid span {
  color: var(--public-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}

.public-section {
  padding: 68px 0;
}

.light-section,
.screenshot-area-section {
  background: rgba(255, 255, 255, 0.58);
}

.two-column-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.two-column-heading h2,
.workflow-heading h2,
.download-grid-public h2 {
  max-width: 840px;
  color: var(--public-ink);
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-card-grid,
.feature-category-grid,
.solution-detail-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card-grid article {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.feature-dot {
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

.feature-dot.blue { background: var(--public-blue); }
.feature-dot.green { background: var(--public-green); }
.feature-dot.orange { background: var(--public-orange); }
.feature-dot.pink { background: var(--public-pink); }
.feature-dot.purple { background: var(--public-purple); }
.feature-dot.cyan { background: var(--public-cyan); }

.feature-card-grid h3,
.workflow-grid-public h3,
.feature-category-grid h2,
.solution-detail-grid h2,
.download-panel-public h2 {
  margin-bottom: 0;
  color: var(--public-ink);
  font-size: 23px;
}

.feature-card-grid p,
.workflow-grid-public p,
.real-shot-card figcaption,
.feature-category-grid li,
.solution-detail-grid p,
.download-panel-public li {
  color: var(--public-muted);
  line-height: 1.56;
}

.centered-action {
  justify-content: center;
  margin-top: 24px;
}

.screenshot-slot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}

.real-shot-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 14px;
}

.real-shot-card.wide {
  grid-row: span 2;
}

.real-shot-card figcaption {
  padding: 0 8px 8px;
}

.workflow-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.workflow-grid-public {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid-public article {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.workflow-grid-public span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--public-blue), var(--public-green));
  font-weight: 950;
}

.download-callout {
  padding: 34px 0 74px;
}

.download-grid-public {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: 30px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, #dff7ff, #fff1dd 54%, #edfff6);
  box-shadow: var(--public-shadow);
}

.public-page-hero {
  background: rgba(255, 255, 255, 0.42);
}

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

.feature-category-grid article,
.solution-detail-grid article,
.download-panel-public {
  padding: 24px;
}

.feature-category-grid ul,
.download-panel-public ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

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

.solution-detail-grid article {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.solution-detail-grid span {
  color: var(--public-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-panel-public {
  display: grid;
  align-content: center;
}

.public-footer {
  border-top: 1px solid var(--public-line);
  background: #ffffff;
}

.footer-grid-public {
  min-height: 156px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(200px, 300px);
  align-items: center;
  gap: 28px;
  padding: 28px 0;
}

.public-footer p {
  max-width: 480px;
  margin: 12px 0 0;
  color: var(--public-muted);
}

.public-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.public-footer .make-india {
  justify-self: end;
}

.legal-main {
  padding: 56px 0 80px;
}

.legal-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.legal-hero p:not(.public-kicker) {
  margin: 0;
  color: var(--public-muted);
}

.legal-card {
  max-width: 900px;
  border: 1px solid var(--public-line);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--public-shadow);
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--public-ink);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 14px;
  color: var(--public-muted);
  line-height: 1.75;
}

.legal-card strong {
  color: var(--public-ink);
}

@media (max-width: 1060px) {
  .hero-grid,
  .page-hero-grid,
  .two-column-heading,
  .download-grid-public {
    grid-template-columns: 1fr;
  }

  .compact-features,
  .feature-category-grid,
  .solution-detail-grid,
  .workflow-grid-public {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-slot-grid,
  .band-grid,
  .footer-grid-public {
    grid-template-columns: 1fr;
  }

  .real-shot-card.wide {
    grid-row: auto;
  }

  .public-footer .make-india {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .public-header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 0;
  }

  .public-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .public-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .public-login {
    display: none;
  }
}

@media (max-width: 620px) {
  .public-container {
    width: min(100% - 28px, 1180px);
  }

  .public-hero,
  .public-page-hero,
  .public-section {
    padding: 44px 0;
  }

  .public-hero h1,
  .public-page-hero h1 {
    font-size: 42px;
  }

  .hero-lede,
  .public-page-hero p,
  .two-column-heading p,
  .workflow-heading p,
  .download-grid-public p,
  .narrow-page-hero p {
    font-size: 16px;
  }

  .compact-features,
  .feature-category-grid,
  .solution-detail-grid,
  .workflow-grid-public {
    grid-template-columns: 1fr;
  }

  .public-button-row a,
  .public-primary,
  .public-secondary,
  .public-cta {
    width: 100%;
  }

  .public-actions {
    width: 132px;
  }
}

/* Public pricing page overrides. */
.public-site .purchase-main.public-purchase-main {
  padding: 0 0 76px;
}

.public-site .public-pricing-hero {
  padding: 64px 0 26px;
  max-width: none;
}

.public-site .public-pricing-hero h1 {
  max-width: 820px;
  color: var(--public-ink);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.public-site .public-pricing-hero p:not(.public-kicker) {
  max-width: 760px;
  color: var(--public-muted);
  font-size: 18px;
  line-height: 1.62;
}

.public-site .pricing-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.public-site .pricing-card {
  border: 1px solid var(--public-line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 47, 67, 0.08);
}

.public-site .pricing-card.featured {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(180deg, #ffffff, #edfff6);
}

.public-site .plan-kicker {
  color: var(--public-blue);
}

.public-site .pricing-card h2,
.public-site .price-line strong,
.public-site .comparison-wrap h2 {
  color: var(--public-ink);
}

.public-site .pricing-card p,
.public-site .pricing-card li,
.public-site .price-line span {
  color: var(--public-muted);
}

.public-site .comparison-wrap {
  border: 1px solid var(--public-line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 47, 67, 0.08);
}

.public-site .comparison-row {
  border-bottom-color: var(--public-line);
}

.public-site .comparison-row.head {
  color: var(--public-blue);
}

.public-site .comparison-row span:not(:first-child) {
  color: var(--public-ink);
}

@media (max-width: 920px) {
  .public-site .pricing-table {
    grid-template-columns: 1fr;
  }
}

/* MCast public marketing refresh - light colorful product site. */
.public-site.marketing-refresh {
  --public-ink: #102236;
  --public-muted: #587086;
  --public-blue: #1397ff;
  --public-green: #22c55e;
  --public-orange: #ff8a00;
  --public-pink: #ff4f93;
  --public-purple: #7c3cff;
  --public-cyan: #00b8d9;
  --public-yellow: #ffe66d;
  --public-card: rgba(255, 255, 255, 0.92);
  --public-line: rgba(16, 34, 54, 0.12);
  --public-shadow: 0 28px 80px rgba(27, 76, 115, 0.15);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 230, 109, 0.38), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(19, 151, 255, 0.2), transparent 30%),
    radial-gradient(circle at 92% 36%, rgba(34, 197, 94, 0.15), transparent 26%),
    linear-gradient(180deg, #fbfeff 0%, #fff8ec 43%, #f7fdff 100%);
  color: var(--public-ink);
  font-family: "Aptos Display", "Segoe UI", "Trebuchet MS", sans-serif;
}

.marketing-refresh .public-header {
  border-bottom: 1px solid rgba(16, 34, 54, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.marketing-refresh .public-nav a,
.marketing-refresh .public-login {
  position: relative;
}

.marketing-refresh .public-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--public-blue), var(--public-green));
  transition: right 0.18s ease;
}

.marketing-refresh .public-nav a:hover::after {
  right: 0;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) 0 50px;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 28px auto auto 6%;
  width: 160px;
  height: 160px;
  border-radius: 42px;
  background: linear-gradient(135deg, var(--public-yellow), var(--public-orange));
  opacity: 0.25;
  transform: rotate(-14deg);
}

.product-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 5vw, 62px);
}

.hero-copy-stack {
  display: grid;
  gap: 22px;
}

.launch-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(19, 151, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 30px rgba(16, 34, 54, 0.08);
}

.launch-badge span {
  border-radius: 999px;
  padding: 6px 9px;
  color: white;
  background: linear-gradient(135deg, var(--public-blue), var(--public-purple));
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-badge strong {
  color: var(--public-ink);
  font-size: 13px;
}

.product-hero h1,
.marketing-refresh .public-page-hero h1 {
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.hero-lede {
  max-width: 760px;
  color: var(--public-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof-row span {
  border: 1px solid rgba(16, 34, 54, 0.1);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--public-muted);
  box-shadow: 0 12px 28px rgba(16, 34, 54, 0.07);
}

.hero-proof-row strong {
  color: var(--public-ink);
}

.product-screenshot {
  margin: 0;
  border: 1px solid rgba(16, 34, 54, 0.16);
  border-radius: 30px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.32), rgba(19, 151, 255, 0.18)),
    #ffffff;
  box-shadow: var(--public-shadow);
}

.product-screenshot img {
  display: block;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(16, 34, 54, 0.16);
}

.hero-product-shot img {
  aspect-ratio: 16 / 10;
  object-position: center top;
}

.product-screenshot figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 6px 2px;
  color: var(--public-muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-screenshot figcaption span {
  color: var(--public-blue);
  font-weight: 950;
  text-transform: uppercase;
}

.product-strip {
  padding: 0 0 42px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.strip-grid article,
.feature-mosaic article,
.homepage-plan-row article,
.feature-system-card,
.download-check-grid article {
  border: 1px solid var(--public-line);
  border-radius: 26px;
  background: var(--public-card);
  box-shadow: 0 20px 50px rgba(16, 34, 54, 0.09);
}

.strip-grid article {
  padding: 22px;
}

.strip-grid span,
.feature-mosaic span,
.homepage-plan-row span,
.feature-system-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  color: #084165;
  background: #dff6ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strip-grid strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--public-ink);
  font-size: 24px;
}

.strip-grid p,
.feature-mosaic p,
.homepage-plan-row p,
.feature-system-card li,
.feature-system-card p,
.download-check-grid p {
  color: var(--public-muted);
  line-height: 1.56;
}

.section-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}

.section-split-heading h2,
.screenshot-showcase h2,
.product-workflow-heading h2,
.plan-preview-section h2 {
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.052em;
}

.section-split-heading p,
.screenshot-showcase p {
  color: var(--public-muted);
  font-size: 18px;
  line-height: 1.62;
}

.feature-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.feature-mosaic article {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.feature-mosaic .big-card {
  grid-row: span 2;
  min-height: 476px;
}

.feature-mosaic h3,
.homepage-plan-row strong,
.feature-system-card h2,
.download-check-grid h3 {
  margin: 0;
  color: var(--public-ink);
  font-size: 25px;
  line-height: 1.08;
}

.feature-mosaic .big-card h3 {
  font-size: clamp(34px, 4vw, 52px);
}

.gradient-blue {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 230, 109, 0.48), transparent 34%),
    linear-gradient(135deg, #e7f8ff, #f4fff1 70%);
}

.screenshot-showcase {
  padding: 74px 0;
  background: linear-gradient(135deg, rgba(19, 151, 255, 0.08), rgba(255, 138, 0, 0.08));
}

.screenshot-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  align-items: center;
  gap: 42px;
}

.operator-list,
.limit-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.operator-list span,
.limit-pill-grid span {
  border: 1px solid rgba(19, 151, 255, 0.18);
  border-radius: 999px;
  padding: 10px 13px;
  background: white;
  color: #164768;
  font-weight: 850;
}

.angled-shot {
  transform: rotate(1.2deg);
}

.angled-shot img {
  aspect-ratio: 16 / 9;
  object-position: center top;
}

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

.product-workflow-grid article,
.download-check-grid article {
  min-height: 210px;
}

.homepage-plan-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.homepage-plan-row article {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.homepage-plan-row article.featured {
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(180deg, #ffffff, #ecfff6);
}

.homepage-plan-row strong {
  font-size: 38px;
}

.product-download-callout .download-grid-public {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(135deg, #dff7ff, #fff4d6 52%, #eafff4);
}

.feature-hero-refresh .product-screenshot img,
.download-hero-refresh .product-screenshot img {
  aspect-ratio: 16 / 10;
  object-position: center top;
}

.feature-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-system-card {
  min-height: 310px;
  padding: 24px;
}

.feature-system-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.feature-system-card.color-a { background: linear-gradient(180deg, #ffffff, #eaf8ff); }
.feature-system-card.color-b { background: linear-gradient(180deg, #ffffff, #fff1dd); }
.feature-system-card.color-c { background: linear-gradient(180deg, #ffffff, #edfff6); }
.feature-system-card.color-d { background: linear-gradient(180deg, #ffffff, #f0ecff); }
.feature-system-card.color-e { background: linear-gradient(180deg, #ffffff, #fff0f7); }
.feature-system-card.color-f { background: linear-gradient(180deg, #ffffff, #e8fbff); }
.feature-system-card.color-g { background: linear-gradient(180deg, #ffffff, #fffbe2); }
.feature-system-card.color-h { background: linear-gradient(180deg, #ffffff, #f5f8ff); }

.limit-pill-grid {
  margin-top: 0;
}

.download-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.download-check-grid article {
  padding: 24px;
}

.download-check-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--public-blue), var(--public-green));
  font-weight: 950;
}

.solution-refresh-grid article {
  background: linear-gradient(180deg, #ffffff, #f8fdff);
}

.pricing-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--public-line);
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(16, 34, 54, 0.08);
}

.pricing-tab {
  min-height: 46px;
  border-radius: 16px;
  padding: 11px 18px;
  color: var(--public-muted);
  background: transparent;
  cursor: pointer;
  font-weight: 950;
}

.pricing-tab.active {
  color: var(--public-ink);
  background: linear-gradient(135deg, var(--public-yellow), #94f7c6);
}

.public-site.marketing-refresh .refresh-pricing-table {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-site.marketing-refresh .pricing-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--public-line);
  border-radius: 24px;
  padding: 28px;
  color: var(--public-muted);
  background: rgba(255, 255, 255, 0.72);
}

.public-site.marketing-refresh .pricing-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
}

.public-site.marketing-refresh .pricing-card .large {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.public-site.marketing-refresh .price-line strong {
  font-size: 42px;
}

.comparison-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  gap: 20px;
  margin-bottom: 18px;
}

.comparison-title-row h2 {
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.comparison-title-row p {
  color: var(--public-muted);
  line-height: 1.6;
}

.public-site.marketing-refresh .refresh-comparison-wrap {
  overflow: auto;
  padding: 24px;
}

.public-site.marketing-refresh .refresh-comparison-table {
  min-width: 760px;
}

.public-site.marketing-refresh .comparison-row {
  display: grid;
  grid-template-columns: 230px repeat(var(--plan-count, 4), minmax(130px, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--public-line);
}

.public-site.marketing-refresh .comparison-row > * {
  padding: 12px;
}

.public-site.marketing-refresh .comparison-row.detail,
.public-site.marketing-refresh .comparison-row.action {
  background: rgba(14, 165, 233, 0.04);
}

.public-site.marketing-refresh .comparison-row span:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: white;
  color: var(--public-ink);
  font-weight: 950;
}

@media (max-width: 1180px) {
  .product-hero-grid,
  .screenshot-showcase-grid,
  .page-hero-grid,
  .section-split-heading,
  .comparison-title-row {
    grid-template-columns: 1fr;
  }

  .feature-system-grid,
  .homepage-plan-row,
  .download-check-grid,
  .strip-grid,
  .public-site.marketing-refresh .refresh-pricing-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .product-hero h1,
  .marketing-refresh .public-page-hero h1 {
    font-size: 44px;
  }

  .feature-system-grid,
  .homepage-plan-row,
  .download-check-grid,
  .strip-grid,
  .feature-mosaic,
  .product-workflow-grid,
  .public-site.marketing-refresh .refresh-pricing-table {
    grid-template-columns: 1fr;
  }

  .feature-mosaic .big-card {
    grid-row: auto;
    min-height: 260px;
  }

  .product-screenshot,
  .angled-shot {
    transform: none;
  }

  .pricing-tabs-wrap,
  .pricing-tab {
    width: 100%;
  }
}

/* Premium homepage layer. */
.premium-home {
  background:
    radial-gradient(circle at 10% 4%, rgba(255, 230, 109, 0.48), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(19, 151, 255, 0.24), transparent 30%),
    radial-gradient(circle at 80% 46%, rgba(34, 197, 94, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfeff 0%, #fff6e8 48%, #f5fdff 100%);
}

.home-hero-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) 0 46px;
}

.home-hero-premium::before,
.home-hero-premium::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-hero-premium::before {
  right: -90px;
  top: 80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 138, 0, 0.18);
}

.home-hero-premium::after {
  left: 7%;
  bottom: 20px;
  width: 140px;
  height: 140px;
  background: rgba(124, 60, 255, 0.13);
}

.home-hero-premium-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.home-hero-copy {
  display: grid;
  gap: 22px;
}

.home-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-text-link {
  color: var(--public-blue);
  font-weight: 950;
  text-decoration: none;
}

.home-text-link:hover {
  text-decoration: underline;
}

.home-product-stage {
  position: relative;
}

.premium-shot {
  padding: 14px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 213, 0.74)),
    #ffffff;
}

.stage-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(16, 34, 54, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(16, 34, 54, 0.14);
  backdrop-filter: blur(14px);
}

.stage-chip strong {
  color: var(--public-ink);
}

.stage-chip span {
  color: var(--public-muted);
  font-size: 12px;
  font-weight: 800;
}

.stage-chip.one {
  left: -24px;
  top: 34px;
}

.stage-chip.two {
  right: -16px;
  bottom: 82px;
}

.home-command-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 62px;
}

.home-command-panel article,
.home-feature-grid article,
.home-trial-card {
  border: 1px solid var(--public-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(16, 34, 54, 0.1);
  backdrop-filter: blur(14px);
}

.home-command-panel article {
  border-radius: 26px;
  padding: 22px;
}

.home-command-panel span,
.home-feature-grid span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  color: #084165;
  background: #dff6ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-command-panel strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--public-ink);
  font-size: 24px;
}

.home-command-panel p,
.home-feature-grid p,
.home-operator-grid p,
.home-trial-card p {
  color: var(--public-muted);
  line-height: 1.62;
}

.home-feature-wall {
  padding-top: 24px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.home-feature-grid article {
  min-height: 236px;
  display: grid;
  align-content: start;
  gap: 14px;
  border-radius: 28px;
  padding: 24px;
}

.home-feature-grid .wide {
  grid-row: span 2;
  min-height: 488px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 230, 109, 0.5), transparent 34%),
    linear-gradient(135deg, #e7f8ff, #f5fff0 70%);
}

.home-feature-grid h3 {
  margin: 0;
  color: var(--public-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-feature-grid .wide h3 {
  font-size: clamp(40px, 5vw, 64px);
}

.home-operator-section {
  padding: 76px 0;
  background:
    linear-gradient(135deg, rgba(19, 151, 255, 0.08), rgba(255, 138, 0, 0.09)),
    rgba(255, 255, 255, 0.35);
}

.home-operator-grid {
  display: grid;
  grid-template-columns: minmax(540px, 1.1fr) minmax(0, 0.78fr);
  align-items: center;
  gap: clamp(32px, 5vw, 58px);
}

.home-operator-grid h2,
.home-trial-card h2 {
  margin: 0 0 14px;
  color: var(--public-ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.home-plans-section {
  padding-bottom: 46px;
}

.home-trial-flow {
  padding: 28px 0 82px;
}

.home-trial-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 230, 109, 0.46), transparent 32%),
    linear-gradient(135deg, #ffffff, #eaf8ff 55%, #edfff5);
}

.home-trial-card .home-hero-actions {
  grid-column: 1 / -1;
}

.trial-steps {
  display: grid;
  gap: 10px;
}

.trial-steps span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(16, 34, 54, 0.1);
  border-radius: 18px;
  padding: 10px 12px;
  background: white;
  color: var(--public-ink);
  font-weight: 900;
  white-space: nowrap;
}

.trial-steps strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--public-blue), var(--public-purple));
}

@media (max-width: 1180px) {
  .home-hero-premium-grid,
  .home-operator-grid,
  .home-trial-card {
    grid-template-columns: 1fr;
  }

  .home-command-panel,
  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-feature-grid .wide {
    grid-row: auto;
    min-height: 300px;
  }

  .stage-chip.one {
    left: 14px;
  }

  .stage-chip.two {
    right: 14px;
  }
}

@media (max-width: 720px) {
  .home-hero-copy h1 {
    font-size: 50px;
  }

  .home-command-panel,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-actions a,
  .home-hero-actions .public-primary,
  .home-hero-actions .public-secondary {
    width: 100%;
  }

  .stage-chip {
    position: static;
    margin-bottom: 10px;
  }

  .trial-steps span {
    white-space: normal;
  }
}

/* JetBrains-inspired homepage v2: bold modules, real screenshot crops, fewer frames. */
.homepage-v2 {
  --jb-ink: #101018;
  --jb-muted: #505464;
  --jb-blue: #266dff;
  --jb-cyan: #00b6d6;
  --jb-green: #3ddc84;
  --jb-yellow: #ffd54a;
  --jb-orange: #ff8a00;
  --jb-rose: #ff4f8b;
  --jb-purple: #7c3cff;
  --jb-surface: #ffffff;
  background:
    radial-gradient(circle at 6% 6%, rgba(255, 213, 74, 0.42), transparent 24%),
    radial-gradient(circle at 94% 12%, rgba(38, 109, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fff9ed 44%, #f7fdff 100%);
  color: var(--jb-ink);
  font-family: "Aptos Display", "Segoe UI", "Trebuchet MS", sans-serif;
}

.homepage-v2 .public-header {
  border-bottom: 1px solid rgba(16, 16, 24, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.homepage-v2 .public-cta,
.homepage-v2 .public-primary,
.jb-primary {
  color: #ffffff;
  background: #111111;
  box-shadow: none;
}

.jb-secondary {
  color: #111111;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #111111;
}

.jb-primary,
.jb-secondary,
.jb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 0;
  padding: 13px 20px;
  font-weight: 950;
  text-decoration: none;
}

.jb-link {
  min-height: auto;
  padding-inline: 0;
  color: var(--jb-blue);
}

.jb-link:hover {
  text-decoration: underline;
}

.jb-eyebrow {
  margin: 0 0 14px;
  color: var(--jb-blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.jb-hero {
  padding: clamp(54px, 8vw, 104px) 0 34px;
}

.jb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.jb-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--jb-ink);
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.82;
  letter-spacing: -0.082em;
}

.jb-hero-copy p:not(.jb-eyebrow) {
  max-width: 680px;
  margin: 26px 0;
  color: var(--jb-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.jb-hero-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 213, 74, 0.75), rgba(0, 182, 214, 0.55) 38%, rgba(124, 60, 255, 0.55)),
    #f3f6fb;
  box-shadow: 0 28px 80px rgba(18, 34, 62, 0.2);
}

.jb-hero-visual::before {
  content: "Live workspace";
  position: absolute;
  left: 22px;
  top: 20px;
  z-index: 2;
  padding: 8px 12px;
  color: #ffffff;
  background: #111111;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jb-hero-visual img {
  position: absolute;
  right: -12%;
  bottom: -10%;
  width: 118%;
  max-width: none;
  display: block;
  transform: rotate(-1.2deg);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.22);
}

.jb-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 64px;
}

.jb-proof-strip span {
  padding: 10px 13px;
  color: #111111;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
  font-weight: 900;
}

.jb-section {
  padding: 76px 0;
}

.jb-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.52fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 28px;
}

.jb-section-head h2,
.jb-workflow-grid h2,
.jb-plan-copy h2,
.jb-final-cta h2 {
  margin: 0;
  color: var(--jb-ink);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.jb-section-head p:not(.jb-eyebrow),
.jb-plan-copy p,
.jb-final-cta p {
  color: var(--jb-muted);
  font-size: 18px;
  line-height: 1.62;
}

.jb-feature-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr 0.86fr;
  gap: 18px;
}

.jb-feature-tile {
  min-height: 420px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  overflow: hidden;
  padding: 28px;
  color: #111111;
}

.jb-feature-tile.tile-large {
  grid-row: span 2;
  min-height: 858px;
}

.jb-feature-tile span,
.jb-plan-cards span {
  color: rgba(17, 17, 17, 0.78);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jb-feature-tile h3 {
  max-width: 520px;
  margin: 10px 0 12px;
  color: #111111;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.jb-feature-tile p {
  max-width: 520px;
  margin: 0;
  color: rgba(17, 17, 17, 0.72);
  line-height: 1.52;
}

.tile-blue { background: linear-gradient(135deg, #bcefff, #e8f4ff 52%, #ffffff); }
.tile-sun { background: linear-gradient(135deg, #ffe46a, #fff3c3); }
.tile-green { background: linear-gradient(135deg, #86f6bd, #e7fff2); }
.tile-rose { background: linear-gradient(135deg, #ff95bd, #ffe4ef); }
.tile-purple { background: linear-gradient(135deg, #cab7ff, #f0eaff); }

.jb-shot {
  align-self: end;
  min-height: 220px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
}

.jb-feature-tile.tile-large .jb-shot {
  min-height: 520px;
}

.jb-shot img {
  display: block;
  width: 140%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.crop-center img { object-position: 52% 38%; }
.crop-left img { object-position: 0% 44%; }
.crop-bottom img { object-position: 52% 100%; }
.crop-tabs img { object-position: 42% 86%; }
.crop-right img { object-position: 100% 48%; }

.jb-workflow-band {
  background: #111111;
  color: #ffffff;
}

.jb-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(540px, 1fr);
  gap: 50px;
}

.jb-workflow-grid .jb-eyebrow,
.jb-workflow-grid h2 {
  color: #ffffff;
}

.jb-workflow-list {
  display: grid;
  gap: 12px;
}

.jb-workflow-list article {
  display: grid;
  grid-template-columns: 52px 170px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.jb-workflow-list strong {
  color: var(--jb-yellow);
}

.jb-workflow-list span {
  font-size: 22px;
  font-weight: 950;
}

.jb-workflow-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.jb-plan-block {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 213, 74, 0.46), transparent 30%),
    linear-gradient(135deg, #ffffff, #eaf8ff 58%, #f1fff6);
}

.jb-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 34px;
  align-items: center;
}

.jb-plan-copy p {
  max-width: 620px;
}

.jb-plan-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jb-plan-cards article {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 34, 54, 0.1);
}

.jb-plan-cards article:nth-child(3) {
  background: #111111;
  color: #ffffff;
}

.jb-plan-cards article:nth-child(3) span,
.jb-plan-cards article:nth-child(3) p {
  color: rgba(255, 255, 255, 0.72);
}

.jb-plan-cards strong {
  color: inherit;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.jb-plan-cards p {
  margin: 0;
  color: var(--jb-muted);
}

.jb-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-block: 72px;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(135deg, #ffe46a, #9ff4c7 54%, #bdeeff);
}

.jb-final-cta p {
  max-width: 680px;
}

@media (max-width: 1180px) {
  .jb-hero-grid,
  .jb-section-head,
  .jb-workflow-grid,
  .jb-plan-grid,
  .jb-final-cta {
    grid-template-columns: 1fr;
  }

  .jb-hero-visual {
    min-height: 420px;
  }

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

  .jb-feature-tile.tile-large {
    grid-row: auto;
    min-height: 520px;
  }

  .jb-feature-tile.tile-large .jb-shot {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .jb-hero-copy h1 {
    font-size: 54px;
  }

  .jb-feature-grid,
  .jb-plan-cards {
    grid-template-columns: 1fr;
  }

  .jb-feature-tile,
  .jb-feature-tile.tile-large {
    min-height: auto;
    padding: 22px;
  }

  .jb-shot,
  .jb-feature-tile.tile-large .jb-shot {
    min-height: 190px;
  }

  .jb-workflow-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .jb-actions a,
  .jb-primary,
  .jb-secondary {
    width: 100%;
  }
}

/* JetBrains-style homepage rebuild. */
.jetbrains-home {
  --jet-ink: #101014;
  --jet-muted: #5b5f6f;
  --jet-line: rgba(16, 16, 20, 0.12);
  --jet-blue: #1677ff;
  --jet-cyan: #00b8d9;
  --jet-yellow: #ffe057;
  --jet-orange: #ff8b1a;
  --jet-rose: #ff4d8d;
  --jet-green: #38d98a;
  --jet-purple: #7c3cff;
  background: #ffffff;
  color: var(--jet-ink);
  font-family: "Aptos Display", "Segoe UI", "Trebuchet MS", sans-serif;
}

.jb-site-header {
  border-bottom: 1px solid var(--jet-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.jb-site-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.jb-site-header .site-brand img {
  height: 48px;
  max-width: 198px;
}

.jb-site-nav,
.jb-site-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.jb-site-nav {
  justify-content: center;
}

.jb-site-nav a,
.jb-site-actions a,
.jb-tool-card a,
.jb-text {
  color: var(--jet-ink);
  font-weight: 850;
  text-decoration: none;
}

.jb-site-nav a:hover,
.jb-site-actions a:hover,
.jb-tool-card a:hover,
.jb-text:hover {
  color: var(--jet-blue);
}

.jb-header-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #ffffff !important;
  background: #111111;
}

.jb-main-hero {
  text-align: center;
  padding: clamp(68px, 10vw, 128px) 0 44px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 224, 87, 0.45), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(22, 119, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff, #fbfbfd);
}

.jb-home-kicker {
  margin: 0 0 16px;
  color: var(--jet-blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jb-main-hero h1 {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--jet-ink);
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.jb-main-lede {
  max-width: 840px;
  margin: 26px auto 0;
  color: var(--jet-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.54;
}

.jb-home-actions,
.jb-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.jb-solid,
.jb-outline {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-weight: 950;
  text-decoration: none;
}

.jb-solid {
  color: #ffffff;
  background: #111111;
}

.jb-outline {
  color: #111111;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #111111;
}

.jb-tool-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 18px;
  padding: 42px 0 76px;
}

.jb-tool-card {
  position: relative;
  overflow: hidden;
  background: #f4f5f8;
}

.jb-tool-main {
  min-height: 580px;
  grid-row: span 2;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(135deg, #ffffff 0%, #e9f5ff 52%, #fff2c7 100%);
}

.jb-tool-copy {
  position: relative;
  z-index: 2;
  padding: 34px 34px 8px;
}

.jb-product-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--jet-orange), var(--jet-purple));
  font-size: 16px;
  font-weight: 950;
}

.mark-scene { background: linear-gradient(135deg, #ff8b1a, #ffe057); color: #111111; }
.mark-output { background: linear-gradient(135deg, #1677ff, #00b8d9); }
.mark-replay { background: linear-gradient(135deg, #ff4d8d, #ff8b1a); }
.mark-audio { background: linear-gradient(135deg, #15aa6a, #38d98a); color: #111111; }

.jb-tool-card h2,
.jb-tool-card h3 {
  margin: 0;
  color: var(--jet-ink);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.jb-tool-card h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.jb-tool-card h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.jb-tool-card p {
  max-width: 520px;
  color: var(--jet-muted);
  line-height: 1.55;
}

.jb-tool-shot {
  min-height: 330px;
  overflow: hidden;
  align-self: end;
}

.jb-tool-shot img {
  width: 118%;
  max-width: none;
  display: block;
  transform: translate(3%, 6%) rotate(-1deg);
  box-shadow: 0 28px 70px rgba(18, 34, 62, 0.18);
}

.jb-tool-card.compact {
  min-height: 280px;
  padding: 28px;
  display: grid;
  align-content: start;
}

.jb-tool-card.compact.yellow { background: #fff1b8; }
.jb-tool-card.compact.cyan { background: #dff8ff; }
.jb-tool-card.compact.rose { background: #ffe2ef; }
.jb-tool-card.compact.green { background: #e1ffef; }

.jb-section-flat {
  padding: 82px 0;
}

.jb-two-col-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 30px;
}

.jb-two-col-heading h2,
.jb-black-panel h2,
.jb-pricing-entry h2 {
  margin: 0;
  color: var(--jet-ink);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.jb-two-col-heading > p,
.jb-pricing-entry p {
  color: var(--jet-muted);
  font-size: 18px;
  line-height: 1.62;
}

.jb-screenshot-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jb-screenshot-tiles article {
  background: #f4f5f8;
}

.jb-screenshot-tiles article:nth-child(2) { background: #fff4d0; }
.jb-screenshot-tiles article:nth-child(3) { background: #e8fff3; }
.jb-screenshot-tiles article:nth-child(4) { background: #f0eaff; }

.jb-crop {
  height: 210px;
  overflow: hidden;
  background: #ffffff;
}

.jb-crop img {
  width: 180%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
}

.crop-program img { object-position: 50% 35%; }
.crop-panels img { object-position: 0% 42%; }
.crop-replay img { object-position: 48% 100%; }
.crop-audio img { object-position: 44% 84%; }

.jb-screenshot-tiles span {
  display: block;
  margin: 22px 22px 8px;
  color: var(--jet-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jb-screenshot-tiles h3 {
  margin: 0 22px 10px;
  color: var(--jet-ink);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.jb-screenshot-tiles p {
  margin: 0 22px 24px;
  color: var(--jet-muted);
  line-height: 1.5;
}

.jb-black-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(540px, 1fr);
  gap: 50px;
  margin-block: 30px 72px;
  padding: clamp(30px, 5vw, 58px);
  background: #111111;
  color: #ffffff;
}

.jb-black-panel .jb-home-kicker,
.jb-black-panel h2 {
  color: #ffffff;
}

.jb-benefit-list {
  display: grid;
  gap: 0;
}

.jb-benefit-list article {
  display: grid;
  grid-template-columns: 52px 190px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.jb-benefit-list strong {
  color: var(--jet-yellow);
}

.jb-benefit-list span {
  font-size: 22px;
  font-weight: 950;
}

.jb-benefit-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.jb-usecases-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.jb-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jb-usecase-grid article {
  min-height: 230px;
  padding: 26px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--jet-line);
}

.jb-usecase-grid article:nth-child(1) { box-shadow: inset 0 5px 0 var(--jet-blue), inset 0 0 0 1px var(--jet-line); }
.jb-usecase-grid article:nth-child(2) { box-shadow: inset 0 5px 0 var(--jet-orange), inset 0 0 0 1px var(--jet-line); }
.jb-usecase-grid article:nth-child(3) { box-shadow: inset 0 5px 0 var(--jet-green), inset 0 0 0 1px var(--jet-line); }
.jb-usecase-grid article:nth-child(4) { box-shadow: inset 0 5px 0 var(--jet-purple), inset 0 0 0 1px var(--jet-line); }

.jb-usecase-grid h3 {
  margin: 0 0 12px;
  color: var(--jet-ink);
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.jb-usecase-grid p {
  color: var(--jet-muted);
  line-height: 1.55;
}

.jb-pricing-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-block: 78px;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(255, 224, 87, 0.96), rgba(0, 184, 217, 0.24)),
    #fff4bf;
}

.jb-pricing-entry p {
  max-width: 740px;
}

@media (max-width: 1180px) {
  .jb-site-header-inner,
  .jb-tool-grid,
  .jb-two-col-heading,
  .jb-black-panel,
  .jb-pricing-entry {
    grid-template-columns: 1fr;
  }

  .jb-site-nav,
  .jb-site-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .jb-tool-main {
    min-height: auto;
  }

  .jb-screenshot-tiles,
  .jb-usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .jb-main-hero h1 {
    font-size: 50px;
  }

  .jb-tool-grid,
  .jb-screenshot-tiles,
  .jb-usecase-grid {
    grid-template-columns: 1fr;
  }

  .jb-benefit-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .jb-home-actions a,
  .jb-pricing-actions a,
  .jb-solid,
  .jb-outline {
    width: 100%;
  }
}
