:root {
  --ink: #102033;
  --muted: #637083;
  --soft: #f3f9ff;
  --surface: #ffffff;
  --line: #dbe8f5;
  --primary: #1378f2;
  --primary-2: #47b7ff;
  --mint: #20c997;
  --mint-soft: #dff8f0;
  --shadow: 0 24px 70px rgba(24, 74, 125, 0.18);
}

/* Final competitor-style override: make product switch the first hero control. */
.hero-section,
.hero-copy,
.hero-visual,
.preview-stack,
.phone-shot {
  display: none !important;
}

.product-tabs {
  width: min(1260px, calc(100% - 80px)) !important;
  margin: 68px auto 88px !important;
  padding: 12px !important;
  border: 4px solid rgba(255, 255, 255, 0.98) !important;
  border-radius: 42px !important;
  background: rgba(221, 227, 233, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(164, 184, 204, 0.18) !important;
}

.tab-button {
  min-height: 104px !important;
  border-radius: 36px !important;
  color: #202a36 !important;
  font-size: clamp(26px, 2.4vw, 40px) !important;
  font-weight: 500 !important;
}

.tab-button.is-active {
  background: #fff !important;
  color: #202a36 !important;
  box-shadow: 0 14px 30px rgba(63, 88, 113, 0.22) !important;
}

.product-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr) !important;
  gap: 58px !important;
  padding-top: 0 !important;
}

.product-copy {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-copy h1 {
  max-width: 760px !important;
  margin: 54px 0 26px !important;
  color: var(--ink) !important;
  font-size: clamp(62px, 8vw, 132px) !important;
  font-weight: 900 !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
}

.product-copy h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
}

@media (max-width: 980px) {
  .product-tabs {
    width: min(900px, calc(100% - 40px)) !important;
    margin: 44px auto 44px !important;
  }

  .product-panel {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .product-tabs {
    width: min(100% - 28px, 1260px) !important;
    margin: 28px auto 36px !important;
    padding: 7px !important;
    border-radius: 26px !important;
  }

  .tab-button {
    min-height: 64px !important;
    border-radius: 20px !important;
    font-size: 20px !important;
  }

  .product-copy {
    padding: 0 !important;
  }

  .product-copy h1 {
    margin-top: 34px !important;
    font-size: 44px !important;
    line-height: 1.02 !important;
  }
}

/* Competitor-aligned product landing layout */
.hero-section,
.hero-copy,
.hero-visual,
.preview-stack,
.phone-shot {
  display: none;
}

.product-tabs {
  width: min(1260px, calc(100% - 80px));
  margin: 68px auto 72px;
  padding: 12px;
  border: 4px solid rgba(255, 255, 255, 0.98);
  border-radius: 42px;
  background: rgba(221, 227, 233, 0.72);
  box-shadow: inset 0 0 0 1px rgba(164, 184, 204, 0.18);
}

.tab-button {
  min-height: 104px;
  border-radius: 36px;
  color: #202a36;
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 500;
}

.tab-button.is-active {
  background: #fff;
  color: #202a36;
  box-shadow: 0 14px 30px rgba(63, 88, 113, 0.22);
}

.product-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 58px;
  padding-top: 0;
}

.product-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-copy h1 {
  max-width: 760px;
  margin: 54px 0 26px;
  color: var(--ink);
  font-size: clamp(62px, 8vw, 132px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.product-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

@media (max-width: 980px) {
  .product-tabs {
    width: min(900px, calc(100% - 40px));
    margin: 44px auto 44px;
  }

  .product-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .product-tabs {
    width: min(100% - 28px, 1260px);
    margin: 28px auto 36px;
    padding: 7px;
    border-radius: 26px;
  }

  .tab-button {
    min-height: 64px;
    border-radius: 20px;
    font-size: 20px;
  }

  .product-copy {
    padding: 0;
  }

  .product-copy h1 {
    margin-top: 34px;
    font-size: 44px;
    line-height: 1.02;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(32, 201, 151, 0.18), transparent 30%),
    radial-gradient(circle at 8% 72%, rgba(19, 120, 242, 0.18), transparent 32%),
    linear-gradient(180deg, #eafcff 0%, #eff7ff 48%, #f8fbff 100%);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(239, 249, 255, 0.82);
  border-bottom: 1px solid rgba(219, 232, 245, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--primary), var(--mint));
  color: white;
  font-size: 15px;
  letter-spacing: 0;
  box-shadow: 0 12px 30px rgba(19, 120, 242, 0.28);
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.product-link {
  display: none !important;
}

.product-link.is-visible {
  display: inline-flex !important;
}

.top-actions a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #20324a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.top-actions a:hover,
.site-footer a:hover {
  transform: translateY(-1px);
  border-color: rgba(19, 120, 242, 0.26);
  background: white;
}

main {
  overflow: hidden;
}

.hero-section,
.product-panel,
.company-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  align-items: center;
  min-height: 680px;
  gap: 38px;
  padding: 58px 0 44px;
}

.hero-copy,
.hero-visual,
.product-copy,
.product-media,
.vitalscan-media {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-buttons,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 16px 34px rgba(19, 120, 242, 0.28);
}

.button.secondary {
  border: 1px solid rgba(19, 120, 242, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.preview-stack {
  position: relative;
  height: 560px;
}

.phone-shot {
  position: absolute;
  top: 0;
  width: 224px;
  height: 398px;
  object-fit: cover;
  object-position: center top;
  border: 8px solid #111827;
  border-radius: 36px;
  background: white;
  box-shadow: var(--shadow);
}

.phone-shot.front {
  left: 50%;
  top: 4px;
  width: 286px;
  height: 508px;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-shot.left {
  left: 18px;
  top: 70px;
  transform: rotate(-8deg);
  opacity: 0.86;
}

.phone-shot.right {
  right: 18px;
  top: 74px;
  transform: rotate(8deg);
  opacity: 0.86;
}

.product-tabs {
  display: flex;
  width: min(720px, calc(100% - 40px));
  margin: 20px auto 50px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(196, 215, 230, 0.34);
}

.tab-button {
  flex: 1;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #344256;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
}

.tab-button.is-active {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(41, 92, 135, 0.16);
}

.product-panel {
  display: none;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  align-items: center;
  gap: 44px;
  padding: 40px 0 92px;
}

.product-panel.is-active {
  display: grid;
}

.product-copy {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(42, 86, 128, 0.1);
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.product-logo,
.vitalscan-logo {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(19, 120, 242, 0.18);
}

.vitalscan-logo {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #6f5cff, #20c997);
  color: white;
  font-size: 24px;
  font-weight: 900;
}

.product-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

.product-copy > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  gap: 12px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(219, 232, 245, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--mint-soft);
  color: #0c8c69;
  font-size: 13px;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.product-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  border: 7px solid #111827;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.product-media img:nth-child(2) {
  transform: translateY(34px);
}

.vitalscan-media {
  display: flex;
  justify-content: center;
  padding: 34px;
}

.vitalscan-media img {
  width: min(100%, 560px);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.company-section {
  margin-bottom: 86px;
  padding: 42px;
  border: 1px solid rgba(219, 232, 245, 0.86);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.75);
}

.company-section h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 48px);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-grid div {
  padding: 20px;
  border-radius: 20px;
  background: var(--soft);
}

.company-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(219, 232, 245, 0.88);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions,
  .site-footer div {
    justify-content: flex-start;
  }

  .hero-section,
  .product-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px 18px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .top-actions a {
    justify-content: center;
    min-width: 0;
    font-size: 13px;
  }

  .top-actions a:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-section,
  .product-panel,
  .company-section {
    width: min(100% - 28px, 1180px);
  }

  .hero-section {
    padding-top: 34px;
    overflow: hidden;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .hero-text,
  .product-copy > p {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-visual {
    min-height: 388px;
  }

  .preview-stack {
    height: 390px;
  }

  .phone-shot.front {
    width: 210px;
    height: 374px;
  }

  .phone-shot.back {
    width: 160px;
    height: 284px;
  }

  .phone-shot.left {
    left: -8px;
    top: 64px;
  }

  .phone-shot.right {
    right: -8px;
    top: 64px;
  }

  .product-tabs {
    margin-bottom: 18px;
  }

  .tab-button {
    min-height: 50px;
    font-size: 15px;
  }

  .product-copy,
  .company-section {
    padding: 22px;
    border-radius: 24px;
  }

  .product-title-row {
    align-items: flex-start;
  }

  .product-logo,
  .vitalscan-logo {
    width: 62px;
    height: 62px;
    border-radius: 19px;
  }

  .feature-grid,
  .product-media {
    grid-template-columns: 1fr;
  }

  .product-media {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 22px;
    scroll-snap-type: x mandatory;
  }

  .product-media img {
    width: 72%;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .product-media img:nth-child(2) {
    transform: none;
  }
}

/* Final competitor-style override: make product switch the first hero control. */
.hero-section,
.hero-copy,
.hero-visual,
.preview-stack,
.phone-shot {
  display: none !important;
}

.product-tabs {
  width: min(1260px, calc(100% - 80px)) !important;
  margin: 68px auto 88px !important;
  padding: 12px !important;
  border: 4px solid rgba(255, 255, 255, 0.98) !important;
  border-radius: 42px !important;
  background: rgba(221, 227, 233, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(164, 184, 204, 0.18) !important;
}

.tab-button {
  min-height: 104px !important;
  border-radius: 36px !important;
  color: #202a36 !important;
  font-size: clamp(26px, 2.4vw, 40px) !important;
  font-weight: 500 !important;
}

.tab-button.is-active {
  background: #fff !important;
  color: #202a36 !important;
  box-shadow: 0 14px 30px rgba(63, 88, 113, 0.22) !important;
}

.product-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr) !important;
  gap: 58px !important;
  padding-top: 0 !important;
}

.product-copy {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-copy h1 {
  max-width: 760px !important;
  margin: 54px 0 26px !important;
  color: var(--ink) !important;
  font-size: clamp(62px, 8vw, 132px) !important;
  font-weight: 900 !important;
  line-height: 0.92 !important;
  letter-spacing: 0 !important;
}

.product-copy h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
}

@media (max-width: 980px) {
  .product-tabs {
    width: min(900px, calc(100% - 40px)) !important;
    margin: 44px auto 44px !important;
  }

  .product-panel {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .product-tabs {
    width: min(100% - 28px, 1260px) !important;
    margin: 28px auto 36px !important;
    padding: 7px !important;
    border-radius: 26px !important;
  }

  .tab-button {
    min-height: 64px !important;
    border-radius: 20px !important;
    font-size: 20px !important;
  }

  .product-copy {
    padding: 0 !important;
  }

  .product-copy h1 {
    margin-top: 34px !important;
    font-size: 44px !important;
    line-height: 1.02 !important;
  }
}
