/* =========================
   BPL74 — Minimal, modern base (with subtle life)
   ========================= */

/* Design tokens */
:root{
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #111214;
  --muted: #5b616b;
  --border: #e6e8ee;
  --accent: #1aa6b7; /* Teal accent (adjust later) */

  /* NEW: background tints */
  --tint-1: rgba(26,166,183,.10);
  --tint-2: rgba(17,18,20,.06);

  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 16px;
  --radius-sm: 12px;

  --max: 1100px;
  --pad: 24px;

  --h1: clamp(2.15rem, 4vw, 3.2rem);
  --h2: clamp(1.55rem, 2.2vw, 2.1rem);
  --h3: 1.1rem;
  --body: 1rem;
  --lead: 1.15rem;
  --lh: 1.55;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

/* NEW: soft background wash */
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 600px at 15% 10%, var(--tint-1), transparent 60%),
    radial-gradient(800px 520px at 90% 20%, var(--tint-2), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: var(--lh);
}

/* NEW: subtle grain overlay */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.6) 0, rgba(0,0,0,.6) 1px, transparent 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.6) 0, rgba(0,0,0,.6) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: soft-light;
  z-index: 0;
}
.site-header, main, footer{ position: relative; z-index: 1; }

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

.container{
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section{
  padding: 72px 0;
}

.section.alt{
  background: rgba(247,248,250,.75);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.section-head{
  max-width: 760px;
  margin-bottom: 28px;
}

/* NEW: accent rule motif */
.section-head.ruled{
  position: relative;
  padding-top: 14px;
}
.section-head.ruled::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(26,166,183,.25));
}

h1, h2, h3{
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

h1{ font-size: var(--h1); line-height: 1.08; }
h2{ font-size: var(--h2); line-height: 1.15; }
h3{ font-size: var(--h3); line-height: 1.2; }

p{ margin: 0 0 14px 0; font-size: var(--body); }
.lead{ font-size: var(--lead); color: var(--muted); max-width: 52ch; }
.subhead{ color: var(--muted); max-width: 70ch; }

.muted{ color: var(--muted); }

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}

.brand-mark{
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a{
  padding: 8px 6px;
  border-radius: 10px;
}
.nav a:hover{
  color: var(--text);
  background: rgba(0,0,0,.04);
}

/* Hero */
.hero{
  padding-top: 52px;
}

.eyebrow{
  display:inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.hero-copy h1{
  margin-bottom: 12px;
}

.cta-row{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* NEW: micro interactions baseline */
.btn, .card, .venture-card{
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 650;
  letter-spacing: -0.01em;
  will-change: transform;
}

.btn.primary{
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.btn.ghost{
  background: rgba(255,255,255,.85);
}
.btn.ghost:hover{
  border-color: #cfd4df;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}

.hero-points{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.hero-points li{
  margin: 6px 0;
}

/* NEW: stats strip */
.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}
.stat{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.stat-num{
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat-label{
  color: var(--muted);
  font-size: .92rem;
}

/* Media */
.media-frame{
  border-radius: 26px;
  border: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.65));
  box-shadow: 0 20px 60px rgba(0,0,0,.10);
  overflow: hidden;
  position: relative;
}
.media-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(500px 240px at 20% 10%, rgba(255,255,255,.7), transparent 55%);
  pointer-events:none;
}
.media-frame img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-caption{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 6px;
  flex: 0 0 auto;
}

/* Prose */
.prose{
  max-width: 760px;
}
.prose ul{
  margin: 10px 0 14px 0;
  padding-left: 18px;
}
.prose li{
  margin: 6px 0;
}

/* Cards */
.cards{
  display:grid;
  gap: 14px;
}
.cards.three{
  grid-template-columns: repeat(3, 1fr);
}

.card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
  border-color: rgba(26,166,183,.35);
}
.card p{
  color: var(--muted);
  margin: 0;
}

/* Ventures */
.venture-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.venture-card{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
}
.venture-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,.10);
  border-color: rgba(26,166,183,.35);
}

.venture-media img{
  width: 100%;
  aspect-ratio: 16 / 9;
  /*object-fit: contain;*/
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.venture-body{
  padding: 18px;
}

.venture-body p{
  color: var(--muted);
}

/* Links */
.link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 650;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding-bottom: 2px;
  transition: border-color .15s ease, transform .15s ease;
}
.link:hover{
  border-bottom-color: var(--accent);
  transform: translateX(2px);
}

/* Contact */
.contact-box{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 18px;
  max-width: 760px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.contact-line{
  margin-bottom: 8px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(255,255,255,.90);
}

.footer-inner{
  display:grid;
  gap: 10px;
}

.footer-brand{
  font-weight: 800;
  margin: 0;
}

.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-links a:hover{
  color: var(--text);
}

.footer-meta{
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Setting up Image Placeholders */
.img-placeholder{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35));
}

.hero .img-placeholder{ aspect-ratio: 4 / 3; }

/* =========================
   MySightWordz page (additive styling)
   ========================= */

.page-sightwordz{
  --accent: #6b5bff; /* playful purple accent for this page */
  --tint-1: rgba(107, 91, 255, .12);
  --tint-2: rgba(26, 166, 183, .10);
}

/* Hero variant */
.hero-sightwordz .eyebrow-play{
  background: rgba(255,255,255,.85);
  border-color: rgba(107, 91, 255, .25);
}

.hero-grid-app{
  align-items: center;
}

.app-hero-media .media-caption{
  margin-top: 14px;
}

/* Chips */
.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.80);
  color: var(--muted);
  font-size: .95rem;
}

/* Callout */
.callout{
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background:
    radial-gradient(600px 220px at 15% 15%, rgba(107, 91, 255, .18), transparent 60%),
    radial-gradient(520px 220px at 85% 20%, rgba(26,166,183,.14), transparent 60%),
    rgba(255,255,255,.78);
}

.callout-title{
  margin: 0 0 6px 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.callout-body{
  margin: 0;
  color: var(--muted);
}

/* Placeholders (div-based to avoid broken-link hook failures) */
.img-placeholder{
  width: 100%;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.18);
  background:
    radial-gradient(600px 220px at 20% 10%, rgba(255,255,255,.75), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.35));
}

.img-placeholder-app{
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.10);
  border-style: solid;
  border-color: rgba(0,0,0,.10);
}

.img-placeholder-shot{
  aspect-ratio: 9 / 16;
}

/* Screenshots grid */
.shots{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shot{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  overflow: hidden;
}

.shot img{
  border-radius: 14px;
}

.shot-caption{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px;
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(107, 91, 255, .14);
  border: 1px solid rgba(107, 91, 255, .25);
  margin-bottom: 10px;
}

.step-body h3{ margin-bottom: 6px; }
.step-body p{ margin: 0; color: var(--muted); }

/* Privacy grid */
.privacy-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.privacy-card{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px;
}
.privacy-card p{ color: var(--muted); margin: 0; }

/* FAQ */
.faq{
  max-width: 760px;
}

.faq-item{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.faq-item summary{
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.faq-item p{
  margin: 10px 0 0 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 920px){
  .shots{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps{ grid-template-columns: 1fr; }
  .privacy-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .shots{ grid-template-columns: 1fr; }
}


/* NEW: subtle entrance animation (respects reduced motion) */
@media (prefers-reduced-motion: no-preference){
  .hero-copy, .hero-media{
    animation: riseIn .5s ease both;
  }
  .hero-media{ animation-delay: .08s; }

  @keyframes riseIn{
    from{ opacity: 0; transform: translateY(10px); }
    to{ opacity: 1; transform: translateY(0); }
  }
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .cards.three{
    grid-template-columns: 1fr;
  }
  .venture-grid{
    grid-template-columns: 1fr;
  }
  .stats{
    grid-template-columns: 1fr;
  }
  .section{
    padding: 56px 0;
  }

  /* =========================
   Generic announcement / coming-soon page
   ========================= */

.page-announcement{
  --accent: #1aa6b7; /* keep core brand accent */
}

.hero-grid-single{
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}

.img-placeholder-neutral{
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  border: 1px dashed rgba(0,0,0,.16);
  background:
    radial-gradient(600px 260px at 20% 20%, rgba(26,166,183,.20), transparent 60%),
    radial-gradient(520px 240px at 85% 30%, rgba(0,0,0,.06), transparent 55%),
    rgba(255,255,255,.75);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* Slightly quieter hero tone */
.hero-announcement .lead{
  max-width: 60ch;
}

@media (max-width: 920px){
  .hero-grid-single{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Privacy page tweaks
   ========================= */

.page-privacy .lead{
  max-width: 65ch;
}

.page-privacy .prose h3{
  margin-top: 18px;
}


}
