/* ledge — site-specific styles on top of ease.css. Only Ease tokens; no new colors, no new fonts. */

/* ---------- page layout on top of ease.css ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 24px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px; color: var(--ink-2); font: var(--t-secondary); }
.nav-links a:hover { color: var(--ink); }

.hero { padding: 74px 0 40px; text-align: center; }
.hero h1 { margin: 18px 0 20px; }
h1 em { font-style: normal; color: var(--lilac-txt); }
.lede { max-width: 640px; margin: 0 auto; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
a.ease-btn { margin-top: 30px; padding: 13px 22px; font-size: 15px; }
a.ease-btn, a.ease-btn:hover { color: #fff; } /* the white ease.css puts on its primary button; the global a:hover would ink it */
.ease-btn small { font: inherit; color: inherit; font-weight: 400; opacity: 0.75; }
.sub { margin-top: 14px; font: var(--t-secondary); color: var(--ink-3); }
.caption { text-align: center; margin-top: 16px; font: var(--t-secondary); color: var(--ink-3); }

.sect { padding: 64px 0 0; }
.sect .ease-card { padding: 38px 42px; }
.sect .ease-label { margin-bottom: 14px; }
.sect h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
h2 .quiet { color: var(--ink-3); font-weight: 500; }
.sect p { color: var(--ink-2); margin: 10px 0; font-size: 16px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.grid + .grid { margin-top: 18px; }
.ease-tile h3 { margin: 0 0 6px; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ease-tile p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.keycap { display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--hair-strong); border-bottom-width: 3px; border-radius: 8px; padding: 4px 10px; white-space: nowrap; }
.keys-wrap { overflow-x: auto; margin-top: 18px; }
.keys { width: 100%; border-collapse: collapse; font-size: 15px; }
.keys td { padding: 10px 4px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.keys tr:last-child td { border-bottom: 0; }
.keys td:first-child { white-space: nowrap; width: 220px; color: var(--ink); }
.keys td:last-child { color: var(--ink-2); }
.keys .or { color: var(--ink-3); font: var(--t-secondary); margin-left: 4px; }

ol.steps { counter-reset: c; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
ol.steps li { position: relative; padding-left: 36px; color: var(--ink); font-size: 15.5px; max-width: 66ch; }
ol.steps li::before { counter-increment: c; content: counter(c); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lilac-tint); color: var(--lilac-txt); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.faq details { border-top: 1px solid var(--hair); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 24px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 15px; }

.get { text-align: center; padding: 70px 0 30px; }
.get h2 { font-size: 46px; }
.get .lede { font-size: 17px; }
.footer { text-align: center; padding: 34px 0 48px; font: var(--t-secondary); color: var(--ink-3); }
.footer a { display: inline-block; min-height: 24px; line-height: 24px; color: var(--ink-2); }
.footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .grid { grid-template-columns: 1fr; }
  .sect .ease-card { padding: 28px 22px; }
}

/* the one line that is not good news, in the attention tint */
.note { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: var(--r-row); background: var(--apricot-tint); color: var(--apricot-txt); font: var(--t-secondary); }

/* ---------- the shelf mock: a ⇧⌘4 selection on the desktop, the shelf on the right edge ---------- */
.demo { margin: 54px auto 0; max-width: 820px; }
.screen { position: relative; height: 380px; border-radius: var(--r-window); overflow: hidden;
  background: linear-gradient(160deg, var(--sky-tint) 0%, var(--paper) 55%, var(--card-2) 100%); box-shadow: var(--shadow-card); border: 1px solid var(--hair); }
.menubar { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: color-mix(in srgb, var(--card) 55%, transparent); border-bottom: 1px solid var(--hair); }
.selection { position: absolute; left: 9%; top: 88px; width: 46%; height: 190px; border: 1.5px dashed var(--lilac); border-radius: 4px;
  background: color-mix(in srgb, var(--lilac-tint) 45%, transparent); }
.selection .size { position: absolute; right: 0; bottom: -24px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.hint { position: absolute; left: 22px; bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-3); }

.shelf { position: absolute; top: 40px; right: 18px; width: 200px; border-radius: var(--r-card); padding-bottom: 6px;
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hair); box-shadow: var(--shadow-card); }
.shelf-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 8px; border-bottom: 1px solid var(--hair); }
.shelf-title { font: var(--t-caption); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.shelf-dots { display: inline-flex; gap: 5px; }
.shelf-dots .on { background: var(--lilac); }
.thumb { margin: 8px 12px 0; height: 76px; border-radius: 9px; position: relative; border: 1px solid var(--hair); overflow: hidden; }
.thumb::before { content: ""; position: absolute; left: 10px; right: 30%; top: 10px; height: 8px; border-radius: 3px; background: color-mix(in srgb, var(--card) 70%, transparent); }
.thumb::after { content: ""; position: absolute; left: 10px; right: 45%; top: 24px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--card) 55%, transparent); }
.thumb .t { position: absolute; left: 6px; bottom: 6px; font: var(--t-caption); font-family: var(--mono); color: var(--ink);
  background: color-mix(in srgb, var(--card) 85%, transparent); padding: 2px 7px; border-radius: var(--r-pill); }
.t1 { background: linear-gradient(135deg, var(--wall-1), var(--lilac-tint)); }
.t2 { background: linear-gradient(135deg, var(--apricot-tint), var(--wall-3)); }
.t3 { background: linear-gradient(135deg, var(--mint-tint), var(--sky-tint)); }
.shelf-foot { display: flex; justify-content: space-between; padding: 9px 12px 4px; font: var(--t-caption); letter-spacing: 0.06em; color: var(--ink-3); }

@media (max-width: 760px) {
  .screen { height: 340px; }
  .shelf { width: 170px; right: 12px; }
  .thumb { height: 60px; }
  .selection { width: 40%; height: 150px; }
}
