/* =========================================================
   playfully.now — shared stylesheet
   Fonts: Nunito (headings) / Nunito Sans (body + explainers)
   ========================================================= */

:root{
  --black:        #000000;
  --panel:        #0c0c0d;
  --panel-2:      #121213;
  --line:         #202022;
  --line-soft:    #19191a;
  --grey-fill:    #3c3c3f;   /* placeholder icon/image fill */
  --grey-fill-2:  #2a2a2c;
  --muted:        #8b8b8f;   /* explainer text */
  --muted-dim:    #616164;
  --white:        #ffffff;

  --green:        #A6E647;
  --green-dim:    rgba(166,230,71,.14);
  --green-line:   rgba(166,230,71,.35);

  --gold:         #F5C242;
  --gold-dim:     rgba(245,194,66,.14);

  --purple:       #AE7AEB;
  --purple-dim:   rgba(174,122,235,.14);

  --radius-s:     10px;
  --radius-m:     18px;
  --radius-l:     26px;
  --radius-xl:    34px;

  --container:    1140px;

  --font-head: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:var(--font-body);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font:inherit; background:none; border:none; color:inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:900;
  color:var(--white);
  margin:0;
  letter-spacing:-0.01em;
}
p{ margin:0; }
:focus-visible{ outline:2px solid var(--green); outline-offset:3px; border-radius:4px; }

.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:800;
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--green);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 10px var(--green-line);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--font-head);
  font-weight:800;
  font-size:15.5px;
  padding:14px 26px;
  border-radius:100px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--green);
  color:#08130a;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 30px -8px var(--green-line); }
.btn-ghost{
  background:transparent;
  border:1.5px solid var(--line);
  color:var(--white);
}
.btn-ghost:hover{ border-color:var(--green); color:var(--green); }
.btn-block{ width:100%; }
.btn-icon{
  width:20px; height:20px;
  flex:none;
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:76px;
}
.logo-link{
  display:flex;
  align-items:center;
  gap:10px;
}
.logo-link svg{ width:30px; height:30px; }
.logo-word{
  font-family:var(--font-head);
  font-weight:900;
  font-size:19px;
  color:var(--white);
}
.logo-word .accent{ color:var(--green); }
.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{
  font-family:var(--font-body);
  font-weight:700;
  font-size:14.5px;
  color:var(--muted);
  transition:color .15s ease;
}
.main-nav a:hover{ color:var(--white); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none;
  width:40px; height:40px;
  border-radius:10px;
  border:1.5px solid var(--line);
  align-items:center;
  justify-content:center;
  flex:none;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content:"";
  display:block;
  width:16px; height:2px;
  background:var(--white);
  border-radius:2px;
  position:relative;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-5px; }
.nav-toggle span::after{ position:absolute; top:5px; }

/* ---------- section rhythm ---------- */
section{ padding:96px 0; position:relative; }
section.tight{ padding:64px 0; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-inline:auto; text-align:center; }
h2{ font-size:clamp(28px,4.4vw,42px); line-height:1.12; }
h3{ font-size:clamp(19px,2.4vw,22px); font-weight:800; }
.lede{
  font-family:var(--font-body);
  font-weight:600;
  font-size:clamp(16px,2vw,19px);
  line-height:1.55;
  color:var(--muted);
  margin-top:16px;
}
.divider{
  height:1px;
  background:linear-gradient(90deg, transparent, var(--line), transparent);
  border:none;
  margin:0;
}

/* ---------- hero ---------- */
.hero{ padding-top:76px; padding-bottom:80px; }
.hero-inner{ max-width:820px; }
.hero h1{
  font-size:clamp(34px,6vw,64px);
  line-height:1.06;
}
.app-icon{
  margin-top: 30vh;
}
.accent-color { color:var(--green); }
.hero h1 .accent-color { color:var(--green); }
.hero .lede{ max-width:560px; font-size:clamp(16px,2.1vw,20px); }
.no-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:36px;
  max-width:760px;
}
.no-list li{
  font-family:var(--font-body);
  font-weight:400;
  font-size:12px;
  color:var(--muted);
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--panel);
}
.hero-cta{ margin-top:44px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.hero-cta small{ color:var(--muted-dim); font-weight:600; font-size:13px; }

/* ---------- placeholders (icons / images) ---------- */
.ph{
 /* background:var(--grey-fill);*/
  flex:none;
  position:relative;
  overflow:hidden;
}
.ph::after{
  content:"";
  position:absolute; inset:0;
  /*background:linear-gradient(135deg, rgba(255,255,255,.05), transparent 55%);*/
}
.ph-icon{ width:17px; height:17px; }
.ph-icon.sm{ width:38px; height:38px; }
.app-icon{
  position: relative;
  margin-top: 20vh;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: #000;
  z-index: 0 ;
  margin-bottom: 30px;
}

.app-icon::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;                 /* ← border thickness, adjust to taste */
  background: linear-gradient(135deg, #ffffff 0%, #252525 50%, #ffffff 100%);

  /* mask cuts a hole matching the inner box, leaving just the ring */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.ph-image{ width:100%; aspect-ratio:16/10; border-radius:var(--radius-l); }
.ph-square{ width:100%; aspect-ratio:1/1; border-radius:var(--radius-m); }

/* ---------- how it works / tree ---------- */
.tree-wrap{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:14px;
  row-gap:56px;
  padding:64px 8px 8px;
  max-width:640px;
  margin-inline:auto;
}
.tree-svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
  z-index:0;
}
.tree-node{
  position:relative;
  z-index:1;
  font-family:var(--font-head);
  font-weight:800;
  font-size:14.5px;
  line-height:1.3;
  color:var(--white);
  background:var(--panel-2);
  border:1.5px solid var(--line);
  border-radius:var(--radius-m);
  padding:16px 16px;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
}
.tree-node--root{
  grid-column:1 / span 2;
  justify-self:center;
  width:min(220px,100%);
  border-color:var(--green-line);
  background:var(--green-dim);
  color:var(--white);
  box-shadow:0 0 0 1px transparent;
}
.tree-node--root .node-tag{
  position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  font-family:var(--font-body); font-weight:800; font-size:10.5px;
  letter-spacing:.12em; text-transform:uppercase;
  color:#08130a; background:var(--green);
  padding:3px 9px; border-radius:100px;
}
.tree-row-branch{ grid-column:1/2; 
    border-style:dashed;
}
.tree-row-branch + .tree-row-branch{ grid-column:2/3;`}
.tree-node--stay{ border-color:var(--green-line); }
.tree-node--leaf{
  font-family:var(--font-body);
  font-weight:600;
  /*font-size:12.5px;*/
  color:var(--muted);
  background:transparent;
  border-style:dashed;
}
.tree-node--leaf.tree-node--solid{
  color:var(--white);
  border-color:var(--green-line);
  font-weight:800;
  font-family:var(--font-head);
  background:var(--panel-2);
  border-style:solid;
}
.tree-leaf-slot{ grid-column:2/3; }
/*.tree-leaf-slot + .tree-leaf-slot{ grid-column:2/3; }*/

.rule-line{
  text-align:center;
  font-family:var(--font-head);
  font-weight:900;
  font-size:clamp(20px,3vw,26px);
  margin-top:56px;
}
.fine-print{
  text-align:center;
  color:var(--muted);
  font-weight:600;
  font-size:14.5px;
  margin-top:18px;
  max-width:600px;
  margin-inline:auto;
  line-height:1.6;
}

/* ---------- break-it list ---------- */
.break-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.break-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.break-card p{
  font-family:var(--font-head);
  font-weight:800;
  font-size:15px;
  color:var(--white);
}
.void-line{
  margin-top:36px;
  text-align:center;
  font-family:var(--font-body);
  font-weight:700;
  font-size:15.5px;
  color:var(--muted);
}
.void-line strong{ color:var(--white); font-family:var(--font-head); }

/* ---------- live activity ---------- */
.live-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:56px;
  align-items:center;
}
.state-cards{ display:flex; gap:16px; }
.state-card{
  flex:1;
  border-radius:var(--radius-l);
  border:1px solid var(--line);
  padding:22px 18px 20px;
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.state-card .state-swatch{
  width:100%;
  aspect-ratio:2.2/1;
  border-radius:var(--radius-s);
  margin-bottom:16px;
}
.state-card.is-broken{ background:var(--panel); }
.state-card.is-broken .state-swatch{ background:#000; border:1px solid var(--line); }
.state-card.is-broken .state-label{ color: #f44336 }
.state-card.is-active{ background:var(--panel); }
.state-card.is-active .state-swatch{ background:var(--white); }
.state-label{ font-family:var(--font-head); font-weight:800; font-size:14px; }
.state-sub{ font-size:12.5px; color:var(--muted); font-weight:600; margin-top:4px; }

/* ---------- rewards ---------- */
.rewards-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.reward-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-l);
  padding:26px 24px 28px;
  display:flex;
  flex-direction:column;
  gap:18px;
  position:relative;
  overflow:hidden;
}
.reward-card::before{
  content:"";
  position:absolute; inset:0 0 auto 0;
  height:3px;
  background:var(--accent, var(--white));
}
.reward-card .ph-icon{ background:transparent;  width : 48px; height: 58px; }
.reward-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:800;
  font-size:11.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--accent, var(--white));
}
.reward-tag::before{
  content:"";
  width:8px; height:8px;
  border-radius:50%;
  background:var(--accent, var(--white));
}
.reward-card h3{ margin-top:-4px; }
.reward-card p{ color:var(--muted); font-weight:600; font-size:14.5px; line-height:1.6; }
.reward-card--trophy{ --accent:var(--gold); }
.reward-card--finish{ --accent:var(--white); }
.reward-card--year{ --accent:var(--purple); }

/* ---------- timepiece / signature ---------- */
.timepiece{
  text-align:center;
  padding:120px 0 130px;
}
.timepiece .container{ max-width:640px; }
.timepiece .tp-line{
  font-family:var(--font-head);
  font-weight:800;
  font-size:clamp(18px,3vw,25px);
  line-height:1.5;
  transition:color .2s ease;
}
.timepiece .tp-line:nth-child(1){ color:var(--white); }
.timepiece .tp-line:nth-child(2){ color:var(--white); opacity:.92; }
.timepiece .tp-line:nth-child(3){ color:var(--muted); font-weight:700; }
.timepiece .tp-line:nth-child(4){ color:var(--muted); font-weight:700; }
.timepiece .tp-line:nth-child(5){ color:var(--muted-dim); font-weight:600; font-size:.85em; }
.timepiece .tp-final{
  margin-top:38px;
  font-family:var(--font-head);
  font-weight:900;
  font-size:clamp(22px,3.4vw,30px);
  color:var(--green);
}

/* ---------- closing CTA ---------- */
.closing{
  text-align:center;
  padding-bottom:130px;
}
.closing h2{ margin-bottom:26px; }

/* ---------- footer ---------- */
.site-footer{
  border-top:1px solid var(--line-soft);
  padding:48px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.footer-brand{ display:flex; align-items:center; gap:10px; }
.footer-brand svg{ width:22px; height:22px; }
.footer-brand span{ font-family:var(--font-head); font-weight:800; font-size:15px; color:var(--muted); }
.footer-links{ display:flex; gap:26px; }
.footer-links a{ font-weight:700; font-size:13.5px; color:var(--muted); }
.footer-links a:hover{ color:var(--white); }
.footer-copy{ font-size:12.5px; color:var(--muted-dim); font-weight:600; }

/* ---------- generic content grids used on privacy page ---------- */
.pill-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.pill-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.pill-card span{
  font-family:var(--font-head);
  font-weight:800;
  font-size:14px;
}
.stat-row{
  display:flex;
  align-items:center;
  gap:22px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-l);
  padding:22px;
}
.stat-row + .stat-row{ margin-top:14px; }
.stat-row .ph-icon{ }
.stat-row div p:first-child{ font-family:var(--font-head); font-weight:800; font-size:15px; color:var(--white); }
.stat-row div p:last-child{ color:var(--muted); font-size:13.5px; font-weight:600; margin-top:4px; }

.big-statement{
  font-family:var(--font-head);
  font-weight:900;
  font-size:clamp(24px,4vw,36px);
  line-height:1.25;
  max-width:760px;
}
.count-card{
  margin-top:40px;
  display:flex;
  align-items:center;
  gap:24px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-l);
  padding:28px;
}
.count-card .count-num{
  font-family:var(--font-head);
  font-weight:900;
  font-size:44px;
  color:var(--green);
  flex:none;
}
.count-card p{ color:var(--muted); font-weight:600; font-size:14px; line-height:1.6; }

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}
.check-list{ display:flex; flex-direction:column; gap:14px; margin-top:26px; }
.check-list li{
  display:flex;
  align-items:center;
  gap:14px;
  font-family:var(--font-head);
  font-weight:800;
  font-size:15px;
  color:var(--white);
}
.dot{
  width:9px; height:9px;
  border-radius:50%;
  background:var(--green);
  flex:none;
}

/* ---------- mobile menu panel ---------- */
.mobile-menu{
  display:none;
  flex-direction:column;
  gap:2px;
  padding:10px 24px 22px;
  border-bottom:1px solid var(--line-soft);
  background:var(--black);
}
.mobile-menu a{
  padding:14px 4px;
  font-family:var(--font-head);
  font-weight:800;
  font-size:15.5px;
  color:var(--white);
  border-bottom:1px solid var(--line-soft);
}
.mobile-menu a:last-child{ border-bottom:none; }
body.nav-open .mobile-menu{ display:flex; }
body.nav-open .nav-toggle span{ background:transparent; }
body.nav-open .nav-toggle span::before{ top:0; transform:rotate(45deg); background:var(--green); }
body.nav-open .nav-toggle span::after{ top:0; transform:rotate(-45deg); background:var(--green); }

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:900px){
  .main-nav{ display:none; }
  .app-icon{
      margin-top: 1vh;
      width: 80px;
      height: 80px;
      border-radius: 22px;
  }
  .nav-toggle{ display:flex; }
  .break-grid{ grid-template-columns:1fr; }
  .live-grid{ grid-template-columns:1fr; gap:36px; }
  .rewards-grid{ grid-template-columns:1fr; }
  .pill-grid{ grid-template-columns:repeat(2,1fr); }
  .two-col{ grid-template-columns:1fr; gap:36px; }
}
@media (max-width:600px){
  section{ padding:64px 0; }
  .timepiece{ padding:90px 0 96px; }
  .closing{ padding-bottom:96px; }
  .tree-wrap{ padding-top:52px; row-gap:44px; }
  .tree-node{ font-size:13px; padding:13px 12px; min-height:56px; }
  .stat-row{ flex-direction:column; align-items:flex-start; }
  .count-card{ flex-direction:column; align-items:flex-start; }
  .pill-grid{ grid-template-columns:1fr 1fr; }
  .header-cta .btn-primary{ display:none; }
}
