/* Screen Gist — screengist.app. Styled after the Mac app: system font, the system blue for links and selection,
   grouped boxes with hairline rows, grey capsule buttons, and indigo only on the app icon. No web fonts. */
:root {
  --text: #1d1d1f;
  --secondary: rgba(0, 0, 0, .5);     /* macOS secondary label */
  --tertiary: rgba(0, 0, 0, .3);
  --separator: rgba(0, 0, 0, .1);
  --group: rgba(0, 0, 0, .035);       /* a grouped Form section */
  --fill: rgba(0, 0, 0, .07);         /* a bordered (grey) button */
  --fill-hover: rgba(0, 0, 0, .1);
  --bg: #ffffff;
  --accent: #007aff;                  /* system blue: links, selection, the default button */
  --accent-hover: #0068d9;
  --accent-tint: rgba(0, 122, 255, .1);
  --radius: 12px;
  --wide: 1040px;
  --narrow: 700px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7; --secondary: rgba(255, 255, 255, .55); --tertiary: rgba(255, 255, 255, .3);
    --separator: rgba(255, 255, 255, .1); --group: rgba(255, 255, 255, .05); --fill: rgba(255, 255, 255, .1);
    --fill-hover: rgba(255, 255, 255, .15); --bg: #1e1e1e; --accent: #0a84ff; --accent-hover: #3b9bff; --accent-tint: rgba(10, 132, 255, .18);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 22px; }

/* Header: a window toolbar, translucent like the app's materials. */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--separator); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.site-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.site-nav a { color: var(--secondary); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a.cta { color: #fff; background: var(--accent); padding: 5px 14px; border-radius: 980px; font-weight: 500; }
.site-nav a.cta:hover { background: var(--accent-hover); }
@media (max-width: 640px) { .site-nav a:not(.cta) { display: none; } }

/* Type */
h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: .3em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--secondary); line-height: 1.45; }
.eyebrow { color: var(--secondary); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.muted { color: var(--secondary); }
.small, .footnote { font-size: 14px; color: var(--secondary); }

/* Sections */
section { padding: 84px 0; }
section + section { border-top: 1px solid var(--separator); }
.center { text-align: center; }
.intro { max-width: 720px; margin: 0 auto 36px; }
.hero { padding: 64px 0 56px; text-align: center; }
.hero .icon { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18)); }
.hero .icon svg { width: 100%; height: 100%; display: block; }
.hero .lede { max-width: 680px; margin: 0 auto 28px; }
.hero .note { margin-top: 16px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* Buttons: the default button is blue; everything else is the grey capsule from the app's Start button. */
.button { display: inline-block; background: var(--accent); color: #fff; font: inherit; font-weight: 500; padding: 10px 22px;
  border-radius: 980px; border: 0; cursor: pointer; }
.button:hover { background: var(--accent-hover); text-decoration: none; }
.button.secondary { background: var(--fill); color: var(--text); }
.button.secondary:hover { background: var(--fill-hover); }

/* Screenshots sit like windows. */
.shot { margin: 52px auto 0; max-width: 560px; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .28), 0 0 0 1px var(--separator); }
.shot.flush { margin: 0; }

/* Grouped boxes: the app's Form sections. A .group holds .row lines split by hairlines. */
.group { background: var(--group); border-radius: var(--radius); padding: 0 18px; margin: 0; text-align: left; }
.group-title { font-size: 15px; font-weight: 600; margin: 32px 0 8px 2px; text-align: left; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; }
.row + .row { border-top: 1px solid var(--separator); }
.row .sub { font-size: 14px; color: var(--secondary); margin-top: 1px; }
.row > div:first-child { min-width: 0; }
.row .value { color: var(--secondary); text-align: right; white-space: nowrap; }
.row .price { font-weight: 600; white-space: nowrap; }
.badge { color: var(--accent); font-size: 14px; font-weight: 500; margin-left: 6px; }
.footnote { margin: 8px 2px 0; text-align: left; }

/* Tiles: the app's quality picker cells. */
.grid { display: grid; gap: 14px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; gap: 48px; }
.tile { display: block; background: var(--group); border-radius: var(--radius); padding: 22px 22px 20px; color: var(--text); }
.tile p { margin: 0; color: var(--secondary); font-size: 16px; }
a.tile:hover { text-decoration: none; background: var(--accent-tint); box-shadow: inset 0 0 0 2px var(--accent); }
a.tile h3::after { content: " ›"; color: var(--tertiary); }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding-left: 46px; position: relative; margin-bottom: 22px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--fill); color: var(--text); font-weight: 600; display: grid; place-items: center; font-size: 15px; }
.steps p { margin: 0; }

/* Articles (use cases, legal) */
.article { padding: 56px 0 84px; }
.article h1 { font-size: clamp(34px, 5vw, 48px); }
.article h2 { font-size: 26px; margin-top: 1.9em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol:not(.steps) { padding-left: 1.2em; }
.article li { margin-bottom: .45em; }
/* The direct answer, in a grouped box like the app's About text. */
.answer { font-size: 19px; line-height: 1.5; background: var(--group); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 28px; }
.updated { font-size: 14px; color: var(--tertiary); margin-bottom: 22px; }
.table { background: var(--group); border-radius: var(--radius); padding: 2px 18px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 12px 12px 12px 0; vertical-align: top; }
td { border-top: 1px solid var(--separator); }
td:not(:first-child) { color: var(--secondary); }
th { font-weight: 600; font-size: 14px; color: var(--secondary); }

/* FAQ: disclosure rows in a group. */
.faq { background: var(--group); border-radius: var(--radius); padding: 0 18px; text-align: left; }
.faq details + details { border-top: 1px solid var(--separator); }
.faq summary { padding: 14px 0; font-weight: 500; cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "›"; color: var(--tertiary); font-weight: 600; display: inline-block; transition: transform .15s; width: 10px; flex: none; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details p { margin: -4px 0 16px 20px; color: var(--secondary); }

/* Waitlist */
.waitlist { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.waitlist input[type=email] { font: inherit; padding: 9px 16px; border-radius: 980px; border: 0; min-width: 260px;
  background: var(--fill); color: var(--text); outline: none; }
.waitlist input[type=email]:focus { box-shadow: 0 0 0 3px var(--accent-tint), 0 0 0 1px var(--accent); }
.waitlist .hp { position: absolute; left: -9999px; }
.waitlist-note { margin-top: 10px; font-size: 14px; color: var(--secondary); min-height: 20px; }
.article .waitlist { justify-content: flex-start; }

/* Footer */
.site-footer { border-top: 1px solid var(--separator); padding: 36px 0 48px; font-size: 13px; color: var(--secondary); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-bottom: 26px; }
.site-footer h4 { font-size: 13px; color: var(--text); margin: 0 0 8px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 5px 0; }
.site-footer a { color: var(--secondary); }
.breadcrumbs { font-size: 14px; color: var(--tertiary); margin-bottom: 18px; }
.breadcrumbs a { color: var(--secondary); }
