.vivicell-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 85% 18%, rgb(57 125 122 / .08), transparent 30rem),
    radial-gradient(circle at 10% 72%, rgb(73 100 191 / .045), transparent 24rem),
    var(--bg);
}

.shell {
  width: min(100% - clamp(2rem, 7vw, 7rem), 1180px);
  margin-inline: auto;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
}

.topbar { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); }
.topbar a,
.footer a { text-decoration: none; }

.product { padding-block: clamp(4rem, 9vw, 8rem); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  align-items: end;
  gap: clamp(3rem, 9vw, 8rem);
  margin-bottom: clamp(4rem, 9vw, 7rem);
}

.intro h1 {
  font-size: clamp(4.6rem, 10vw, 8.5rem);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .8;
}

.intro p {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.62;
}

.primary-link {
  display: inline-block;
  margin-top: 1.75rem;
  padding: .82rem 1.15rem;
  border-radius: .5rem;
  background: var(--stain);
  color: #fff;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.primary-link:hover { background: var(--eosin); color: #fff; transform: translateY(-2px); }

.feature-browser {
  overflow: hidden;
  padding: .8rem;
  border: 1px solid color-mix(in srgb, var(--stain) 12%, var(--line));
  border-radius: 1.6rem;
  background: var(--wash);
  box-shadow: var(--shadow);
}

.feature-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .25rem;
  padding: .15rem .15rem .9rem;
}

.feature-tabs button {
  min-width: 0;
  padding: .75rem .55rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.feature-tabs button:hover { color: var(--ink); }
.feature-tabs button[aria-selected="true"] { background: var(--raised); color: var(--ink); }

.feature-panel {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(300px, 1.12fr);
  overflow: hidden;
  border-radius: 1rem;
  background: var(--raised);
}

.feature-panel__copy {
  align-self: center;
  padding: clamp(2rem, 6vw, 5.5rem);
}

.feature-panel__copy h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 510;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.feature-panel__copy p {
  max-width: 39ch;
  margin-top: 1.55rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.feature-panel__screen {
  min-width: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) 0;
  background:
    linear-gradient(145deg, rgb(18 108 105 / .08), transparent 55%),
    #edf2ef;
}

.feature-panel__screen img {
  display: block;
  width: min(100%, 330px);
  height: auto;
  border: 7px solid #18262a;
  border-bottom: 0;
  border-radius: 2.7rem 2.7rem 0 0;
  box-shadow: 0 30px 70px -30px rgb(16 39 45 / .52);
}

.feature-switch .feature-panel__copy,
.feature-switch .feature-panel__screen img { animation: feature-in .32s var(--ease); }

@keyframes feature-in {
  from { opacity: .35; transform: translateY(8px); }
}

.footer p { margin: 0; }

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

@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .feature-panel { min-height: 520px; grid-template-columns: 1fr 1fr; }
  .feature-panel__copy h2 { font-size: clamp(2rem, 6vw, 3.3rem); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 2rem, 1180px); }
  .product { padding-block: 3rem; }
  .intro h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .feature-browser { padding: .5rem; border-radius: 1.15rem; }
  .feature-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(5rem, 1fr)); padding-bottom: .55rem; }
  .feature-tabs button { font-size: .62rem; }
  .feature-panel { min-height: 0; grid-template-columns: 1fr; }
  .feature-panel__copy { padding: 2.25rem 1.5rem; }
  .feature-panel__copy h2 { max-width: 15ch; }
  .feature-panel__screen { max-height: 430px; padding-top: 2rem; }
  .feature-panel__screen img { width: min(72%, 280px); border-radius: 2rem 2rem 0 0; }
  .footer p:first-child { display: none; }
}
