/* Lucrova's public page (site/). The production kit's colours and type (branding/lucrova/production-kit-v1, tokens.json): Forest for
   emphasis, Ink for text and the dark band, Ivory and white for the page, Sage only on the dark band. Manrope, self-hosted below:
   body 400, controls and emphasis 500, headings 600. Mobile first. */

/* Manrope (the kit's Manrope-variable.woff2, weights 200 to 800). Copyright 2018 The Manrope Project Authors
   (https://github.com/googlefonts/manrope). This Font Software is licensed under the SIL Open Font License, Version 1.1:
   fonts/OFL.txt, served with it. */
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-variable.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --forest: #123c2e; --ink: #111310; --ivory: #f7f5ef; --white: #ffffff; --sage: #afcbb8;
  --text: #111310; --dim: #4d524c; --line: #e2dfd6; --panel: #ffffff; --soft: #eef2ee;
  --amber: #8a5300; --amber-soft: #fbf1e3;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --r: 14px; --r-lg: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
/* a section reached by a link lands below the sticky header: site.js sets --top-h to the header's real height (it grows when the text
   is larger and the header wraps); before that, a size in rem, which grows with the text too */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h, 5.5rem) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 1rem/1.6 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; margin: 0; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; }
a { color: var(--forest); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 20; padding: .6rem 1rem; background: var(--forest); color: var(--white); border-radius: 10px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus, section:focus { outline: none; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: 12px; border: 1px solid transparent;
  font: 500 1rem/1.25 var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: #0c2b21; }
.btn-quiet { background: transparent; color: var(--forest); border-color: #c9d6cd; }
.btn-quiet:hover { border-color: var(--forest); }
.btn-small { min-height: 44px; padding: .55rem 1rem; font-size: .9375rem; }

/* ---- header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 245, 239, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(247, 245, 239, .82); backdrop-filter: blur(8px); } }
/* with large text on a narrow phone the actions wrap under the logo rather than push the page wider */
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; min-height: 64px; padding-block: .5rem; }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; margin-left: -8px; border-radius: 8px; }
.brand img { width: 118px; height: auto; }
.nav { display: none; }
.top-acts { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.signin { font-weight: 500; text-decoration: none; padding: .5rem .25rem; }
@media (min-width: 860px) {
  .brand img { width: 142px; }
  .nav { display: flex; gap: 1.6rem; margin-left: 2rem; }
  .nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: .5rem 0; }
  .nav a:hover { color: var(--forest); }
}

/* ---- hero */
.hero { padding: 2.5rem 0 3rem; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.tagline { color: var(--forest); font-weight: 500; font-size: 1rem; margin-bottom: .9rem; }
h1 { font-size: clamp(2.25rem, 8vw, 3.75rem); line-height: 1.06; }
.lede { margin-top: 1.1rem; font-size: 1.125rem; line-height: 1.65; color: var(--dim); max-width: 34rem; }
.hero-acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.fine { margin-top: 1rem; font-size: .9375rem; color: var(--dim); }

/* ---- screens, as they are: the app's own screenshots in a plain frame */
figure { margin: 0; }
figcaption { margin-top: .6rem; font-size: .875rem; color: var(--dim); }
.frame { overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17, 19, 16, .05), 0 18px 40px -18px rgba(17, 19, 16, .25); }
.frame-desk { border-radius: var(--r); }
.frame-phone { border-radius: 26px; border-width: 6px; border-color: var(--ink); }
.hero-shot { position: relative; }
.hero-shot .frame-desk { display: none; }
.hero-shot .frame-phone { max-width: 290px; margin: 0 auto; }
.hero-shot figcaption { text-align: center; }
@media (min-width: 860px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 3rem; }
  .hero-shot { padding: 0 0 2.5rem; }
  .hero-shot .frame-desk { display: block; }
  .hero-shot .frame-phone { position: absolute; right: -10px; bottom: 0; width: 30%; max-width: 210px; margin: 0; }
  .hero-shot figcaption { text-align: left; }
}

/* ---- the product, one thing at a time */
.band { padding: 3.5rem 0; }
.band-h { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; }
.band-lede { margin-top: .8rem; max-width: 40rem; font-size: 1.0625rem; color: var(--dim); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature h3 { font-size: 1.5rem; line-height: 1.25; }
.feature-copy p { margin-top: .8rem; max-width: 34rem; }
.feature-copy p:first-of-type { color: var(--dim); }
.use { padding: .9rem 1rem; border-radius: var(--r); background: var(--soft); }
.use span { display: block; font-weight: 600; font-size: .875rem; color: var(--forest); margin-bottom: .15rem; }
.feature-shot-phone .frame-phone { max-width: 290px; margin: 0 auto; }
.feature-shot-phone figcaption { text-align: center; }
@media (min-width: 860px) {
  .band { padding: 5rem 0; }
  .hero + .band { padding-top: 2rem; }
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 3.5rem; margin-top: 4.5rem; }
  .feature-flip .feature-copy { order: 2; }
  .feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-shot-phone { display: flex; flex-direction: column; align-items: center; }
}

/* ---- the dark band: Ink, white text, Sage for emphasis */
.dark { background: var(--ink); color: var(--white); padding: 3.5rem 0; }
.dark-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.dark h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; }
.dark p { margin-top: .8rem; max-width: 30rem; color: #d4d8d2; font-size: 1.0625rem; }
.dark figcaption { color: #b8bdb6; }
.dark :focus-visible { outline-color: var(--sage); }
.frame-dark { background: #151517; border-color: #2b2e2a; }
@media (min-width: 860px) {
  .dark { padding: 5rem 0; }
  .dark-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 3.5rem; }
}

/* ---- where things stand with eBay */
.status { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2rem; }
.status-col { padding: 1.4rem 1.3rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.status-col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.125rem; }
.status-col ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.status-col li + li { margin-top: .5rem; }
.status-col .note { margin-top: 1rem; font-size: .9375rem; color: var(--dim); }
.dot { flex: none; width: .7rem; height: .7rem; border-radius: 50%; }
.dot-on { background: var(--forest); }
.dot-off { background: transparent; border: 2px solid var(--forest); }
.dot-no { background: #b7b9b3; }
@media (min-width: 860px) { .status { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- asking about the beta: an email, nothing collected on the page */
.beta { padding: 3.5rem 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.beta-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.beta h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; }
.beta-copy p { margin-top: .8rem; max-width: 30rem; color: var(--dim); font-size: 1.0625rem; }
.contact-card { display: grid; justify-items: start; gap: .6rem; padding: 1.5rem 1.4rem; max-width: 34rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ivory); }
.contact-hint { font-size: .9375rem; color: var(--dim); }
.contact-alt { margin-top: .4rem; }
.addr { font-weight: 600; color: var(--text); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.contact-note { font-size: .9375rem; color: var(--dim); }
@media (min-width: 860px) {
  .beta { padding: 5rem 0; }
  .beta-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; }
}

/* ---- about, and who to write to */
.faq + .about { padding-top: 1rem; }   /* the same ground as the questions: one gap, not two */
.about-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.about-who { margin-top: 1rem; font-weight: 500; }
.about-contacts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.about-contact { padding: 1.3rem 1.3rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.about-contact h3 { font-size: 1.125rem; }
.about-contact p { margin-top: .4rem; color: var(--dim); }
.about-contact a { display: inline-flex; align-items: center; min-height: 44px; margin-top: .3rem; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 860px) {
  .about-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
  .about-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- the privacy notice: one readable column */
.doc { padding: 2.5rem 0 3.5rem; }
.doc-in { max-width: 46rem; }
.doc h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; }
.doc .updated { margin-top: .6rem; color: var(--dim); font-size: .9375rem; }
.doc h2 { margin-top: 2.2rem; font-size: 1.375rem; line-height: 1.3; }
.doc p, .doc ul { margin-top: .8rem; }
.doc ul { padding-left: 1.2rem; }
.doc li + li { margin-top: .45rem; }
@media (min-width: 860px) { .doc { padding: 4rem 0 5rem; } }

/* ---- questions */
.faq-in { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .75rem 0; font-weight: 500; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; color: var(--forest); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.1rem; color: var(--dim); max-width: 40rem; }

/* ---- footer */
.foot { padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 1.25rem; justify-items: start; }
.foot-in img { margin-left: -6px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot-nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: .6rem 0; }
.foot-nav a:hover { color: var(--forest); }
.tm { font-size: .875rem; color: var(--dim); max-width: 40rem; }

@media (forced-colors: active) { .btn-primary { border-color: ButtonText; } .frame { border-color: CanvasText; } }
