/* BlankCanvas Software — product pages such as /vipera (loaded after base.css and home.css) */

/* ---------- Product hero ---------- */

.product-hero {
  position: relative;
  padding-block: clamp(32px, 6vw, 80px) clamp(64px, 8vw, 112px);
  overflow-x: clip;
}

.product-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.crumbs {
  color: var(--muted);
  font-size: 0.875rem;
}

.crumbs a {
  text-decoration: none;
}

@media (hover: hover) {
  .crumbs a:hover {
    color: var(--ink);
  }
}

.product-hero__id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.product-hero__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5);
}

.product-hero h1 {
  margin-top: 18px;
}

.product-hero .lede {
  max-width: 34em;
  margin-top: 22px;
}

.facts-line {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-hero .actions {
  align-items: center;
  margin-top: 28px;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.product-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(53 211 154 / 0.55), rgb(124 108 242 / 0.35) 55%, transparent 70%);
  filter: blur(60px);
  opacity: 0.6;
}

/* Product pages have many short sections: tighter rhythm than the homepage. */
.product-hero ~ .section {
  padding-block: clamp(64px, 8vw, 112px);
}

/* ---------- How it works ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
}

.flow li {
  padding: 26px 26px 28px;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline);
}

.flow__num {
  color: var(--muted);
  font: 500 0.8125rem/1 var(--font-mono);
}

.flow h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.018em;
}

.flow p {
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Free vs Premium ---------- */

.tiers-wrap {
  margin-top: clamp(32px, 4vw, 48px);
  overflow-x: auto;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline);
}

.tiers {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 1rem;
}

.tiers th,
.tiers td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.tiers thead th {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tiers tbody th {
  font-weight: 600;
}

.tiers tbody th span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.tiers td {
  color: var(--ink-soft);
}

.tiers tr:last-child th,
.tiers tr:last-child td {
  border-bottom: 0;
}

.tiers-note {
  max-width: 46rem;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Privacy, limits, changes ---------- */

.plain-list {
  display: grid;
  gap: 14px;
  max-width: 46rem;
  margin-top: 32px;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: calc(0.775em - 3px);
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.plain-list strong {
  color: var(--ink);
}

.text-block {
  max-width: 46rem;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
}

.changelog {
  max-width: 46rem;
  margin-top: 32px;
  padding: 24px 26px;
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--hairline);
}

.changelog time {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.changelog p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .product-hero__inner {
    grid-template-columns: 1fr;
  }
}

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