:root {
  --wine: #5A1A22;
  --wine-deep: #3A1117;
  --cream: #F4ECDB;
  --red: #C8324B;
  --gold: #E0A43B;
  --ink: #15191B;
  --paper: #FBF7EF;
  --muted: #6b5e57;
  --line: rgba(21,25,27,.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(90,26,34,.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(224,164,59,.25);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
header.site .logo img { height: 26px; }
header.site nav { display: flex; gap: 1.6rem; align-items: center; }
header.site nav a { color: var(--cream); text-decoration: none; font-size: .92rem; opacity: .85; }
header.site nav a:hover { opacity: 1; color: var(--gold); }
@media (max-width: 720px){ header.site nav a.navlink { display:none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: .7rem 1.4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .08s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #efb24f; }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244,236,219,.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine:hover { background: var(--wine-deep); }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 130% at 50% -10%, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--cream); text-align: center; padding: 5.5rem 0 6rem;
}
.hero .mark { width: 96px; height: 96px; margin: 0 auto 1.6rem; border-radius: 22px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.08; margin: 0 0 1rem; }
.hero h1 .gold { color: var(--gold); }
.hero p.sub { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 36rem; margin: 0 auto 2.2rem; opacity: .92; }
.hero .cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.trust { margin-top: 2.6rem; font-size: .85rem; letter-spacing: .04em; opacity: .8; }
.trust span { white-space: nowrap; }

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 .6rem; text-align: center; }
section .lede { text-align: center; color: var(--muted); max-width: 38rem; margin: 0 auto 2.8rem; font-size: 1.08rem; }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--red); font-weight: 700; margin-bottom: .8rem; }

/* feature grid */
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem;
}
.card .ic { font-size: 1.5rem; margin-bottom: .6rem; }
.card h3 { font-size: 1.18rem; margin: 0 0 .4rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* systems pills */
.systems { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.systems span {
  border: 1px solid rgba(90,26,34,.25); color: var(--wine);
  border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; font-size: .95rem;
}
.systems span.beta { opacity: .55; font-weight: 500; }

/* how it works / code */
.howit { background: var(--wine); color: var(--cream); }
.howit h2, .howit .lede { color: var(--cream); }
.howit .lede { opacity: .85; }
.code {
  background: #15191B; border-radius: 14px; padding: 1.3rem 1.5rem; overflow-x: auto;
  border: 1px solid rgba(224,164,59,.25); max-width: 760px; margin: 0 auto;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.6;
}
.code pre { margin: 0; white-space: pre; }
.code .k { color: var(--gold); }
.code .s { color: #9ad8a0; }
.code .c { color: #8a7f78; }

/* comparison */
.compare { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background:#fff; }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; }
.compare-row > div { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare-row.head > div { background: var(--cream); font-weight: 700; font-family: Georgia, serif; }
.compare-row > div:first-child { text-align: left; color: var(--muted); }
.compare-row .yes { color: #2e7d4f; font-weight: 700; text-align: center; }
.compare-row .no { color: #b23; text-align: center; }
.compare-row .brigid { background: rgba(224,164,59,.08); text-align: center; }
.compare-row.head .brigid { color: var(--wine); }

/* who */
.audience { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.audience .card { border-top: 4px solid var(--gold); }

/* final cta */
.final {
  text-align: center;
  background: radial-gradient(120% 130% at 50% 120%, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--cream);
}
.final h2 { color: var(--cream); }
.final p { max-width: 34rem; margin: 0 auto 2rem; opacity: .9; }

/* footer */
footer.site { background: var(--ink); color: rgba(244,236,219,.7); padding: 2.5rem 0; }
footer.site .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer.site img { height: 22px; opacity: .85; }
footer.site a { color: var(--gold); text-decoration: none; }
footer.site .small { font-size: .82rem; }

/* ---------- apps / see it in action ---------- */
.apps { background: var(--cream); }
.stores { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--ink); color: var(--cream);
  border-radius: 12px; padding: .65rem 1.2rem; text-decoration: none;
  border: 1px solid var(--ink); transition: transform .08s ease, background .2s ease;
}
.store:hover { background: #000; transform: translateY(-1px); }
.store svg { flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store span small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.store span { font-size: 1.15rem; font-weight: 600; font-family: Georgia, serif; }
.store.disabled { background: #8c857d; border-color: #8c857d; cursor: default; }
.store.disabled:hover { background: #8c857d; transform: none; }
.apps-foot { text-align: center; color: var(--muted); font-size: .85rem; margin: 1.4rem 0 0; }
