/* Popular Recently — shared site styles */

:root{
  --bg:#faf9f7;
  --surface:#ffffff;
  --surface-2:#f4f1ec;
  --text:#211d1a;
  --muted:#6b6560;
  --accent:#c8450c;
  --accent-2:#e8730f;
  --accent-soft:#f4e3d8;
  --border:#e5e1dc;
  --code-bg:#f2efe9;
  --shadow: 0 1px 2px rgba(30,20,10,.04), 0 8px 24px rgba(30,20,10,.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#15120e;
    --surface:#1c1812;
    --surface-2:#221c15;
    --text:#f2eee8;
    --muted:#a89f93;
    --accent:#ff8a4c;
    --accent-2:#ffab6b;
    --accent-soft:#3a2417;
    --border:#332c22;
    --code-bg:#241f18;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"]{
  --bg:#15120e;
  --surface:#1c1812;
  --surface-2:#221c15;
  --text:#f2eee8;
  --muted:#a89f93;
  --accent:#ff8a4c;
  --accent-2:#ffab6b;
  --accent-soft:#3a2417;
  --border:#332c22;
  --code-bg:#241f18;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Public Sans", system-ui, -apple-system, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3{ font-family:"Lora", Georgia, serif; text-wrap:balance; margin:0; }
.container{ max-width:1120px; margin:0 auto; padding-inline:24px; }
.container.narrow{ max-width:760px; }

/* Header */
header.site{
  position:sticky; top:0; z-index:20;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:14px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.mark{
  width:34px; height:34px; border-radius:9px; flex:none;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.mark img{ width:100%; height:100%; object-fit:cover; display:block; }
.brand-name{ font-family:"Lora", Georgia, serif; font-weight:600; font-size:1.05rem; }
.nav-links{ display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; color:var(--muted); font-size:.95rem; font-weight:500; }
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--text); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 20px; border-radius:999px; font-weight:600; font-size:.95rem;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:linear-gradient(135deg,#ff5a3c,#ff9a3c); color:#fff; box-shadow:var(--shadow); }
.btn-ghost{ background:transparent; border-color:var(--border); color:var(--text); }
.btn-lg{ padding:14px 26px; font-size:1.02rem; }

/* Hero */
.hero{ padding-block:64px 40px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.82rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-soft); border-radius:999px;
  padding:6px 14px; margin-bottom:18px;
}
.hero h1{ font-size:clamp(2.1rem, 4.4vw, 3.4rem); font-weight:600; line-height:1.12; max-width:14ch; }
.hero .lede{ font-size:clamp(1.05rem, 1.6vw, 1.2rem); color:var(--muted); max-width:52ch; margin-top:18px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.hero-note{ margin-top:14px; font-size:.86rem; color:var(--muted); }

/* Hero visual: schematic mock, not a real screenshot */
.hero-visual{
  margin-top:52px; border-radius:20px; border:1px solid var(--border);
  background:var(--surface); box-shadow:var(--shadow); overflow:hidden;
}
.mock-chrome-bar{
  display:flex; align-items:center; gap:8px; padding:12px 16px;
  border-bottom:1px solid var(--border); background:var(--surface-2);
}
.mock-dot{ width:9px; height:9px; border-radius:50%; background:var(--border); }
.mock-url{
  flex:1; margin-left:8px; font-size:.78rem; color:var(--muted);
  background:var(--bg); border-radius:6px; padding:5px 10px;
}
.mock-body{ padding:22px; }
.mock-chipbar{ display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.mock-chip{
  font-size:.82rem; padding:7px 14px; border-radius:999px; border:1px solid var(--border);
  color:var(--muted); background:var(--surface);
}
.mock-chip.active{ background:var(--text); color:var(--bg); border-color:var(--text); font-weight:600; }
.mock-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.mock-card{ border:1px solid var(--border); border-radius:12px; overflow:hidden; background:var(--surface); }
.mock-thumb{ aspect-ratio:16/9; background:linear-gradient(135deg,var(--surface-2),var(--border)); position:relative; }
.mock-rank{
  position:absolute; top:8px; left:8px; background:var(--accent); color:#fff;
  font-size:.72rem; font-weight:700; padding:2px 8px; border-radius:999px;
}
.mock-meta{ padding:10px 12px; }
.mock-bar{ height:8px; border-radius:4px; background:var(--surface-2); margin-bottom:6px; }
.mock-bar.w70{ width:70%; } .mock-bar.w50{ width:50%; } .mock-bar.w40{ width:40%; }

/* Sections */
section{ padding-block:56px; }
section.tight{ padding-block:40px; }
.section-head{ max-width:640px; margin-bottom:36px; }
.section-head .eyebrow{ margin-bottom:14px; }
.section-head h2{ font-size:clamp(1.6rem, 2.6vw, 2.1rem); font-weight:600; }
.section-head p{ color:var(--muted); margin-top:12px; font-size:1.02rem; }
.section-alt{ background:var(--surface-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

/* Problem / how it works */
.steps{ display:grid; grid-template-columns:repeat(auto-fit, minmax(210px,1fr)); gap:22px; counter-reset:step; }
.step{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:22px; }
.step-num{
  width:30px; height:30px; border-radius:9px; background:var(--accent-soft); color:var(--accent);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.9rem; margin-bottom:14px;
}
.step h3{ font-size:1.02rem; font-weight:600; margin-bottom:6px; }
.step p{ color:var(--muted); font-size:.92rem; margin:0; }

/* Features */
.feature-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:18px; }
.feature-card{
  background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px;
}
.feature-icon{
  width:38px; height:38px; border-radius:10px; background:var(--accent-soft); color:var(--accent);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.feature-icon svg{ width:19px; height:19px; }
.feature-card h3{ font-size:1.02rem; font-weight:600; margin-bottom:8px; }
.feature-card p{ color:var(--muted); font-size:.92rem; margin:0; }
.feature-card.soon{ border-style:dashed; background:transparent; }

/* Use cases */
.usecase-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:18px; }
.usecase{ padding:20px 0; border-top:1px solid var(--border); }
.usecase h3{ font-size:.98rem; font-weight:600; margin-bottom:6px; color:var(--accent); }
.usecase p{ margin:0; color:var(--muted); font-size:.92rem; }

/* Trust strip */
.trust{
  display:flex; align-items:center; gap:20px; flex-wrap:wrap; justify-content:space-between;
  background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:28px 32px;
}
.trust-copy{ max-width:520px; }
.trust-copy h2{ font-size:1.3rem; font-weight:600; margin-bottom:8px; }
.trust-copy p{ color:var(--muted); margin:0; }
.trust-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; font-size:.9rem; color:var(--muted); }
.trust-list li{ display:flex; align-items:center; gap:8px; }
.trust-list svg{ width:15px; height:15px; color:var(--accent); flex:none; }

/* FAQ */
.faq{ max-width:760px; }
.faq details{
  border-bottom:1px solid var(--border); padding-block:18px;
}
.faq summary{
  cursor:pointer; font-weight:600; font-size:1rem; list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-size:1.3rem; color:var(--muted); flex:none; }
.faq details[open] summary::after{ content:"−"; }
.faq p{ color:var(--muted); margin:10px 0 0; font-size:.94rem; }

/* Final CTA */
.cta-band{
  text-align:center; border-radius:24px; padding:56px 32px;
  background:linear-gradient(135deg,#ff5a3c,#ff9a3c); color:#fff;
}
.cta-band h2{ color:#fff; font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:12px; }
.cta-band p{ color:rgba(255,255,255,.9); max-width:46ch; margin:0 auto 26px; }
.cta-band .btn-primary{ background:#fff; color:var(--accent); box-shadow:none; }

/* Footer */
footer.site{ border-top:1px solid var(--border); padding-block:40px; margin-top:40px; }
.footer-grid{ display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer-links{ display:flex; gap:22px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.footer-links a{ text-decoration:none; color:var(--muted); font-size:.9rem; }
.footer-links a:hover{ color:var(--text); }
.footer-note{ color:var(--muted); font-size:.82rem; margin-top:20px; max-width:640px; }

/* Simple page (support / privacy / disclaimer) */
.doc{ padding-block:56px; }
.doc-header{ border-bottom:1px solid var(--border); padding-bottom:24px; margin-bottom:36px; }
.doc-header h1{ font-size:clamp(1.7rem,3.4vw,2.2rem); font-weight:600; margin-bottom:8px; }
.doc-meta{ color:var(--muted); font-size:.92rem; }
.doc section{ padding-block:0 30px; }
.doc h2{ font-size:1.18rem; font-weight:600; margin-bottom:12px; }
.doc p{ margin:0 0 12px; }
.doc ul{ margin:0 0 12px; padding-left:1.25em; }
.doc li{ margin-bottom:8px; }
.doc li::marker{ color:var(--accent); }
.no-list{ padding-left:0 !important; }
.no-list li{ list-style:none; padding-left:1.6em; position:relative; }
.no-list li::before{ content:"✕"; position:absolute; left:0; top:.05em; color:var(--muted); font-size:.85em; }
.callout{
  background:var(--accent-soft); border:1px solid var(--border); border-radius:12px;
  padding:18px 20px; margin-bottom:30px; font-size:.98rem;
}
.callout strong{ color:var(--accent); }
code{ background:var(--code-bg); border-radius:4px; padding:.1em .4em; font-size:.92em; }
.contact-box{
  border:1px dashed var(--border); border-radius:10px; padding:16px 18px; font-size:.95rem; color:var(--muted);
}

@media (max-width:760px){
  .nav-links{ display:none; }
  .mock-grid{ grid-template-columns:1fr; }
  .trust{ flex-direction:column; align-items:flex-start; }
}
