/* First Feather site — palette mirrors the app's Dawn (light) and Dusk (dark) themes. */

:root {
  --bg: #F5F0E8;          /* parchment */
  --surface: #FBF7F0;
  --text: #2C2417;        /* warm dark brown */
  --text-secondary: #7A6E5F;
  --text-tertiary: #A3988B;
  --accent: #C8860A;      /* amber */
  --sage: #4A7C59;
  --border: #D4C9B8;
  --shadow: 0 1px 2px rgba(44, 36, 23, 0.06), 0 4px 16px rgba(44, 36, 23, 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A2A1A;        /* deep forest */
    --surface: #243324;
    --text: #F2EDD8;
    --text-secondary: #9A8E7A;
    --text-tertiary: #6B6253;
    --accent: #E8A020;
    --sage: #6A9E79;
    --border: #3A4F3A;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

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

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Header / footer */

.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: Georgia, serif; font-weight: 700; font-size: 20px;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--text-secondary); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px; padding: 24px 0 40px;
  color: var(--text-tertiary); font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer a { color: var(--text-secondary); }

/* Landing page */

.hero { text-align: center; padding: 56px 0 24px; }
.hero-icon {
  width: 120px; height: 120px; border-radius: 27px;
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(36px, 8vw, 52px); margin-top: 20px; }
.tagline {
  font-family: Georgia, serif; font-style: italic;
  font-size: clamp(18px, 4vw, 22px); color: var(--text-secondary);
  margin: 0 auto 28px; max-width: 32em;
}
.store-status {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  border: 1.5px dashed var(--accent); color: var(--text);
  font-weight: 600; font-size: 15px;
}

.features {
  display: grid; gap: 14px; margin: 40px 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 18px 16px; box-shadow: var(--shadow);
}
.feature h2 { font-size: 19px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* Text pages (privacy, support) */

.page { padding-top: 40px; }
.page h1 { font-size: clamp(30px, 7vw, 40px); }
.meta { color: var(--text-tertiary); font-size: 14px; margin-top: -4px; }
.page h2 { font-size: 21px; margin-top: 32px; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 1.2em; }

.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; margin: 24px 0; box-shadow: var(--shadow);
}
.contact-card p { margin: 0 0 6px; }
.contact-card .email { font-size: 20px; font-weight: 600; word-break: break-word; }

details {
  border-bottom: 1px solid var(--border); padding: 12px 0 12px 1.1em;
}
summary {
  cursor: pointer; font-weight: 600; list-style-position: outside;
}
details p { margin: 8px 0 0; color: var(--text-secondary); }
