/* ══════════════════════════════════════════════════════════════════
   Corbit — Products page.
   Base, shell, header, footer and the final CTA band come from
   main.css; only what is specific to this page lives here.
   ══════════════════════════════════════════════════════════════════ */

/* ── 01 · Hero ────────────────────────────────────────────────────── */
.prod-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.prod-hero__glow {
  position: absolute;
  top: -34%;
  left: 50%;
  width: 1080px;
  height: 1080px;
  margin-left: -540px;
  background: radial-gradient(circle,
    rgba(1, 233, 197, .14) 0%,
    rgba(1, 233, 197, .04) 36%,
    rgba(1, 233, 197, 0) 64%);
  pointer-events: none;
}
.prod-hero__body {
  position: relative;
  padding: 96px var(--gutter) 0;
}
.prod-hero__foot {
  position: relative;
  padding: 0 var(--gutter);
}

.prod-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--mint-7);
}
.prod-hero__title {
  margin: 0 0 26px;
  max-width: 900px;
  font-size: 64px;
  line-height: 1.26;
  font-weight: var(--fw-black);
  letter-spacing: -.035em;
  color: var(--white);
}
.prod-hero__title span {
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, .5);
}
.prod-hero__text {
  margin: 40px 0 44px;
  font-size: 17.5px;
  line-height: 2.05;
  color: rgba(255, 255, 255, .7);
}

/* the caveat is deliberately the last thing in the hero — a product is
   not a transformation programme, and the page says so before selling */
.prod-hero__caveat {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding-bottom: 40px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255, 255, 255, .62);
}
.prod-hero__caveat > span { max-width: 900px; }
.prod-hero__caveat-rail {
  width: 4px;
  flex-shrink: 0;
  background: var(--mint-7);
}
.prod-hero__caveat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  font-weight: var(--fw-semibold);
  color: var(--mint-7);
  transition: color .2s ease;
}
.prod-hero__caveat-link:hover { color: var(--mint-5); }
.prod-hero__caveat-link:hover .arrow { transform: translateX(-5px); }

/* ── 02 · Entry gate ──────────────────────────────────────────────── */
.gate {
  background: var(--white);
  padding: 104px 0 96px;
}
.gate__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 54px;
}
.gate__title {
  margin: 0;
  font-size: 46px;
  line-height: 1.42;
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
  color: var(--black);
}
.gate__note {
  margin: 0;
  font-size: 16px;
  line-height: 2.05;
  color: var(--gray-1000);
}
.gate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-strong);
}
.gate__cell-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: var(--fw-bold);
  letter-spacing: -.015em;
  color: var(--black);
}
.gate__cell-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--gray-1000);
}

/* ── 03 · The three products ──────────────────────────────────────── */
.products {
  background: var(--gray-50);
  border-top: 1px solid var(--border-main);
  padding: 100px 0;
}
.products__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}
.products__title {
  margin: 0;
  font-size: 46px;
  line-height: 1.42;
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
  color: var(--black);
}
.products__note {
  margin: 0;
  padding-bottom: 14px;
  font-size: 16px;
  line-height: 2.05;
  color: var(--gray-1000);
}

/* no bottom border on the strip itself — the active tab drops its own,
   so the tab and the panel below it read as one surface */
.prod-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  background: var(--white);
}
.prod-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 26px 26px 28px;
  text-align: right;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border-strong);
  transition: background .22s ease;
}
.prod-tab:not(:last-child) { border-left: 1px solid var(--border-main); }
.prod-tab:hover { background: var(--white); }
.prod-tab.is-active {
  background: var(--white);
  border-bottom-color: transparent;
}
.prod-tab__edge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: background .22s ease;
}
.prod-tab.is-active .prod-tab__edge { background: var(--mint-7); }
.prod-tab__name {
  direction: ltr;
  display: block;
  margin-bottom: 10px;
  text-align: right;
  font-size: 26px;
  font-weight: var(--fw-black);
  letter-spacing: -.025em;
  color: var(--gray-1100);
  transition: color .22s ease;
}
.prod-tab.is-active .prod-tab__name { color: var(--black); }
.prod-tab__short {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-1000);
}

.prod-panel {
  display: none;
  padding: 52px 44px 48px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-top: 0;
}
.prod-panel.is-active { display: block; }
.prod-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.prod-panel__copy {
  display: flex;
  flex-direction: column;
}
.prod-panel__problem {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.7;
  font-weight: var(--fw-bold);
  letter-spacing: -.018em;
  color: var(--black);
}
.prod-panel__desc {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 2.05;
  color: var(--gray-1000);
}

.prod-caps { border-top: 1px solid var(--border-main); }
.prod-caps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-main);
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-1100);
}
.prod-caps li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--mint-7);
}

.prod-panel__cta {
  align-self: flex-start;
  height: 52px;
  padding: 0 26px;
  margin-top: 26px;
}
.prod-panel__cta:hover { transform: translateY(-2px); }

/* A fixed 16:9 well. The three screenshots are not all the same shape, and
   without this the panel jumps height every time you switch product.
   `contain`, not `cover` — a screenshot must never be cropped. */
.prod-panel__shot {
  aspect-ratio: 16 / 9;
  background: var(--white);
  border: 1px solid var(--border-main);
}
.prod-panel__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── 04 · Security ────────────────────────────────────────────────── */
.prod-security {
  background: var(--white);
  border-top: 1px solid var(--border-main);
  padding: 88px 0 92px;
}
.prod-security__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 40px;
}
.prod-security__title {
  margin: 0;
  font-size: 38px;
  line-height: 1.45;
  font-weight: var(--fw-black);
  letter-spacing: -.025em;
  color: var(--black);
}
.prod-security__note {
  margin: 0;
  padding-bottom: 14px;
  font-size: 16px;
  line-height: 2.05;
  color: var(--gray-1000);
}

/* 1px gaps over a grey ground draw the cell rules without doubling them */
.prod-security__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-main);
  border: 1px solid var(--border-main);
}
.prod-security__cell {
  padding: 28px 26px 30px;
  background: var(--white);
  transition: background .3s ease;
}
.prod-security__cell:hover { background: var(--gray-50); }
.prod-security__icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue-8);
}
.prod-security__cell-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--black);
}
.prod-security__cell-text {
  font-size: 14px;
  line-height: 1.95;
  color: var(--gray-1000);
}

/* ══════════════════════════════════════════════════════════════════
   Responsive — the source design is desktop-only.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .prod-panel__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .prod-security__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .prod-hero__body { padding: 72px var(--gutter) 0; }
  .prod-hero__title { font-size: 40px; }
  .prod-hero__text { font-size: 16px; margin-top: 28px; }

  .gate,
  .products { padding: 72px 0; }
  .prod-security { padding: 64px 0 68px; }

  .gate__head,
  .products__head,
  .prod-security__head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
  .gate__title,
  .products__title { font-size: 31px; }
  .prod-security__title { font-size: 28px; }
  .gate__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prod-tabs { grid-template-columns: 1fr; }
  .prod-tab:not(:last-child) {
    border-left: 0;
    border-bottom: 1px solid var(--border-main);
  }
  .prod-panel { padding: 32px 22px 34px; }
}

@media (max-width: 620px) {
  .prod-hero__title { font-size: 31px; }
  .prod-panel__problem { font-size: 20px; }
  .prod-security__grid { grid-template-columns: 1fr; }
  .prod-panel__cta { width: 100%; }
}
