/* ============================================================
   LumoPlans, Product page styles
   Shared across google-one-ai.html, youtube-premium.html,
   canva-pro.html. Loads after tokens.css and base.css.
   ============================================================ */

/* ---------- Header (identical to index.html approach) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-word em {
  font-style: normal;
  color: var(--lumo-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-inline-start: auto;
}

.site-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--speed-fast) ease;
}

.site-nav a:hover { color: var(--ink); }

.site-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn-header {
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  font-size: var(--text-sm);
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header-inner { gap: var(--space-3); }
}

/* ---------- Product Hero ---------- */

.product-hero {
  padding-block: var(--space-section) calc(var(--space-section) * 0.75);
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70rem 40rem at 80% -8rem, rgba(79, 141, 255, 0.13), transparent 60%),
    radial-gradient(50rem 30rem at 10% 60%, rgba(56, 189, 248, 0.06), transparent 55%);
  pointer-events: none;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 800px) {
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.product-hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.product-hero-copy h1 {
  font-size: var(--text-3xl);
  color: var(--ink);
}

.product-value {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: var(--leading-snug);
  max-width: 48ch;
}

.product-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.product-hero-ctas .btn-quiet {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--lumo-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-height: auto;
}

.product-hero-ctas .btn-quiet:hover { color: var(--ink); }

/* ---------- Receipt card ---------- */

.receipt-card {
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.receipt-header {
  padding: var(--space-5) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.receipt-header-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--lumo-soft);
  border: 1px solid rgba(79, 141, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lumo-deep);
  flex-shrink: 0;
}

.receipt-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.receipt-header-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}

.receipt-header-term {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.receipt-body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.receipt-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.receipt-row-label {
  color: var(--muted);
}

.receipt-row-value {
  color: var(--ink-soft);
}

.receipt-row-value.strike {
  text-decoration: line-through;
  color: var(--muted);
}

.receipt-row-basis {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: calc(-1 * var(--space-3));
  line-height: var(--leading-body);
}

.receipt-divider {
  border: 0;
  border-top: 1px solid var(--line);
}

.receipt-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.receipt-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.receipt-price-now {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.receipt-price-note {
  font-size: var(--text-xs);
  color: var(--muted);
}

.savings-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: rgba(79, 141, 255, 0.12);
  color: var(--lumo-deep);
  border: 1px solid rgba(79, 141, 255, 0.3);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.receipt-footer {
  padding: var(--space-4) var(--space-6) var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.receipt-cta {
  width: 100%;
  justify-content: center;
}

.receipt-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.receipt-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.receipt-trust-item svg {
  color: var(--trust);
  flex-shrink: 0;
}

/* ---------- Sections common ---------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  max-width: 52ch;
}

.section-head h2 {
  color: var(--ink);
}

.section-head p {
  color: var(--ink-soft);
}

/* ---------- What is included ---------- */

.included-section {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}

.included-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.included-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--lumo-soft);
  border: 1px solid rgba(79, 141, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lumo-deep);
  flex-shrink: 0;
}

.included-item h4 {
  color: var(--ink);
  margin: 0;
}

.included-item p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  max-width: none;
  margin: 0;
}

/* ---------- Activation steps ---------- */

.steps-section {
  padding-block: var(--space-section);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 52rem;
}

.steps-list::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--lumo), rgba(79, 141, 255, 0.1));
  pointer-events: none;
}

.activation-step {
  display: flex;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  position: relative;
}

.activation-step:last-child { padding-bottom: 0; }

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--paper-raised);
  border: 1px solid var(--lumo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--lumo-deep);
  z-index: 1;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.3rem;
}

.step-body h3 {
  font-size: var(--text-lg);
  color: var(--ink);
}

.step-body p {
  font-size: var(--text-base);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- Warranty and refund summary ---------- */

.policy-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

@media (max-width: 640px) {
  .policy-strip { grid-template-columns: 1fr; }
}

.policy-card {
  padding: var(--space-5);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.policy-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--trust-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trust);
}

.policy-card h4 {
  color: var(--ink);
}

.policy-card p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  max-width: none;
}

.policy-card a {
  font-size: var(--text-sm);
  font-weight: 600;
  align-self: flex-start;
}

/* ---------- FAQ ---------- */

.faq-section {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 60rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child { border-bottom: 0; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--speed-fast) ease;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { background: var(--paper-raised); }

.faq-item[open] summary {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--speed-base) var(--ease-out);
  color: var(--lumo-deep);
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-body p {
  color: var(--ink-soft);
  font-size: var(--text-base);
  max-width: 64ch;
}

/* ---------- Cross-sell strip ---------- */

.crosssell-section {
  padding-block: var(--space-section);
}

.crosssell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.crosssell-card {
  padding: var(--space-5);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--speed-fast) ease, transform var(--speed-fast) var(--ease-out);
  text-decoration: none;
}

.crosssell-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--line-strong);
  color: var(--ink);
}

.crosssell-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.crosssell-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}

.crosssell-term {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 0.2rem;
}

.crosssell-price {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}

.crosssell-blurb {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

.crosssell-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}

.crosssell-bundle-note {
  font-size: var(--text-xs);
  color: var(--muted);
  max-width: none;
  margin: 0;
}

.crosssell-browse-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.crosssell-browse-link:hover {
  color: var(--lumo-deep);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--space-7);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--line-on-night);
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-brand p { font-size: var(--text-sm); color: var(--muted-on-night); max-width: 32ch; }

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-on-night);
  margin-bottom: var(--space-3);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--muted-on-night);
  text-decoration: none;
  transition: color var(--speed-fast) ease;
}

.footer-col a:hover { color: var(--ink-on-night); }

.footer-legal-block {
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-disclaimer {
  font-size: var(--text-sm);
  color: var(--muted-on-night);
  max-width: 72ch;
}

.footer-legal {
  font-size: var(--text-xs);
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- Utility ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.mt-section { margin-top: var(--space-section); }

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon-lg {
  width: 1.4rem;
  height: 1.4rem;
}

/* ============================================================
   claude-api.html: Pack Picker and API Hero supplemental styles
   These extend product.css without forking any design tokens.
   ============================================================ */

/* ---------- API hero layout override ---------- */

.api-hero-inner {
  align-items: start;
}

.api-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.api-hero-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.api-summary-card {
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-md);
}

.api-summary-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
}

.api-summary-header svg {
  color: var(--lumo-deep);
  flex-shrink: 0;
}

.api-summary-blurb {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: var(--leading-body);
  max-width: none;
  margin: 0;
}

.api-summary-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.api-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.api-stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--lumo-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.api-stat-label {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--leading-body);
}

/* ---------- Pack picker section ---------- */

.pack-picker-section {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

@media (max-width: 900px) {
  .pack-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }
}

.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--paper-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--speed-fast) ease, transform var(--speed-fast) var(--ease-out);
}

.pack-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pack-card-featured {
  border-color: var(--lumo);
  box-shadow: 0 0 0 1px rgba(79, 141, 255, 0.4), var(--shadow-sm);
}

.pack-card-featured:hover {
  box-shadow: 0 0 0 1px rgba(79, 141, 255, 0.5), var(--shadow-md);
}

.pack-popular-badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--lumo);
  color: var(--paper);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pack-face-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.pack-price-block {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.pack-price {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pack-compare-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.pack-compare-label {
  color: var(--muted);
}

.pack-compare-value {
  color: var(--ink-soft);
}

.pack-compare-value.strike {
  text-decoration: line-through;
  color: var(--muted);
}

.pack-compare-basis {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--leading-body);
  margin: 0;
}

.pack-blurb {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: var(--leading-body);
  margin: 0;
  flex-grow: 1;
}

.pack-cta {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}

.pack-footer-note {
  margin-top: var(--space-5);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--muted);
  max-width: none;
}

/* ---------- Cross-sell browse link ---------- */

.crosssell-browse {
  margin-top: var(--space-5);
  text-align: center;
}

.crosssell-browse .btn-quiet {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--lumo-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
