/* Peek site — self-hosted faces. Nothing on this site is fetched from another server.
   Inter and IBM Plex Mono, latin and latin-ext subsets, both SIL Open Font License 1.1. */

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Peek site — stylesheet, second pass.
   Rebuilt after design research on Granola, Linear, Raycast, Wispr Flow and CleanShot.
   What changed and why:
     - One typeface family (Inter) doing every job through weight and size, plus one mono
       for literal clipboard text. The first pass used three families, which is a tell.
     - The accent appears twice per viewport at most: the primary button, and the one
       highlighted line in the capture. It used to be on every pill, link, keycap and label.
     - Sections sit on a flat ground with a real vertical rhythm. No cards as section devices,
       no borders drawn around text.
     - Shadows are soft and diffused, radius is moderate and consistent. No dashed placeholders.
*/

:root {
  /* light — an off-white ground, never pure white */
  --bg:        #F7F6F3;
  --bg-tint:   #EFEEE9;
  --surface:   #FFFFFF;
  --ink:       #15171A;
  --ink-2:     #565C64;
  --ink-3:     #8A9098;
  --hairline:  #E3E1DB;
  --accent:    #1B4D8F;
  --accent-on: #FFFFFF;
  --mark:      #DEE9F6;
  --ok:        #2E7D4F;
  --shadow:    0 24px 60px -18px rgba(16, 24, 40, 0.22), 0 2px 6px -2px rgba(16, 24, 40, 0.10);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0C0E11;
    --bg-tint:   #12151A;
    --surface:   #16191E;
    --ink:       #ECEEF1;
    --ink-2:     #A6ADB6;
    --ink-3:     #767D87;
    --hairline:  #242830;
    --accent:    #8FB6E8;
    --accent-on: #0C0E11;
    --mark:      #1B2B40;
    --ok:        #6FCF97;
    --shadow:    0 24px 60px -18px rgba(0, 0, 0, 0.6), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:        #0C0E11;
  --bg-tint:   #12151A;
  --surface:   #16191E;
  --ink:       #ECEEF1;
  --ink-2:     #A6ADB6;
  --ink-3:     #767D87;
  --hairline:  #242830;
  --accent:    #8FB6E8;
  --accent-on: #0C0E11;
  --mark:      #1B2B40;
  --ok:        #6FCF97;
  --shadow:    0 24px 60px -18px rgba(0, 0, 0, 0.6), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv01", "ss03";
}

img { max-width: 100%; }
[hidden] { display: none !important; }

.page { max-width: 1120px; margin: 0 auto; padding-inline: 24px; padding-block: 0 120px; }
.page.reading { max-width: 720px; }

/* type — one family, weight and size do the work */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 620; line-height: 1.04; letter-spacing: -0.028em; }
h2 { font-size: clamp(25px, 2.6vw, 33px); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0; max-width: 64ch; }
a  { color: var(--ink); text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 48ch; }
.fine { font-size: 14.5px; color: var(--ink-3); }
.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

/* rhythm: whitespace separates ideas, not rules or cards */
.band { margin-top: 128px; }
.band.tight { margin-top: 88px; }
.measure { max-width: 34em; }

/* header */
.masthead {
  display: flex; align-items: center; gap: 12px;
  padding-block: 26px 0;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.wordmark svg { color: var(--ink); }
.wip {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-3); border: 1px solid var(--hairline);
  padding: 2px 8px; border-radius: 999px;
}
.masthead .spacer { flex: 1; }
.masthead a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.masthead a:hover { color: var(--ink); }

/* hero: headline, one subhead, one button, one visual */
.hero { padding-top: 48px; }
.hero .lede { margin-top: 22px; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-on);
  font-size: 16px; font-weight: 550; letter-spacing: -0.005em;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  border: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, .ghost:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
.ghost {
  font: inherit; font-size: 15px; color: var(--ink-2);
  background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline;
  text-decoration-color: var(--hairline); text-underline-offset: 3px;
}
.ghost:hover { color: var(--ink); }

/* the keycap — the one motif, used once */
.kbd {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--hairline);
  box-shadow: 0 1.5px 0 var(--hairline);
  font-size: 0.92em; font-weight: 550; color: var(--ink);
  font-feature-settings: normal;
}

/* the proof: what lands on your clipboard */
.proof {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch;
}
.pane {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 20px 22px;
  display: grid; gap: 14px; align-content: start;
}
.pane.result { box-shadow: var(--shadow); }
.pane-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pane pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-size: 13.5px; line-height: 1.62; color: var(--ink-2);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pane.result pre { color: var(--ink); }
.described {
  display: block; background: var(--mark); color: var(--ink);
  border-radius: 6px; padding: 7px 9px; margin-bottom: 10px;
}
.arrow {
  display: grid; place-items: center; color: var(--ink-3);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}

/* feature bands: plain sections, varying rhythm */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.side-by { display: grid; grid-template-columns: 0.8fr 1fr; gap: 56px; align-items: start; }
.stack { display: grid; gap: 16px; }

.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}

/* a quiet trust line, not a wall */
.trust {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--hairline);
  display: grid; gap: 10px;
}

/* price */
.price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-line .amount { font-size: 40px; font-weight: 620; letter-spacing: -0.03em; }

/* prose pages */
.prose { display: grid; gap: 20px; margin-top: 36px; }
.prose h2 { margin-top: 32px; }
.prose h3 { margin-top: 20px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 9px; }
.prose li { max-width: 64ch; }
.prose .step { display: grid; gap: 10px; padding: 26px 0; border-top: 1px solid var(--hairline); }
.prose .step:last-of-type { border-bottom: 1px solid var(--hairline); }
.stepnum { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.callout {
  padding: 18px 20px; border-radius: 12px; background: var(--bg-tint);
  color: var(--ink-2); font-size: 15.5px; display: grid; gap: 8px;
}
.callout strong { color: var(--ink); }
.path {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 14.5px;
  background: var(--bg-tint); border-radius: 8px; padding: 12px 14px; color: var(--ink);
}

table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.scroller { overflow-x: auto; }

footer {
  margin-top: 128px; padding-top: 28px; border-top: 1px solid var(--hairline);
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
  font-size: 14.5px; color: var(--ink-3);
}
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }

.todo { color: var(--ink-3); border-bottom: 1px dotted var(--ink-3); }

@media (max-width: 860px) {
  .proof, .two-up, .side-by { grid-template-columns: 1fr; gap: 20px; }
  .arrow { transform: rotate(90deg); padding-block: 4px; }
  .band { margin-top: 88px; }
  .band.tight { margin-top: 64px; }
  .hero { padding-top: 56px; }
  footer { margin-top: 88px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: filter 160ms ease; }
  a { transition: color 140ms ease, text-decoration-color 140ms ease; }
}

/* ── The hero shot: a Gmail thread in Chrome, with what Peek put on the clipboard ──
   Rendered in CSS rather than shipped as a PNG: it stays sharp at any size, follows the
   viewer's theme, and carries no real inbox content. */

.stage {
  margin-top: 36px;
  background: var(--bg-tint);
  border-radius: 20px;
  padding: 28px 28px 0;
  position: relative;
  overflow: hidden;
}

.window {
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--hairline);
  border-bottom: none;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 820px;
}

.titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-tint);
}
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline); display: block; }
.tab {
  font-size: 12.5px; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 7px; padding: 4px 12px;
  display: inline-flex; align-items: center; gap: 7px;
}
.tab .favicon { width: 11px; height: 11px; border-radius: 3px; background: var(--ink-3); display: block; }
.addr {
  flex: 1; font-size: 12px; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 7px; padding: 4px 12px;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mailview { display: grid; grid-template-columns: 148px 1fr; min-height: 262px; }
.rail {
  border-right: 1px solid var(--hairline); padding: 16px 12px;
  display: grid; gap: 3px; align-content: start;
  background: var(--bg);
}
.rail span {
  font-size: 12.5px; color: var(--ink-3); padding: 6px 9px; border-radius: 6px;
}
.rail span.on { background: var(--mark); color: var(--ink); font-weight: 500; }

.thread { padding: 22px 26px; display: grid; gap: 16px; align-content: start; }
.subject { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sender { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--mark);
  color: var(--ink-2); display: grid; place-items: center;
  font-size: 13px; font-weight: 600; flex: none;
}
.sender .who { font-size: 13.5px; font-weight: 500; }
.sender .addr-line { font-size: 12.5px; color: var(--ink-3); }
.body-lines { display: grid; gap: 9px; margin-top: 2px; }
.body-lines p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: none; }
.body-lines .skeleton { height: 9px; border-radius: 4px; background: var(--hairline); }
.body-lines .skeleton.w80 { width: 80%; }
.body-lines .skeleton.w60 { width: 60%; }

/* what landed on the clipboard, over the window */
.clipcard {
  position: absolute; right: 26px; bottom: 0; width: min(408px, 70%);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 13px; padding: 15px 17px;
  box-shadow: 0 30px 70px -20px rgba(16, 24, 40, 0.38), 0 3px 10px -3px rgba(16, 24, 40, 0.16);
  display: grid; gap: 10px;
}
:root:not([data-theme="light"]) .clipcard,
:root[data-theme="dark"] .clipcard {
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75), 0 3px 10px -3px rgba(0, 0, 0, 0.5);
}
.clipcard .tagline {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 7px;
}
.clipcard .tagline i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: block; flex: none;
}
.clipcard .written {
  font-size: 13.5px; line-height: 1.55; color: var(--ink);
  background: var(--mark); border-radius: 7px; padding: 9px 11px;
}
.clipcard .rest {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px; line-height: 1.5; color: var(--ink-3);
}

@media (max-width: 860px) {
  .stage { padding: 20px 18px 0; border-radius: 16px; margin-top: 40px; }
  .mailview { grid-template-columns: 1fr; min-height: 0; }
  .rail { display: none; }
  .thread { padding: 18px; }
  .stage { display: flex; flex-direction: column; gap: 16px; }
  .clipcard { position: static; width: auto; order: -1; }
  .addr { display: none; }
}

/* ── Brand mark ──
   Referenced, never inlined, so the Designer's refinement pass and the dark/mono
   variants are a one-file swap at brand/geeze-icon.svg. The source stays square and
   unrounded per BRAND.md; the rounding here is display only. */
.mark { width: 22px; height: 22px; border-radius: 5px; display: block; flex: none; }
footer .mark { width: 18px; height: 18px; border-radius: 4px; }
