/* ============================================================
   Boundee — Design System (product page copy)
   Source: claude.ai design project 1b70de5c-…, styles.css (2026-09-30).
   TRIMMED to what the product page uses (home/about/orbit/pipeline/
   testimonial/pilot/faq/nav/footer rules removed) and SCOPED under
   `.product5` — the public layout always loads v4.css, which defines the
   same class names with slightly different values (see home5.blade.php).
   Rule order is the design file's own order; do not re-sort.
   NOTE: this is NOT the same file as css/home5/styles.css — the newer
   design revision uses Source Serif eyebrows and larger small-text sizes.
   Every selector here (and in product.css) must start with `.product5`.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

.product5 {
  /* ---- Brand ---- */
  --purple:        #5a2bdf;
  --purple-press:  #4a1fc4;
  --purple-deep:   #2e1683;
  --purple-soft:   #8b6bf0;
  --purple-50:     #f6f3ff;
  --purple-100:    #ece5fd;
  --purple-200:    #d9cdfb;

  /* ---- Ink / neutrals (cool-tinted) ---- */
  --ink:           #16131f;
  --ink-2:         #4c4860;
  --ink-3:         #837e98;
  --line:          #e9e5f3;
  --line-soft:     #f0edf8;
  --canvas:        #ffffff;
  --tint:          #faf9fe;

  /* ---- Accents ---- */
  --mint:          #1fa074;
  --mint-50:       #e8f6f0;
  --coral:         #e0633f;
  --coral-50:      #fcefe9;

  /* ---- Type ---- */
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* ---- Rhythm ---- */
  --maxw: 1180px;
  --gut: 24px;
  --section-y: 132px;
  --radius: 18px;
  --radius-lg: 26px;

  --accent: var(--purple);

  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.product5 *, .product5 *::before, .product5 *::after { box-sizing: border-box; }

.product5 h1, .product5 h2, .product5 h3, .product5 h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
.product5 p { margin: 0; text-wrap: pretty; }
.product5 a { color: inherit; text-decoration: none; }
.product5 img, .product5 svg { display: block; max-width: 100%; }

/* ---------- layout helpers ---------- */
.product5 .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.product5 .section { padding-block: var(--section-y); }
.product5 .section--tint { background: #f3eff9; }
.product5 .section--lilac-deep { background: #e9e2f7; }

.product5 .eyebrow {
  font-family:var(--sans);
  font-size:17px;
  font-weight: 500;
  letter-spacing:-.005em;
  color: var(--accent);
  margin: 0 0 22px;
}

.product5 .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}

.product5 .head-lg { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.028em; }
.product5 .text-accent { color: var(--accent); }

.product5 .center { text-align: center; }
.product5 .section-head { max-width: 720px; }
.product5 .section-head.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.product5 .btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.product5 .btn:active { transform: translateY(1px); }
.product5 .btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.product5 .btn--primary:hover { background: var(--purple-press); box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--accent) 60%, transparent); }
.product5 .btn--ghost { background: var(--purple-50); color: var(--accent); }
.product5 .btn--ghost:hover { background: var(--purple-100); }
.product5 .btn--lg { padding: 17px 34px; font-size: 17px; }
.product5 .btn .arrow { transition: transform .18s ease; }
.product5 .btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   PRODUCT HERO
   ============================================================ */
.product5 .product-hero { padding-top: 64px; padding-bottom: 72px; border-bottom: 1px solid var(--line-soft); }
.product5 .product-hero__label { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.product5 .product-hero__page { font-size:17px; font-family:var(--sans); font-weight: 600; letter-spacing:-.005em; background: var(--purple); color: #fff; padding: 6px 14px; border-radius: 999px; }
.product5 .product-hero__sep { color: var(--line); font-size: 20px; }
.product5 .product-hero__tagline { font-family:var(--sans); font-size:17px; letter-spacing:-.005em; color: var(--ink-3);font-weight:600}
.product5 .product-hero__head { max-width: 740px; margin-bottom: 44px; }
.product5 .product-hero__head h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.06; color: var(--ink); }
.product5 .product-hero__sub { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }

/* ============================================================
   HERO base (product-hero shares it — must stay AFTER product-hero)
   ============================================================ */
.product5 .hero { padding-top: 84px; padding-bottom: 96px; position: relative; overflow: hidden; }
.product5 .hero__cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .product5 .hero { padding-top: 56px; padding-bottom: 64px; }
}

/* shared two-line statement */
.product5 .stmt { text-align: center; max-width: 820px; margin-inline: auto; }
.product5 .stmt__top { font-size: clamp(16px,1.8vw,20px); font-weight: 500; color: var(--ink-3); letter-spacing: -.01em; }
.product5 .stmt__punch { margin-top: 14px; font-size: clamp(22px,2.6vw,30px); font-weight: 700; letter-spacing: -.028em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.product5 .stmt__punch .hl { color: var(--accent); }

/* ============================================================
   ROLES — 3-col cards with phone shots
   ============================================================ */
.product5 .roles { margin-top: 60px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product5 .roles .role { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.product5 .role__info { padding: 28px 24px 20px; display: flex; flex-direction: column; }
.product5 .role__tag { font-family:var(--sans); font-size:16px; letter-spacing:-.005em; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px;font-weight:600}
.product5 .role__tag .n { width: 22px; height: 22px; border-radius: 7px; background: var(--purple-50); display: grid; place-items: center; font-weight: 700; }
.product5 .role__viz { position: relative; height: 260px; margin-top: auto; background: var(--purple-50); border-top: 1px solid var(--line); overflow: hidden; }
.product5 .rshot-phone { position: absolute; right: 8px; bottom: 0; width: 30%; z-index: 2; border-radius: 16px 16px 0 0; padding: 5px 5px 0; background: #111; box-shadow: 0 16px 36px -14px rgba(0,0,0,.65); }
.product5 .rshot-phone img { width: 100%; display: block; border-radius: 12px 12px 0 0; height: 234px; object-fit: cover; object-position: top; }
@media (max-width: 1040px) { .product5 .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .product5 .roles { grid-template-columns: 1fr; } .product5 .role__viz { height: 220px; } }
@media (max-width: 880px){ .product5 .roles .role { grid-template-columns: 1fr; } .product5 .role__viz { border-left: none; border-top: 1px solid var(--line); } }

/* ============================================================
   reveal animation (layout's own script adds .anim/.in)
   ============================================================ */
.product5 .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .product5 .reveal.anim { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .product5 .reveal.anim.in { opacity: 1; transform: none; }
}

/* eyebrow — the design file's final cascade, in its own order */
.product5 .eyebrow{font-size:16px;font-weight:600;letter-spacing:-.005em;text-transform:none}

.product5 .eyebrow{font-size:23px;font-weight:600;letter-spacing:-.01em;margin-bottom:18px}

.product5 .eyebrow{font-family:var(--serif);font-style:normal;font-weight:500;font-size:23px;letter-spacing:-.005em;line-height:1.25}

.product5 .section-head .lead{max-width:none}
