/* zeropunch.dropnook.app — one stylesheet, no web fonts; the same family as drop.dropnook.app.
   Light and dark follow the system, unless the ☀/☾ switch set data-theme on <html> (theme.js).
   The accent is the app's coral (#FF6B4A). Coral is a fill with dark text on it; as text on a
   light background it is darkened (--accent) so it stays readable (AA). */
:root{
  --bg:#F6F7F8; --surface:#FFFFFF; --band:#EDF0F2; --ink:#15181D; --ink-2:#343B44; --muted:#5D6673;
  --line:#DCE0E5; --accent:#B23A1E; --accent-ink:#8F2E17; --accent-soft:#FDECE7;
  --coral:#FF6B4A; --on-coral:#1A1D21; --slate:#2B3238;
  --shadow:0 24px 60px -28px rgba(21,24,29,.45), 0 4px 14px -8px rgba(21,24,29,.18);
  --yes:#1E8A43; --yes-soft:#EAF6EE; --seen-bg:#F1F3F5; --seen-ink:#3F4650;
  --radius:14px; color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#111418; --surface:#1A1F24; --band:#15191D; --ink:#E9EDF2; --ink-2:#C9D0D8; --muted:#9AA4B1;
    --line:#2A3038; --accent:#FF8A6E; --accent-ink:#FFB4A3; --accent-soft:#3A2019;
    --shadow:0 24px 60px -28px rgba(0,0,0,.9), 0 4px 14px -8px rgba(0,0,0,.6);
    --yes:#4CC77A; --yes-soft:#11261A; --seen-bg:#171B20; --seen-ink:#AEB6C0;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#111418; --surface:#1A1F24; --band:#15191D; --ink:#E9EDF2; --ink-2:#C9D0D8; --muted:#9AA4B1;
  --line:#2A3038; --accent:#FF8A6E; --accent-ink:#FFB4A3; --accent-soft:#3A2019;
  --shadow:0 24px 60px -28px rgba(0,0,0,.9), 0 4px 14px -8px rgba(0,0,0,.6);
  --yes:#4CC77A; --yes-soft:#11261A; --seen-bg:#171B20; --seen-ink:#AEB6C0;
  color-scheme:dark;
}
:root[data-theme="light"]{color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:76px}
body{margin:0; background:var(--bg); color:var(--ink);
     font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
     -webkit-text-size-adjust:100%}
img{max-width:100%; height:auto; display:block}
a{color:var(--accent)}
code{font:.9em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; background:var(--accent-soft);
     color:var(--accent-ink); padding:.1em .35em; border-radius:4px}
h1,h2,h3{line-height:1.15; letter-spacing:-.02em; margin:0}
h2{font-size:clamp(1.7rem, 3.4vw, 2.4rem); text-align:center; margin-bottom:14px}
h1 em, h2 em{font-style:normal; color:var(--accent)}   /* the key words of a heading, in the colour of "punch" */
h3{font-size:1.08rem; letter-spacing:-.01em}
.wrap{max-width:1160px; margin:0 auto; padding:0 24px}
.narrow{max-width:760px}
section{padding:84px 0}
.band{background:var(--band)}
.sub{color:var(--muted); text-align:center; max-width:640px; margin:0 auto 34px}
.sub.wide{max-width:780px}
.center{text-align:center; justify-content:center}
.ctas + .sub{margin-top:18px}

/* "Zeropunch" / "Dropnook" in running text, coloured as in the logo */
.zp, .dn, .nw{white-space:nowrap}
.zp span, .dn span{color:var(--accent)}

/* ---------------------------------------------------------------- Header */
.top{position:sticky; top:0; z-index:10; background:color-mix(in srgb, var(--bg) 86%, transparent);
     -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.top-in{display:flex; align-items:center; gap:24px; height:64px}
.brand{display:flex; align-items:center; gap:10px; flex:none}
.brand .mark{width:30px; height:30px}
.brand picture img{height:26px; width:auto}
.links{display:flex; gap:22px; margin-left:auto}
.links a{color:var(--ink-2); text-decoration:none; font-size:15px; font-weight:550}
.links a:hover{color:var(--accent)}
.top-right{display:flex; align-items:center; gap:14px}
.langs{display:flex; border:1px solid var(--line); border-radius:8px; overflow:hidden}
.langs a{color:var(--muted); text-decoration:none; font-size:13px; font-weight:650; padding:6px 10px}
.langs a[aria-current="page"]{background:var(--coral); color:var(--on-coral)}
/* ☀/☾: the side the page shows is in the accent colour, the side chosen by hand is filled. */
.theme-switch{display:flex; border:1px solid var(--line); border-radius:8px; overflow:hidden}
.theme-switch[hidden]{display:none}
.theme-switch button{border:0; background:transparent; color:var(--muted); padding:7px 9px; line-height:0; cursor:pointer;
  transition:background .15s, color .15s}
.theme-switch button + button{border-left:1px solid var(--line)}
.theme-switch svg{width:16px; height:16px; display:block; fill:none; stroke:currentColor; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round}
.theme-switch button:hover{background:var(--accent-soft); color:var(--accent)}
.theme-switch button.shown{color:var(--accent)}
.theme-switch button[aria-pressed="true"]{background:var(--coral); color:var(--on-coral)}
.theme-switch button:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}

/* ---------------------------------------------------------------- Buttons */
.btn{display:inline-block; background:var(--coral); color:var(--on-coral); text-decoration:none;
     font-weight:700; font-size:16px; padding:12px 22px; border-radius:10px; border:1px solid var(--coral);
     transition:filter .15s, background .15s}
.btn:hover{filter:brightness(1.06)}
.btn:focus-visible, .shots a:focus-visible, summary:focus-visible{outline:3px solid var(--accent); outline-offset:3px}
.btn.ghost{background:transparent; color:var(--accent); border-color:var(--line); font-weight:650}
.btn.ghost:hover{background:var(--accent-soft); filter:none}
.btn.small{font-size:14px; padding:7px 14px; border-radius:8px}
.ctas{display:flex; gap:12px; flex-wrap:wrap; margin:28px 0 0}
.ctas .btn{display:inline-flex; flex-direction:column; align-items:center; justify-content:center}
.btn.two{line-height:1.25; padding:9px 22px}
.btn.two small{font-size:13.5px; font-weight:600; opacity:.85}

/* ---------------------------------------------------------------- Hero */
.hero{padding:64px 0 80px;
      background:radial-gradient(900px 520px at 85% 0%, var(--accent-soft), transparent 70%)}
.hero-in{display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:72px; align-items:center; max-width:1040px}
.kicker{color:var(--accent); font-weight:700; font-size:14px; letter-spacing:.06em; text-transform:uppercase; margin:0 0 14px}
h1{font-size:clamp(2.3rem, 5.2vw, 3.7rem); font-weight:780; letter-spacing:-.03em}
.lead{font-size:1.18rem; color:var(--ink-2); margin:22px 0 0; max-width:34em}
.note{color:var(--muted); font-size:14px; margin:22px 0 0}

/* A phone screenshot: rounded like the screen it came from, no fake device around it. */
.phone{display:block; border-radius:28px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow);
       background:var(--surface)}
.phone img{width:100%}
.hero .phone{border-radius:34px; outline:8px solid var(--slate); outline-offset:0; border:0}

/* ---------------------------------------------------------------- How it works */
.grid{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:38px}
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px}
.card svg{width:30px; height:30px; fill:none; stroke:var(--accent); stroke-width:1.8; stroke-linecap:round;
          stroke-linejoin:round; margin-bottom:14px}
.card p{color:var(--ink-2); margin:8px 0 0; font-size:15.5px}
.card .eg{font-variant-numeric:tabular-nums; white-space:nowrap}

/* ---------------------------------------------------------------- Screenshots */
.shots{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:26px; margin-top:52px}
.shots figure{margin:0}
.shots figcaption{color:var(--ink-2); font-weight:650; font-size:15px; text-align:center; margin-top:14px}
.shots figcaption small{display:block; color:var(--muted); font-weight:500; font-size:14px}

/* ---------------------------------------------------------------- What the server sees */
.vh{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.seen{max-width:980px; margin:34px auto 0; background:var(--surface); border:1px solid var(--line);
      border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
.seen-head, .seen li{display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr)}
.seen-head > span{padding:12px 20px 12px 56px; font-size:12.5px; font-weight:700; letter-spacing:.07em;
                  text-transform:uppercase; color:var(--muted); background:var(--seen-bg)}
.seen-head > span + span{color:var(--yes); background:var(--yes-soft)}
.seen ul{list-style:none; margin:0; padding:0}
.seen li{border-top:1px solid var(--line)}
.seen p{position:relative; margin:0; padding:15px 20px 15px 56px; font-size:15.5px; line-height:1.45}
.seen .sees{color:var(--seen-ink); background:var(--seen-bg)}
.seen .never{color:var(--ink); font-weight:600; background:var(--yes-soft)}
.seen p::before{content:""; position:absolute; left:20px; top:14px; width:22px; height:22px; border-radius:50%;
  background:var(--muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") center/15px no-repeat}
.seen .never::before{background:var(--yes) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/13px no-repeat}
.seen .never.none::before{display:none}
.seen code{font-size:.86em}

/* ---------------------------------------------------------------- Lists with a mark */
h3.mid{text-align:center; font-size:1.3rem; margin:56px 0 0}
.checks{list-style:none; padding:0; margin:28px auto 0; max-width:820px; display:grid; gap:16px}
.checks li{position:relative; padding:18px 20px 18px 56px; background:var(--surface); border:1px solid var(--line);
           border-radius:var(--radius); color:var(--ink-2)}
.checks li::before{content:""; position:absolute; left:20px; top:20px; width:22px; height:22px; border-radius:50%;
           background:var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1D21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/14px no-repeat}
.checks b{color:var(--ink)}

/* ---------------------------------------------------------------- Account, self-hosting: numbered steps */
.steps{list-style:none; padding:0; margin:38px 0 0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr));
       gap:20px; counter-reset:step}
.steps li{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px;
          counter-increment:step}
.steps li::before{content:counter(step); display:grid; place-items:center; width:34px; height:34px; border-radius:50%;
          background:var(--accent-soft); color:var(--accent-ink); font-weight:750; margin-bottom:14px}
.steps p{color:var(--ink-2); margin:8px 0 0; font-size:15.5px}
.steps code{white-space:nowrap}
.tip{max-width:820px; margin:22px auto 0; padding:14px 20px 14px 52px; position:relative; font-size:15.5px;
     color:var(--ink-2); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius)}
.tip::before{content:"i"; position:absolute; left:18px; top:15px; width:22px; height:22px; border-radius:50%;
     display:grid; place-items:center; background:var(--coral); color:var(--on-coral);
     font:700 14px/1 Georgia,"Times New Roman",serif; font-style:italic}
.tip b{color:var(--ink)}

/* ---------------------------------------------------------------- Limits */
.limits{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:38px}
.limit{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px}
.limit .num{display:block; font-size:2.6rem; font-weight:780; letter-spacing:-.03em; line-height:1; color:var(--accent);
            font-variant-numeric:tabular-nums}
.limit .unit{display:block; color:var(--ink); font-weight:700; margin:8px 0 0}
.limit p{color:var(--ink-2); margin:8px 0 0; font-size:15.5px}

/* ---------------------------------------------------------------- FAQ */
details{background:var(--surface); border:1px solid var(--line); border-radius:12px; margin:12px 0; padding:0 20px}
summary{cursor:pointer; font-weight:650; padding:16px 0; list-style:none; position:relative; padding-right:28px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+"; position:absolute; right:0; top:12px; font-size:22px; color:var(--accent); font-weight:400}
details[open] summary::after{content:"–"}
details p{margin:0 0 18px; color:var(--ink-2)}

/* ---------------------------------------------------------------- Footer */
.foot{border-top:1px solid var(--line); padding:34px 0 48px; color:var(--muted); font-size:14.5px; text-align:center}
.foot b, .foot .dn{color:var(--ink)}
.foot .fine{font-size:13px; max-width:760px; margin:10px auto 0}

/* ---------------------------------------------------------------- 404 */
.lost{max-width:520px; margin:0 auto}
.lost .mark{width:72px; height:72px; margin:0 auto 22px}
.lost .lead{margin-left:auto; margin-right:auto}

/* ---------------------------------------------------------------- Narrow screens */
@media (max-width:960px){
  .hero-in{grid-template-columns:minmax(0, 1fr) 260px; gap:40px}
  .grid,.steps,.limits{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .shots{grid-template-columns:repeat(2, minmax(0, 1fr)); max-width:620px; margin-left:auto; margin-right:auto}
  .links{display:none}
  .top-right{margin-left:auto}
}
@media (max-width:720px){
  .hero-in{grid-template-columns:1fr}
  .hero .phone{max-width:270px; margin:8px auto 0}
}
@media (max-width:620px){
  body{font-size:16px}
  .wrap{padding:0 16px}
  section{padding:60px 0}
  .hero{padding:40px 0 60px}
  .grid,.steps,.limits{grid-template-columns:1fr}
  .shots{gap:16px}
  .phone{border-radius:20px}
  .seen-head{display:none}
  .seen li{grid-template-columns:1fr}
  .seen .sees{padding-bottom:6px}
  .seen .never{background:transparent}
  .seen .never.none{display:none}
  .brand .mark{width:26px; height:26px}
  .brand picture img{height:21px}
  .top-right .btn{display:none}
}
@media (max-width:360px){
  .brand picture{display:none}
}
/* Sliding in on scroll (reveal.js) */
.reveal{opacity:0; transform:translateY(22px);
        transition:opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1)}
.reveal.is-in{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){*{transition:none !important; scroll-behavior:auto !important}
  .reveal{opacity:1; transform:none}}
