:root{
  --bg:#050606;
  --panel:#101212;
  --panel2:#171a1a;
  --text:#f4f6f5;
  --muted:#aab2b0;
  --line:#2a302f;
  --accent:#ffffff;
  --max:980px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 80% -10%, rgba(255,255,255,.07), transparent 34rem),
    linear-gradient(180deg,#070808 0%,#030404 100%);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
}
a{color:inherit}
.site-header{
  position:sticky; top:0; z-index:10;
  background:rgba(5,6,6,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  max-width:var(--max);
  margin:auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:flex; align-items:center; gap:11px;
  text-decoration:none; font-weight:750; letter-spacing:.01em;
}
.brand-icon{
  width:38px; height:38px;
  display:block; flex:0 0 auto;
  object-fit:contain;
}
.nav-links{display:flex;gap:7px;flex-wrap:wrap}
.nav-links a{
  color:var(--muted);
  text-decoration:none;
  padding:8px 10px;
  border-radius:9px;
}
.nav-links a:hover,.nav-links a[aria-current="page"]{
  background:#171919;color:#fff
}
main{
  max-width:var(--max);
  margin:auto;
  padding:64px 22px 72px;
}
.hero{
  min-height:440px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  align-items:center;
  gap:42px;
  padding:58px 0 72px;
}
.eyebrow{
  color:#aeb6b4;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
}
h1{
  font-size:clamp(2.5rem,7vw,5.4rem);
  line-height:.98;
  letter-spacing:-.055em;
  margin:13px 0 22px;
}
.page-title{
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.03;
  letter-spacing:-.045em;
  margin:12px 0 10px;
}
.lead{
  color:#c3cac8;
  font-size:clamp(1.08rem,2.2vw,1.36rem);
  max-width:720px;
}
.hero-device{
  position:relative;
  overflow:hidden;
  aspect-ratio:1/1.18;
  border:1px solid #303636;
  border-radius:42px;
  background:linear-gradient(180deg,#08131a 0%,#081015 42%,#090a0a 100%);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.hero-preview{min-height:530px}
.preview-glow{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 78% 26%, rgba(255,246,202,.45), transparent 10%),
    radial-gradient(circle at 72% 23%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(90deg, rgba(5,28,48,.94) 0%, rgba(6,25,41,.9) 44%, rgba(5,18,27,.5) 72%, rgba(5,9,10,.25) 100%);
}
.preview-moon{
  position:absolute;
  width:58px; height:58px; border-radius:50%;
  top:76px; right:96px;
  background:radial-gradient(circle at 40% 35%, #fffde7 0%, #f1e6bc 56%, #d0c395 100%);
  box-shadow:0 0 32px rgba(255,237,182,.22);
}
.preview-path{
  position:absolute;
  right:-34px; bottom:-24px;
  width:58%; height:52%;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,198,113,.62), transparent 18%),
    linear-gradient(140deg, rgba(255,188,104,.06) 0%, rgba(255,188,104,.34) 28%, rgba(65,49,33,.56) 52%, rgba(14,14,14,0) 53%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 100%);
  border-top-left-radius:160px;
  transform:rotate(-2deg);
  filter:blur(.2px);
}
.preview-content{
  position:relative;
  z-index:1;
  padding:52px 34px 34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  height:100%;
}
.hero-time{
  font-size:4rem;
  letter-spacing:-.065em;
  line-height:1;
  margin-bottom:14px;
}
.hero-meta,.hero-event{
  color:#eef3f2;
  font-size:1.02rem;
}
.hero-event{margin-top:4px}
.hero-apps{
  display:grid;
  gap:13px;
  margin-top:28px;
  color:#f0f3f2;
}
.app-item{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.02rem;
}
.app-item::before{
  content:"";
  width:28px; height:28px;
  border-radius:50%;
  background:#f2f2f2;
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
  flex:0 0 auto;
}
.app-item.phone::before{background:#d8dee8}
.app-item.messages::before{background:#cfd9ff}
.app-item.brave::before{background:#ffd9cc}
.app-item.camera::before{background:#dfe3e7}
.actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:30px}
.button{
  display:inline-block;text-decoration:none;
  border-radius:12px;padding:12px 17px;
  background:#f4f6f5;color:#060707;font-weight:800;
}
.button.secondary{background:#161919;color:#fff;border:1px solid #303535}
.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:28px 0;
}
.card{
  background:linear-gradient(180deg,#111414,#0d0f0f);
  border:1px solid var(--line);
  border-radius:18px;
  padding:25px 27px;
  margin:16px 0;
}
.card h2{margin:0 0 8px;font-size:1.25rem}
.card p:last-child{margin-bottom:0}
.card p,.card li{color:#c0c7c5}
.card ul{padding-left:21px;margin-bottom:0}
.feature-icon{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:#1c2020;border:1px solid #313737;
  margin-bottom:14px;font-size:1.25rem
}
.notice{
  color:#adb5b3;
  font-size:.93rem;
  padding:16px 18px;
  border-left:3px solid #626a68;
  background:#0c0e0e;
  margin:25px 0;
}
.small{font-size:.94rem;color:#aab2b0}
footer{
  border-top:1px solid #222727;
  color:#8f9896;
}
.footer-inner{
  max-width:var(--max);margin:auto;padding:28px 22px;
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap
}
.footer-inner a{text-decoration:none;color:#b7bfbd}
@media(max-width:760px){
  .hero{grid-template-columns:1fr;padding-top:34px}
  .hero-device{max-width:360px;width:100%;margin:0 auto}
  .hero-preview{min-height:500px}
  .grid{grid-template-columns:1fr}
  .nav{align-items:flex-start}
}
@media(max-width:520px){
  .nav{display:block}
  .nav-links{margin-top:10px}
  .hero-time{font-size:3.5rem}
  .preview-content{padding:40px 26px 28px}
}


/* Support-development link */
.donate-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 24px;
  padding:10px 15px 10px 10px;
  border-radius:13px;
  background:#ffdd00;
  color:#121212;
  border:1px solid rgba(255,255,255,.18);
  text-decoration:none;
  font-weight:800;
  line-height:1.2;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  transition:transform .16s ease,filter .16s ease;
}
.donate-link:hover{transform:translateY(-1px);filter:brightness(1.04)}
.donate-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.donate-link img{
  width:30px;
  height:30px;
  display:block;
  border-radius:8px;
  object-fit:cover;
}

/* Built-in theme showcase */
.themes-showcase{
  margin:42px 0 30px;
  padding:30px;
  border-radius:22px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%,rgba(78,119,137,.13),transparent 26rem),
    linear-gradient(180deg,#101313,#0b0d0d);
}
.section-intro{max-width:710px;margin-bottom:24px}
.section-intro h2{
  margin:6px 0 8px;
  font-size:clamp(1.75rem,4vw,2.35rem);
  letter-spacing:-.035em;
  line-height:1.08;
}
.section-intro p{margin:0;color:#c0c7c5}
.theme-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.theme-preview{
  margin:0;
  overflow:hidden;
  border:1px solid #303636;
  border-radius:18px;
  background:#090b0b;
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}
.theme-preview img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#090b0b;
}

/* FAQ */
.faq-spotlight{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.faq-spotlight h2{margin-top:5px}
.faq-spotlight p{margin:6px 0 0}
.faq-spotlight .button{flex:0 0 auto}
.faq-list{display:grid;gap:12px;margin:30px 0}
.faq-item{
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(180deg,#111414,#0d0f0f);
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  position:relative;
  padding:20px 54px 20px 22px;
  font-weight:750;
  font-size:1.06rem;
  line-height:1.35;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  color:#aeb6b4;
  font-size:1.45rem;
  font-weight:400;
}
.faq-item[open] summary::after{content:"–"}
.faq-item[open] summary{border-bottom:1px solid rgba(255,255,255,.07)}
.faq-answer{padding:2px 22px 20px}
.faq-answer p{color:#c0c7c5;margin-bottom:0}
.faq-help{margin-top:28px}
.faq-help .button{margin-top:6px}

@media(max-width:760px){
  .themes-showcase{padding:23px 20px}
  .theme-gallery{
    grid-template-columns:repeat(3,minmax(150px,1fr));
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:7px;
  }
  .theme-preview{scroll-snap-align:start}
  .faq-spotlight{align-items:flex-start;flex-direction:column;gap:16px}
}
@media(max-width:520px){
  .donate-link{font-size:.93rem}
  .themes-showcase{margin-top:32px}
}


/* Expanded FAQ guide */
.faq-jump-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin:30px 0 48px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#101313,#0b0d0d);
}
.faq-jump-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 10px;
  color:#d7dddb;
  text-decoration:none;
  font-size:.9rem;
  font-weight:700;
  line-height:1.2;
  transition:color .15s ease;
}
.faq-jump-nav a + a{
  padding-left:26px;
}
.faq-jump-nav a + a::before{
  content:"";
  position:absolute;
  left:9px;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#7f8885;
  transform:translateY(-50%);
  opacity:.9;
}
.faq-jump-nav a:hover{
  color:#ffffff;
}
.faq-jump-nav a:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
  border-radius:8px;
}
.faq-section{
  margin:52px 0 0;
  scroll-margin-top:92px;
}
.faq-section-heading{
  max-width:760px;
  margin-bottom:18px;
}
.faq-section-heading h2{
  margin:6px 0 8px;
  font-size:clamp(1.75rem,4vw,2.35rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.faq-section-heading p{
  margin:0;
  color:#b8c0be;
}
.faq-section .faq-list{
  margin:18px 0 0;
}
.faq-answer p{
  color:#c0c7c5;
}
.faq-answer p + p{
  margin-top:12px;
}
.faq-path{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:#090b0b;
  color:#aeb7b4 !important;
  font-size:.92rem;
  line-height:1.45;
}
.faq-path strong{
  color:#eef2f1;
}
.faq-help{
  margin-top:52px;
}

@media(max-width:760px){
  .faq-jump-nav{
    margin-bottom:38px;
    padding:13px;
  }
  .faq-jump-nav a{
    font-size:.86rem;
    padding-top:8px;
    padding-bottom:8px;
  }
  .faq-section{
    margin-top:44px;
  }
}
@media(max-width:520px){
  .faq-jump-nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:thin;
    padding-bottom:12px;
  }
  .faq-jump-nav a{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .faq-item summary{
    padding-left:18px;
  }
  .faq-answer{
    padding-left:18px;
    padding-right:18px;
  }
}
