/* Store Answers — Brightmoss Labs Design Language 3.0, Catalog mode.
   Paper and ink only. Gold lives in the logo files, never in this CSS.
   Three voices: Inter Tight (instrument), DM Mono (readout), Cormorant Garamond italic (human line). */

:root {
  --paper: #F3F0EA;
  --ink: #141413;
  --shade: #E7E3DB;
  --grey: #5C5850;          /* captions and secondary text, 6.2:1 on paper */
  --rule: rgba(20, 20, 19, 0.16);
  --control: #7D786F;       /* input borders, 3.9:1 on paper */
  --surface: #FFFFFF;       /* the store page inside the instrument shot */

  --font-instrument: "Inter Tight", "SF Pro Display", system-ui, sans-serif;
  --font-readout: "DM Mono", "SF Mono", ui-monospace, monospace;
  --font-human: "Cormorant Garamond", "New York", Georgia, serif;

  --margin: 24px;           /* margin-catalog: 24 phone, 64 tablet, 160 desktop */
  --gutter: 24px;
  --section: 88px;          /* web sections use 120px on desktop */

  --radius-label: 6px;
  --radius-key: 16px;
  --radius-panel: 20px;

  --shadow-key: inset 1px 1px 2px rgba(255,255,255,0.18), inset -1px -2px 4px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.16), 0 5px 10px rgba(0,0,0,0.14);
  --shadow-device: 0 40px 60px rgba(20, 20, 19, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --margin: 64px; --section: 120px; } }
@media (min-width: 1280px) { :root { --margin: 160px; } }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141413;
    --ink: #F3F0EA;
    --shade: #22211F;
    --grey: #A39E95;
    --rule: rgba(243, 240, 234, 0.16);
    --control: #8A857E;
    --surface: #1C1B19;
    --shadow-device: 0 40px 60px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-instrument);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule); transition: text-decoration-color 240ms var(--ease); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; border-radius: var(--radius-label); }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Type styles (tokens) ---------- */
.headline-xl { font-size: clamp(48px, 7vw, 100px); line-height: 0.94; letter-spacing: -0.055em; text-wrap: balance; max-width: 11em; }
.display     { font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.title       { font-size: 30px; line-height: 32px; letter-spacing: -0.02em; }
.heading     { font-size: 20px; line-height: 26px; letter-spacing: -0.01em; }
.caption, .label { font-family: var(--font-readout); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0; }
.muted       { color: var(--grey); }
.human       { font-family: var(--font-human); font-style: italic; font-weight: 400; font-size: 26px; line-height: 30px; text-wrap: balance; max-width: 22em; }
.lede        { font-size: 18px; line-height: 28px; color: var(--grey); max-width: 36em; }

/* ---------- 12-column catalog grid with the index column ---------- */
.wrap { padding-inline: var(--margin); max-width: 1760px; margin-inline: auto; }
.row { display: grid; grid-template-columns: 1fr; gap: 16px var(--gutter); }
.index { display: grid; gap: 2px; align-content: start; }
.content { min-width: 0; display: grid; gap: 32px; align-content: start; }
@media (min-width: 900px) {
  .row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .index { grid-column: 1 / 3; position: sticky; top: 32px; }
  .content { grid-column: 3 / 13; }
}

section { padding-top: var(--section); }

/* ---------- The key (the one button style) ---------- */
.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 26px;
  font-family: var(--font-instrument); font-size: 15px; line-height: 20px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  color: var(--paper); background: var(--ink);
  border: 0; border-radius: var(--radius-key);
  box-shadow: var(--shadow-key);
  cursor: pointer;
  transition: transform 100ms var(--ease), box-shadow 100ms var(--ease);
}
.key:active { transform: scale(0.97); box-shadow: inset 1px 1px 2px rgba(255,255,255,0.18), inset -1px -2px 4px rgba(0,0,0,0.25); }
.link-quiet { font-weight: 500; }

/* ---------- Header ---------- */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.lockup { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.lockup img { height: 26px; width: auto; }
.lockup .product { border-left: 1px solid var(--rule); padding-left: 16px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.site-header .key { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 767px) {
  .site-header nav { order: 3; width: 100%; border-top: 1px solid var(--rule); }
  .nav { gap: 22px; }
  .lockup img { height: 22px; }
  .lockup .product { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero .content { gap: 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Instrument shot: a store page with the assistant open ---------- */
.shot { margin: clamp(48px, 6vw, 80px) 0 0; display: grid; gap: 16px; }
.device { border-radius: var(--radius-panel); background: var(--surface); box-shadow: var(--shadow-device); overflow: hidden; border: 1px solid var(--rule); }
.device-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.device-dots { display: flex; gap: 6px; flex: none; }
.device-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--shade); }
.device-url { font-family: var(--font-readout); font-size: 11px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.store { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 28px 28px 120px; }
.store-img { background: var(--shade); border-radius: var(--radius-label); aspect-ratio: 4 / 5; display: grid; place-items: end start; padding: 14px; }
.store-info { display: grid; align-content: start; gap: 12px; }
.store-title { font-size: 26px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.store-line { height: 7px; background: var(--shade); border-radius: 999px; }
.store-line.short { width: 62%; }
.store-sizes { display: flex; gap: 6px; margin-top: 4px; }
.store-sizes span { font-family: var(--font-readout); font-size: 11px; border: 1px solid var(--rule); border-radius: var(--radius-label); padding: 4px 8px; }
.store-add { margin-top: 6px; font-size: 13px; font-weight: 600; background: var(--ink); color: var(--paper); text-align: center; padding: 12px; border-radius: 12px; }
.chat { position: absolute; right: 28px; bottom: 28px; width: min(340px, calc(100% - 56px)); background: var(--paper); color: var(--ink); border-radius: var(--radius-panel); box-shadow: 0 18px 40px rgba(20,20,19,0.18); border: 1px solid var(--rule); overflow: hidden; font-size: 14px; line-height: 20px; }
.chat-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.chat-head strong { font-weight: 600; font-size: 14px; }
.chat-body { display: grid; gap: 10px; padding: 16px; }
.msg-q { justify-self: end; max-width: 85%; background: var(--ink); color: var(--paper); padding: 9px 12px; border-radius: 14px 14px 4px 14px; }
.msg-a { max-width: 92%; background: var(--surface); border: 1px solid var(--rule); padding: 10px 12px; border-radius: 14px 14px 14px 4px; }
.msg-src { display: block; margin-top: 6px; }
.chat-foot { border-top: 1px solid var(--rule); padding: 10px 16px; font-size: 12px; line-height: 16px; color: var(--grey); }
.catalog-caption { display: grid; gap: 0; }
@media (max-width: 640px) {
  .store { grid-template-columns: 1fr; padding: 16px; }
  .store-img { aspect-ratio: 16 / 9; }
  .store-line, .store-sizes { display: none; }
  .chat { position: static; width: 100%; margin-top: 4px; box-shadow: none; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.steps li { display: grid; gap: 10px; align-content: start; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.steps .n { font-family: var(--font-readout); font-size: 11px; line-height: 16px; font-weight: 500; color: var(--grey); }
.steps p { color: var(--grey); max-width: 30em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
  .steps li { border-bottom: 0; padding: 28px 0 0; }
}

/* ---------- Facts on paper: hairline lists ---------- */
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.facts li { display: grid; gap: 6px var(--gutter); padding: 22px 0; border-bottom: 1px solid var(--rule); }
.facts p { color: var(--grey); max-width: 40em; }
@media (min-width: 900px) { .facts li { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: baseline; } }

/* ---------- Pricing: a paper label card ---------- */
.price-card { background: var(--shade); border-radius: var(--radius-panel); overflow: hidden; max-width: 880px; }
.price-facts { list-style: none; margin: 0; padding: 0; display: grid; }
.price-facts li { display: grid; gap: 6px; align-content: start; padding: 28px; border-bottom: 1px solid var(--rule); }
.price { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; }
.price.words { font-size: 24px; line-height: 28px; letter-spacing: -0.015em; padding-top: 10px; padding-bottom: 10px; }
.price-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; }
@media (min-width: 768px) {
  .price-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
  .price-facts li { border-bottom: 0; }
  .price-facts li + li { border-left: 1px solid var(--rule); }
}

/* ---------- Questions ---------- */
.faq { border-top: 1px solid var(--rule); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-readout); font-size: 18px; color: var(--grey); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--grey); padding: 0 0 22px; max-width: 40em; }

/* ---------- Preview form ---------- */
.form-grid { display: grid; gap: 40px; }
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
@media (min-width: 1100px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); } }
form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 15px; }
.opt { color: var(--grey); font-weight: 400; }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--control); border-radius: var(--radius-label);
  padding: 14px; min-height: 52px;
}
textarea { min-height: 104px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--grey); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.hint { font-size: 14px; line-height: 20px; color: var(--grey); }
form .key { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--rule); padding: 40px 0 56px; }
.site-footer .row { align-items: end; }
.footer-meta { display: grid; gap: 12px; font-size: 14px; line-height: 20px; color: var(--grey); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.makers-mark img { height: 18px; width: auto; }
address { font-style: normal; }

/* ---------- Motion: a short crossfade only ---------- */
.fade { animation: fade 480ms var(--ease) both; }
.fade-2 { animation-delay: 120ms; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; }
  .key, .key:active { transition: none; transform: none; }
}

/* ---------- Privacy page ---------- */
section.tight { padding-top: 48px; }
.prose { display: grid; gap: 16px; max-width: 40em; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose p, .prose li { color: var(--grey); }
