:root {
  color-scheme: light dark;
  --bg: #0c0e10;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.035);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.56);
  --line: rgba(255,255,255,.12);
  --line2: rgba(255,255,255,.18);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --brand: #276f4f;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9;
    --panel: rgba(0,0,0,.045);
    --panel2: rgba(0,0,0,.03);
    --text: rgba(0,0,0,.86);
    --muted: rgba(0,0,0,.64);
    --muted2: rgba(0,0,0,.52);
    --line: rgba(0,0,0,.12);
    --line2: rgba(0,0,0,.18);
    --shadow: 0 18px 60px rgba(0,0,0,.12);
  }
}

*{ box-sizing:border-box; }
body {
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 50% 12%, rgba(39,111,79,.16), transparent 58%),
    radial-gradient(900px 700px at 18% 72%, rgba(140,170,255,.10), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{ color: inherit; }
.wrap { max-width:1080px; margin:0 auto; padding:22px 16px 58px; }
header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
.logoMark { width:36px; height:36px; border-radius:999px; border:1px solid var(--line); background: rgba(255,255,255,.03); display:grid; place-items:center; }
.logoMark svg{ width:22px; height:22px; }
.brandTxt strong{ display:block; letter-spacing:.2px; font-weight:750; }
.brandTxt span{ display:block; font-size:12px; color: var(--muted2); margin-top:2px; }
nav.topnav { display:flex; gap:8px; flex-wrap:wrap; color: var(--muted); font-size:13px; }
nav.topnav a{ text-decoration:none; padding:7px 10px; border-radius:999px; border:1px solid transparent; }
nav.topnav a:hover{ border-color: var(--line); background: rgba(255,255,255,.04); }
.panel { border-radius:28px; background: linear-gradient(180deg, var(--panel), var(--panel2)); border:1px solid var(--line); box-shadow: var(--shadow); overflow:hidden; }
.hero { margin-top:18px; display:grid; grid-template-columns: 1.15fr .85fr; gap:16px; align-items:stretch; }
@media (max-width:900px){ .hero{ grid-template-columns:1fr; } }
.heroLeft { padding:24px 22px; }
.badge { display:inline-flex; align-items:center; gap:10px; border:1px solid var(--line); background: rgba(255,255,255,.03); padding:7px 10px; border-radius:999px; color: var(--muted); font-size:12px; }
.badge .dot{ width:7px; height:7px; border-radius:50%; background: var(--brand); box-shadow: 0 0 0 7px rgba(39,111,79,.12); }
h1 { margin:10px 0 10px; font-size: clamp(30px, 4.6vw, 52px); line-height:1.05; letter-spacing:.2px; }
.tagline { margin:0; color: var(--muted); font-size:16px; max-width:70ch; }
.trust { display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; color: var(--muted2); font-size:12px; }
.trust .pill{ border:1px solid var(--line); background: rgba(255,255,255,.02); padding:6px 10px; border-radius:999px; }
.social{ margin-top:12px; color: var(--muted2); font-size:12px; }
.startCard{ padding:16px; display:grid; gap:12px; cursor:pointer; user-select:none; }
.startCard:hover{ border-color: var(--line2); }
.startTop{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.startTop strong{ letter-spacing:.2px; }
.micro{ color: var(--muted2); font-size:12px; line-height:1.35; }
.bigTime{ font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing:.8px; font-size:34px; margin-top:4px; }
.cta{ display:flex; align-items:center; justify-content:center; gap:10px; text-decoration:none; border-radius:18px; padding:14px 14px; font-weight:750; border:1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.10); transition: transform .08s ease, background .12s ease, border-color .12s ease; }
.cta:hover{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.cta:active{ transform: translateY(1px); }
.cta .arrow{ width:10px; height:10px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform: rotate(-45deg); opacity:.9; }
.hint{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; color: var(--muted2); font-size:12px; }
.kbd{ font-family: var(--mono); border:1px solid var(--line); background: rgba(255,255,255,.02); padding:2px 6px; border-radius:8px; }
.section{ margin-top:16px; padding:18px 18px; }
.section h2{ margin:0 0 10px; font-size:15px; letter-spacing:.2px; color: var(--muted); font-weight:800; }
.prose{ line-height:1.65; font-size:14.5px; max-width:82ch; }
.prose p{ margin:10px 0; }
.prose ul{ margin:10px 0 10px 18px; }
.prose li{ margin:6px 0; }
.grid3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
@media (max-width:900px){ .grid3{ grid-template-columns:1fr; } }
.card{ border:1px solid var(--line); background: rgba(255,255,255,.02); border-radius:18px; padding:12px 12px; }
.card strong{ display:block; font-weight:800; letter-spacing:.2px; }
.card span{ display:block; margin-top:6px; color: var(--muted2); font-size:12px; line-height:1.45; }
.chips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{ text-decoration:none; border-radius:999px; border:1px solid var(--line); padding:7px 10px; font-size:13px; background: rgba(255,255,255,.02); }
.chip:hover{ border-color: var(--line2); background: rgba(255,255,255,.05); }
details.faq{ border:1px solid var(--line); background: rgba(255,255,255,.02); border-radius:16px; padding:10px 12px; }
details.faq summary{ cursor:pointer; font-weight:800; outline:none; }
.faq-a{ margin-top:8px; color: var(--muted2); font-size:12px; line-height:1.55; }
.faqGrid{ display:grid; gap:10px; }
.ad-container{ margin:26px 0 14px; padding:16px; border-radius:22px; border:1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--panel2)); }
.ad-note{ font-size:12px; color: var(--muted2); margin-bottom:8px; }
.footer{ margin-top:18px; color: var(--muted2); font-size:12px; text-align:center; }
.footer a{ text-decoration:none; border-bottom:1px dashed rgba(127,127,127,.35); }
.footer a:hover{ border-bottom-color: rgba(127,127,127,.70); }


/* ======= V2 tweaks: cleaner header + stronger click clarity ======= */
.brandTxt span{ display:none !important; } /* remove subheadline in header for cleanliness */

.heroLeft .social{ display:none; } /* keep hero ultra-clean; proof moved lower */
.heroLeft .trust{ margin-top:12px; }
.heroLeft h1{ margin-top:12px; }

.startCard{ position:relative; }
.startCard::after{
  content:"Click anywhere to start";
  position:absolute;
  right:16px;
  top:14px;
  font-size:12px;
  color: var(--muted2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  padding:6px 10px;
  border-radius:999px;
}
@media (max-width:900px){
  .startCard::after{ content:"Tap anywhere to start"; }
}
@media (max-width:520px){
  .startCard::after{ display:none; } /* avoid clutter on very small screens */
}

.section h2{ text-transform:none; }
.prose h2{ margin-top:16px; }

.ad-container.is-empty{ display:none !important; } /* hide empty AdSense boxes until slots are set */


/* ======= V3 "Apple-like" fold: less glass, more whitespace ======= */
:root{
  --shadow: 0 10px 40px rgba(0,0,0,.22);
}
body{
  background:
    radial-gradient(1000px 680px at 50% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 700px at 20% 70%, rgba(255,255,255,.04), transparent 60%),
    var(--bg);
}

.panel{
  border-radius: 26px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
}
@media (prefers-color-scheme: light){
  .panel{
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.10);
  }
  body{
    background:
      radial-gradient(1000px 680px at 50% 0%, rgba(0,0,0,.06), transparent 60%),
      radial-gradient(900px 700px at 20% 70%, rgba(0,0,0,.04), transparent 60%),
      var(--bg);
  }
}

header{
  padding-top: 6px;
}
nav.topnav a{
  padding: 6px 8px;
  font-size: 13px;
}

.hero{
  margin-top: 20px;
  grid-template-columns: 1fr !important;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  gap: 12px;
}
.heroLeft{
  padding: 24px 22px 10px;
}
.badge{ display:none !important; }   /* no pill badge in fold */
.trust{ display:none !important; }   /* remove chips in fold */
.heroLeft h1{
  font-size: clamp(30px, 4.2vw, 56px);
  letter-spacing: -0.3px;
}
.tagline{
  font-size: 16px;
  max-width: 68ch;
  margin-top: 10px;
}

.startCard{
  padding: 18px 18px;
  display: grid;
  gap: 14px;
}
.startCard::after{ display:none !important; } /* remove 'click anywhere' bubble */
.startTop{
  display:none !important; /* remove extra header inside start card */
}
.bigTime{
  font-size: 44px;
}
.cta{
  border-radius: 20px;
  padding: 16px 16px;
  font-size: 15px;
  font-weight: 800;
  background: rgba(255,255,255,.92);
  color: rgba(0,0,0,.90);
  border-color: rgba(255,255,255,.92);
}
.cta:hover{ background: rgba(255,255,255,1); border-color: rgba(255,255,255,1); }
@media (prefers-color-scheme: light){
  .cta{
    background: rgba(0,0,0,.88);
    color: rgba(255,255,255,.96);
    border-color: rgba(0,0,0,.88);
  }
  .cta:hover{ background: rgba(0,0,0,.94); border-color: rgba(0,0,0,.94); }
}

.hint{
  justify-content: space-between;
  gap: 12px;
}
.hint a{ opacity: .9; }

.foldMeta{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12px;
}
.foldMeta span{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  padding:6px 10px;
  border-radius:999px;
}

/* Collapsible SEO sections (content still in HTML) */
details.seo{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  padding: 12px 14px;
}
details.seo summary{
  cursor:pointer;
  font-weight: 850;
  letter-spacing: .2px;
  outline:none;
}
details.seo .prose{ margin-top: 10px; }

/* tighten spacing */
.section{ padding: 16px 16px; }


/* ======= V4: friendlier, less "sad black", better mobile header ======= */
:root{
  --bg: #0f1113;           /* warm charcoal */
  --panel: rgba(255,255,255,.045);
  --panel2: rgba(255,255,255,.030);
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.16);
  --shadow: 0 14px 50px rgba(0,0,0,.30);
  --brand: #2f8a67;        /* slightly brighter friendly green */
}

body{
  background:
    radial-gradient(900px 640px at 50% -10%, rgba(47,138,103,.18), transparent 60%),
    radial-gradient(800px 600px at 15% 70%, rgba(140,170,255,.10), transparent 58%),
    radial-gradient(900px 600px at 85% 75%, rgba(255,185,120,.08), transparent 60%),
    var(--bg);
}

/* Softer, more "Apple" surface */
.panel{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
@media (prefers-color-scheme: light){
  :root{ --brand:#1d6b4c; }
  body{
    background:
      radial-gradient(900px 640px at 50% -10%, rgba(29,107,76,.14), transparent 60%),
      radial-gradient(800px 600px at 15% 70%, rgba(0,0,0,.06), transparent 58%),
      radial-gradient(900px 600px at 85% 75%, rgba(255,160,90,.08), transparent 60%),
      var(--bg);
  }
}

/* Typography: slightly tighter, calmer */
.heroLeft h1{
  letter-spacing: -0.4px;
}
.tagline{
  color: var(--muted);
  line-height: 1.4;
}

/* Mobile header: single row, scrollable nav */
header{
  align-items: center;
}
nav.topnav{
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 6px;
  padding-bottom: 2px;
}
nav.topnav::-webkit-scrollbar{ display:none; }
nav.topnav a{
  white-space: nowrap;
  border-color: transparent;
}
nav.topnav a:active{
  transform: translateY(1px);
}

/* Make header brand compact on mobile */
@media (max-width: 520px){
  .logoMark{ width:32px; height:32px; }
  .brandTxt strong{ font-size:14px; }
}

/* Fold meta: fewer pills on mobile for friendliness */
@media (max-width:520px){
  .foldMeta span:nth-child(3),
  .foldMeta span:nth-child(4){ display:none; }
}

/* CTA: slightly less "hard" and more friendly */
.cta{
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
@media (prefers-color-scheme: light){
  .cta{ box-shadow: 0 10px 24px rgba(0,0,0,.12); }
}

/* Start card: warmer microcopy */
.startCard .micro{
  color: var(--muted2);
}


/* ======= V6: time-first fold + no wordmark (logo placeholder only) ======= */
.brandTxt strong{ display:none !important; } /* remove header wordmark; logo only for now */

.foldTimeWrap{display:flex;justify-content:center;margin:14px 0 18px;}
.foldTime{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.6px;
  font-size: clamp(46px, 9vw, 84px);
  line-height: 1;
  text-align:center;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  width: min(520px, 92vw);
  padding: 6px 8px;
  border-radius: 14px;
  transition: box-shadow .14s ease, background .14s ease;
}
.foldTime:hover{background: rgba(255,255,255,.02);box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;}
.foldTime:focus{
  background: rgba(255,255,255,.03);
  box-shadow: 0 0 0 2px rgba(255,255,255,.22) inset, 0 10px 24px rgba(0,0,0,.18);
}
.foldHelp{color: var(--muted2);font-size: 13px;margin-top:4px;}

.heroMinimal{max-width:760px;margin:54px auto 34px;text-align:center;padding:0 16px;}
.heroMinimal h1{font-size: clamp(32px, 5vw, 70px);letter-spacing:-0.55px;margin:0 0 12px;}
.heroMinimal p{font-size: 18px;color: var(--muted);margin:0;}
.heroMinimal .cta{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:18px 36px;font-size:18px;border-radius:999px;
  min-width:min(560px, 92vw);
}
.heroMinimal .cta:active{transform: translateY(1px);}

@media (max-width:520px){
  .heroMinimal{margin-top:26px;}
  .heroMinimal .cta{padding:16px 18px;font-size:17px;}
  .foldHelp{font-size:12px;}
}


/* ======= V7: cleaner first fold (Apple-ish) ======= */
.heroMinimal{max-width:860px;margin:44px auto 28px;text-align:center;padding:0 16px;}
.heroMinimal h1{
  font-size: clamp(34px, 5.6vw, 72px);
  letter-spacing: -0.6px;
  margin: 0 0 18px;
  font-weight: 700;
}

/* hide wordmark text in header */
.brandTxt strong{ display:none !important; }

.foldTimeWrap{display:flex;flex-direction:column;align-items:center;margin:0 0 18px;}
.foldLabel{
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: .22px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.foldTimeShell{
  width: min(560px, 92vw);
  border-radius: 18px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .08s ease;
}
.foldTimeShell:active{ transform: translateY(1px); }
.foldTime{
  cursor: text;
  user-select: text;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.8px;
  font-size: clamp(46px, 9.6vw, 88px);
  line-height: 1;
  text-align:center;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  width: 100%;
  padding: 6px 6px;
}
.editHint{
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  padding: 6px 10px;
  border-radius: 999px;
  user-select:none;
}
html.isEditing .editHint{ opacity: 0; transform: scale(.98); transition: opacity .12s ease, transform .12s ease; }

.foldTimeShell:focus-within{
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08), 0 22px 80px rgba(0,0,0,0.22);
}

.ctaTwoLine{
  flex-direction:column;
  gap: 6px;
  padding: 16px 26px;
  min-width: min(560px, 92vw);
}
.ctaTwoLine .ctaMain{ font-size: 18px; font-weight: 650; }
.ctaTwoLine .ctaSub{ font-size: 13px; color: rgba(0,0,0,0.58); }

/* Hide old helper line if present */
.foldHelp{display:none !important;}

@media (max-width: 520px){
  .heroMinimal{margin-top:26px;}
  .foldTimeShell{padding: 10px 12px;}
  .editHint{padding: 6px 9px;}
}

/* ======= V8: cleaner header on mobile + spacing tweaks ======= */
@media (max-width: 640px){
  .topNavLinks, nav.topNavLinks, .topNav a{ display:none !important; }
  .navMenuBtn{ display:inline-flex !important; }
}
.navMenuBtn{
  display:none;
  margin-left:auto;
  appearance:none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor:pointer;
}

.heroMinimal{ margin-top: 34px; }
.heroMinimal h1{ margin-bottom: 14px; }
.foldTimeWrap{ margin-bottom: 14px; }

/* Nav drawer */
.navBackdrop{
  position: fixed; inset:0;
  background: rgba(0,0,0,0.42);
  opacity:0;
  transition: opacity .16s ease;
  z-index: 60;
}
.navBackdrop.show{ opacity:1; }

.navDrawer{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(20,22,24,0.96), rgba(10,11,12,0.98));
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -20px 80px rgba(0,0,0,0.45);
  transform: translateY(105%);
  transition: transform .16s ease;
  z-index: 70;
  padding: 14px 14px 16px;
}
.navDrawer.open{ transform: translateY(0); }

.navDrawerHead{
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 4px 10px;
}
.navDrawerTitle{
  font-weight: 650;
  letter-spacing: .2px;
}
.navDrawerClose{
  appearance:none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor:pointer;
}
.navDrawerLinks{
  display:grid;
  gap: 10px;
  padding: 6px 2px 10px;
}
.navDrawerLinks a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  text-decoration:none;
  color: var(--text);
  font-weight: 600;
}
.navDrawerLinks a:after{
  content: "›";
  opacity: .7;
  font-size: 18px;
}

.navDrawerFoot{
  display:flex;
  justify-content:center;
  gap: 10px;
  color: var(--muted2);
  padding-top: 8px;
  font-size: 12px;
}
.navDrawerFoot a{ color: var(--muted2); text-decoration:none; }
.navDrawerFoot .dot{ opacity:.6; }

/* remove foldLabel styles (TIME) */
.foldLabel{ display:none !important; }
