/* liturgikon.com — temporary site in the app's design tokens (docs/design/claude-design/tokens.css).
   Will be replaced by the Claude Design site layout. */

:root {
  --font-read: "Literata", "PT Serif", Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;

  --bg: #F6F1E7;
  --surface: #FFFCF6;
  --sunken: #EDE5D6;
  --text: #1F1A14;
  --text-2: #5A5146;
  --text-3: #6F665A;
  --hairline: #E0D6C4;
  --rubric: #A3301C;
  --brand: #2C68BC;
  --shadow: 0 1px 2px rgba(31, 26, 20, 0.06), 0 8px 24px rgba(31, 26, 20, 0.06);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130F;
    --surface: #1F1C17;
    --sunken: #29251F;
    --text: #ECE5D8;
    --text-2: #B6AC9C;
    --text-3: #968C7D;
    --hairline: #2F2A23;
    --rubric: #EB8467;
    --brand: #8DB3EA;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 700px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--text-2); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 48px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; }
.overline { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rubric); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--font-read); font-weight: 600; letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; margin: 0 0 18px; }
.lead { font-family: var(--font-read); font-size: 21px; line-height: 1.5; color: var(--text-2); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn-store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 14px; background: #000; color: #fff; text-decoration: none; font-weight: 600; font-size: 17px;
}
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.muted { color: var(--text-3); font-size: 15px; }
.hero-icon { justify-self: center; width: 240px; height: 240px; border-radius: 54px; box-shadow: var(--shadow); }

.promise {
  margin: 8px 0 56px; padding: 18px 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow);
  font-family: var(--font-read); font-size: 19px; line-height: 1.45;
}
.promise b { color: var(--rubric); font-weight: 600; }

/* Sections */
section { margin: 0 0 64px; }
section > h2 { font-size: 30px; line-height: 1.2; margin: 0 0 20px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { padding: 22px 24px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.card h3 { font-size: 21px; line-height: 1.3; margin: 0 0 8px; }
.card p { margin: 0; color: var(--text-2); }

.source p { font-family: var(--font-read); font-size: 19px; line-height: 1.55; margin: 0 0 12px; max-width: 36em; }

.faq details { border-bottom: 1px solid var(--hairline); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--text-2); max-width: 40em; }

.support { padding: 28px; border-radius: 24px; background: var(--sunken); }
.support h2 { margin-top: 0; }
.support p { margin: 0 0 8px; }
.support .email { font-size: 20px; font-weight: 600; }

/* Prose (privacy policy) */
.prose { padding-top: 24px; padding-bottom: 64px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 8px 0 8px; }
.prose .updated { color: var(--text-3); font-size: 15px; margin: 0 0 28px; }
.prose h2 { font-size: 24px; line-height: 1.3; margin: 36px 0 10px; }
.prose p, .prose li { font-family: var(--font-read); font-size: 18px; line-height: 1.6; }
.prose ul { padding-left: 1.2em; }
.prose nav.toc { padding: 16px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); margin: 0 0 12px; }
.prose nav.toc ol { margin: 0; padding-left: 1.2em; }
.prose nav.toc li { font-family: var(--font-ui); font-size: 16px; line-height: 1.8; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 48px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 28px 0 40px; color: var(--text-3); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer a { color: var(--text-2); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .hero-icon { grid-row: 1; justify-self: start; width: 96px; height: 96px; border-radius: 22px; }
  .features { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; font-size: 14px; }
  .site-nav .hide-sm { display: none; }
  .prose h1 { overflow-wrap: anywhere; }
}
