/* SleepHole – landing, support and privacy pages. No external resources, no JavaScript.
   The pages link this file as style.css?v=N – raise N in both pages with every change here, or a browser / the
   CDN may pair new HTML with the old sheet for a while (seen 2026-10-12: bullets and full-size images). */
:root {
  --bg: #f5f6fc;
  --card: #ffffff;
  --text: #1a1e3a;
  --muted: #4d5470;
  --link: #3338ad;
  --line: #d9ddee;
  --band: #070a1c;
  --night-1: #0a0d26;
  --night-2: #1a1c52;
  --night-3: #2d2a78;
  --moon: #ffd66b;
  --moon-ink: #1a1740;
  --panel: #14173f;
  --panel-text: #f1f2fb;
  --panel-muted: #bcc2e3;
  --shadow: 0 14px 34px rgba(20, 22, 70, .22), 0 2px 6px rgba(20, 22, 70, .12);
  --band-w: 60px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f24;
    --card: #161a3a;
    --text: #eef0fa;
    --muted: #aeb5d2;
    --link: #b9bdff;
    --line: #2a2f58;
    --band: #05071a;
    --panel: #10133a;
    --shadow: 0 14px 34px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible, .shots:focus-visible {
  outline: 3px solid var(--moon);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: .6rem; }
h3 { font-size: 1.1rem; margin-bottom: .4rem; }
p, ul, ol { margin: 0 0 .9rem; }
.muted { color: var(--muted); }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 100;
  background: var(--moon); color: var(--moon-ink); font-weight: 600;
  padding: .7rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* ---- the band: top bar on narrow screens, a vertical band on the left from 1000 px ---- */
.band {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: .75rem;
  padding: .4rem 1rem;
  background: var(--band);
  color: #f1f2fb;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.band a { color: #f1f2fb; }
.band .icon { display: block; flex: none; width: 44px; height: 44px; }
.band .icon img { display: block; width: 44px; height: 44px; border-radius: 10px; }
.band .title { margin: 0; flex: 1; font-weight: 600; white-space: nowrap; }
.band .tag { display: none; }
.band nav { display: flex; gap: .25rem; }
.band nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem;
  text-decoration: none; font-size: .95rem; border-radius: 8px;
}
.band nav a:hover { background: rgba(255, 255, 255, .1); }

@media (min-width: 1000px) {
  body { padding-left: var(--band-w); }
  .band {
    position: fixed; inset: 0 auto 0 0; width: var(--band-w);
    flex-direction: column; align-items: center; gap: 1.1rem;
    padding: .9rem 0 1.1rem;
    border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .08);
  }
  .band .title {
    flex: 1; writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 1.02rem; letter-spacing: .04em; align-self: center;
  }
  .band .tag { display: inline; font-weight: 400; color: var(--panel-muted); }
  .band nav { flex-direction: column; gap: .25rem; }
  .band nav a { writing-mode: vertical-rl; transform: rotate(180deg); padding: .8rem 0; min-width: 44px; justify-content: center; }
  html { scroll-padding-top: 1.5rem; }
}

/* ---- hero: always a night sky ---- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--panel-text);
  background: radial-gradient(120% 90% at 85% 10%, var(--night-3) 0%, transparent 55%),
              linear-gradient(180deg, var(--night-1), var(--night-2) 120%);
  padding: 2.5rem 0 3.5rem;
}
.hero::before, .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: no-repeat;
}
.hero::before {
  background-image:
    radial-gradient(1.6px 1.6px at 8% 18%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 22% 64%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 37% 12%, #ffe9a8, transparent),
    radial-gradient(1.2px 1.2px at 48% 82%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 60% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 72% 90%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 93% 55%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 15% 92%, #fff, transparent);
  opacity: .8;
}
.hero::after {
  background-image:
    radial-gradient(2px 2px at 30% 40%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 55% 8%, #ffe9a8, transparent),
    radial-gradient(2px 2px at 82% 22%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 5% 50%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 66% 70%, #fff, transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .15; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; opacity: .7; }
  html { scroll-behavior: auto; }
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.pill {
  display: inline-block; margin: 0 0 1.1rem; padding: .35rem .9rem;
  border: 1px solid rgba(255, 214, 107, .6); border-radius: 999px;
  color: var(--moon); font-size: .92rem; font-weight: 600;
  background: rgba(255, 214, 107, .08);
}
.hero h1 { font-size: clamp(2.8rem, 2rem + 4vw, 4.6rem); letter-spacing: -.03em; }
.hero .tagline { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); margin: .3rem 0 1.1rem; color: var(--moon); font-weight: 600; }
.hero .lead { font-size: 1.15rem; max-width: 34rem; color: #e4e7f8; }
.hero .small { color: var(--panel-muted); font-size: .98rem; margin-bottom: .3rem; }
.hero a { color: var(--moon); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 1.2rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid var(--moon); color: var(--moon);
}
.btn.primary { background: var(--moon); color: var(--moon-ink); }
.btn:hover { filter: brightness(1.08); }
.hero-shot { justify-self: center; width: min(56vw, 12.5rem); position: relative; }
.hero-shot::before {
  content: ""; position: absolute; inset: -12% -25%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 214, 107, .22), transparent);
}
@media (min-width: 820px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
}
@media (min-width: 1000px) { .hero { padding: 5rem 0 5.5rem; } .hero-shot { width: 14rem; justify-self: end; } }

/* screenshots: plain rounded rectangles, never a drawn phone */
.shot {
  display: block; width: 100%; height: auto;
  border-radius: 9% / 4.14%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: var(--shadow);
  background: var(--card);
}
.gallery { padding: 3.5rem 0 1rem; }
.gallery h2 { margin-bottom: 1.4rem; }
.shots {
  list-style: none; margin: 0; padding: .5rem 1.25rem 1.5rem;
  display: flex; gap: 1.25rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.shots li { flex: none; width: min(42vw, 10.5rem); scroll-snap-align: start; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: .7rem; font-size: .92rem; font-weight: 600; line-height: 1.35; padding: 0 .1rem; }
.shots .shot { border-color: var(--line); }
@media (min-width: 1000px) {
  .shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem 1.25rem; overflow: visible; padding: .5rem 0 1.5rem; }
  .shots li { width: auto; }
  .shots li figure { max-width: 11rem; margin: 0 auto; }
}

/* ---- sections ---- */
.block { padding: 3rem 0; }
.block > .wrap > p.intro { max-width: 38rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.1rem 1.2rem 1rem 4.2rem; margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--panel); color: var(--moon); font-weight: 700; border: 1px solid rgba(255, 214, 107, .55);
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .steps li { padding: 4.2rem 1.1rem 1rem; } .steps li::before { left: 1.1rem; top: 1.1rem; } }

.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.7rem; margin: 0; max-width: 40rem; }
.ticks li::before {
  content: ""; position: absolute; left: .15rem; top: .55em; width: .7rem; height: .7rem;
  border-radius: 50%; background: var(--moon); box-shadow: inset -.22rem -.1rem 0 0 rgba(26, 23, 64, .35);
  outline: 1px solid rgba(26, 23, 64, .45);
}
.two { display: grid; gap: 0 3rem; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; } .two .ticks li { max-width: none; } }

.private {
  background: linear-gradient(180deg, var(--night-1), var(--panel));
  color: var(--panel-text);
  padding: 3.5rem 0;
}
.private h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); max-width: 30rem; }
.private .ticks li { font-size: 1.1rem; }
.private a { color: var(--moon); }
.private .btn { margin-top: .6rem; }

/* ---- support ---- */
.contact {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.2rem 1.3rem .5rem; margin: 1.2rem 0 1.8rem; max-width: 44rem;
}
.contact a { font-weight: 600; }
.faq { max-width: 44rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  display: flex; align-items: center; min-height: 48px; padding: .6rem 2.4rem .6rem 0;
  font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--link);
}
.faq details[open] > summary::after { content: "\2212"; }
.faq details > :not(summary) { margin-top: 0; }
.faq details p:last-child { margin-bottom: 1.1rem; }

/* ---- footer ---- */
.site-foot { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--muted); font-size: .92rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: .6rem; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
.site-foot p { margin-bottom: .4rem; max-width: 44rem; }

/* ---- reading pages (privacy) ---- */
.reading { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 1rem; }
.pagehead { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.pagehead img { width: 64px; height: 64px; border-radius: 15px; }
.pagehead h1 { font-size: 1.9rem; margin-bottom: .1rem; }
.pagehead p { margin: 0; color: var(--muted); }
.reading section { padding: 1.3rem 0 .4rem; border-top: 1px solid var(--line); }
.reading section:first-of-type { border-top: 0; padding-top: 0; }
.reading h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.reading ul { padding-left: 1.2rem; }
.reading li { margin-bottom: .4rem; }
.reading .lead { font-size: 1.1rem; }
.glance { width: 100%; border-collapse: collapse; margin: .4rem 0 1rem; font-size: .98rem; background: var(--card); border: 1px solid var(--line); }
.glance th, .glance td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.glance thead th { background: var(--panel); color: var(--panel-text); font-weight: 600; }
.glance tbody th { font-weight: 600; }
@media (max-width: 599px) {
  .glance, .glance tbody, .glance tr, .glance th, .glance td { display: block; }
  .glance thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .glance tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .glance th, .glance td { border: 0; padding: .2rem .9rem; }
  .glance td::before { content: attr(data-label) ": "; color: var(--muted); }
}
