/* Proof & Ash — the app's palette, on paper. */
:root {
  --ink: #15120F;
  --surface: #211C17;
  --deep: #1B1713;
  --line: #3A312A;
  --text: #F3EBDD;
  --soft: #C9BBA9;
  --muted: #A8998A;
  --amber: #E0A458;
  --moss: #2A3A2E;
  --moss-text: #B9DCC0;
  --measure: 62ch;
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224,164,88,0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 100%, rgba(42,58,46,0.35), transparent 60%),
    var(--ink);
  min-height: 100dvh;
}
body::before {
  /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(224,164,88,.35); }
a:hover { border-bottom-color: var(--amber); }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 20px; }

/* masthead */
.mast { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 28px 0 0; }
.brand { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; color: var(--text); border: 0; }
.brand .amp { color: var(--amber); font-style: italic; font-weight: 400; }
.mast nav { display: flex; gap: 18px; font-size: .95rem; }
.mast nav a { color: var(--soft); border: 0; }
.mast nav a[aria-current] { color: var(--text); border-bottom: 1px solid var(--amber); }

/* eyebrow + title, like the app's screens */
.eyebrow { font-family: "Fraunces", serif; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin: 64px 0 10px; }
h1 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; }
h1 .amp { color: var(--amber); font-style: italic; font-weight: 300; }
.lede { font-size: 1.3rem; color: var(--soft); max-width: var(--measure); margin: 0 0 8px; }
.stamp { color: var(--muted); font-size: .95rem; }

h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.5rem; letter-spacing: -.01em; margin: 44px 0 10px; }
h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.15rem; margin: 28px 0 6px; }
p, li { max-width: var(--measure); }
ul { padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { color: var(--text); font-weight: 600; }

/* the one-glance card */
.card {
  margin: 36px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), var(--deep));
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.8);
}
.card h2 { margin-top: 0; font-size: 1.1rem; color: var(--amber); }
.card ul { margin: 0; }
.card li::marker { color: var(--amber); }

/* landing */
.hero { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; margin-top: 56px; }
.hero .art {
  aspect-ratio: 4/5; max-width: 300px; border-radius: 28px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2A2119 0%, var(--deep) 60%);
}
.hero .art::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 14%; height: 58%;
  border-radius: 40px 40px 12px 12px / 60px 60px 12px 12px;
  background: linear-gradient(180deg, rgba(224,164,88,.55), rgba(224,164,88,.85) 70%, rgba(150,95,40,.9));
  box-shadow: inset 0 0 40px rgba(0,0,0,.35), 0 20px 50px -20px rgba(224,164,88,.6);
  animation: pour 1.6s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pour { from { transform: translateY(30%) scaleY(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.hero .art::before {
  content: ""; position: absolute; left: 50%; top: 14%; width: 3px; height: 70%; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(243,235,221,.35) 30%, transparent 90%);
  filter: blur(1px); opacity: .8;
  animation: smoke 5s ease-in-out infinite alternate;
}
@keyframes smoke { from { transform: translateX(-50%) skewX(-6deg); } to { transform: translateX(-50%) skewX(8deg) translateY(-6px); } }
@media (min-width: 720px) { .hero { grid-template-columns: 1.3fr 1fr; } .hero .art { justify-self: end; } }

.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.features li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(33,28,23,.6); }
.features b { display: block; font-family: "Fraunces", serif; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.features span { color: var(--soft); font-size: 1rem; }
.cta { display: inline-block; margin-top: 30px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--amber); color: var(--ink); background: var(--amber); font-weight: 600; }
.cta.ghost { background: transparent; color: var(--amber); margin-left: 10px; }
.cta:hover { filter: brightness(1.06); }

/* reveal on load */
.reveal > :nth-child(-n+5) { animation: rise .7s ease both; }
.reveal > *:nth-child(2) { animation-delay: .08s; } .reveal > *:nth-child(3) { animation-delay: .16s; }
.reveal > *:nth-child(4) { animation-delay: .24s; } .reveal > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

footer { margin: 80px 0 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); border: 0; }
footer a:hover { color: var(--text); }
.mail { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .95em; }
