/* The look of guardpup.io's landing pages: home, /teams, /developers (moved out of index.html on
   2026-10-28 so the three share it). Inner pages (help, privacy…) use page.css. Light only. */
:root {
  --bg: #fffaf5; --card: #ffffff; --fg: #1c1917; --muted: #6b625b; --line: #eee4da;
  --soft: #fdf1e6; --accent: #c2410c; --accent-2: #f97316; --ok: #15803d; --fake: #fde7d3;
  --shadow: 0 1px 2px rgba(60, 30, 10, .06), 0 8px 30px rgba(60, 30, 10, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); line-height: 1.55;
  font: 17px/1.55 ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 38px); }
p { margin: 0; }
.muted { color: var(--muted); }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 650;
  text-decoration: none; border: 1px solid var(--line); color: var(--fg); background: var(--card);
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }


/* hero */
/* The recording as big as it can be beside the headline: most of the width goes to it. */
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding: 40px 0 80px; }
/* Hero headlines: two lines, each kept whole on desktop (2026-10-28: "Protect Your Secrets" on
   one line). Sized to the text column with ~10% to spare: "Protect Your Secrets" is ~8.9× the font
   size wide, the column (vw − 88px) × 0.4. On phones, sized to the screen so each line fits at 375px,
   and allowed to wrap below that rather than scroll. */
.hero h1 { font-size: clamp(30px, calc(4.4vw - 9px), 48px); }
.hero h1 .line { display: block; }
@media (min-width: 881px) { .hero h1 .line { white-space: nowrap; } }
@media (max-width: 880px) { .hero h1 { font-size: clamp(28px, 9.5vw, 44px); } }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 20px; color: var(--muted); margin: 22px 0 30px; max-width: 34ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .small { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; } }

/* demo: the real recording */
figure.demo { margin: 0; }
figure.demo .screen { position: relative; }
/* Four short recordings, one after another: paste, a screenshot, a dropped file, typing. */
.clips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
/* figure.demo, not .clips alone: the page's older .demo button style (links) would win otherwise. */
figure.demo .clips button { font: inherit; font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); cursor: pointer; }
figure.demo .clips button:hover { color: var(--fg); border-color: var(--muted); }
figure.demo .clips button[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: #fff; }
figure.demo .clips button:focus { outline: none; }
figure.demo .clips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Small beside the headline, so it opens full screen to be read: click it, or the corner button. */
figure.demo video { cursor: pointer; }
figure.demo .expand { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92); color: var(--fg); display: grid; place-items: center; cursor: pointer; padding: 0; }
figure.demo .expand:hover { background: #fff; border-color: var(--muted); }
figure.demo video { display: block; width: 100%; height: auto; aspect-ratio: 800 / 560; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.rocky { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.rocky img { width: 150px; height: auto; }
@media (max-width: 720px) { .rocky { grid-template-columns: 1fr; } .rocky img { width: 110px; } }

section { padding: 84px 0; }
section.alt { background: var(--soft); }
.head { max-width: 640px; margin-bottom: 44px; }
.head p { margin-top: 14px; font-size: 19px; color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats .card { padding: 22px; }
.stats b { display: block; font-size: 38px; letter-spacing: -.02em; color: var(--accent); line-height: 1.1; margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: 15px; }
@media (max-width: 880px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card .n { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-weight: 750; margin-bottom: 16px; }

.products .card { display: flex; flex-direction: column; gap: 10px; }
/* Each product in action, drawn from its real UI (2026-10-22, in place of generic icons). */
.products .pv-preview { height: 182px; border-radius: 12px; overflow: hidden; position: relative; margin: -6px -6px 6px; border: 1px solid #ece4d8; flex: none; }
.products .pv-ext { background: #f4f5f7; }
.products .pv-ext .pv-tabbar { height: 22px; background: #e6e8ec; display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.products .pv-ext .pv-tabbar i { width: 7px; height: 7px; border-radius: 50%; background: #c9ccd3; }
.products .pv-ext .pv-tabbar b { margin-left: 8px; font: 600 10px -apple-system, sans-serif; color: #57606a; background: #fff; border-radius: 6px 6px 0 0; padding: 4px 10px 3px; align-self: flex-end; }
.products .pv-ext .pv-composer { position: absolute; left: 14px; right: 14px; bottom: 10px; height: 28px; background: #fff; border: 1px solid #d9dce3; border-radius: 15px;
  font: 11px -apple-system, sans-serif; color: #1f2328; display: flex; align-items: center; padding: 0 12px; }
.products .pv-ext .pv-dialog { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: 236px; background: #1f1d1b; color: #f5f2ee; border-radius: 12px;
  padding: 10px 12px; box-shadow: 0 10px 30px rgb(0 0 0 / .28); font: 10px/1.4 -apple-system, sans-serif; }
.products .pv-ext .pv-dialog .pv-t { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 11.5px; margin-bottom: 4px; }
.products .pv-ext .pv-dialog .pv-t img { width: 20px; height: 20px; object-fit: contain; }
.products .pv-ext .pv-dialog .pv-pair { font: 10px ui-monospace, Menlo, monospace; background: #2c2926; border-radius: 6px; padding: 3px 7px; margin: 4px 0 6px; }
.products .pv-ext .pv-dialog .pv-pair s { color: #fca5a5; } .products .pv-ext .pv-dialog .pv-pair span { color: #86efac; }
.products .pv-ext .pv-dialog .pv-btns { display: flex; justify-content: flex-end; gap: 6px; }
.products .pv-ext .pv-dialog .pv-btns span { border: 1px solid #4a4541; border-radius: 6px; padding: 3px 8px; font-weight: 600; }
.products .pv-ext .pv-dialog .pv-btns .pv-primary { background: #fff; color: #1f1d1b; border-color: #fff; box-shadow: 0 0 0 2px #c2410c; }
.products .pv-mac { background: linear-gradient(160deg, #e9e4f5, #f7e8dc); }
.products .pv-mac .pv-menubar { height: 22px; background: rgb(255 255 255 / .72); display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 0 10px; font: 600 10.5px -apple-system, sans-serif; color: #1f2328; }
.products .pv-mac .pv-menubar .pv-rocky { width: 22px; height: 18px; border-radius: 4px; background: rgb(0 0 0 / .1); display: grid; place-items: center; }
.products .pv-mac .pv-menubar .pv-rocky img { width: 14px; height: 14px; }
.products .pv-mac .pv-menubar .pv-dot { width: 12px; height: 7px; border: 1.4px solid #1f2328; border-radius: 2px; }
.products .pv-mac .pv-app { position: absolute; left: 14px; right: 14px; top: 34px; bottom: -10px; background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgb(0 0 0 / .12); }
.products .pv-mac .pv-app .pv-bar { height: 18px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.products .pv-mac .pv-app .pv-bar i { width: 7px; height: 7px; border-radius: 50%; background: #e2e2e2; }
.products .pv-mac .pv-note { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: 228px; background: rgb(246 246 246 / .96);
  border: 1px solid #ddd; border-radius: 12px; padding: 9px 11px; box-shadow: 0 10px 28px rgb(0 0 0 / .2); font: 10px/1.4 -apple-system, sans-serif; color: #1f2328; }
.products .pv-mac .pv-note .pv-h { display: flex; align-items: center; gap: 6px; color: #6b7280; font-weight: 650; font-size: 10.5px; margin-bottom: 4px; }
.products .pv-mac .pv-note .pv-h img { width: 15px; height: 15px; border-radius: 4px; }
.products .pv-mac .pv-note .pv-v { font: 9.5px ui-monospace, Menlo, monospace; margin: 3px 0 6px; }
.products .pv-mac .pv-note .pv-v s { color: #991b1b; } .products .pv-mac .pv-note .pv-v span { color: #166534; }
.products .pv-mac .pv-note .pv-btn { display: inline-block; background: #e5e5e5; border-radius: 5px; padding: 2px 8px; font-weight: 600; }
.products .pv-dev { background: #1c1b1a; color: #e7e3dd; font: 10.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.products .pv-dev .pv-bar { height: 20px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: #2a2826; }
.products .pv-dev .pv-bar i { width: 7px; height: 7px; border-radius: 50%; background: #55504b; }
.products .pv-dev .pv-body { padding: 9px 12px; white-space: pre-wrap; }
.products .pv-dev .pv-you { color: #a8a29e; } .products .pv-dev .pv-tool { color: #fdba74; } .products .pv-dev .pv-stop { color: #fca5a5; } .products .pv-dev .pv-ok { color: #86efac; }
.products h3 { margin: 0; }
.products p { margin: 0; flex: 1; }
.products a { font-weight: 650; }
.products .install { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.kinds { display: flex; flex-wrap: wrap; gap: 10px; }
.kinds span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 15px; }
.kinds span.pro::after { content: " · Pro"; color: var(--accent); font-weight: 650; font-size: 13px; }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .promise { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 800; }

.sites { margin-top: 28px; color: var(--muted); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .tag { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.plan h3 { font-size: 22px; margin: 6px 0 12px; }
.plan .price { font-size: 40px; font-weight: 750; letter-spacing: -.02em; }
.plan .price small { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { padding-left: 20px; margin: 20px 0 26px; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan .btn { text-align: center; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; }
details summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

.cta { text-align: center; }
.cta p { margin: 14px auto 28px; color: var(--muted); font-size: 19px; max-width: 42ch; }


/* Added 2026-10-28 with /teams and /developers. */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid2 { grid-template-columns: 1fr; } }
.trust .card p + p { margin-top: 10px; }
.trust .card ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.more { display: inline-block; margin-top: 12px; font-weight: 650; }
/* A short pointer to another page: words on the left, one button on the right. */
.teaser { display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.teaser .head { margin-bottom: 0; }
.teaser .btn { flex: none; }
/* Terminal snippets (the developer page). Long lines scroll inside the box, never the page. */
pre.term { margin: 0; background: #1c1b1a; color: #e7e3dd; border-radius: 12px; padding: 14px 16px; overflow-x: auto;
  font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre.term .c { color: #a8a29e; } pre.term .stop { color: #fca5a5; } pre.term .ok { color: #86efac; } pre.term .tool { color: #fdba74; }
.card pre.term { margin-top: 14px; }
@media (max-width: 480px) { pre.term { font-size: 12px; padding: 12px 14px; } }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.tag-soon { display: inline-block; font-size: 13px; font-weight: 650; color: var(--muted); background: var(--soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
/* Page heads for /teams and /developers: the headline alone, no demo beside it. */
.hero.solo { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
.hero.solo .lede { max-width: 52ch; }
.hero.solo h1 { font-size: clamp(26px, 9vw, 54px); }
/* "Protect Company Secrets" is ~11.3× the font size wide: smaller on phones so each line fits at 375px. */
.hero.teams h1 { font-size: clamp(24px, 7.6vw, 54px); }
/* The developer headline is longer (~10.8× the font size): equal columns, and its own sizes. */
@media (min-width: 881px) { .hero.devs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hero.devs h1 { font-size: clamp(30px, calc(4.5vw - 8px), 48px); }
@media (max-width: 880px) { .hero.devs h1 { font-size: clamp(24px, 7.9vw, 44px); } }
/* The closing call to action, with Rocky beside it (2026-10-28: Rocky had a section of his own). */
.closing { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 820px; margin: 0 auto; }
.closing img { width: 130px; height: auto; }
.closing .rocky-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 52ch; }
.closing h2 { text-wrap: balance; }
.closing h2 + p { margin: 12px 0 22px; color: var(--muted); font-size: 19px; }
@media (max-width: 720px) { .closing { grid-template-columns: 1fr; gap: 20px; } .closing img { width: 84px; order: 1; } }

@media (max-width: 480px) { .wrap { padding: 0 16px; } section { padding: 56px 0; } .head { margin-bottom: 32px; } .card { padding: 22px; } .plan { padding: 24px; }
  .kinds { gap: 8px; } .kinds span { font-size: 14px; padding: 7px 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The history check's recording, under its section heading (2026-10-28). */
#history .history-clip { display: block; width: 100%; max-width: 760px; height: auto; aspect-ratio: 1600 / 1120; margin: 4px auto 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
