/* berenad — shared styles for every app page */

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --text: #1b1a17;
  --muted: #6b675f;
  --line: #e8e3d8;
  --gold: #b8932a;
  --gold-soft: #d4b038;
  --gold-tint: rgba(212, 176, 56, 0.12);
  --radius: 22px;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1013;
    --surface: #17181c;
    --text: #f2efe8;
    --muted: #a19c92;
    --line: #2a2b30;
    --gold: #d4b038;
    --gold-tint: rgba(212, 176, 56, 0.14);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* Header and footer */

.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  font: 700 20px/1 var(--serif);
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

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

/* Typography */

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 54px); }
h2 { font-size: clamp(24px, 4vw, 32px); margin-top: 48px; }
h3 { font-size: 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Hero */

.hero { padding: 72px 0 32px; }
.hero.center { text-align: center; }
.hero.center .lead { margin: 0 auto; }
.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  margin: 0 auto 24px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  margin-top: 28px;
}
.button:hover { text-decoration: none; opacity: 0.9; }
.button.disabled { background: var(--line); color: var(--muted); cursor: default; }
.button.disabled:hover { opacity: 1; }

/* App cards (home) */

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.app-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); }
.app-card img { width: 72px; height: 72px; border-radius: 17px; flex: none; }
.app-card h3 { margin: 0 0 4px; }
.app-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-tint);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.quote {
  margin: 56px auto 0;
  max-width: 680px;
  text-align: center;
  font: italic 26px/1.45 var(--serif);
}
.quote cite {
  display: block;
  margin-top: 14px;
  font: 700 13px/1 var(--sans);
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Long-form documents (privacy, support) */

.doc { padding: 56px 0 0; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 20px;
}
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .nav { gap: 14px; }
}
