/* Paper-aesthetic shared styles for littlewhy.app marketing site.
   Matches the app's wordmark + paper-feel: warm cream background,
   Newsreader serif body, Caveat for the wordmark accent. */

:root {
  --paper:     #FAF6EB;
  --paper-2:   #F4ECDC;
  --paper-edge:#E5DCC8;
  --ink:       #2b2620;
  --ink-soft:  #5a4f43;
  --ink-faint: #8a7d6c;
  --peach:     #f0c2a4;
  --peach-deep:#d97a3c;
  --max-w:     720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-faint);
}
a:hover { text-decoration-color: var(--ink); }

/* ===== Layout ===== */

.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 32px;
}

.site-header .logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
  box-shadow: 0 6px 16px rgba(60, 40, 20, 0.10);
}

.site-header .brand {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

.site-header .brand a { text-decoration: none; color: inherit; }

/* ===== Home hero ===== */

.hero {
  padding-top: 16px;
}

.hero h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}

.hero h1 .em {
  font-style: italic;
  font-weight: 500;
}

.hero .lede {
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 0 36px;
}

.hero .description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 580px;
  margin: 0 0 40px;
}

/* ===== App Store CTA ===== */

.app-store-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 14px 28px 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.app-store-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}
.app-store-cta .apple-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.app-store-cta .label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.app-store-cta .label .small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.app-store-cta .label .big {
  font-size: 20px;
  font-weight: 500;
}

/* ===== Contact line ===== */

.contact-line {
  margin: 64px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--paper-edge);
  font-size: 18px;
  color: var(--ink-soft);
}

/* ===== Legal pages ===== */

.legal h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 8px 0 32px;
}

.legal .body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}

.legal .effective {
  color: var(--ink-soft);
  font-style: italic;
  margin: -16px 0 28px;
  font-size: 16px;
}

.legal h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 36px 0 12px;
  color: var(--ink);
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin: 6px 0;
}

.legal a {
  color: var(--ink);
}

.legal .lead {
  font-size: 19px;
  color: var(--ink);
}

.legal .placeholder-note {
  font-style: italic;
  color: var(--ink-soft);
  background: var(--paper-2);
  border-left: 3px solid var(--peach-deep);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
}

/* ===== Footer ===== */

.site-footer {
  margin-top: auto;
  padding-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-faint);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer .copyright { margin-right: auto; }

/* ===== Responsive ===== */

@media (max-width: 560px) {
  .page { padding: 36px 20px 56px; }
  .hero h1 { font-size: 44px; }
  .hero .lede { font-size: 19px; }
  .legal h1 { font-size: 34px; }
}
