/* DeskGuard site. Palette matches prostream.studio/deskguard. System fonts only, so the
   site makes no third-party requests (it's a privacy-first app). */
:root {
  --ink: #172320;
  --muted: #5e6b65;
  --soft: #829088;
  --paper: #f7f7f2;
  --card: #fbfcf7;
  --line: rgba(23, 35, 32, 0.12);
  --green: #1d322a;
  --green-2: #2b4d3d;
  --sage: #63816b;
  --mint: #c5e9d6;
  --deep: #22342b;
  --radius: 18px;
  --max: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #7a9d85; outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(247, 247, 242, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 0.9rem; font-weight: 600; color: #495852; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 0.95rem; color: #fff; background: var(--green); box-shadow: 0 6px 16px rgba(29, 50, 42, 0.16); transition: background 160ms, transform 160ms; }
.btn:hover { background: var(--green-2); transform: translateY(-1px); }
.btn.sm { padding: 8px 15px; font-size: 0.85rem; box-shadow: none; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.link { font-weight: 650; color: #385846; }
.link:hover { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--sage); }
.eyebrow { display: inline-block; margin: 0 0 18px; color: #61746a; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: 2px; margin-right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #749b7c; }
.lede { color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 600px; }

/* Hero: centered, soft gradient (ref: Bevel on Mobbin) */
.hero { position: relative; overflow: hidden; text-align: center; padding: 92px 0 0; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; background: radial-gradient(ellipse 60% 50% at 50% 40%, #dfeadf 0%, #ecefe7 45%, rgba(247,247,242,0) 75%), radial-gradient(ellipse 30% 30% at 75% 55%, rgba(197,233,214,0.55), transparent 70%), radial-gradient(ellipse 30% 30% at 25% 60%, rgba(217,213,238,0.5), transparent 70%); }
.hero .lede { margin: 24px auto 32px; }
.hero .meta { margin: 16px 0 0; color: var(--soft); font-size: 0.82rem; }
.hero-shot { margin: 64px auto 0; width: min(980px, 100% - 32px); border-radius: 22px 22px 0 0; overflow: hidden; border: 10px solid #1b211f; border-bottom: 0; box-shadow: 0 30px 80px rgba(23, 35, 32, 0.22); }

/* Sections */
section { padding: 104px 0; }
.intro { max-width: 640px; margin-bottom: 48px; }
.intro p { color: var(--muted); margin: 16px 0 0; }

/* Steps (ref: Norma "How it works") */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step .text { padding: 22px 24px 20px; border-bottom: 1px solid var(--line); }
.step .num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 50%; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.step p { margin: 8px 0 0; color: var(--muted); font-size: 0.93rem; }
.step .pic { flex: 1; display: grid; place-items: center; padding: 18px; background: #1c2a24; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(23,35,32,0.14); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%23244f3e'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks b { color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Dark privacy band */
.dark { background: var(--deep); color: #f0f5ed; }
.dark .eyebrow { color: #bbd2bd; }
.dark em { color: #b9d5ad; }
.dark p { color: rgba(240,245,237,0.74); }
.dark .rows { border-top: 1px solid rgba(240,245,237,0.18); }
.dark .rows div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(240,245,237,0.18); }
.dark .rows b { color: #edf5e9; }
.dark .rows span { color: rgba(240,245,237,0.63); font-size: 0.92rem; }
.dark .link { color: #d6ead2; }

/* Guides list */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 160ms, box-shadow 160ms; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23,35,32,0.1); }
.card .tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 650; color: #385846; font-size: 0.92rem; }

/* FAQ (ref: Family on Mobbin: title left, questions right) */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; gap: 14px; align-items: baseline; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--sage); font-weight: 500; font-size: 1.3rem; line-height: 1; width: 14px; flex: none; transition: transform 160ms; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { margin: -6px 0 20px 28px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* Pricing / CTA band */
.cta { text-align: center; background: #e9eee5; }
.cta .plans { display: flex; justify-content: center; gap: 12px; margin: 30px 0; }
.cta .plans div { min-width: 150px; padding: 18px; border: 1px solid #cad4c9; border-radius: 12px; background: #fbfcf8; }
.cta .plans b { display: block; font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.03em; }
.cta .plans span { color: var(--muted); font-size: 0.85rem; }
.cta .note { max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: 0.8rem; }

/* Footer (ref: Aqua sitemap footer) */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 0.85rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a:hover { color: var(--ink); }
footer .fine { margin-top: 40px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--soft); font-size: 0.78rem; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* Article (ref: Attio / Whop blog posts: breadcrumb, byline, sticky "On this page") */
.article-head { padding: 64px 0 36px; }
.crumbs { font-size: 0.85rem; color: var(--soft); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 820px; }
.article-head .lede { margin: 20px 0 0; max-width: 720px; }
.byline { margin-top: 22px; font-size: 0.85rem; color: var(--soft); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; padding: 0 0 96px; }
.prose { max-width: 700px; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 56px 0 16px; scroll-margin-top: 90px; }
.prose h3 { margin: 30px 0 8px; }
.prose p, .prose li { color: #33413b; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose a { color: #2f6a4c; text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: 14px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--soft); }
.callout { margin: 28px 0; padding: 20px 22px; border-radius: 14px; background: #edf3ea; border: 1px solid #d6e3d4; }
.callout p { margin: 0; }
.tldr { margin: 0 0 8px; padding: 22px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.tldr b { display: block; margin-bottom: 6px; }
.tldr ol { margin: 0; }
aside.side { position: relative; }
.side .sticky { position: sticky; top: 92px; display: grid; gap: 28px; }
.toc h4 { margin: 0 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.88rem; }
.toc a { color: var(--muted); }
.toc a:hover, .toc a.active { color: var(--ink); font-weight: 600; }
.promo { padding: 22px; border-radius: var(--radius); background: var(--deep); color: #f0f5ed; }
.promo img { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 14px; }
.promo b { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.promo p { margin: 8px 0 16px; font-size: 0.88rem; color: rgba(240,245,237,0.72); }
.promo .btn { background: #f0f5ed; color: var(--green); box-shadow: none; }
.promo .btn:hover { background: #fff; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 40px; } .side .sticky { position: static; } .toc { display: none; } }
