/* The front door (/welcome, and getlimner.com). Its own stylesheet, on
   purpose: the page is always the light parchment look whatever the
   visitor's theme (owner's call, 2026-11-01), and it shares no chrome
   with the app. Colours are the app's daylight tokens from docs/DESIGN.md,
   plus the mahogany ground for the closing band. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/cormorant-garamond-italic.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #faf4e6;
  --paper-deep: #f1e7d2;
  --card: #fffdf6;
  --ink: #3b2f20;
  --ink-strong: #241a10;
  --muted: #6f604a;
  --brass: #b28f4f;
  --brass-deep: #8a6a34;
  --brass-light: #e9d6ac;
  --forest: #3f6a4e;
  --oxblood: #8a3a3f;
  --border: #e3d4b4;
  --mahogany: #22180f;
  --mahogany-ink: #efe4cc;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(60, 40, 15, 0.06), 0 12px 32px rgba(60, 40, 15, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brass-deep); }
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink-strong);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}
h2 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 18px; text-wrap: balance; }
h3 { font-size: 26px; margin-bottom: 8px; }
p { margin: 0 0 14px; }

.w-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.w-narrow { max-width: 720px; }
.w-center { text-align: center; }

/* Buttons: one main button, the same brass every time. */
.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.w-btn--main {
  background: linear-gradient(180deg, #d4b274, #b8924f);
  color: #1f160c;
  border: 1px solid #9a7740;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 6px 16px rgba(138, 106, 52, 0.28);
}
.w-btn--main:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 10px 22px rgba(138, 106, 52, 0.34); }
.w-btn--small { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.w-btn:focus-visible, .w-bar a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.w-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.w-actions--center { justify-content: center; }

/* Top bar */
.w-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 244, 230, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(227, 212, 180, 0.7);
}
.w-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.w-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-strong);
  text-decoration: none;
}
.w-bar-links { display: flex; align-items: center; gap: 20px; }
.w-bar-signin { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.w-bar-signin:hover { color: var(--brass-deep); }

/* 1. Hero */
.w-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 40%, rgba(212, 178, 116, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(241, 231, 210, 0.9), transparent 70%),
    var(--paper);
}
.w-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.w-hero h1 { font-size: clamp(52px, 7.4vw, 92px); line-height: 0.98; margin-bottom: 24px; text-wrap: balance; }
.w-lede { font-size: 21px; line-height: 1.55; color: var(--ink); max-width: 30em; }
.w-reassure { font-size: 15px; color: var(--muted); margin: 0; }

.w-hero-art { position: relative; margin: 0; display: flex; justify-content: center; }

/* The phone, drawn rather than photographed. */
.w-phone {
  position: relative;
  width: 300px;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a2c1f, #16100a);
  box-shadow: 0 40px 80px rgba(60, 40, 15, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.25);
  transform: rotate(2deg);
}
.w-phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 12px;
  background: #0d0905;
  z-index: 2;
}
.w-phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: var(--paper);
  padding: 50px 14px 0;
  font-size: 11px;
  line-height: 1.3;
}
.w-app-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.w-app-title { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--ink-strong); }
.w-app-count { color: var(--muted); font-size: 11px; }
.w-app-search {
  background: rgba(93, 70, 38, 0.07);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  color: #9a8a6c;
  margin-bottom: 8px;
}
.w-app-chips { display: flex; gap: 5px; margin-bottom: 10px; }
.w-app-chips span {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}
.w-app-chips .is-on { background: var(--ink-strong); color: var(--paper); border-color: var(--ink-strong); }
.w-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 12px; }
.w-tile { position: relative; }
.w-tile img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(40, 25, 10, 0.25);
}
.w-tag {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  padding: 2px 4px;
  border-radius: 5px;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.w-tag--read { background: rgba(63, 106, 78, 0.94); }
.w-tag--lent { background: rgba(138, 58, 63, 0.94); }
.w-app-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 -14px;
  padding: 9px 6px 16px;
  border-top: 1px solid var(--border);
  background: rgba(250, 244, 230, 0.96);
  color: #a4936f;
  font-size: 9.5px;
}
.w-app-tabs .is-on { color: var(--brass-deep); font-weight: 700; }
.w-app-add {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 700;
}

/* The shelf card floating beside the phone. */
.w-float {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.w-float--shelf {
  left: -8px;
  bottom: 40px;
  width: 210px;
  padding: 14px;
  transform: rotate(-3deg);
}
.w-float--shelf p { margin: 10px 0 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.w-float--shelf strong { color: var(--ink-strong); font-size: 14px; }
.w-spines {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
  padding: 0 6px;
  border-bottom: 4px solid #8d6b47;
  border-radius: 2px;
}
.w-spines i {
  flex: 1;
  height: var(--h);
  background: var(--c);
  border-radius: 2px 2px 0 0;
  outline: 2px solid rgba(178, 143, 79, 0.9);
  outline-offset: 1px;
}

/* Sections */
.w-section { padding: 96px 0; }
.w-intro { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 auto 44px; }

/* 2. Stakes */
.w-stakes { background: var(--paper-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.w-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.w-pain { text-align: center; padding: 8px 12px; }
.w-pain svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  fill: none;
  stroke: var(--oxblood);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.w-pain h3 { font-size: 28px; }
.w-pain p { color: var(--muted); margin: 0; }
.w-belief {
  margin: 48px auto 0;
  max-width: 26em;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--ink-strong);
}

/* 3. Value: the family card and the collector card */
.w-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.w-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 30px 30px;
  box-shadow: var(--shadow);
}
.w-card h3 { font-size: 32px; margin-bottom: 16px; }
.w-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.w-card-art {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
}
.w-mini-book img {
  width: 78px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(40, 25, 10, 0.25);
}
.w-who { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-strong); }
.w-who li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.w-who em { font-style: normal; color: var(--muted); }
.w-dot {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.w-copy { margin: 0; font-size: 14px; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.w-copy dt { color: var(--muted); }
.w-copy dd { margin: 0; color: var(--ink-strong); }
.w-copy .w-badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.w-badges span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(178, 143, 79, 0.16);
  border: 1px solid rgba(178, 143, 79, 0.5);
  color: var(--brass-deep);
  font-size: 12px;
  font-weight: 600;
}
.w-ticks { list-style: none; margin: 0; padding: 0; }
.w-ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.w-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(63, 106, 78, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%233f6a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}
.w-ticks li:last-child { margin-bottom: 0; }

/* 4. Guide */
.w-guide { background: var(--paper-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.w-guide-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.w-story { margin: 8px 0 0; padding: 0 0 0 26px; border-left: 3px solid var(--brass); }
.w-story p {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.42;
  color: var(--ink-strong);
  margin-bottom: 14px;
}
.w-story footer, .w-quote footer { font-size: 15px; color: var(--muted); }
.w-story footer::before, .w-quote footer::before { content: "— "; }
.w-proof {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.w-proof h3 { font-size: 28px; margin-bottom: 18px; }
.w-proof li { font-size: 16.5px; }
.w-proof strong { color: var(--ink-strong); }
.w-quotes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.w-quote { margin: 0; padding: 22px 24px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; }
.w-quote p { font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--ink-strong); }

/* 5. Plan */
.w-steps {
  list-style: none;
  margin: 48px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}
.w-steps li {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
}
.w-steps p { color: var(--muted); margin: 0; }
.w-step-n {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink-strong);
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
}

/* 6. The long version and questions */
.w-long p { font-size: 19px; }
.w-faq-title { font-size: 32px; margin: 48px 0 16px; }
.w-faq { border-top: 1px solid var(--border); }
.w-faq details { border-bottom: 1px solid var(--border); }
.w-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font-weight: 600;
  color: var(--ink-strong);
}
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--brass-deep);
}
.w-faq details[open] summary::after { content: "–"; }
.w-faq details p { margin: -4px 0 18px; color: var(--ink); font-size: 18px; }

/* Closing band */
.w-final {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(178, 143, 79, 0.22), transparent 70%),
    var(--mahogany);
  color: var(--mahogany-ink);
}
.w-final h2 { color: #f7efdd; font-size: clamp(42px, 6vw, 68px); }
.w-final p { font-size: 20px; color: #cdbd9c; }

/* Footer */
.w-foot { padding: 32px 0 44px; text-align: center; font-size: 15px; color: var(--muted); }
.w-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 10px; }
.w-foot a { color: var(--ink); text-decoration: none; }
.w-foot a:hover { color: var(--brass-deep); }
.w-foot p { margin: 0; }

@media (max-width: 900px) {
  .w-hero { padding: 44px 0 64px; }
  .w-hero-grid, .w-guide-grid, .w-two, .w-three, .w-steps { grid-template-columns: 1fr; }
  .w-hero-grid { gap: 48px; }
  .w-hero-copy { text-align: center; }
  .w-lede { margin-left: auto; margin-right: auto; }
  .w-hero .w-actions { justify-content: center; }
  .w-three { gap: 32px; }
  .w-guide-grid { gap: 36px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .w-wrap { padding: 0 16px; }
  .w-bar-inner { height: 60px; }
  .w-brand { font-size: 24px; }
  .w-bar-signin { font-size: 15px; }
  .w-bar-links { gap: 14px; }
  .w-bar .w-btn--small { min-height: 38px; padding: 6px 14px; font-size: 14px; }
  .w-lede { font-size: 19px; }
  .w-actions .w-btn { width: 100%; }
  .w-section, .w-final { padding: 68px 0; }
  .w-phone { width: 270px; }
  .w-float--shelf { left: 0; bottom: -24px; width: 180px; }
  .w-card { padding: 22px 20px 24px; }
  .w-card-art { padding: 14px; gap: 14px; }
  .w-mini-book img { width: 64px; }
  .w-proof { padding: 24px 20px; }
  .w-story p { font-size: 22px; }
  .w-belief { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .w-btn { transition: none; }
  .w-btn--main:hover { transform: none; }
}
