/* morningowl Ghost theme — base layer.
 * Design tokens mirror web/tailwind.config.ts so the look ports 1:1.
 * Step 3 fleshes out the full landing/hero/pricing design; this is the baseline
 * so the activated theme already reads as morningowl (violet/cream, Inter/Serif).
 */

:root {
  /* palette — from tailwind.config.ts (Direction C brand) */
  --ink:        #0f172a;
  --paper:      #fdfcf7;
  --owl:        #3b82f6;
  --muted:      #64748b;
  --brand:      #7c47d6;
  --brandink:   #241c3a;
  --brandamber: #f9c440;
  --brandsoft:  #fde68a;
  --brandcream: #fbf9f4;
  --brandlilac: #f3effb;
  --brandfoot:  #241c3a;

  --font-sans:  "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Source Serif 4", ui-serif, Georgia, serif;
  --font-mono:  "JetBrains Mono", ui-monospace, monospace;

  --wrap:        64rem;   /* max-w-5xl */
  --wrap-narrow: 42rem;
}

/* gradients ported from globals.css */
.hero-grad   { background: linear-gradient(135deg, #ffe7cf 0%, #ffd9d0 32%, #e9d8fb 72%, #d6defe 100%); }
.coffee-grad { background: linear-gradient(180deg, #fff4e2 0%, #fdeede 36%, #fbf9f4 100%); }

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

html { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--font-sans); line-height: 1.5; }

a { color: var(--owl); text-underline-offset: 2px; text-decoration: none; }
a:hover { text-decoration: underline; }

pre, code { font-family: var(--font-mono); }

h1, h2, h3 { font-family: var(--font-serif); color: var(--brandink); line-height: 1.15; margin: 0 0 .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: var(--wrap-narrow); }

/* ── header ───────────────────────────────────────────── */
.site-header { background: var(--paper); border-bottom: 1px solid var(--brandlilac); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brandmark { display: inline-flex; align-items: center; }
.brandmark-logo { height: 38px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; font-size: .95rem; }
.site-nav a { color: var(--brandink); }
.site-nav-cta { background: var(--brandink); color: #fff !important; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; }
.site-nav-cta:hover { text-decoration: none; opacity: .92; }

/* mobile menu toggle (hidden on desktop; shown < 640px) */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; margin-right: -.5rem; padding: 0; background: transparent; border: 0; color: var(--brandink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; left: 0; top: -7px; }
.nav-toggle-bars::after  { position: absolute; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ── archive list ─────────────────────────────────────── */
.site-main { min-height: 60vh; }
.archive { padding: 3rem 0; }
.archive-head { margin-bottom: 2rem; }
.archive-title { font-size: 2rem; }
.archive-sub { color: var(--muted); margin: 0; }
.note-list { display: grid; gap: 1rem; }
.note-card { background: #fff; border: 1px solid var(--brandlilac); border-radius: 14px; transition: box-shadow .15s, transform .15s; }
.note-card:hover { box-shadow: 0 10px 30px -12px rgba(36,28,58,.25); transform: translateY(-1px); }
.note-card-link { display: block; padding: 1.25rem 1.4rem; }
.note-card-date { font-family: var(--font-mono); font-size: .8rem; color: var(--brand); }
.note-card-title { font-size: 1.25rem; margin: .35rem 0 .4rem; }
.note-card-excerpt { color: var(--muted); margin: 0; }

/* ── single note / page ───────────────────────────────── */
.note, .page { padding: 3rem 0; }
.note-back-nav { margin: 0 0 1.25rem; }
.note-back { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--brand); }
.note-back:hover { text-decoration: underline; }
.note-date { font-family: var(--font-mono); font-size: .85rem; color: var(--brand); }
.note-title, .page-title { font-size: 2.2rem; margin-top: .3rem; }
.note-content, .page-content { font-size: 1.05rem; color: var(--ink); }
.note-content p, .page-content p { margin: 0 0 1rem; }
.note-content img, .page-content img { max-width: 100%; height: auto; border-radius: 10px; }

/* ── per-ticker note cards ────────────────────────────────
   The pipeline bakes this HTML into each post body (mirrors
   web/src/components/NoteCards.tsx). Step 5 styles it; Step 6 emits it. */
/* font-synthesis:none keeps the real serif italic on the text but stops the browser
   synthetically obliquing (slanting) emoji, which have no italic face. */
.note-intro { font-family: var(--font-serif); font-size: 18px; font-style: italic; font-synthesis: none; line-height: 1.6; color: #6a5f86; margin: 0 0 1.25rem; }
.ticker-card { border: 1px solid #ece6f5; background: #fff; border-radius: 16px; padding: 1.25rem 1.35rem; box-shadow: 0 1px 0 rgba(36,28,58,.04); margin: 0 0 1rem; }
.ticker-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ticker-id { display: flex; align-items: baseline; gap: .5rem; }
.ticker-dir { font-size: .9rem; }
.ticker-up .ticker-dir { color: #1f8b56; }
.ticker-down .ticker-dir { color: #c23b6a; }
.ticker-company { font-weight: 700; color: var(--brandink); }
.ticker-symbol { font-size: .85rem; font-weight: 600; color: #9a8fb4; }
.moi-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.moi-badge { flex-shrink: 0; border-radius: 999px; padding: .25rem .6rem; font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.moi-badge.moi-up { background: #e7f6ee; color: #1f8b56; }
.moi-badge.moi-down { background: #fdeaf0; color: #c23b6a; }
.moi-move { font-size: .68rem; color: #9a8fb4; text-align: right; }
.ticker-sentence { font-family: var(--font-serif); font-size: 17px; line-height: 1.55; color: #332a4d; margin: .85rem 0 0; }
.ticker-para { font-size: 14.5px; line-height: 1.65; color: #5b5074; margin: .75rem 0 0; }
.note-outro { font-size: 15px; line-height: 1.6; color: #8a7fa6; margin: 1rem 0 0; }
.note-legend { border-top: 1px solid #ece6f5; padding-top: 1rem; margin-top: 1.25rem; font-size: 13px; line-height: 1.5; color: #9a8fb4; }
.note-disclaimer { margin-top: 1rem; font-size: 12px; font-style: italic; line-height: 1.5; color: #b3a9c6; }

/* ── products / sample page (index.hbs at /products/) ── */
.products { padding: 3rem 1.5rem 4rem; }
.products-head { margin-bottom: 2.5rem; }
.products-title { font-family: var(--font-sans); font-size: clamp(28px,4.5vw,40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--brandink); margin: .5rem 0 .6rem; }

.tier-sample { border: 1px solid #ece6f5; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(36,28,58,.04); margin-top: 1.5rem; }
.tier-sample-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid #f1ecf8; background: linear-gradient(to right, var(--brandcream), #fff); }
.tier-sample-label { font-size: 13px; font-weight: 600; color: #6b6088; }
.tier-toggle { display: inline-flex; background: #efe9f6; border-radius: 999px; padding: 4px; }
.tier-btn { border: 0; background: transparent; border-radius: 999px; padding: .35rem .9rem; font: inherit; font-size: 13px; font-weight: 600; color: #6b6088; cursor: pointer; transition: background .15s, color .15s; }
.tier-btn.active { background: var(--brand); color: #fff; box-shadow: 0 1px 3px rgba(124,71,214,.4); }
.tier-pane { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
/* The [hidden] attribute must beat the display:flex above, or both panes stack. */
.tier-pane[hidden], .tier-cap[hidden] { display: none; }
.tier-pane .ticker-card { margin-bottom: 0; }
.tier-sample-foot { border-top: 1px solid #f1ecf8; background: rgba(243,239,251,.5); padding: .85rem 1.25rem; }
.tier-cap { font-size: 13px; line-height: 1.5; color: #6b6088; margin: 0; }

/* Koenig (editor) content-width cards — required by Ghost (GS050) */
.note-content :is(.kg-width-wide), .page-content :is(.kg-width-wide) {
    position: relative; width: 85vw; min-width: 100%;
    margin-left: 50%; transform: translateX(-50%);
    max-width: 50rem;
}
.note-content :is(.kg-width-full), .page-content :is(.kg-width-full) {
    position: relative; width: 100vw;
    margin-left: 50%; transform: translateX(-50%);
    max-width: 100vw; border-radius: 0;
}

/* ── footer (mirrors web/src/app/layout.tsx) ──────────── */
.site-footer { background: var(--brandfoot); color: #c9bdf0; margin-top: 4rem; }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-top: 2.5rem; padding-bottom: 1rem; }
.brandmark-dark, .brandmark-dark .brandmark-word { color: #fff; }
.site-footer-tagline { color: #9d90c8; font-size: .85rem; max-width: 18rem; margin: .6rem 0 0; }
.site-footer-cols { display: flex; flex-wrap: wrap; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col-title { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 700; color: #7d6fb0; margin: 0 0 .2rem; }
.footer-col a { color: #c9bdf0; font-size: .9rem; }
.footer-social { display: flex; gap: .9rem; }
.footer-social a { display: inline-flex; color: #c9bdf0; opacity: .85; transition: opacity .15s; }
.footer-social a:hover { opacity: 1; }
.site-footer-fine { border-top: 1px solid #3a2f57; padding-top: 1rem; padding-bottom: 2rem; font-size: .75rem; color: #7d6fb0; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; font-family: var(--font-mono); font-size: .85rem; }

/* ══ landing page (home.hbs) ══════════════════════════════ */

/* shared section bits */
.eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #8a5cf6; margin: 0 0 .75rem; }
.section-head { font-size: clamp(1.6rem, 3.5vw, 1.95rem); font-weight: 800; letter-spacing: -.02em; color: var(--brandink); margin: 0 0 .6rem; }
.section-lead { font-size: 1.1rem; line-height: 1.6; color: #534a68; max-width: 38rem; margin: 0 0 1rem; }
.section-lead-center { margin-left: auto; margin-right: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .8rem 1.5rem; font-size: .9rem; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.btn:hover { text-decoration: none; opacity: .9; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-soft  { background: var(--brandsoft); color: #3a2c00; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* hero */
.hero { }
.hero-inner { padding-top: 3.5rem; padding-bottom: 4rem; }
.eyebrow-hero { color: #8a5cf6; }
.hero-headline { font-family: var(--font-sans); font-size: clamp(38px, 6vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; color: var(--brandink); max-width: 640px; margin: 0; }
.hero-lead { font-size: 1.15rem; line-height: 1.6; color: #534a68; max-width: 36rem; margin: 1rem 0 0; }

/* why + funnel */
.why { padding: 4rem 1.5rem; text-align: center; }
.funnel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem; margin-top: 2rem; }
.funnel-step { min-width: 150px; border: 1px solid #ece6f5; background: #fff; border-radius: 12px; padding: 1rem; }
.funnel-step-accent { border-color: var(--brand); background: var(--brand); }
.funnel-big { font-size: 26px; font-weight: 800; color: var(--brand); }
.funnel-step-accent .funnel-big { color: var(--brandsoft); }
.funnel-lbl { margin-top: .35rem; font-size: 13px; line-height: 1.25; color: #7a7090; }
.funnel-step-accent .funnel-lbl { color: #e4d8ff; }
.funnel-arrow { font-size: 1.25rem; font-weight: 700; color: #c9a227; }

/* how it works */
.how { background: var(--brandcream); padding: 4rem 0; }
.how-grid { display: grid; gap: 1rem; margin-top: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-card { border: 1px solid #efe9f6; background: #fff; border-radius: 16px; padding: 1.5rem; }
.how-k { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--brand); margin: 0; }
.how-h { font-family: var(--font-sans); font-size: 17px; font-weight: 700; color: var(--brandink); margin: .75rem 0 .5rem; }
.how-p { font-size: 14.5px; line-height: 1.55; color: #5b5170; margin: 0; }

/* sample / archive */
.sample { padding: 4rem 1.5rem; }
.sample-social { display: flex; align-items: center; gap: .9rem; margin-top: 1.75rem; }
.sample-social-label { font-size: 13px; font-weight: 600; color: #8a7fa6; }
.sample-social-icons { display: inline-flex; gap: .9rem; }
.sample-social-icons a { display: inline-flex; color: var(--brand); opacity: .8; transition: opacity .15s; }
.sample-social-icons a:hover { opacity: 1; }

/* about */
.about { background: var(--brandcream); padding: 4rem 0; }

/* manifesto — light purple credibility band (landing) */
.manifesto { background: var(--brandlilac); padding: 4.5rem 0; }
.manifesto-inner { text-align: center; }
.manifesto-eyebrow { color: #8a5cf6; }
.manifesto-head { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.6vw, 2.1rem); font-weight: 600; line-height: 1.2; color: var(--brandink); margin: 0 auto .9rem; max-width: 24ch; }
.manifesto-body { font-size: 1.05rem; line-height: 1.7; color: #534a68; max-width: 42rem; margin: 0 auto 1rem; }
.manifesto-body:last-child { margin-bottom: 0; }

/* cta band */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 3.5rem 0; }
.cta-band-head { font-family: var(--font-sans); font-size: clamp(1.6rem, 3.5vw, 1.95rem); font-weight: 800; color: #fff; margin: 0 0 .6rem; }
.cta-band-lead { font-size: 1.1rem; line-height: 1.6; color: #e4d8ff; max-width: 32rem; margin: 0 auto 1.5rem; }
.cta-band .btn { }

/* ══ pricing page (pricing.hbs) ══════════════════════════ */
.pricing-hero { text-align: center; padding-bottom: 3rem; }
.pricing-title { font-family: var(--font-sans); font-size: clamp(30px, 5vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--brandink); margin: 0 0 .75rem; }

.plan-section { padding-top: 3.5rem; }
.plan-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { display: flex; flex-direction: column; border: 1px solid #ece6f5; background: #fff; border-radius: 16px; padding: 1.75rem; transition: box-shadow .15s; }
.plan-card:hover { box-shadow: 0 12px 30px -16px rgba(36,28,58,.3); }
.plan-card-pro { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 16px 40px -18px rgba(124,71,214,.5); }

/* The whole Basic/Pro card is a clickable link to the Portal. Strip link styling,
   keep the card's own colors, and give a clear hover/focus affordance. */
.plan-card-link { color: inherit; text-decoration: none; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.plan-card-link:hover, .plan-card-link:focus-visible { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(36,28,58,.34); }
.plan-card-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.plan-card-pro.plan-card-link { color: #fff; }
.plan-card-link .plan-features { margin-bottom: 0; } /* no CTA below, so drop the button gap */

.plan-name-row { display: flex; align-items: center; gap: .5rem; }
.plan-name { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: #8a5cf6; margin: 0; }
.plan-card-pro .plan-name { color: #e4d8ff; }
.plan-badge { background: var(--brandamber); color: var(--brandink); border-radius: 999px; padding: .1rem .6rem; font-size: 11px; font-weight: 700; }

.plan-price { display: flex; align-items: baseline; gap: .1rem; margin-top: .75rem; }
.plan-price-num { font-size: 38px; font-weight: 800; line-height: 1; color: var(--brandink); }
.plan-card-pro .plan-price-num { color: #fff; }
.plan-price-unit { font-size: 16px; font-weight: 600; color: #5b5170; }
.plan-card-pro .plan-price-unit { color: #d9ccff; }
.plan-annual { margin: .25rem 0 0; font-size: 12px; color: #9a8fb5; }
.plan-card-pro .plan-annual { color: #c8b8f8; }
.plan-blurb { margin: .75rem 0 0; font-size: 14.5px; line-height: 1.55; color: #5b5170; }
.plan-card-pro .plan-blurb { color: #d9ccff; }
.plan-divider { border: 0; border-top: 1px solid #ece6f5; margin: 1.25rem 0; }
.plan-card-pro .plan-divider { border-color: #7c3aed; }

.plan-features { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.plan-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: 14px; line-height: 1.4; color: #534a68; }
.plan-card-pro .plan-features li { color: #e4d8ff; }
.plan-check { flex-shrink: 0; margin-top: .05rem; font-size: 14px; font-weight: 700; color: var(--brand); }
.plan-card-pro .plan-check { color: #c8b8f8; }


/* comparison grid */
.compare-section { padding: 3.5rem 1.5rem; }
.compare-head { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--brandink); margin: 0 0 1.5rem; }
.compare-table { border: 1px solid #ece6f5; border-radius: 16px; overflow: hidden; background: #fff; }
.compare-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr; align-items: center; padding: .85rem 1.25rem; }
.compare-row-alt { background: rgba(251,249,244,.6); }
.compare-row-head { background: rgba(243,239,251,.7); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #7a6f95; }
.compare-feature { font-size: 14px; line-height: 1.35; color: #473b63; padding-right: .75rem; }
.compare-c { text-align: center; font-size: 13px; }
.compare-c-pro { color: var(--brand); }
.compare-c.yes { font-size: 16px; font-weight: 700; color: #8a5cf6; }
.compare-c.yes.pro { color: var(--brand); }
.compare-c.no { font-size: 16px; color: #cfc6e0; }
.compare-c.txt { color: #6b6088; line-height: 1.3; }
.compare-c.txt.pro { color: var(--brand); font-weight: 600; }

/* faq */
.faq-section { padding: 3.5rem 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.faq-q { font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: var(--brandink); margin: 0 0 .35rem; }
.faq-a { font-size: 15px; line-height: 1.6; color: #534a68; margin: 0; }

/* disclaimer */
.disclaimer-wrap { padding: 2.5rem 1.5rem; }
.disclaimer-card { border: 1px solid #e6dff2; background: var(--brandcream); border-radius: 16px; padding: 1.5rem; }
.disclaimer-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9a8fb5; margin: 0 0 .6rem; }
.disclaimer-body { font-size: 13.5px; line-height: 1.6; color: #5b5170; margin: 0; }

/* ══ mobile (≤ 640px) ════════════════════════════════════ */
@media (max-width: 640px) {
  /* collapsing nav into a dropdown under the header */
  .site-header { position: relative; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--brandlilac);
    box-shadow: 0 16px 30px -16px rgba(36,28,58,.35); padding: .25rem 1.5rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--brandlilac); }
  .site-nav a.site-nav-cta { border-bottom: 0; text-align: center; margin-top: .75rem; padding: .8rem 1rem; }

  /* funnel reads top-to-bottom instead of cramming across */
  .funnel { flex-direction: column; gap: .6rem; }
  .funnel-step { width: 100%; min-width: 0; }
  .funnel-arrow { transform: rotate(90deg); }

  /* trim oversized vertical padding so sections aren't all whitespace */
  .hero-inner { padding-top: 2.5rem; padding-bottom: 2.75rem; }
  .why, .sample { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .how, .about { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .manifesto { padding: 3rem 0; }
  .cta-band { padding: 2.75rem 0; }
  .plan-section { padding-top: 2.25rem; }
  .compare-section, .faq-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .products { padding-top: 2rem; }

  /* comparison table: tighter gutters, a touch more room for the feature label */
  .compare-row { grid-template-columns: 1.7fr 1fr 1fr; padding: .7rem .85rem; }
  .compare-feature { font-size: 13px; padding-right: .4rem; }

  /* keep the plan price + footer comfortable */
  .plan-card { padding: 1.5rem; }
  .site-footer-cols { gap: 2rem; }
}

/* ── members-only "your morning notes" page (/notes/) ───────────────────── */
.notes-page { padding: 3rem 0 4rem; }
.notes-head { margin-bottom: 1.75rem; }
.notes-list { list-style: none; margin: 0; padding: 0; }
.notes-item { margin: 0; }
.notes-link {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--brandlilac);
  border-radius: 12px; background: #fff; margin-bottom: .7rem; transition: border-color .15s, box-shadow .15s;
}
.notes-link:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 2px 12px rgba(124,71,214,.10); }
.notes-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .25rem; }
.notes-date { font-size: .82rem; color: var(--muted); font-weight: 600; }
.notes-tier {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand); background: var(--brandlilac); padding: .12rem .5rem; border-radius: 999px;
}
.notes-title { display: block; font-family: var(--font-serif); font-weight: 600; color: var(--brandink); font-size: 1.1rem; }
.notes-empty { color: var(--muted); padding: 1.5rem 0; }
.notes-gate { padding: 1rem 0 2rem; }
.notes-gate-cta { display: flex; gap: .75rem; align-items: center; margin-top: 1.25rem; flex-wrap: wrap; }

/* ── /notes/ free-user preview (delayed public note + upsell) ───────────── */
.notes-upsell { background: var(--brandlilac); border-left: 4px solid var(--brand); border-radius: 4px 14px 14px 4px; padding: 1.1rem 1.4rem; margin-bottom: 1.75rem; }
.notes-upsell-eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 0 0 .4rem; }
.notes-upsell-lead { margin: 0 0 1rem; color: var(--brandink); }
.notes-upsell-emph { font-weight: 600; color: var(--brand); }
.note-preview { border: 1px solid var(--brandlilac); border-radius: 14px; padding: 1.4rem; }
.note-preview-date { font-size: .9rem; color: #c0392b; font-weight: 700; margin: 0 0 .9rem; }
.note-preview-delayed { display: inline-block; margin-left: .45rem; background: #c0392b; color: #fff; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; padding: .12rem .5rem; border-radius: 999px; vertical-align: middle; }
.notes-gate-fine { margin-top: .9rem; font-size: .85rem; color: var(--muted); }
