/* Esdras website — brand: navy / leather / cream, Cinzel + Source Sans 3 */
:root {
  --navy: #1d2b3a;
  --navy-2: #283a4d;
  --leather: #9a5b34;
  --leather-light: #d29a6a;
  --cream: #f6f2ea;
  --paper: #ffffff;
  --muted: #5b6470;
  --line: #e4ddd0;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 17px/1.65 "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leather); }
a:hover { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: Cinzel, Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: .03em; }
p { margin: 0 0 1em; }
.eyebrow {
  font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--leather); margin-bottom: .8em;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; }
.brand span { font: 700 1.35rem Cinzel, Georgia, serif; letter-spacing: .18em; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--leather); }

.btn {
  display: inline-block; background: var(--navy); color: var(--cream) !important; text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 6px; border: 2px solid var(--navy);
}
.btn:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--navy) !important; }
.btn.ghost:hover { background: var(--paper); }
.nav .btn { padding: 8px 16px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-mark { justify-self: center; width: min(340px, 80%); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.verse { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; color: var(--leather); font-size: 1.25rem; margin-top: 18px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--cream); }
.card svg { width: 30px; height: 30px; stroke: var(--leather); fill: none; stroke-width: 1.8; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--cream); color: var(--leather); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; margin-left: 6px;
  vertical-align: middle;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--leather); border-bottom: 2px solid var(--leather); transform: rotate(-45deg); }

.story { background: var(--navy); color: var(--cream); }
.story h2 { color: var(--cream); }
.story p { color: #cfd6de; max-width: 46em; }
.story .verse { color: var(--leather-light); font-size: 1.5rem; }

.cta { text-align: center; }
.cta .lead { margin: 0 auto 24px; }

/* Legal / text pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 820px; }
.page h2 { font-size: 1.35rem; margin-top: 2em; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .95rem; }
.notice { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--leather); padding: 14px 18px; border-radius: 6px; margin: 1.5em 0; }

details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: .7em 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #aab4c0; padding: 40px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--cream); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--leather-light); }
.site-footer .brand span { color: var(--cream); font-size: 1.1rem; }
.site-footer .brand img { width: 32px; height: 32px; }

@media (max-width: 820px) {
  .hero { padding: 48px 0; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: 180px; }
  .nav { gap: 14px; }
}

/* ---------- screenshots (added with the app screens and the AI section) */
.shot { border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
        box-shadow: 0 1px 2px rgba(29,43,58,.06), 0 12px 32px rgba(29,43,58,.10); }
.shot .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #faf8f4; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero-shot { margin-bottom: 28px; }
.gallery { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.privacy-note { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: .96rem; }
section.alt .privacy-note { background: var(--cream); }
.site-footer .maker { display: flex; align-items: center; gap: 10px; }
.site-footer .maker img { height: 26px; width: auto; }
