@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Lexend:wght@300;400;500;600&display=swap");
/* The app's look for every page outside the homepage (owner, 20 Nov 2026).
   Loads last, after styles.css and the section sheets, so it only has to restate what changes:
   navy and indigo page tops with a cyan glow, yellow main buttons, blue accents on cream, the app's fonts. */
:root {
  --ink: #111640; --ink-soft: #2c3260;
  --cream: #fbf5e6; --cream-deep: #ece2c9; --mint: #eef2fb;
  --coral-text: #2c47c4;
  --font-head: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --navy: linear-gradient(165deg, #0a1440 0%, #142774 52%, #1f43a6 100%);
  --glow: radial-gradient(40% 60% at 78% 30%, rgba(79, 227, 232, .25), transparent 70%), radial-gradient(36% 50% at 4% 100%, rgba(140, 92, 255, .25), transparent 70%);
}
body { font-weight: 400; }

/* Buttons: the app's yellow for the main one */
.btn-primary { --edge: #d9a514; background: linear-gradient(180deg, #ffe066, #f9c22e); color: #15183f; }
.btn-primary:hover { background: linear-gradient(180deg, #ffe680, #f9c22e); }
.btn-link { text-decoration-color: #4f7bff; }
.nav-links a:hover, .topbar-login:hover, .nav-links a[aria-current="page"], .blog-nav-links a:hover, .blog-nav-links a[aria-current="page"] { border-bottom-color: #4f7bff; }

/* Page tops: navy, like the homepage hero */
.post-hero, .tool-hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; }
.post-hero::before, .tool-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glow); pointer-events: none; }
.post-hero .post-title, .tool-hero h1, .post-hero h1 { color: #fff; }
.post-hero .post-lede, .tool-head .post-lede, .tool-head p { color: #d5ddf2; }
.tool-hero .tool { color: var(--ink); }
.tool-hero .tool p { color: var(--ink-soft); }
.post-hero .eyebrow, .tool-hero .eyebrow { color: #5fe3e8; }
.post-hero .crumbs, .tool-hero .crumbs { color: #c3cbe6; }
.post-hero .crumbs a, .tool-hero .crumbs a { color: #fff; text-decoration-color: #5fe3e8; }
.post-hero .crumbs li + li::before, .tool-hero .crumbs li + li::before { color: #8f9ac4; }
.post-hero .post-meta > *, .post-hero .chip { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.post-art { background: #fbf5e6; border-radius: 30px; padding: 14px; box-shadow: 0 0 0 1.5px rgba(95, 227, 232, .4), 0 0 36px -6px rgba(95, 227, 232, .45), 0 24px 44px -26px rgba(2, 6, 34, .8); }
.post-hero a:not(.btn) { color: #fff; }

/* Closing bands: navy instead of coral */
.get, .next { position: relative; isolation: isolate; background: var(--navy); color: #fff; }
.get::before, .next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glow); pointer-events: none; }
.get .eyebrow, .next .eyebrow { color: #5fe3e8; }
.get h2, .next h2 { color: #fff; }
.get .sec-lede, .next .sec-lede, .get-alt, .next-fine { color: #d5ddf2; }
.get-alt a { color: #fff; text-decoration-color: #f9c22e; }
.get .btn-ink, .next .btn-ink { --edge: #d9a514; background: linear-gradient(180deg, #ffe066, #f9c22e); color: #15183f; }
.get .btn-secondary, .next .btn-secondary, .next-actions .btn-secondary { --edge: rgba(0, 0, 0, .25); background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }

/* Footer: the app's night navy */
.footer { background: #0a1238; color: #d5ddf2; }
.footer-tag { color: #5fe3e8; }
.footer-fine { color: #b8c2e6; }

/* Header like the homepage (owner, 20 Nov 2026): navy, small Bud with the two-colour name, yellow Start free, white menu button */
.blog-nav { position: sticky; top: 0; z-index: 50; background: #0b1646; padding: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.blog-nav-inner { min-height: 64px; gap: 12px; }
.blog-nav .brand { gap: 8px; font-size: 1.55rem; color: #fff; }
.blog-nav .brand-tile img { width: 44px; height: 44px; margin: -2px -2px -2px -4px; }
.blog-nav .brand > span:last-child { display: inline; }
.blog-nav .bw-a { color: #fff; }
.blog-nav .bw-b { color: #3fe6f5; text-shadow: 0 0 14px rgba(34, 238, 242, .45); }
.blog-nav-links a { color: #fff; font-weight: 500; }
.blog-nav-links a:hover, .blog-nav-links a[aria-current="page"] { border-bottom-color: #5fe3e8; }
.blog-nav-actions { gap: 10px; }
.blog-nav .btn-sm { min-height: 42px; padding: 8px 18px; font-size: 1rem; box-shadow: none; }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #111640; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(2, 6, 34, .6); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { box-shadow: 0 0 0 3px rgba(95, 227, 232, .6); }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; border-radius: 20px; background: #fbf5e6; box-shadow: 0 24px 48px -18px rgba(2, 6, 34, .7), 0 0 0 1px rgba(17, 22, 64, .08); }
.nav-menu-panel a { padding: 12px 14px; border-radius: 12px; color: #111640; font-weight: 600; text-decoration: none; }
.nav-menu-panel a:hover { background: #ece2c9; }
@media (max-width: 380px) {
  .blog-nav .brand { font-size: 1.3rem; }
  .blog-nav .brand-tile img { width: 38px; height: 38px; }
  .blog-nav .btn-sm { padding: 8px 14px; font-size: .9375rem; }
  .nav-menu summary { width: 40px; height: 40px; }
}
@media (min-width: 900px) { .blog-nav-inner { min-height: 76px; } }

/* Guide cards in the Night look (owner, 21 Nov 2026), matching the free tool cards: navy cards with the app's
   Bud scenes (assets/art/guide-<scene>.webp, written by tools/build-blog.py), cyan kicker, white title, glow on hover. */
.post-cards { gap: 20px; }
.post-cards .post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 0; border-radius: 26px;
  background: linear-gradient(180deg, #15225e 0%, #0e1848 100%); color: #fff;
  box-shadow: 0 0 0 1.5px rgba(95, 227, 232, .16), 0 22px 40px -26px rgba(8, 16, 46, .9);
  transition: transform .25s ease, box-shadow .25s ease; }
.post-cards .post-card:hover { transform: translateY(-4px);
  box-shadow: 0 0 0 1.5px rgba(95, 227, 232, .55), 0 0 34px -6px rgba(95, 227, 232, .4), 0 26px 44px -24px rgba(8, 16, 46, .95); }
.post-cards .post-card-art { position: relative; height: auto; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1a4e; }
.post-cards .post-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-cards .post-card:hover .post-card-art img { transform: scale(1.05); }
.post-cards .post-card-art::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(180deg, rgba(21, 34, 94, 0), #15225e); pointer-events: none; }
.post-cards .post-card-body { position: relative; padding: 4px 22px 24px; gap: 8px; }
.post-cards .post-card-kicker { color: #5fe3e8; font-size: .74rem; letter-spacing: .08em; }
.post-cards .post-card h2, .post-cards .post-card h3 { font-family: var(--font-display, var(--font-head)); font-size: 1.3rem; line-height: 1.2; }
.post-cards .post-card h2 a, .post-cards .post-card h3 a { color: #fff; }
.post-cards .post-card p { color: #c6cfee; font-size: .98rem; }
.post-cards .post-card-more { margin-top: auto; padding-top: 10px; }
.post-cards .post-card-more span { display: inline-flex; align-items: center; gap: 6px; border: 0; color: #f9c22e; font-weight: 700; }
.post-cards .post-card-more span::after { content: "→"; transition: transform .2s ease; }
.post-cards .post-card:hover .post-card-more span::after { transform: translateX(4px); }
.post-cards .post-card:focus-within { outline: 3px solid #5fe3e8; outline-offset: 3px; }
@media (min-width: 900px) {
  /* the guides index leads with one wide card: picture left, words right */
  .post-cards.is-index > li:first-child .post-card-art { aspect-ratio: auto; }
  .post-cards.is-index > li:first-child .post-card-art::after { inset: 0 0 0 auto; width: 38%; height: 100%; background: linear-gradient(90deg, rgba(21, 34, 94, 0), #15225e); }
  .post-cards.is-index > li:first-child .post-card-body { padding: 28px 30px; justify-content: center; }
  .post-cards.is-index > li:first-child h2 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .post-cards .post-card, .post-cards .post-card-art img, .post-cards .post-card-more span::after { transition: none; }
  .post-cards .post-card:hover, .post-cards .post-card:hover .post-card-art img { transform: none; }
}

/* Guide headers with a Night-look topic picture (assets/art/hero-<slug>.webp, tools/guide-art): no cream frame,
   the picture fills the rounded box. */
.post-art:has(> img) { background: #0e1848; padding: 0; overflow: hidden; }
.post-art > img { display: block; width: 100%; height: auto; }
