/* Chatshelf home. The search is the page: the hero is the query itself, set large, with the real results under it.
   Every product picture is a capture of the 2.0.2 extension at 2x, shown at its own size (two capture pixels per CSS
   pixel), never scaled down to fit. Headings speak in two voices: the sans for the plain words, Courier Prime bold
   (.voice) for one or two, typed like the call numbers on the product's catalogue cards. */
.home { overflow-x: clip; }
.home h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: .98; letter-spacing: -0.035em; text-wrap: balance; }
.home h2 .voice { font-size: .96em; line-height: .9; }
.call { margin: 0; font: 15px/1.5 var(--type); color: var(--oak); }
.say { margin-top: 18px; max-width: 34ch; font-size: 20px; color: var(--soft); }
.cap { margin-top: 14px; font: 13.5px/1.5 var(--type); color: var(--muted); }
.cap kbd, .q kbd { font: 13.5px var(--type); padding: 2px 8px; border-radius: 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); }
.shot { display: block; max-width: 100%; height: auto; border-radius: 14px; box-shadow: var(--lift), 0 0 0 1px var(--line); background: var(--card); }
.more { display: inline-block; margin-top: 26px; font-weight: 650; font-size: 16px; text-decoration: none; color: var(--accent); }
.more::after { content: " \2192"; }
.more:hover { color: var(--accent-hover); }
.band { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }

/* hero */
.hero { padding-top: 72px; }
.q { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); margin-top: 14px; padding-bottom: 18px; border-bottom: 3px solid var(--oak); }
.q svg { width: clamp(40px, 5vw, 78px); height: auto; color: var(--ink); }
.q-text { flex: 1; min-width: 0; font: 700 clamp(70px, 9.6vw, 156px)/1 var(--type); letter-spacing: -0.06em; word-spacing: -0.28em; color: var(--ink); white-space: nowrap; }
.caret { display: inline-block; width: .045em; height: .78em; margin-left: .05em; vertical-align: -0.04em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; margin-top: 28px; }
.hero h1 { max-width: 25ch; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.hero .cta, .install .cta { justify-content: flex-start; }
.req { margin-top: 12px; max-width: 68ch; font: 13.5px var(--type); color: var(--muted); }
.results { display: grid; grid-template-columns: 637px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 64px; align-items: start; margin-top: 64px; }
.results figure { grid-row: 1 / span 2; }
.results figure { margin: 0; }
.results .shot { width: 637px; }
.note { max-width: 34ch; padding-top: 64px; font: 15px/1.5 var(--type); color: var(--soft); }
.note b { display: block; margin-bottom: 6px; font: 800 40px/1 var(--font); letter-spacing: -0.03em; color: var(--ink); }
.note.r { padding-top: 56px; }

/* the four sites: one shelf */
.sites { margin-top: 170px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px 64px; align-items: start; }
/* The four sites as card-catalogue drawer fronts: oak face, brass label frame with the name typed in, a pull below. */
.drawers { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.drawers li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 18px 26px; border-radius: 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--oak) 88%, #fff) 0%, color-mix(in srgb, var(--oak) 78%, #000) 100%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 18%), inset 0 -6px 12px rgb(0 0 0 / 16%), var(--shadow); }
.frame { display: block; min-width: 72%; padding: 8px 14px; text-align: center; border: 3px solid var(--brass); border-radius: 4px; background: var(--plate);
  font: 700 clamp(22px, 2.2vw, 30px)/1.1 var(--type); letter-spacing: -0.04em; color: var(--ink); box-shadow: inset 0 1px 3px rgb(0 0 0 / 18%); }
.drawers small { font: 13px var(--type); color: #f6ead6; text-shadow: 0 1px 1px rgb(0 0 0 / 35%); }
.pull { width: 64px; height: 12px; border-radius: 0 0 14px 14px; background: var(--brass); box-shadow: 0 2px 3px rgb(0 0 0 / 30%), inset 0 -2px 0 rgb(0 0 0 / 22%); }
.sites figure { margin: 0; position: sticky; top: 24px; }
.sites .shot { width: 380px; }

/* Not filed */
/* Feature sections are catalogue cards: a ruled header with the typed call number, red rule under it, and the rod hole at the foot. */
.card { position: relative; padding: 26px 48px 76px; border-radius: 6px; background: var(--card); box-shadow: var(--lift), 0 0 0 1px var(--line); }
.callno { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; margin: 0 0 34px; padding-bottom: 10px; border-bottom: 2px solid color-mix(in srgb, #c4483a 70%, var(--card)); font: 15px var(--type); color: var(--oak); }
.hole { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 2px 4px rgb(0 0 0 / 30%); }
.file, .export, .import, .private { margin-top: 140px; }
.file .card { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 0 72px; align-items: center; }
.file figure { margin: 0; }
.file .shot { width: 380px; }
.keys { margin: 0; font: 700 clamp(88px, 11vw, 180px)/.85 var(--type); color: var(--accent); letter-spacing: -0.06em; }
.keys + h2 { margin-top: 22px; }

/* export */
.zip { margin: 44px 0 0; padding: 0; list-style: none; font: clamp(17px, 1.7vw, 24px)/1.25 var(--type); }
.zip li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.zip li:last-child { border-bottom: 1px solid var(--line-2); }
.zip li span { min-width: 0; overflow-wrap: anywhere; }
.zip li.in span { padding-left: 2.4em; }
.zip li em { flex: none; font: 15px var(--font); font-style: normal; color: var(--muted); }
.zip .head span { color: var(--oak); }

/* import */
.import .card { display: grid; grid-template-columns: minmax(0, 1fr) 586px; gap: 0 56px; align-items: center; }
.import figure { margin: 0; }
.import .shot { width: 586px; }

/* private */
.facts { margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0 14px; border-top: 2px solid var(--ink); }
.facts dt { font: 15px var(--type); color: var(--muted); }
.facts dd { margin: 0; font: 700 clamp(24px, 2.5vw, 36px)/1.1 var(--type); letter-spacing: -0.04em; word-spacing: -0.2em; text-align: right; }

/* more on the shelf */
.also { margin-top: 170px; }
.feats { margin: 40px 0 0; padding: 0; list-style: none; }
.feats li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px 48px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-2); }
.feats li:last-child { border-bottom: 1px solid var(--line-2); }
.feats b { font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -0.03em; }
.feats p { color: var(--soft); max-width: 46ch; }

/* plans */
.plans { margin-top: 170px; }
.ptable { margin-top: 40px; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.pr { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.pr > span { padding: 16px 28px; border-top: 1px solid var(--line); }
.pr.head > span { border-top: 0; padding-top: 26px; padding-bottom: 20px; }
.pr > span:first-child { color: var(--soft); }
.pr > .pro, .pr > span:last-child { background: color-mix(in srgb, var(--mark) 45%, var(--card)); }
.pr.head b { display: block; font: 15px var(--type); color: var(--muted); }
.p-price { display: block; margin: 2px 0 0; font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.trial { margin-top: 18px; color: var(--soft); max-width: 36em; }
.trial a { color: var(--accent); font-weight: 650; }

/* questions */
.faq-wrap { margin-top: 170px; }
.invite { margin-top: 26px; color: var(--soft); }
.invite a { color: var(--accent); }

/* install */
.install { margin: 170px 0 0; padding: 110px 0 120px; background: var(--band); color: var(--band-ink); }
.install h2 .voice { color: var(--brass); }
.install .cta { margin-top: 34px; }
.install .btn.primary { background: var(--band-ink); color: var(--band); }
.home ~ .foot { margin-top: 0; border-top: 0; }

@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
@media (max-width: 1180px) {
  .results { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 22px; }
  .results figure { grid-row: auto; }
  .note, .note.r { padding: 0; }
}
@media (max-width: 900px) {
  .sites, .file .card, .import .card { grid-template-columns: minmax(0, 1fr); }
  .file .card, .import .card { gap: 28px; }
  .sites figure { position: static; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .feats li { grid-template-columns: minmax(0, 1fr); }
  .pr > span { padding: 14px 16px; }
}
@media (max-width: 640px) {
  .band { padding-inline: 16px; }
  .hero { padding-top: 40px; }
  .results .shot { width: 358px; }
  .q { padding-bottom: 12px; border-bottom-width: 2px; }
  .q-text { font-size: 62px; }
  .q kbd { display: none; }
  .results { margin-top: 40px; }
  .note b { font-size: 32px; }
  .sites, .file, .export, .import, .private, .also, .plans, .faq-wrap { margin-top: 96px; }
  .card { padding: 20px 18px 64px; }
  /* The Not filed and Import captures run to the card edges, so they show close to their own size. */
  .file figure, .import figure { margin-inline: -18px; }
  .file .shot, .import .shot { width: 100%; }
  .file figcaption, .import figcaption { padding-inline: 18px; }
  .drawers { grid-template-columns: minmax(0, 1fr); }
  .zip li { flex-wrap: wrap; }
  .zip li.in span { padding-left: 1em; }
  .pr { grid-template-columns: 1fr 1fr; }
  .pr > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .pr > span:first-child + span, .pr > span:first-child + span + span { border-top: 0; }
  .pr.head > span:first-child { display: none; }
  .install { margin-top: 110px; padding: 80px 0; }
}
