@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Fraunces:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --bg:      #0c0d10;
  --surface: #13151a;
  --border:  #23262f;
  --text:    #e4e8f4;
  --muted:   #6e7490;
  --gold:    #c8a84b;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Shared header ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,13,16,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
  height: 56px;
}
.site-header .wordmark {
  font-family: Fraunces, serif; font-style: italic;
  font-size: 1.25rem; color: var(--text); text-decoration: none;
}
.site-header .brandlock{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--text)}
.site-header .brand-mono{width:20px;height:20px;display:block;color:var(--text);flex:0 0 auto}
.site-header .brandlock .wm{font-family:Fraunces,serif;font-size:1.02rem;letter-spacing:.26em;color:var(--text)}
.site-header nav a.on{color:var(--text)}
.site-header nav a {
  color: var(--muted); text-decoration: none;
  font-size: .85rem; font-weight: 500; letter-spacing: .04em;
  transition: color .2s;
}
.site-header nav a:hover { color: var(--text); }
.site-header nav { display: flex; gap: 1.5rem; margin-left: auto; }
.cx-crumb{max-width:1200px;margin:0 auto;padding:16px 2rem 0;font-family:Inter,system-ui,sans-serif;font-size:.8rem;letter-spacing:.03em;color:var(--muted)}
.cx-crumb a{color:var(--muted);text-decoration:none}
.cx-crumb a:hover{color:var(--text)}
.cx-crumb .sep{margin:0 .5rem;opacity:.45}
.cx-crumb .cur{color:var(--text)}

/* ── Hero section ─────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 760px; margin: 0 auto;
}
.hero .eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1 {
  font-family: Fraunces, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.1rem; color: var(--muted);
  max-width: 560px; margin: 0 auto 2.5rem;
}
.hero .cta {
  display: inline-block;
  padding: .75rem 2rem; border-radius: 6px;
  background: var(--gold); color: #0c0d10;
  font-weight: 700; font-size: .9rem; letter-spacing: .06em;
  text-decoration: none; text-transform: uppercase;
  transition: opacity .2s;
}
.hero .cta:hover { opacity: .85; }

/* ── Plug-in grid ─────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem 6rem;
  max-width: 1200px; margin: 0 auto;
}

/* ── Plugin tile card ─────────────────────────────────────────────────────── */
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  border-color: #3a3d4a;
}
.tile .thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 0 .75rem;
  background: #09090b;
}
.tile .thumb svg {
  width: 160px;
  height: 160px;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.55));
}
.tile .info {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1; display: flex; flex-direction: column; gap: .35rem;
}
.tile .info .tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
.tile .info h2 {
  font-family: Fraunces, serif;
  font-size: 1.5rem; font-weight: 700; line-height: 1.1;
}
.tile .info p {
  font-size: .85rem; color: var(--muted); margin-top: .25rem;
}
.tile .info .chips {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem;
}
.tile .info .chip {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  padding: .25rem .7rem; border-radius: 99px;
  border: 1px solid var(--border); color: var(--muted);
}

/* ── Plugin-detail page ────────────────────────────────────────────────────── */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
@media (max-width: 700px) {
  .detail-hero { grid-template-columns: 1fr; }
}
.detail-hero .face-col {
  display: flex; align-items: center; justify-content: center;
}
.detail-hero .face-col svg {
  width: 100%; max-width: 380px; height: auto;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,.7));
}
.detail-hero .copy-col .eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase; margin-bottom: .75rem;
}
.detail-hero .copy-col h1 {
  font-family: Fraunces, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700; line-height: 1.0; margin-bottom: 1rem;
}
.detail-hero .copy-col .hook {
  font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem;
}
.detail-hero .copy-col .buy-btn {
  display: inline-block;
  padding: .8rem 2.2rem; border-radius: 6px;
  background: var(--gold); color: #0c0d10;
  font-weight: 700; font-size: .9rem; letter-spacing: .08em;
  text-decoration: none; text-transform: uppercase;
  transition: opacity .2s;
}
.detail-hero .copy-col .buy-btn:hover { opacity: .85; }

.section {
  max-width: 800px; margin: 0 auto; padding: 3rem 2rem;
}
.section h2 {
  font-family: Fraunces, serif; font-size: 1.75rem; margin-bottom: 1.25rem;
}
.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: .6rem;
}
.feature-list li {
  padding-left: 1.4rem; position: relative;
  font-size: .95rem; color: var(--muted);
}
.feature-list li::before {
  content: "–";
  position: absolute; left: 0; color: var(--gold);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: .8rem; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ── Section rails + card meta (restored) ─────────────────────────────────── */
.rail { max-width: 1100px; margin: 2.6rem auto .4rem; padding: 0 2rem; }
.rail-head h3 { font-family: Fraunces, serif; font-size: 1.5rem; color: var(--text); }
.rail-head .note { color: var(--muted); font-size: .92rem; max-width: 62ch; margin-top: .4rem; }
.metatop { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.meta { font-size: .72rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.meta.beta { color: var(--gold); }
.meta.price { color: var(--text); }
.meta.price.free { color: #8fd0bf; }
.appstore { display: inline-flex; align-items: center; margin-top: 1rem;
  background: #000; color: #fff; border: 1px solid #3a3a3a; border-radius: 11px;
  padding: .6rem 1.15rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.appstore:hover { border-color: #666; }
/* Coming-soon App Store CTA (apps unshipped) */
.appstore.soon{pointer-events:none;position:relative}
.appstore.soon::after{content:"Coming soon";position:absolute;top:-8px;right:-10px;background:#c7a24a;color:#161310;font:600 8px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;padding:3px 7px;border-radius:100px;white-space:nowrap}

.crossover { max-width: 1100px; margin: 2.4rem auto 0; padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  text-decoration: none; transition: border-color .2s; }
.crossover:hover { border-color: var(--gold); }
.crossover .eyebrow { color: var(--muted); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; }
.crossover h3 { font-family: Fraunces, serif; font-size: 1.2rem; color: var(--text); margin: .25rem 0; }
.crossover p { color: var(--muted); font-size: .9rem; max-width: 60ch; }
.crossover .xo-go { color: var(--gold); font-size: .78rem; white-space: nowrap; letter-spacing: .06em; text-transform: uppercase; }
/* real product captures replace the SVG mockups */
.thumb { background: none !important; padding: 0 !important; display: block; }
.thumb .pshot { width: 100%; height: auto; display: block; border-radius: 10px; }
.face-col .pshot.big { width: 100%; height: auto; display: block; border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); }
