/* ===== Alpho — parchment & gold ===== */
:root {
  --parchment: #f3efe4;
  --parchment-deep: #eae4d3;
  --card: #faf7ee;
  --ink: #2b2620;
  --ink-soft: #5c5546;
  --gold: #a8842c;
  --gold-bright: #c9a24b;
  --line: #d9d2bd;
  --night: #23262d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.7;
}

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

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

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 228, 0.92);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 9px; display: block; }
.brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink);
}
nav.site-nav { display: flex; gap: 22px; font-size: 0.95rem; }
nav.site-nav a { color: var(--ink-soft); }
nav.site-nav a:hover { color: var(--gold); text-decoration: none; }

/* ===== Hero ===== */
.hero { text-align: center; padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -40% -20% auto -20%; height: 130%;
  background: radial-gradient(ellipse at 50% 18%, rgba(201, 162, 75, 0.22), transparent 55%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero img.mark {
  width: 132px; height: 132px; border-radius: 26px;
  box-shadow: 0 18px 44px rgba(43, 38, 32, 0.28);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.01em;
}
.hero h1 .gold { color: var(--gold); font-style: italic; }
.hero p.lede {
  max-width: 560px; margin: 18px auto 0; color: var(--ink-soft);
  font-size: 1.15rem;
}
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(168, 132, 44, 0.35); }
.btn-gold:hover { background: #93731f; text-decoration: none; }
.btn-quiet { border: 1px solid var(--line); color: var(--ink-soft); background: var(--card); }
.btn-quiet:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.hero .fine { margin-top: 14px; font-size: 0.88rem; color: var(--ink-soft); }

/* ===== Divider (diamond rule, echoing the app) ===== */
.rule {
  display: flex; align-items: center; gap: 14px;
  max-width: 420px; margin: 26px auto;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rule span { width: 8px; height: 8px; background: var(--gold-bright); transform: rotate(45deg); }

/* ===== Features ===== */
.features { padding: 40px 0 30px; }
.features .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 34px;
}
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px;
}
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature h3::before { content: "✦"; color: var(--gold-bright); margin-right: 9px; font-size: 0.9em; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }
.features h2, .shots h2 { text-align: center; font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* ===== Screenshots ===== */
.shots { padding: 40px 0 70px; }
.shots .row {
  display: flex; gap: 34px; justify-content: center; align-items: flex-start;
  flex-wrap: wrap; margin-top: 38px;
}
.shots figure { max-width: 300px; text-align: center; }
.shots img {
  width: 100%; border-radius: 26px; border: 1px solid var(--line);
  box-shadow: 0 20px 46px rgba(43, 38, 32, 0.18);
}
.shots figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Sub note ===== */
.subnote {
  background: var(--parchment-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 0; text-align: center;
}
.subnote h2 { font-size: 1.9rem; }
.subnote p { max-width: 620px; margin: 12px auto 0; color: var(--ink-soft); }

/* ===== Footer ===== */
footer.site {
  padding: 42px 0 54px; text-align: center; color: var(--ink-soft); font-size: 0.92rem;
}
footer.site nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--gold); }

/* ===== Document pages (privacy / terms / support) ===== */
.doc { padding: 56px 0 80px; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.7rem); margin-bottom: 6px; }
.doc .updated { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 34px; }
.doc h2 { font-size: 1.45rem; margin: 38px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin-bottom: 7px; }
.doc .card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin: 16px 0;
}

@media (max-width: 640px) {
  .hero { padding-top: 52px; }
  nav.site-nav { gap: 14px; font-size: 0.88rem; }
}
