/* ==========================================================================
   TOKENS / GLOBAL
   ========================================================================== */
:root{
  --page-bg: #efeff1;
  --text: #0a0a0b;
  --muted: rgba(10,10,11,.72);
  --accent: #2563eb;
  --radius: 28px;
  --maxw: 1200px;
  --gutter: clamp(16px, 3.2vw, 28px);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.18);
  --shadow-md: 0 14px 36px rgba(0,0,0,.12);
}

html, body { height: 100%; }
body{
  margin:0;
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color:var(--text);
  background:var(--page-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ==========================================================================
   HERO (eylet NFC Digital Business Card)
   ========================================================================== */
.gs-hero{ padding: clamp(28px, 4vw, 46px); }
.gs-wrap{
  max-width:var(--maxw);
  margin:0 auto;
  min-height:700px;
  max-height:800px;
}
.gs-panel{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:clamp(420px, 52vw, 600px);
  display:grid;
  place-items:stretch;
  isolation:isolate;
}
.gs-panel::before{
  content:"";
  position:absolute; inset:0;
  background:url('https://thunderous-mermaid-f959f8.netlify.app/getting_started_prism_bg.webp') center/cover no-repeat;
  z-index:-1;
}
.gs-grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;                           /* text | visuals */
  gap:clamp(18px, 3.2vw, 36px);
  align-items:center;
  padding:clamp(22px, 3.6vw, 38px);
}

/* Left column (copy) */
.gs-copy{ padding:clamp(8px, 1.2vw, 14px); }
.gs-title{
  margin:0 0 clamp(12px, 1.4vw, 16px);
  font-weight:600;
  font-size:clamp(28px, 5.2vw, 54px);
  letter-spacing:-.02em;
  line-height:1.05;
}
.gs-sub{
  margin:0 0 clamp(18px, 2.2vw, 22px);
  color:var(--muted);
  font-size:clamp(14px, 1.6vw, 18px);
  line-height:1.55;
}
.gs-loginbar{ display:inline-block; overflow:hidden; }
.gs-loginbar img{ display:block; height:58px; width:auto; max-width:100%; }
.gs-note{
  margin:clamp(18px, 2.2vw, 22px) 0 0;
  color:var(--muted);
  font-size:clamp(13px, 1.5vw, 16px);
  line-height:1.55;
}
.gs-qrbox{ margin-top:clamp(18px, 3.6vw, 26px); display:inline-block; }
.gs-qrbox img{ display:block; height:100px; width:auto; }

/* Right column (visual stack) */
.gs-visual{ position:relative; min-height:clamp(360px, 44vw, 560px); }
.card{ position:absolute; overflow:hidden; }
.card img{ width:100%; height:100%; object-fit:contain; display:block; }
.card--small{ z-index:1; }
.card--glass{ z-index:2; }
.card--main { z-index:3; }

/* Tuned positions */
.card--main{
  right:60%; bottom:0%;
  width:min(320px, 40vw);
  aspect-ratio:9/16;
  opacity:.9;
}
.card--small{
  left:69%; top:2%;
  width:min(260px, 28vw);
  aspect-ratio:9/16;
  transform:translate(-36%, 0);
}
.card--glass{
  right:30%; top:-10%;
  width:min(240px, 37vw);
  aspect-ratio:9/16;
}
.theme-row{
  position:absolute; right:6%; bottom:2%;
  width:min(280px, 37vw);
  z-index:1; pointer-events:none;
}
.theme-row img{
  width:100%; height:auto; display:block;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.12));
}

/* --- HERO responsive --- */
@media (max-width:980px){
  .gs-grid{ grid-template-columns:1fr; }
  .card--main { right:10%; width:min(360px, 66vw); }
  .card--small{ left:62%;  width:min(260px, 48vw); }
  .card--glass{ right:6%;   width:min(340px, 60vw); }
  .theme-row  { right:8%;   width:min(340px, 60vw); bottom:10%; }
}
@media (max-width:768px){
  .gs-visual{ display:none; }
  .gs-grid{ grid-template-columns:1fr; }
  .gs-wrap{ max-height:none; min-height:560px; }
}
/* Fix the mobile gap + match card width */
@media (max-width:768px){
  .gs-hero{ padding-inline:16px !important; padding-bottom:8px; }
  .gs-wrap{ min-height:0 !important; }
  .gs-panel{ min-height:360px !important; }
}
@media (max-width:420px){
  .gs-panel{ min-height:340px !important; }
}

/* ==========================================================================
   TEAMS – Getting Started (Steps 1–3)
   ========================================================================== */
.eylet-teams-started{ padding:0 16px clamp(20px, 4vw, 36px); }
.ets-container{ max-width:1180px; margin:0 auto; }

.ets-title{
  margin:0 0 18px;
  padding-bottom:4px;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.2;
  font-size:clamp(28px, 3.1vw, 44px);
  background:linear-gradient(90deg, #0071e3, #a246ef, #ff4aa2, #f80);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  display:inline-block;
}
.ets-intro{ max-width:860px; color:#1a1a1a; font-size:clamp(14px, 1.08vw, 16px); }
.ets-intro p{ margin:0 0 12px; line-height:1.7; }
.ets-intro p:last-child{ margin-bottom:22px; }

.ets-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:960px){ .ets-grid{ grid-template-columns:1fr; gap:16px; } }

.ets-card{
  position:relative;
  background:#fff;
  border-radius:22px;
  padding:18px 18px 22px;
  display:flex; flex-direction:column; justify-content:space-between;
  min-height:800px;
  overflow:hidden;
}
.ets-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.06); pointer-events:none;
}

/* Step text, list, & badges */
.ets-copy{ position:relative; padding:2px 6px 10px; padding-top:2.5rem; }
.ets-steps{ color:#222; font-size:16px; line-height:1.65; margin:0; }
.ets-steps .n{ font-weight:600; color:#111; margin-right:4px; }
.ets-link{ color:var(--accent); text-decoration:underline; }
.ets-microhead{ color:#d83b01; font-weight:600; margin:0 0 6px; font-size:14px; line-height:1.5; }

.ets-step-badge,
.step-badge{
  position:absolute; left:16px;
  background:#000; color:#fff; font-weight:600;
  padding:4px 10px; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.ets-step-badge{ top:16px; font-size:16px; border-radius:50px; }
.step-badge{ top:-12px; font-size:.85rem; }
.ets-steps-list{ list-style:none; counter-reset:step; margin:0; padding:0; margin-top:.1rem; }
.ets-steps-list li{
  counter-increment:step;
  position:relative;
  padding-left:30px;
  margin:0 0 10px;
  line-height:1.65;
  font-size:16px;
  color:#222;
}
.ets-steps-list li::before{
  content:counter(step) ".";
  position:absolute; left:0; top:0; font-weight:600; color:#222;
}

/* Step 1: login row + CTA */
.ets-lead{ margin:0 0 8px; font-weight:600; color:#1d1d1f; }
.ets-help{ margin:8px 0 12px; color:var(--muted); }
.ets-login-row{ display:flex; align-items:center; gap:12px; margin:10px 0 14px; flex-wrap:wrap; }
.ets-loginbar{ height:52px; width:auto; display:block; max-width:100%; }
.ets-qr{ height:40px; width:auto; display:block; max-width:100%; }

.ets-btn{
  display:block;
  width:min(220px, 100%);
  padding:14px 28px;
  margin:8px 0 16px;
  border-radius:999px;
  background:#0d6efd;
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.02em;
}
.ets-btn:hover{ background:#0056d2; }

/* Shot area */
.ets-shot{ display:grid; place-items:end center; min-height:clamp(340px,38vw,480px); padding:10px 10px 0; }
.ets-shot img{
  --tx:80px; --ty:0px; --sc:1.44;
  width:clamp(260px, 90%, 440px);
  height:auto; display:block;
  transform:translate(var(--tx), var(--ty)) scale(var(--sc));
}
@media (max-width:960px){
  .ets-card{ min-height:520px; }
  .ets-shot{ min-height:420px; }
  .ets-shot img{ --tx:70px; --ty:110px; }
}

/* Tighten hero/steps spacing */
.gs-hero{ padding-bottom:0; }
.eylet-teams-started{ padding-top:0; }
.gs-wrap{ margin-bottom:0; }

/* ==========================================================================
   EYLET – Single Card (Avatar setup)
   ========================================================================== */
.eylet-single-card{
  padding:clamp(12px, 3vw, 28px) 16px;
  background:#efeff1;
  font-family:Poppins, system-ui, sans-serif;
}
.esc-wrap{
  max-width:1180px;
  margin:0 auto;
  border-radius:28px;
  background:linear-gradient(135deg,#00e8d3 0%,#00c2f5 42%,#0aa0ff 100%);
  position:relative; overflow:hidden;
}
.esc-wrap::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.06); pointer-events:none;
}
.esc-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(18px, 3.2vw, 44px);
  align-items:center;
  padding:clamp(28px, 5vw, 56px);
}
.esc-left .esc-art{
  display:block; width:min(420px, 100%); height:auto;
  transform-origin:center; filter:drop-shadow(0 18px 42px rgba(0,0,0,.18));
}
.esc-right .esc-collage{
  display:block; width:min(560px, 100%); height:auto;
  transform:translate(10px,0) scale(1);
  transform-origin:center; filter:drop-shadow(0 18px 42px rgba(0,0,0,.18));
}
.esc-heading{
  margin:18px 0 24px; font-weight:700; letter-spacing:-.02em;
  font-size:clamp(28px, 2.4vw + .25rem, 44px); line-height:1.08; color:#000;
}
.esc-desc{
  margin:0; font-size:clamp(14px, 1.05vw, 18px);
  line-height:1.65; color:#0f0f10; max-width:50ch;
}

/* Single-card mobile centering + sizes */
@media (max-width:1024px){
  .esc-grid{ grid-template-columns:1fr; justify-items:center; padding:clamp(22px, 6vw, 36px) clamp(16px, 6vw, 24px); }
  .esc-left, .esc-right{ width:100%; max-width:560px; }
  .esc-heading, .esc-desc{ text-align:center; }
  .esc-left img, .esc-right img{ margin-inline:auto; }
  .esc-left .esc-art, .esc-right .esc-collage{ width:min(100%, 420px); transform:none; }
}
@media (max-width:720px){
  .esc-wrap{ border-radius:24px; }
  .esc-left .esc-art{ width:min(320px, 92vw); }
  .esc-right .esc-collage{ width:min(420px, 92vw); }
}
@media (max-width:420px){
  .esc-left .esc-art{ width:min(260px, 92vw); }
  .esc-right .esc-collage{ width:min(360px, 92vw); }
}

/* ==========================================================================
   EYLET – Add Profile Content (Two Cards)
   ========================================================================== */
.eylet-add-content{
  background:#efeff1;
  padding:clamp(14px, 3vw, 32px) 16px;
  font-family:Poppins, system-ui, sans-serif;
}

/* Top grid: purple (2 cols) + white (1 col) */
.eac-grid{
  max-width:1180px; margin:0 auto;
  display:grid; gap:clamp(16px, 3vw, 32px); align-items:stretch;
  grid-template-columns:62% 38%;
}

/* Cap heights for both cards */
.eac-left, .eac-right{
  max-height:810px; overflow:hidden; border-radius:28px;
}

/* Left/purple card */
.eac-left{
  position:relative;
  background:linear-gradient(135deg,#6c2cff 0%,#7b2dff 35%,#9a2bff 70%,#b92bff 100%);
  color:#fff; padding:clamp(20px, 3.4vw, 34px);
}
.eac-step{
  position:absolute; top:clamp(12px, 1.8vw, 18px); left:clamp(12px, 1.8vw, 18px);
  background:#26262a; color:#fff; font-weight:700; padding:10px 16px; border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px rgba(0,0,0,.18);
  z-index:2;
}
.eac-left-grid{
  display:grid; grid-template-columns:42% 58%;
  gap:clamp(16px, 2.6vw, 36px); align-items:start;
  margin-top:clamp(28px, 6vw, 120px);
}
.eac-left-col{ display:flex; flex-direction:column; align-items:flex-start; }
.eac-panel-img{
  width:min(420px, 100%); height:auto; display:block;
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.16));
  margin-bottom:clamp(12px, 1.4vw, 18px);
}
.eac-left-art{ display:grid; place-items:start center; }
.eac-icons-img{
  width:min(480px, 100%); height:auto; display:block;
  filter:drop-shadow(0 18px 42px rgba(0,0,0,.18));
  padding-right:clamp(12px, 2.5vw, 32px);
  box-sizing:border-box;
}
.eac-left-title{
  margin:8px 0 6px;
  font-size:clamp(26px, 2.2vw + .25rem, 40px);
  line-height:1.1; font-weight:600; letter-spacing:-.02em; color:#fff;
}
.eac-left-copy{
  margin:0; max-width:48ch;
  font-size:clamp(15px, 1.02vw, 18px); line-height:1.6; color:rgba(255,255,255,.95);
}

/* Right/white card */
.eac-right{ background:#fff; padding:20px 22px; }
.eac-pill{
  display:inline-block; background:#7a3cff; color:#fff; font-weight:800;
  padding:10px 18px; border-radius:999px; margin-bottom:12px; box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.eac-right-title{
  margin:6px 0 10px;
  font-size:clamp(24px, 1.2vw + 1rem, 34px);
  line-height:1.2; font-weight:600; color:#111;
}
.eac-steps{
  margin:0 0 6px 18px; padding:0; color:#111;
  font-size:clamp(15px, 1.0vw, 18px); line-height:1.0;
}
.eac-step-art{
  width:min(210px, 100%); height:auto; display:block; margin:6px 0 10px;
}
.eac-plus-inline{ width:min(130px, 24%); margin-left:8px; }

/* Make 2-card layout align with 3-card tracks on desktop */
@media (min-width:1025px){
  .eac-grid{ grid-template-columns:repeat(3, 1fr); } /* 1fr | 1fr | 1fr */
  .eac-left{ grid-column:1 / span 2; }               /* purple spans 2 */
  .eac-grid > .eac-right{ grid-column:3 / span 1; justify-self:stretch; }
}

/* Two-cards responsive */
@media (max-width:1024px){
  .eac-grid{ grid-template-columns:1fr; }
  .eac-right{ order:2; }
  .eac-left{ order:1; }
  .eac-left-grid{ grid-template-columns:1fr; margin-top:clamp(12px, 3vw, 28px); }
  .eac-left-col, .eac-left-art{ align-items:center; }
  .eac-panel-img, .eac-icons-img{ width:min(92vw, 420px); }
}
@media (max-width:768px){
  .eac-panel-img{ width:min(84vw, 340px); }
  .eac-icons-img{ width:min(82vw, 330px); }
  .eac-step-art{ width:min(88%, 360px); }
  .eac-right .eac-step-art{ width:clamp(180px, 70vw, 320px) !important; margin-inline:auto; }
  .eac-right .eac-plus-inline{ width:clamp(70px, 26vw, 120px) !important; }
}
@media (max-width:480px){
  .eac-panel-img{ width:min(72vw, 300px); }
  .eac-icons-img{ width:min(70vw, 290px); }
  .eac-step-art{ width:min(84%, 320px); }
  .eac-right{ padding:16px; }
  .eac-right .eac-step-art{ width:clamp(160px, 64vw, 260px) !important; }
  .eac-right .eac-plus-inline{ width:clamp(64px, 22vw, 100px) !important; }
  .eac-right-title{ font-size:1.25rem; }
  .eac-steps{ margin-bottom:6px; line-height:1.45; }
}
@media (max-width:360px){
  .eac-panel-img{ width:min(68vw, 280px); }
  .eac-icons-img{ width:min(66vw, 270px); }
  .eac-step-art{ width:min(82%, 300px); }
}

/* ==========================================================================
   EYLET – Three Right Cards row (re-uses .eac-right styles)
   ========================================================================== */
.eac-right-grid{
  max-width:1180px; margin:0 auto;
  display:grid; gap:clamp(16px, 3vw, 32px); align-items:stretch;
  grid-template-columns:repeat(3, 1fr);
}
.eac-right-grid .eac-right{
  max-height:810px; overflow:hidden; border-radius:28px;
  background:#fff; padding:20px 22px;
  display:flex; flex-direction:column;
}
@media (max-width:1024px){ .eac-right-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:680px){  .eac-right-grid{ grid-template-columns:1fr; } }
@media (max-width:768px){
  .eac-right-grid .eac-step-art{ width:clamp(180px, 70vw, 320px) !important; margin-inline:auto; }
  .eac-right-grid .eac-plus-inline{ width:clamp(70px, 26vw, 120px) !important; }
}
@media (max-width:480px){
  .eac-right-grid .eac-step-art{ width:clamp(160px, 64vw, 260px) !important; }
  .eac-right-grid .eac-plus-inline{ width:clamp(64px, 22vw, 100px) !important; }
}

/* ==========================================================================
   Small-screen landscape lockout (optional overlay)
   ========================================================================== */
#portrait-only{
  position:fixed; inset:0;
  display:none; align-items:center; justify-content:center;
  text-align:center; padding:24px;
  background:#fff; color:#111; z-index:9999;
  font:600 18px/1.4 'Poppins', system-ui, sans-serif;
  box-shadow:0 0 0 1px rgba(0,0,0,.06) inset;
}
#portrait-only .inner{ max-width:26rem; }

@media (max-width:900px) and (orientation:landscape){
  #portrait-only{ display:flex; }
  html, body{ height:100%; overflow:hidden; }
}
/* --- Mobile fix: keep the single avatar card centered & not cut --- */
@media (max-width: 768px){
  /* remove double padding from the page wrapper */
  .eylet-single-card{ padding-left: 0; padding-right: 0; }

  /* add a 16px gutter on both sides so rounded card doesn't touch/cut */
  .esc-wrap{
    width: calc(100% - 32px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  /* one-column layout and center everything inside the card */
  .esc-grid{
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 20px 16px;
  }

  /* keep inner columns within the card width */
  .esc-left, .esc-right{
    width: 100%;
    max-width: 560px;
  }

  /* images never overflow; remove desktop transforms */
  .esc-left .esc-art,
  .esc-right .esc-collage{
    width: min(100%, 420px);
    max-width: 100%;
    height: auto;
    transform: none;
    margin-inline: auto;
    display: block;
  }

  /* optional: center the text for a cleaner mobile look */
  .esc-heading, .esc-desc{ text-align: center; }
}
/* Add a gap between the hero and the next section on mobile */
@media (max-width: 768px){
  .gs-hero{ padding-bottom: 16px; }                  /* space inside hero */
  .gs-hero .gs-wrap{ margin-bottom: 10px; }          /* extra nudge */
  .gs-hero + .eylet-teams-started{ margin-top: 8px; }/* space before Step 1 */
}

/* ============= Step 5 – Activate NFC Card (scoped, compact) ============= */
.ey-act5{padding:clamp(14px,3vw,24px) 16px;background:#efeff1;font-family:Poppins,system-ui,sans-serif;}

.ey-act5-card{
  max-width:1180px;margin:0 auto;position:relative;background:#fff;border-radius:var(--radius,28px);
  padding:clamp(20px,3.5vw,32px);
}
.ey-act5-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;}

.ey-act5-step{
  position:absolute;top:16px;left:16px;background:#26262a;color:#fff;font-weight:700;
  padding:8px 14px;border-radius:999px;font-size:15px;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 6px 16px rgba(0,0,0,.18);
}
.ey-act5-title{
  margin:clamp(26px,3.5vw,36px) 0 4px;font-weight:800;letter-spacing:-.02em;line-height:1.1;
  font-size:clamp(28px,2vw + 1rem,40px);color:#0a0a0b;
}
.ey-act5-lead{margin:0 0 6px;color:#1a1a1a;font-size:clamp(14px,1.05vw,18px);}

.ey-act5-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(16px,2.4vw,28px);align-items:start;}
.ey-act5-steps{margin:4px 0 10px 20px;padding:0;color:#111;font-size:clamp(15px,1vw,18px);line-height:1.55;}
.ey-act5-steps li{margin:0 0 6px;}

/* --- Images: proportional & smaller --- */
.ey-act5-shot,
.ey-act5-menu,
.ey-act5-qr,
.ey-act5-devices img,
.ey-act5-confirm img{
  display:block;max-width:100%;height:auto;object-fit:contain;
}

/* Desktop widths (reduced) */
.ey-act5-shot{width:clamp(200px,22vw,300px);margin:6px 0 10px;}
.ey-act5-menu{width:clamp(200px,21vw,290px);}
.ey-act5-devices img{width:clamp(260px,26vw,380px);filter:drop-shadow(0 18px 42px rgba(0,0,0,.12));margin-top:8px;}
.ey-act5-qr{width:clamp(200px,22vw,300px);margin-inline:auto;}
.ey-act5-confirm{text-align:center;margin-top:100px;}
.ey-act5-confirm img { width: clamp(80px, 6vw, 120px);margin:0 auto 4px;}
.ey-act5-note{margin:0;color:#222;font-size:clamp(14px,1vw,16px);}

/* Tablet & down */
@media (max-width:1024px){
  .ey-act5-grid{grid-template-columns:1fr;}
  .ey-act5-card{padding:clamp(18px,4vw,26px);}
  .ey-act5-title{margin-top:clamp(44px,4vw,36px);}
  .ey-act5-shot,.ey-act5-menu,.ey-act5-qr,.ey-act5-devices img{width:min(80vw,420px);margin-inline:auto;}
  .ey-act5-confirm img{width:min(38vw,160px);}
  .ey-act5-steps{margin-left:18px;}
}

/* Small phones */
@media (max-width:480px){
  .ey-act5-card{border-radius:24px;}
  .ey-act5-step{top:12px;left:12px;}
  .ey-act5-title{font-size:clamp(24px,6vw,30px);}
}
/* Make Step 5 card width match other sections */
.ey-act5-card{
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;      /* keep the cap */
  box-sizing: border-box; /* include internal padding in that width */
}

/* ================== Test NFC (after Step 5) ================== */
.ey-test-nfc{
  padding: clamp(14px, 3vw, 32px) 16px;
  background: #efeff1;
  font-family: Poppins, system-ui, sans-serif;
}

/* card shell (same width as other sections) */
.ey-test-card{
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius, 28px);
  padding: clamp(24px, 3.6vw, 40px);
  position: relative;
}
.ey-test-card::after{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
  pointer-events: none;
}

/* title */
.ey-test-title{
  margin: 0 0 clamp(6px, .8vw, 10px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(28px, 2.1vw + 1rem, 44px);
  color: #0a0a0b;
}

/* grid: left copy | right artwork */
.ey-test-grid{
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(18px, 3.2vw, 40px);
  align-items: center;                    /* ⬅ center row vertically on desktop */
}

/* left column – center the whole stack vertically */
.ey-test-left{
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;                /* ⬅ centers heading + paras */
  gap: clamp(8px, 1vw, 14px);
  min-height: clamp(260px, 34vw, 520px);  /* match art’s height for true centering */
}
.ey-test-lead,
.ey-test-copy{
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.55;
  max-width: 50ch;
}

/* right artwork */
.ey-test-art{
  position: relative;
  display: grid;
  place-items: end center;
  min-height: clamp(260px, 34vw, 520px);
}
.ey-test-art::before{
  content: "";
  position: absolute;
  top: 0; left: 10%;
  width: clamp(300px, 46vw, 640px);
  height: clamp(180px, 26vw, 360px);
}
.ey-test-phone{
  position: relative;
  z-index: 1;
  width: clamp(320px, 44vw, 560px);
  height: auto;
  display: block;
}

/* responsive */
@media (max-width: 1024px){
  .ey-test-grid{ grid-template-columns: 1fr; align-items: start; } /* top-align on mobile */
  .ey-test-left{ justify-content: flex-start; min-height: auto; }
  .ey-test-art{ place-items: center; min-height: auto; }
  .ey-test-art::before{
    left: 50%;
    transform: translateX(-50%) scale(.92);
    width: min(92vw, 620px);
    height: clamp(160px, 36vw, 320px);
    opacity: .8;
  }
  .ey-test-phone{ width: min(92vw, 520px); }
}
@media (max-width: 480px){
  .ey-test-card{ border-radius: 24px; padding: clamp(18px, 4vw, 28px); }
  .ey-test-art::before{ opacity: .6; }
}
/* Make the NFC test card the exact same width as the other cards */
.ey-test-nfc { padding: clamp(14px, 3vw, 32px) 16px; } /* same section gutters */

.ey-test-card{
  width: min(var(--maxw, 1180px), calc(100% - 32px)); /* match global cap + gutters */
  max-width: var(--maxw, 1180px);
  margin: 0 auto;
  box-sizing: border-box;  /* include padding inside that width */
}
/* ================== Privacy (gs-privacy) ================== */
.gs-privacy{
  padding: clamp(14px, 3vw, 32px) 16px;
  background: #efeff1;
  font-family: Poppins, system-ui, sans-serif;
}

/* Match width/feel of your other cards */
.gsp-card{
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius, 28px);
  padding: clamp(24px, 3.6vw, 40px);
  position: relative;
}
.gsp-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
  pointer-events:none;
}

.gsp-title{
  margin: 0 0 clamp(10px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-size: clamp(28px, 2.1vw + 1rem, 44px);
  color:#0a0a0b;
}

/* Two-column grid (like your red guide) */
.gsp-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3.2vw, 40px);
  align-items: start;
}
.gsp-left, .gsp-right{ min-width:0; }

.gsp-subtitle{
  margin: 0 0 clamp(8px, 1vw, 12px);
  font-weight: 700;
  font-size: clamp(18px, 1.1vw, 22px);
  line-height: 1.35;
}

.gsp-p{
  margin: 0 0 12px;
  color:#1a1a1a;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.65;
}

/* Images (proportional; sized by width only) */
.gsp-figure{ margin: 0 0 clamp(16px, 2vw, 24px); display:grid; place-items:center; }
.gsp-img{ max-width:100%; height:auto; display:block; filter: drop-shadow(0 12px 28px rgba(0,0,0,.10)); }
.gsp-img--pin{ width: clamp(280px, 38vw, 420px); }
.gsp-img--ui{  width: clamp(320px, 40vw, 520px); }
.gsp-figure--ui{ margin-top: clamp(12px, 2vw, 20px); }

/* Responsive */
@media (max-width: 1024px){
  .gsp-card{ border-radius:24px; padding: clamp(18px, 4vw, 28px); }
  .gsp-grid{ grid-template-columns: 1fr; gap: 16px; }
  .gsp-img--pin, .gsp-img--ui{ width: min(92vw, 520px); }
}
/* Shrink Privacy images slightly */
.gs-privacy .gsp-img--pin{ width: clamp(240px, 32vw, 360px); }
.gs-privacy .gsp-img--ui{  width: clamp(280px, 34vw, 440px); }

@media (max-width: 1024px){
  .gs-privacy .gsp-img--pin,
  .gs-privacy .gsp-img--ui{
    width: min(88vw, 460px);
  }
}
/* 1) Clip anything that tries to spill outside the rounded card */
.ey-act5-card,
.ey-test-card,
.gsp-card {
  overflow: hidden;
  box-sizing: border-box;
}

/* 2) Step 5 (mobile): size to the card, not the viewport */
@media (max-width: 1024px){
  .ey-act5-shot,
  .ey-act5-menu,
  .ey-act5-qr,
  .ey-act5-devices img{
    width: min(100%, 420px);       /* was 80vw */
    max-width: 420px;
    height: auto;
  }
}

/* 3) Test NFC (mobile): phone + glow sized to card width */
@media (max-width: 1024px){
  .ey-test-phone{
    width: min(100%, 520px);       /* was 92vw */
    height: auto;
  }
  .ey-test-art::before{
    width: min(100%, 620px);       /* was min(92vw, 620px) */
    max-width: 620px;
  }
}

/* 4) Privacy (mobile): images sized to the card */
@media (max-width: 1024px){
  .gsp-img--pin,
  .gsp-img--ui{
    width: min(100%, 520px);       /* was 92vw */
    height: auto;
  }
}

/* (optional) keep comfy inner gutters on tiny screens */
.ey-act5-card,
.ey-test-card,
.gsp-card{
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}
/* --- STEP 5 (mobile): keep all images inside the white card --- */
@media (max-width: 768px){
  /* Make the card’s box the sizing context & stop any bleed */
  .ey-act5-card{
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 18px 16px;
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;               /* prevents eclipse/cutting outside */
  }

  /* Grid + children shouldn’t force horizontal growth */
  .ey-act5-grid{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ey-act5-grid > *{ min-width: 0; }

  /* Size images by the card’s content width (not vw) */
  .ey-act5 .ey-act5-shot,
  .ey-act5 .ey-act5-menu,
  .ey-act5 .ey-act5-qr,
  .ey-act5 .ey-act5-devices img{
    display: block;
    width: 100%;
    max-width: 420px;               /* smaller on phones */
    height: auto !important;
    margin: 8px auto 12px;
    object-fit: contain;
  }

  /* That big gap before the green check was pushing content down */
  .ey-act5-confirm{ margin-top: 16px; }
}
/* === Fix: make the last three white cards the same width on mobile === */
@media (max-width: 768px){
  .ey-act5-card,
  .ey-test-card,
  .gsp-card{
    width: 100% !important;       /* fill the section's content width */
    max-width: none !important;    /* let 100% apply cleanly */
    margin-inline: auto;           /* stay centered */
  }
}
/* Hide the left artwork on mobile and collapse the grid */
@media (max-width: 768px){
  .eac-left-art{ display: none !important; }
  .eac-left-grid{ grid-template-columns: 1fr !important; }
}

/* Fade only: no translate/scale so layout never moves */
img[data-fade]{
  opacity: 0;
  transition: opacity .6s ease-out;
  will-change: opacity;
}

/* becomes visible when JS adds this class */
img[data-fade].is-visible{
  opacity: 1;
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  img[data-fade]{ transition: none; }
}
/* ================== Video Section ================== */
.ey-video{
  padding: clamp(14px, 3vw, 32px) 16px;
  background: var(--page-bg, #efeff1);
  font-family: Poppins, system-ui, sans-serif;
}

.eyv-card{
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: #f4f5f7;                 /* soft grey wrapper (like screenshot) */
  border-radius: var(--radius, 28px);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

.eyv-frame{
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;                /* keeps the video box proportional */
  background: #fff;
  border-radius: calc(var(--radius, 28px) - 8px);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
}

.eyv-placeholder{
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 36px);
  color: #0a0a0b;
  line-height: 1;
  text-align: center;
  user-select: none;
}

/* Embedded media fills the rounded frame */
.eyv-embed{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;                    /* helps during load */
}

/* If you keep the placeholder in DOM, hide it when an embed is present */
.eyv-frame:has(.eyv-embed) .eyv-placeholder{ display: none; }

/* Fallback if :has() isn’t available: add .has-embed to .eyv-frame manually */
.eyv-frame.has-embed .eyv-placeholder{ display: none; }

/* ================== Wristband (compact) ================== */
.ey-wristband{
  padding: clamp(14px, 3vw, 32px) 16px;
  background:#efeff1;
  font-family:Poppins, system-ui, sans-serif;
}

/* card shell — same width rules as other white boxes */
.ey-wb-card{
  width: min(var(--maxw, 1180px), calc(100% - 32px));
  margin: 0 auto;
  background:#fff;
  border-radius: var(--radius, 28px);
  padding: clamp(18px, 3vw, 28px);           /* ↓ tighter vertical padding */
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.ey-wb-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.06);
  pointer-events:none;
}

/* layout */
.ey-wb-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;            /* left | right */
  gap: clamp(14px, 2.4vw, 28px);             /* ↓ smaller gap */
  align-items:center;
}

/* left column */
.ey-wb-title{
  margin: 0 0 clamp(10px, 1.6vw, 16px);      /* ↓ tighter title spacing */
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.1;
  font-size: clamp(26px, 2vw + 1rem, 38px);  /* ↓ slightly smaller */
  color:#0a0a0b;
}
.ey-wb-product{
  display:block;
  width: clamp(200px, 28vw, 340px);          /* ↓ smaller image = less height */
  height:auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.10));
}

/* right column */
.ey-wb-right{
  border-left: 1px solid rgba(0,0,0,.08);    /* slim divider */
  padding-left: clamp(14px, 2vw, 22px);
  min-width:0;
}
.ey-wb-steps{
  display:block;
  width: clamp(380px, 52vw, 640px);          /* capped so the row stays short */
  max-width:100%;
  height:auto;
}

/* responsive */
@media (max-width:1024px){
  .ey-wb-grid{ grid-template-columns:1fr; gap:12px; }
  .ey-wb-left, .ey-wb-right{ text-align:center; }
  .ey-wb-right{
    border-left:0;
    padding-left:0;
    border-top:1px solid rgba(0,0,0,.08);
    padding-top: clamp(12px, 2.4vw, 18px);
  }
  .ey-wb-product{ margin-inline:auto; width: min(64vw, 360px); }
  .ey-wb-steps{ width: min(86vw, 720px); margin-inline:auto; }
  .ey-wb-title{ font-size: clamp(22px, 5vw, 28px); }
}
