/* appbob.app, 1.0. Dark first, the App Store frames' system; light honored for people who ask for it.
   Layout: a floating capsule nav, then one feature per band, each band = headline (two short lines) + the real window
   running off the band's bottom edge, one glow per band behind the window. */
@font-face { font-family: "Inter"; src: url("img/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --sunken: #07080A;   /* grid band, footer */
  --page: #0C0D10;     /* the App Store frames' ground */
  --raised: #16171B;   /* nav capsule, keycaps, cards */
  --raised2: #202127;  /* hover */
  --ink1: #F5F5F7; --ink2: #B6B7BE; --ink3: #8D8E96;
  --hair: rgba(255,255,255,0.08); --hair2: rgba(255,255,255,0.14);
  --blue: #6EA6FF;     /* links and the one glow; never white text on it */
  --glow: rgba(110,166,255,0.22); --glow-green: rgba(76,196,110,0.16); --glow-violet: rgba(169,133,245,0.18);
  --band-dark: #0C0D10; --band-ink1: #F5F5F7; --band-ink2: #B6B7BE;
  --font: "Inter", -apple-system-body, system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --sunken: #E4E4DF; --page: #EEEEE9; --raised: #FFFFFF; --raised2: #F6F6F3;
  --ink1: #38383C; --ink2: #616166; --ink3: #616166;
  --hair: rgba(0,0,0,0.08); --hair2: rgba(0,0,0,0.14);
  --blue: #0A63D8; --glow: rgba(110,166,255,0.30); --glow-green: rgba(76,196,110,0.22); --glow-violet: rgba(169,133,245,0.24);
  color-scheme: light; } }
:root[data-theme="light"] {
  --sunken: #E4E4DF; --page: #EEEEE9; --raised: #FFFFFF; --raised2: #F6F6F3;
  --ink1: #38383C; --ink2: #616166; --ink3: #616166;
  --hair: rgba(0,0,0,0.08); --hair2: rgba(0,0,0,0.14);
  --blue: #0A63D8; --glow: rgba(110,166,255,0.30); --glow-green: rgba(76,196,110,0.22); --glow-violet: rgba(169,133,245,0.24);
  color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink1); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01"; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* nav: clipbob.app's floating capsule */
.nav { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 0; right: 0; z-index: 20; margin: 0 auto; max-width: 860px; width: calc(100% - 32px);
  height: 52px; border-radius: 26px; display: flex; align-items: center; gap: 22px; padding: 0 8px 0 18px;
  background: color-mix(in srgb, var(--raised) 78%, transparent); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--hair2), 0 8px 30px rgba(0,0,0,0.25); }
.nav .brand { display: flex; align-items: center; gap: 9px; color: var(--ink1); font-weight: 800; letter-spacing: -0.3px; font-size: 18px; margin-right: auto; }
.nav .brand img { width: 26px; height: 26px; }
.nav a.l { color: var(--ink2); font-size: 15px; font-weight: 500; }
.nav a.l:hover { color: var(--ink1); text-decoration: none; }
.nav .get { background: var(--ink1); color: var(--page); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 18px; }
.nav .get:hover { text-decoration: none; opacity: 0.9; }
@media (max-width: 560px) { .nav a.l { display: none; } }

/* type */
.h1, .h2 { font-weight: 800; font-optical-sizing: auto; margin: 0; text-wrap: balance; color: var(--ink1); }
.h1 { font-size: clamp(48px, 8vw, 92px); line-height: 0.98; letter-spacing: -0.035em; }
.h2 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.0; letter-spacing: -0.03em; }
.h1 span, .h2 span { display: block; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--ink2); max-width: 34em; margin: 0; text-wrap: pretty; }
.eyebrow { font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; color: var(--blue); letter-spacing: -0.01em; margin: 0; }
.fine { font-size: 14px; color: var(--ink3); }

/* keycaps, CSS only */
.keys { display: inline-flex; gap: 8px; vertical-align: middle; }
kbd, .key { font: 600 15px/1 var(--font); color: var(--ink1); background: var(--raised); min-width: 34px; padding: 9px 11px 10px; border-radius: 9px;
  text-align: center; box-shadow: inset 0 0 0 1px var(--hair2), inset 0 -3px 0 var(--hair); }
.key.big { font-size: 22px; padding: 16px 20px 18px; border-radius: 14px; min-width: 60px; }

/* the App Store badge: Apple's black "Download on the Mac App Store" badge from Apple Marketing Tools, unmodified */
.badge { display: inline-block; line-height: 0; border-radius: 12px; }
.badge img { height: 54px; width: auto; }
.badge:hover { text-decoration: none; opacity: 0.9; }

/* bands: the product bands stay dark in both appearances, like the frames */
.band { --ink1: #F5F5F7; --ink2: #B6B7BE; --ink3: #8D8E96; --raised: #16171B; --hair: rgba(255,255,255,0.08); --hair2: rgba(255,255,255,0.14);
  --blue: #6EA6FF; --glow: rgba(110,166,255,0.22); --glow-green: rgba(76,196,110,0.16); --glow-violet: rgba(169,133,245,0.18);
  color-scheme: dark; background: #0C0D10; color: var(--ink1); }
.band.sunken { background: #07080A; }
.band { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 128px) 0; }
.band .copy { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; text-align: center; }
.band .shot { position: relative; z-index: 1; margin: clamp(40px, 6vw, 72px) auto 0; }
.band .shot img { margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45)); }
.band .glow { position: absolute; left: 50%; bottom: -30%; width: 120%; height: 90%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent); }
.band.green .glow { background: radial-gradient(closest-side, var(--glow-green), transparent); }
.band.violet .glow { background: radial-gradient(closest-side, var(--glow-violet), transparent); }
.band + .band { border-top: 1px solid var(--hair); }
.pair { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; max-width: 1180px; margin-inline: auto; }
@media (max-width: 700px) { .pair { grid-template-columns: 1fr; } }

.hero { padding-top: clamp(140px, 14vw, 184px); }
/* the windows show whole on the site (founder, 2026-11-22): the App Store frames crop them, the site does not */
.shot.bleed { margin-bottom: 0; padding-bottom: clamp(72px, 10vw, 128px); }
.hero .cta { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* small features */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.card { background: var(--raised); border-radius: 20px; padding: 26px; box-shadow: inset 0 0 0 1px var(--hair); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--ink2); font-size: 16px; }
.card .sym { height: 40px; display: flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ink1) 70%, transparent); display: inline-block; }

/* questions */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 48px; text-align: left; }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }
.qa h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.2px; }
.qa p { margin: 0; color: var(--ink2); }

.plain { padding-block: clamp(72px, 9vw, 112px); }
.plain.left .copy { justify-items: start; text-align: left; }

footer { background: var(--sunken); border-top: 1px solid var(--hair); padding-block: 40px; color: var(--ink3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--ink2); }
footer .brand { display: flex; align-items: center; gap: 8px; color: var(--ink1); font-weight: 800; margin-right: auto; }
footer .brand img { width: 22px; height: 22px; }

/* text pages: Support, Privacy */
.doc { max-width: 720px; margin: 0 auto; padding-block: 150px clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0 0 18px; }
.doc h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin: 56px 0 6px; }
.doc h3 { font-size: 19px; font-weight: 700; margin: 30px 0 6px; }
.doc p, .doc li { color: var(--ink2); }
.doc p { margin: 0 0 14px; }
.doc strong { color: var(--ink1); font-weight: 600; }
.doc .mail { display: inline-flex; align-items: center; gap: 12px; background: var(--raised); padding: 14px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair);
  font-size: 19px; font-weight: 600; color: var(--ink1); user-select: all; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 0; font-size: 16px; }
.doc td { padding: 10px 0; border-bottom: 1px solid var(--hair); color: var(--ink2); vertical-align: top; }
.doc td:first-child { color: var(--ink1); font-weight: 600; width: 40%; padding-right: 16px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-contrast: more) { .band .glow { display: none; } }

/* the User Guide (/guide), in the .doc layout: lists, the key tables, See also, prev and next */
.doc ol, .doc ul { color: var(--ink2); padding-left: 1.3em; margin: 0 0 14px; }
.doc li { margin: 0 0 6px; }
.doc em { color: var(--ink1); }
.guide .crumb { margin: 0 0 10px; }
.guide .toc { list-style: none; padding: 0; }
.guide .toc li { padding: 10px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.guide .see { margin-top: 28px; font-size: 15px; }
.guide .pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 15px; }
.guide table { margin-bottom: 20px; }
