/* ============== CONTROL PANEL ============== */
:root{
  --accent:#D4AF37;            /* gold; swap to #3A66F6 for cobalt */
  --bg:#ffffff; --text:#111; --muted:#6B7280; --line:#E5E7EB;

  --heroTitle: 80px;           /* was 68px */
  --heroSub:   20px;
  --h2:        28px;
  --body:      16px;

  --wrap: 1200px;              /* page max width */
  --padX: 24px;

  --phoneW: 240px;             /* iPhone card width */
  --laptopMax: 1080px;         /* MacBook max width */
}
/* ========================================== */

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--text);
  font:var(--body)/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text","SF Pro Display",
       "Helvetica Neue","Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}

/* Top nav */
.topnav{position:fixed; top:0; left:0; right:0; z-index:10; backdrop-filter:saturate(180%) blur(8px);
        background:rgba(255,255,255,0.6); border-bottom:1px solid rgba(0,0,0,.04)}
.topnav .wrap{display:flex; align-items:center; justify-content:space-between; padding:10px var(--padX)}
.logo{font-weight:700}
.nav-links a{color:#222; text-decoration:none; margin-left:16px}
.nav-links a:hover{opacity:.7}

/* Scroll-snap container/sections (good version) */
.snap-container{height:100vh; overflow-y:scroll; scroll-snap-type:y mandatory}
.snap-section{height:100vh; scroll-snap-align:start; display:flex; align-items:center; position:relative}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 var(--padX)}

h1,h2{margin:0 0 8px} h2{font-size:var(--h2)}
.muted{color:var(--muted)}

/* HERO (good version) */
.hero{
  position: relative;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(212,175,55,0.14), transparent),
    radial-gradient(800px 420px at 90% 0%, rgba(0,0,0,0.05), transparent);
}
.hero-content{
  position: relative;
  z-index: 1;
  padding-top:60px;
  text-align:center;
}
.logo-wrap{margin-bottom:10px}
.logo-mark{height:160px; width:auto}
.brand-title{font-size:var(--heroTitle); line-height:1.05; letter-spacing:-0.7px; margin:8px 0 12px}
.brand-sub{font-size:var(--heroSub); color:#333; max-width:820px; margin:0 auto 18px}
.ctas{display:flex; gap:14px; justify-content:center}
.btn{display:inline-block; padding:12px 18px; border-radius:12px; text-decoration:none; font-weight:600}
.btn.primary{background:var(--accent); color:#111}
.btn.ghost{border:1px solid var(--line); color:#111; background:#fff}

/* Hero background overlay — abstract image */
.hero-image-overlay{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image: url('assets/hero-bg.png');   /* abstract pastel image */
  background-size: cover;                        /* safe fill */
  background-position: 70% 40%;                 /* subtle focus */
  background-repeat:no-repeat;
  opacity:0.8;
}

/* ========== HOW IT WORKS (final, matches the screenshot) ========== */
.how{
  background:#fafafa;
}

/* page title + kicker */
.how .section-title{
  text-align:center;
  font-size: var(--consTitleSize);
  font-weight:800;
  letter-spacing:-0.5px;
  margin:0 0 10px;
  color:var(--text);
}
.how .section-kicker{
  text-align:center;
  font-size:18px;
  color:var(--muted);
  margin:0 0 34px;
}

/* 3-card grid */
.how .how-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:42px;
  width:100%;
  align-items:stretch;
}

/* individual card */
.how .how-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 24px 60px rgba(0,0,0,.06);
  padding:26px 24px 30px;
}

/* image block */
.how .how-card .how-img{
  width:100%;
  max-width:560px;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  margin:0;
}

/* title */
.how .how-card h2{
  font-size:32px;
  font-weight:800;
  color:#111;
  margin:12px 0 10px;
}

/* body copy */
.how .how-card .desc{
  font-size:15px;
  color:#111;
  line-height:1.6;
  max-width:80%;
  margin:0 auto;
}

/* responsive polish */
@media (max-width:1100px){
  .how .section-title{ font-size:56px; }
  .how .how-grid{ grid-template-columns:1fr; gap:26px; }
  .how .how-card .how-img{ height:240px; }
}

/* ===== FOR CONSUMERS (match HOW scale) ===== */

:root{
  /* knobs you can tweak */
  --consTitleSize: var(--howTitleSize, 54px);
  --phoneCardW:  360px;
  --phoneImgH:   520px;
  --consGap:     60px;
  --consPadY:    18px;
}

#consumers.snap-section{ align-items: flex-start; }
#consumers .wrap{
  padding: 90px 24px 60px;
}

/* Title + subhead; mirror HOW */
#consumers .section-title{
  font-size: var(--consTitleSize);
  line-height: 1.1;
  text-align: center;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
  color: #0b0f1a;
}
#consumers .section-kicker{
  text-align: center;
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--muted);
}

/* Grid of phones (3 across on desktop, centered) */
.consumers-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--consGap);
  max-width: 1320px;
  margin: 0 auto;
  justify-items: center;
  align-items: start;
}

/* Card container — consistent sizes */
.phone-card{
  width: 100%;
  max-width: var(--phoneCardW);
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.06);
  padding: var(--consPadY) 20px;
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
  min-height: calc(var(--phoneImgH) + 72px);
}

/* Phone images — equal visual size; preserve frames with contain */
.phone-img{
  width: 100%;
  height: var(--phoneImgH);
  object-fit: contain;
  border-radius: 18px;
  margin-bottom: 14px;
}

/* Captions under each phone */
.phone-card figcaption{
  font-size: 15px;
  color: #111;
  line-height: 1.6;
  margin: 6px auto 0;
  max-width: 92%;
  min-height: 48px;
}

/* Responsive breakpoints (same pattern as HOW) */
@media (max-width: 1200px){
  .consumers-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px){
  .consumers-grid{ grid-template-columns: 1fr; }
  :root{ --phoneCardW: 86vw; --phoneImgH: 500px; }
}

/* ========== FOR BRAND MANAGERS (clean + viewport-safe) ========== */
#brand.snap-section{
  /* Avoid vertical clipping inside a 100vh snap-section */
  align-items: flex-start;           /* top-align like the Consumers section */
}

/* ---------- Brand sizing & positioning overrides ---------- */
:root{
  --laptopMax: 1040px;     /* desktop width for the laptop mock */
  --calloutW: 280px;       /* width of the left rail cards */
  --brandStageGap: 4px;    /* spacing between captions and the laptop */
}

.brand {
  background:#fafafa;
  text-align:center;
}

.brand .wrap{
  max-width: 1340px;
  padding: 84px 24px 90px;
}

.brand .section-head h2{
  font-size:56px; font-weight:800; margin:0 0 8px; color:var(--text);
}
.brand .section-head p{
  font-size:18px; color:var(--muted); margin:0 0 34px;
}

.brand-stage{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: var(--brandStageGap);
  max-width: calc(var(--laptopMax) + var(--calloutW) + var(--brandStageGap));
  margin: 0 auto;
}

.left-rail{
  display:flex;
  flex-direction:column;
  gap:56px;
  width:100%;
  max-width:var(--calloutW);
  text-align:left;
}

.left-rail .callout{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.07);
  padding:16px 18px;
  font-size:15px;
  line-height:1.6;
  color:#111;
}

.brand .device.laptop{
  flex:1 1 var(--laptopMax);
  width: 100%;
  max-width: var(--laptopMax);
  margin: 0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.06);
  padding:20px;
}
.brand .device.laptop img{
  width:100%; height:auto; display:block; border-radius:18px; object-fit:contain;
}

/* ---------- Responsive tune ---------- */
@media (max-width: 1200px){
  :root{
    --laptopMax: 980px;
    --brandStageGap: 6px;
  }
}
@media (max-width: 980px){
  .brand-stage{
    max-width: 92vw;
    flex-direction:column;
    gap:24px;
  }
  .left-rail{
    max-width:520px;
    width:100%;
    text-align:center;
  }
  .left-rail .callout{
    text-align:center;
  }
  :root{ --laptopMax: 92vw; }
}

/* FINAL */
.final .final-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; align-items:start}
.final .final-block{border:1px solid var(--line); border-radius:16px; background:#fff; padding:22px;
                    box-shadow:0 20px 50px rgba(0,0,0,.06)}
.bullets{list-style:none; padding:0; margin:8px 0 0}
.bullets li{padding:6px 0}
.status{margin-top:10px}
.foot{position:absolute; bottom:10px; left:0; right:0; text-align:center; color:var(--muted); font-size:13px}

/* Responsive (good version) */
@media (max-width:1100px){
  :root{ --heroTitle: 56px; --phoneW: 220px; }
}
@media (max-width:900px){
  .how .how-grid{grid-template-columns:1fr}
  .final .final-grid{grid-template-columns:1fr}
  .phones{gap:12px}
  :root{ --heroTitle: 44px; --phoneW: 31vw; }
}

/* HARD-OFF for any reveal effects (keeps everything visible) */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Make sure brand content can’t be hidden behind anything */
.brand .wrap { position: relative; z-index: 1; }

/* --- Lift brand section contents up (keep title fixed) --- */

/* 1) Title ➜ caption gap (smaller) */
.brand .section-head h2{ margin-bottom: 6px; }
.brand .section-head p { margin: 0 0 14px; }

/* 2) Caption ➜ cards gap (remove any extra top spacing) */
.brand-stage{ margin-top: 0; }

/* 3) Lift callouts/laptop block slightly by reusing your variables */
:root{
  --brandStageGap: 40px;
}
