@font-face {
  font-family: Instrument;
  src: url('assets/instrument-sans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcfcfc;
  --ink: #191919;
  --muted: #737373;
  --rule: #e8e8e8;
  font-family: Instrument, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: #dedede; color: #111; }
:focus-visible { outline: 2px solid #777; outline-offset: 5px; }

.cafe-shell {
  width: min(100% - 48px, 560px);
  margin-inline: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(64px, 15vh, 140px);
}
.masthead { display: flex; align-items: center; }
.brand { margin: 0; font: inherit; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.75px;
}
.coffee-mark { width: 29px; height: 34px; object-fit: contain; position: relative; top: -2px; }
.wordmark-dot { color: var(--muted); }
.intro-caption { margin: 22px 0 48px; font-size: 17px; letter-spacing: -.15px; color: var(--muted); }
.apps-section { border-block: 1px solid var(--rule); }
.app-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% + 20px);
  margin-left: -10px;
  padding: 23px 10px;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 8px;
  text-align: left;
  transition: background .18s ease;
}
.app-row:hover { background: #f3f3f3; }
.app-icon { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.app-information { display: block; flex: 1; min-width: 0; }
.app-name { display: block; font-size: 18px; line-height: 1.35; letter-spacing: -.4px; font-weight: 500; }
.app-description { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.app-availability { font-size: 13px; color: var(--muted); flex-shrink: 0; margin-left: 8px; }
.no-script-download { font-size: 14px; color: var(--muted); }
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 38px; padding-bottom: 36px; }
.site-footer p { font-size: 13px; color: var(--muted); margin: 0; }
.signup-status { display: block; font-size: 12px; margin-top: 5px; }
.quiet-link { color: var(--muted); font-size: 12px; text-decoration: none; text-underline-offset: 4px; }
.quiet-link:hover { color: var(--ink); text-decoration: underline; }
.skip-link { position: absolute; top: -70px; left: 20px; padding: 10px 16px; background: var(--ink); color: white; z-index: 10; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.app-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; margin: auto; border: 1px solid #e3e3e3; border-radius: 18px; padding: 32px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px #00000017; }
.app-dialog::backdrop { background: rgba(0, 0, 0, .22); backdrop-filter: blur(5px); }
.app-dialog[open] { animation: dialog-in .17s ease-out; }
.dialog-close { position: absolute; right: 15px; top: 13px; display: grid; place-items: center; width: 29px; height: 29px; border: 0; border-radius: 5px; color: #777; background: none; font: 25px/1 -apple-system, sans-serif; }
.dialog-close:hover { background: #ececec; color: #191919; }
.dialog-brand { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.dialog-brand img { width: 37px; height: 37px; }
.dialog-title { font-size: 35px; font-weight: 500; line-height: 1.12; letter-spacing: -1.3px; margin: 0 0 16px; }
.dialog-title > span { color: #7c7c7c; }
.dialog-copy { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.day-demo { border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; padding: 23px 24px; margin: 0 0 22px; }
.demo-heading { font-size: 12px; color: #686868; }
.demo-number { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 62px; font-weight: 300; line-height: 1.1; letter-spacing: -2px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.demo-number .percent-symbol { font-size: 31px; letter-spacing: -1px; margin-left: 2px; }
.day-demo > p { font-size: 12px; color: #7c7c7c; margin: 4px 0 19px; }
.day-ticks { display: flex; gap: 5px; height: 19px; }
.day-ticks > span { flex: 1; min-width: 0; position: relative; background: #ebebeb; border-radius: 1.5px; overflow: hidden; }
.day-ticks i { position: absolute; left: 0; right: 0; bottom: 0; background: #252525; transition: height .4s; }
.demo-endpoints { display: flex; justify-content: space-between; color: #737373; font: 12px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin-top: 7px; }
.day-demo .demo-remaining { font-size: 12px; margin: 17px 0 0; }
.download-button { display: flex; align-items: center; justify-content: center; width: 100%; height: 43px; border-radius: 7px; background: #191919; color: #fff; text-decoration: none; font-size: 14px; transition: background .15s ease; }
.download-button:hover { background: #383838; }
.compatibility { text-align: center; font-size: 12px; color: #777; margin: 11px 0 0; }
.install-help { font-size: 12px; color: #707070; border-top: 1px solid #e4e4e4; padding-top: 14px; margin-top: 21px; }
.install-help summary { cursor: pointer; list-style-position: outside; margin-left: 13px; }
.install-help p { font-size: 12px; line-height: 1.6; margin-bottom: 0; }
.install-help a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-main { max-width: 590px; padding: 48px 0 70px; }
.privacy-main h1 { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; margin: 0 0 20px; }
.privacy-main h2 { font-size: 19px; font-weight: 500; letter-spacing: -.3px; margin: 28px 0 10px; }
.privacy-main p { font-size: 16px; color: #696969; line-height: 1.8; }
.back-link { display: inline-block; font-size: 14px; color: var(--muted); margin-top: 24px; text-underline-offset: 5px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .cafe-shell { width: calc(100% - 40px); padding-top: 72px; }
  .intro-caption { font-size: 16px; margin-bottom: 36px; }
  .app-row { gap: 12px; padding-block: 22px; flex-wrap: wrap; }
  .app-icon { width: 52px; height: 52px; }
  .app-name { font-size: 17px; }
  .app-description { font-size: 13px; }
  .app-availability { width: calc(100% - 64px); margin: -4px 0 0 64px; font-size: 12px; }
  .site-footer { padding-top: 30px; padding-bottom: 28px; }
  .app-dialog { padding: 25px; }
  .dialog-title { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* App links retain their preview on hover, without blocking navigation. */
.app-row{text-decoration:none}.hover-preview{position:fixed;margin:0;right:auto;bottom:auto;width:min(390px,calc(100% - 40px));max-height:calc(100dvh - 40px);box-shadow:0 12px 45px #00000018}.hover-preview[open]{animation:none}.hover-preview .dialog-title{font-size:31px}.hover-preview .dialog-brand{margin-bottom:15px}.hover-preview .dialog-copy{font-size:14px}.hover-preview .day-demo{padding:18px 21px}.hover-preview .demo-number{font-size:55px}
