/* Small, source-independent release layer for the current production artifact. */
.ftw-release-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ftw-release-hero {
  background: linear-gradient(115deg, #123b72 0%, #264edb 52%, #4338a8 100%) !important;
}

@media (max-width: 640px) {
  .ftw-release-title {
    max-width: 12ch;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }
}

/* Products and journal fallback surfaces remain useful when the optional API is unavailable. */
.ftw-product-page,
.ftw-journal-page {
  min-height: 100vh;
  color: #172033;
  background: #fbfaf7;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.ftw-discovery-page { min-height: 100vh; padding: 3rem max(1.5rem, calc((100vw - 1120px) / 2)) 6rem; background: #fbfaf7; color: #172033; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.ftw-discovery-back { display: inline-block; margin-bottom: 3rem; color: #53627a; text-decoration: none; font-weight: 700; }
.ftw-discovery-hero { padding: 4rem 0 5rem; border-bottom: 1px solid #dfe3ea; }
.ftw-discovery-hero h1 { max-width: 820px; margin: .8rem 0 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .95; letter-spacing: -.06em; }
.ftw-discovery-hero p { max-width: 700px; color: #53627a; font-size: 1.2rem; line-height: 1.7; }
.ftw-discovery-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.ftw-discovery-trust { color: #3b765a; font-weight: 750; }
.ftw-discovery-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 3rem; padding: 4rem 0; }
.ftw-discovery-grid h2, .ftw-discovery-section h2 { margin: .6rem 0 1.5rem; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.04em; }
.ftw-discovery-grid h3 { margin: 2rem 0 .6rem; }
.ftw-discovery-grid p, .ftw-discovery-grid li, .ftw-discovery-section li { color: #53627a; line-height: 1.7; }
.ftw-discovery-grid ul, .ftw-discovery-list { padding-left: 1.2rem; }
.ftw-discovery-grid aside { padding: 2rem; border-radius: 1.2rem; background: #101827; color: #fff; }
.ftw-discovery-grid aside .ftw-kicker { color: #c7f36b; }
.ftw-discovery-grid aside dd { margin: .35rem 0 1.5rem; color: #c9d2df; line-height: 1.6; }

.ftw-submit-page, .ftw-moderation-page { min-height: 100vh; padding: 4rem max(1.25rem, calc((100vw - 1040px) / 2)) 6rem; background: #fbfaf7; color: #172033; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.ftw-submit-hero, .ftw-moderation-header { max-width: 900px; margin: 0 auto 3rem; }
.ftw-submit-hero h1, .ftw-moderation-header h1 { max-width: 820px; margin: .8rem 0 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.ftw-submit-hero p, .ftw-moderation-header p { max-width: 700px; color: #53627a; font-size: 1.1rem; line-height: 1.7; }
.ftw-submit-form { max-width: 900px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #dfe3ea; border-radius: 1.25rem; background: #fff; box-shadow: 0 18px 45px rgba(23, 32, 51, .08); }
.ftw-form-field { margin-bottom: 1.25rem; }
.ftw-form-field label { display: block; margin-bottom: .45rem; font-weight: 800; }
.ftw-form-field label span { color: #53627a; font-weight: 500; }
.ftw-form-field input, .ftw-form-field textarea, .ftw-form-field select { box-sizing: border-box; width: 100%; border: 1px solid #b9c2d1; border-radius: .7rem; padding: .85rem .95rem; background: #fff; color: #172033; font: inherit; }
.ftw-form-field textarea { resize: vertical; min-height: 8rem; }
.ftw-form-field input:focus, .ftw-form-field textarea:focus, .ftw-form-field select:focus { outline: 3px solid rgba(49, 89, 223, .2); border-color: #3451c7; }
.ftw-form-field small { display: block; margin-top: .45rem; color: #53627a; line-height: 1.5; }
.ftw-submit-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ftw-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ftw-submit-actions, .ftw-moderation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.ftw-submit-actions button:disabled, .ftw-moderation-actions button:disabled { opacity: .65; cursor: wait; }
.ftw-submit-status, .ftw-moderation-status { min-height: 1.5rem; margin: 1rem 0 0; color: #53627a; line-height: 1.5; }
.ftw-submit-status.is-success { color: #17653e; font-weight: 700; }
.ftw-submit-status.is-error, .ftw-moderation-status.is-error { color: #a12828; font-weight: 700; }
.ftw-moderation-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.ftw-moderation-list { display: grid; gap: 1rem; max-width: 1040px; margin: 0 auto; }
.ftw-moderation-card { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.5rem; border: 1px solid #dfe3ea; border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(23, 32, 51, .06); }
.ftw-moderation-card h2 { margin: .6rem 0 .35rem; font-family: Georgia, serif; font-size: 1.8rem; }
.ftw-moderation-card a { color: #3451c7; overflow-wrap: anywhere; }
.ftw-moderation-card p { max-width: 680px; color: #53627a; line-height: 1.6; }
.ftw-moderation-card small { color: #53627a; }
.ftw-moderation-actions { align-self: center; margin-top: 0; }
.ftw-moderation-actions button { border: 0; border-radius: .6rem; padding: .7rem 1rem; background: #172033; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.ftw-moderation-actions button[data-decision="approve"] { background: #17653e; }
.ftw-moderation-actions button[data-decision="reject"] { background: #a12828; }
.ftw-moderation-empty { max-width: 760px; margin: 6rem auto; padding: 3rem; border: 1px solid #dfe3ea; border-radius: 1rem; background: #fff; text-align: center; }
.ftw-moderation-empty h1 { margin: .8rem 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.ftw-moderation-empty p { color: #53627a; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .ftw-submit-page, .ftw-moderation-page { padding-top: 2.5rem; } .ftw-submit-two, .ftw-moderation-header { display: block; } .ftw-moderation-header .ftw-outline-button { margin-top: 1.25rem; } .ftw-moderation-card { display: block; } .ftw-moderation-actions { margin-top: 1.25rem; } }

.ftw-community-page, .ftw-public-profile-page, .ftw-public-collection-page { min-height: 100vh; padding: 4rem max(1.25rem, calc((100vw - 1120px) / 2)) 6rem; background: #fbfaf7; color: #172033; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.ftw-community-header, .ftw-public-profile-header { max-width: 920px; margin: 0 auto 3rem; }
.ftw-community-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.ftw-community-header h1, .ftw-public-profile-header h1 { max-width: 850px; margin: .8rem 0 1rem; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .96; letter-spacing: -.06em; }
.ftw-community-header p, .ftw-public-profile-header p { max-width: 680px; color: #53627a; font-size: 1.12rem; line-height: 1.7; }
.ftw-community-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; max-width: 1120px; margin: 0 auto; }
.ftw-community-card { padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid #dfe3ea; border-radius: 1.25rem; background: #fff; box-shadow: 0 16px 40px rgba(16, 24, 39, .06); }
.ftw-community-card h2 { margin: .7rem 0 1.6rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.ftw-community-card label { display: block; margin: 1rem 0; font-weight: 750; }
.ftw-community-card input:not([type="checkbox"]), .ftw-community-card textarea { box-sizing: border-box; display: block; width: 100%; margin-top: .45rem; border: 1px solid #b9c2d1; border-radius: .65rem; padding: .8rem .9rem; background: #fff; color: #172033; font: inherit; }
.ftw-community-card textarea { resize: vertical; }
.ftw-community-card input:focus, .ftw-community-card textarea:focus { outline: 3px solid rgba(49, 89, 223, .18); border-color: #3451c7; }
.ftw-checkbox { display: flex !important; align-items: center; gap: .55rem; font-weight: 600 !important; }
.ftw-checkbox input { width: 1rem; height: 1rem; accent-color: #3159df; }
.ftw-community-status { min-height: 1.4rem; color: #53627a; line-height: 1.5; }
.ftw-community-status.is-success { color: #17653e; font-weight: 700; }
.ftw-community-status.is-error { color: #a12828; font-weight: 700; }
.ftw-community-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; max-width: 1120px; margin: 0 auto 1.25rem; }
.ftw-community-metrics div { padding: 1.1rem 1.25rem; border: 1px solid #dfe3ea; border-radius: .9rem; background: #fff; }
.ftw-community-metrics strong, .ftw-community-metrics span { display: block; }
.ftw-community-metrics strong { color: #304ed8; font-size: 1.8rem; letter-spacing: -.04em; }
.ftw-community-metrics span { margin-top: .2rem; color: #53627a; font-size: .84rem; font-weight: 750; }
.ftw-profile-link { display: inline-block; margin-top: .5rem; color: #304ed8; font-weight: 800; text-decoration: none; }
.ftw-collection-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.ftw-collection-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem; border: 1px solid #e1e6ef; border-radius: .9rem; background: #f8fafc; }
.ftw-collection-item h3 { margin: .4rem 0; font-family: Georgia, serif; font-size: 1.35rem; }
.ftw-collection-item p { margin: 0; color: #53627a; line-height: 1.5; }
.ftw-collection-item .ftw-outline-button { flex: 0 0 auto; color: #304ed8; font-size: .9rem; }
.ftw-community-empty { max-width: 760px; margin: 8rem auto; padding: 3rem; border: 1px solid #dfe3ea; border-radius: 1.25rem; background: #fff; text-align: center; box-shadow: 0 18px 45px rgba(23, 32, 51, .08); }
.ftw-community-empty h1 { margin: .8rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.055em; }
.ftw-community-empty p { margin-bottom: 1.5rem; color: #53627a; }
.ftw-public-profile-header { padding: 2rem 0 4rem; border-bottom: 1px solid #dfe3ea; }
.ftw-profile-avatar { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: 2rem 0 1.4rem; border-radius: 1.2rem; background: #c7f36b; color: #101827; font-size: 2rem; font-weight: 900; }
.ftw-profile-stat { color: #53627a; font-size: .92rem; font-weight: 750; }
.ftw-public-collections, .ftw-public-collection-content { max-width: 1120px; margin: 0 auto; padding: 4rem 0; }
.ftw-public-collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ftw-public-collection-card { display: block; min-height: 190px; padding: 1.6rem; border: 1px solid #dfe3ea; border-radius: 1rem; background: #fff; box-shadow: 0 12px 28px rgba(16, 24, 39, .06); color: #172033; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.ftw-public-collection-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(16, 24, 39, .12); }
.ftw-public-collection-card h3 { margin: .7rem 0; font-family: Georgia, serif; font-size: 1.6rem; }
.ftw-public-collection-card p { min-height: 48px; color: #53627a; line-height: 1.55; }
.ftw-public-collection-card > span:last-child { color: #304ed8; font-weight: 800; }
.ftw-public-profile-loading { max-width: 900px; margin: 7rem auto; }
.ftw-follow-button { border: 0; cursor: pointer; font: inherit; }
.ftw-member-auth-page { display: grid; place-items: center; min-height: 100vh; padding: 2rem 1.25rem; background: #f4f7ff; color: #172033; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.ftw-member-auth-card { width: min(100%, 520px); padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid #dfe3ea; border-radius: 1.25rem; background: #fff; box-shadow: 0 20px 50px rgba(23, 32, 51, .1); }
.ftw-member-auth-card h1 { margin: .8rem 0; font-family: Georgia, serif; font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: .98; letter-spacing: -.055em; }
.ftw-member-auth-card > p { color: #53627a; line-height: 1.6; }
.ftw-member-auth-card label { display: block; margin: 1rem 0; font-weight: 750; }
.ftw-member-auth-card input { box-sizing: border-box; display: block; width: 100%; margin-top: .45rem; border: 1px solid #b9c2d1; border-radius: .65rem; padding: .85rem .9rem; font: inherit; }
.ftw-member-auth-card input:focus { outline: 3px solid rgba(49, 89, 223, .18); border-color: #3451c7; }
.ftw-member-auth-card button { border: 0; cursor: pointer; font: inherit; }
.ftw-member-auth-status { min-height: 1.4rem; color: #53627a; }
.ftw-member-auth-status.is-error { color: #a12828; font-weight: 700; }
.ftw-member-auth-switch { margin: 1.2rem 0; }
.ftw-member-auth-switch a { color: #304ed8; font-weight: 800; }
.ftw-public-website-list { display: grid; gap: 1rem; max-width: 900px; }
.ftw-public-website-list article { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem; border: 1px solid #dfe3ea; border-radius: 1rem; background: #fff; box-shadow: 0 12px 28px rgba(16, 24, 39, .06); }
.ftw-public-website-list h2 { margin: .5rem 0; font-family: Georgia, serif; font-size: 1.8rem; }
.ftw-public-website-list p { margin: 0; color: #53627a; line-height: 1.6; }
.ftw-public-website-list small { display: block; margin-top: .6rem; color: #53627a; }
@media (max-width: 760px) { .ftw-community-page, .ftw-public-profile-page, .ftw-public-collection-page { padding-top: 2.5rem; } .ftw-community-header { display: block; } .ftw-community-header .ftw-outline-button { margin-top: 1.25rem; } .ftw-community-grid, .ftw-public-collection-grid, .ftw-community-metrics { grid-template-columns: 1fr; } .ftw-collection-item, .ftw-public-website-list article { display: block; } .ftw-collection-item .ftw-outline-button, .ftw-public-website-list article .ftw-solid-button { margin-top: 1rem; } }
html.dark .ftw-community-page, html.dark .ftw-public-profile-page, html.dark .ftw-public-collection-page { background: #0f172a; color: #e5e7eb; }
html.dark .ftw-community-card, html.dark .ftw-community-empty, html.dark .ftw-public-collection-card, html.dark .ftw-public-website-list article { background: #172033; border-color: #2c3a52; color: #f8fafc; }
html.dark .ftw-community-card input:not([type="checkbox"]), html.dark .ftw-community-card textarea { background: #111827; color: #f8fafc; border-color: #475569; }
html.dark .ftw-community-header p, html.dark .ftw-public-profile-header p, html.dark .ftw-community-card p, html.dark .ftw-collection-item p, html.dark .ftw-public-collection-card p, html.dark .ftw-public-website-list p, html.dark .ftw-public-website-list small, html.dark .ftw-community-empty p, html.dark .ftw-profile-stat { color: #b8c4d6; }
html.dark .ftw-collection-item { background: #111827; border-color: #334155; }
html.dark .ftw-community-metrics div, html.dark .ftw-member-auth-card { background: #172033; border-color: #2c3a52; color: #f8fafc; }
html.dark .ftw-community-metrics span, html.dark .ftw-member-auth-card > p { color: #b8c4d6; }
html.dark .ftw-member-auth-page { background: #0f172a; color: #e5e7eb; }
html.dark .ftw-member-auth-card input { background: #111827; color: #f8fafc; border-color: #475569; }
.ftw-discovery-grid aside dt { color: #c7f36b; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ftw-discovery-section { max-width: 820px; padding: 2rem 0 3rem; border-top: 1px solid #dfe3ea; }
.ftw-discovery-loading { max-width: 760px; padding: 10rem 0; }
@media (max-width: 760px) { .ftw-discovery-grid { grid-template-columns: 1fr; } .ftw-discovery-page { padding-top: 2rem; } }

.ftw-product-hero,
.ftw-journal-header {
  padding: 8rem max(1.5rem, calc((100vw - 1120px) / 2)) 6rem;
  background: #101827;
  color: #fff;
}

.ftw-product-hero h1,
.ftw-journal-header h1 {
  max-width: 760px;
  margin: 1rem 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.ftw-product-hero p,
.ftw-journal-header p {
  max-width: 620px;
  margin: 0 0 2rem;
  color: #b9c4d5;
  font-size: 1.15rem;
  line-height: 1.7;
}

.ftw-kicker,
.ftw-story-label {
  color: #3451c7;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ftw-solid-button,
.ftw-outline-button,
.ftw-product-grid a,
.ftw-feature-story a,
.ftw-journal-footer a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-weight: 750;
}

.ftw-solid-button { padding: .9rem 1.25rem; border-radius: 999px; background: #c7f36b; color: #101827; }
.ftw-outline-button { padding: .75rem 1.1rem; border: 1px solid currentColor; border-radius: 999px; color: inherit; }
.ftw-product-content { max-width: 1120px; margin: 0 auto; padding: 6rem 1.5rem; }
.ftw-section-heading { max-width: 620px; margin-bottom: 2.5rem; }
.ftw-section-heading h2 { margin: .6rem 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.045em; }
.ftw-section-heading p { color: #687386; font-size: 1.05rem; }
.ftw-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ftw-product-grid article { min-height: 260px; padding: 2rem; border: 1px solid #e3e5e9; border-radius: 1.25rem; background: #fff; box-shadow: 0 16px 40px rgba(16, 24, 39, .06); }
.ftw-card-number { color: #647cff; font-weight: 800; }
.ftw-product-grid h3 { margin: 3rem 0 .8rem; font-size: 1.35rem; }
.ftw-product-grid p { min-height: 72px; color: #687386; line-height: 1.6; }
.ftw-product-grid a { color: #304ed8; }
.ftw-product-cta { margin-top: 5rem; padding: 3rem; border-radius: 1.5rem; background: #eaf5d0; }
.ftw-product-cta h2 { margin: 0 0 .5rem; font-family: Georgia, serif; font-size: 2.2rem; }
.ftw-product-cta p { margin: 0 0 1.5rem; color: #536047; }
.ftw-product-cta .ftw-outline-button { color: #172033; }
.ftw-journal-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; background: #fff; color: #172033; border-bottom: 1px solid #e8e6df; }
.ftw-journal-header p { color: #687386; }
.ftw-journal-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 4rem; max-width: 1120px; margin: 0 auto; padding: 5rem 1.5rem; }
.ftw-feature-story { padding: 3rem; border-radius: 1.5rem; background: #dfe9ff; }
.ftw-feature-story h2 { margin: 1.2rem 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.ftw-feature-story p { color: #46546d; font-size: 1.08rem; line-height: 1.7; }
.ftw-feature-story a { margin-top: 2rem; color: #304ed8; }
.ftw-story-list article { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid #deddd8; }
.ftw-story-list h3 { margin: .55rem 0; font-family: Georgia, serif; font-size: 1.65rem; letter-spacing: -.03em; }
.ftw-story-list p { margin: 0; color: #687386; line-height: 1.55; }
.ftw-story-meta { flex: 0 0 auto; color: #8a8f9a; font-size: .8rem; }
.ftw-journal-footer { display: flex; justify-content: space-between; gap: 1rem; max-width: 1120px; margin: 0 auto; padding: 1.5rem; border-top: 1px solid #deddd8; color: #687386; }
.ftw-journal-footer a { color: #304ed8; }

.ftw-collection-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.ftw-collection-manager { margin-top: 2rem; padding: 1.5rem; border: 1px solid #dbe3f0; border-radius: 1rem; background: #f8fafc; }
.ftw-collection-manager h2 { margin: .4rem 0 1rem; font-family: Georgia, serif; }
.ftw-collection-manager label { display: grid; gap: .4rem; margin: .8rem 0; color: #334155; font-weight: 700; }
.ftw-collection-manager select, .ftw-collection-manager textarea { width: 100%; padding: .75rem .85rem; border: 1px solid #cbd5e1; border-radius: .65rem; background: #fff; color: #172033; font: inherit; }
html.dark .ftw-collection-manager { background: #172033; border-color: #334155; }
html.dark .ftw-collection-manager label { color: #dbeafe; }
html.dark .ftw-collection-manager select, html.dark .ftw-collection-manager textarea { background: #0f172a; border-color: #475569; color: #f8fafc; }

.ftw-admin-shell { background: #f5f7fb; }
.ftw-admin-shell #root > div { min-height: 100vh; }
.ftw-admin-shell button { transition: transform .18s ease, box-shadow .18s ease; }
.ftw-admin-shell button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37, 56, 104, .12); }

@media (max-width: 760px) {
  .ftw-product-hero, .ftw-journal-header { padding: 5rem 1.25rem 4rem; }
  .ftw-journal-header, .ftw-journal-layout, .ftw-journal-footer { display: block; }
  .ftw-journal-header .ftw-outline-button { margin-top: 1.5rem; }
  .ftw-journal-layout { padding: 3rem 1.25rem; }
  .ftw-product-grid { grid-template-columns: 1fr; }
  .ftw-product-grid article { min-height: auto; }
  .ftw-story-list { margin-top: 3rem; }
  .ftw-journal-footer a { display: block; margin-top: .75rem; }
}

/* Blog route alignment: keep the journal content, but make it unmistakably FindTheWeb. */
body.ftw-blog-route #root .min-h-screen.bg-gray-50 { background: #f7f9fc !important; }
body.ftw-blog-route #root .min-h-screen.bg-gray-50 > .max-w-7xl { max-width: 1280px; padding-top: 0; }
body.ftw-blog-route #root .min-h-screen.bg-gray-50 > .max-w-7xl > header.text-center {
  margin: 0 -1rem 3rem;
  padding: 4.5rem 1.5rem 4rem;
  border-radius: 0 0 1.5rem 1.5rem;
  background: linear-gradient(120deg, #1d4ed8 0%, #3159df 52%, #4338a8 100%);
  color: #fff;
  box-shadow: 0 18px 35px rgba(30, 64, 175, .16);
}
body.ftw-blog-route #root .min-h-screen.bg-gray-50 > .max-w-7xl > header.text-center h1 { color: #fff; letter-spacing: -.045em; }
body.ftw-blog-route #root .min-h-screen.bg-gray-50 > .max-w-7xl > header.text-center p { color: rgba(255,255,255,.86); }
body.ftw-blog-route #root .min-h-screen.bg-gray-50 article { border: 1px solid #e3e9f4; border-radius: 1rem; box-shadow: 0 8px 24px rgba(15, 23, 42, .07); }
body.ftw-blog-route #root .min-h-screen.bg-gray-50 article:hover { box-shadow: 0 16px 32px rgba(37, 56, 104, .14); transform: translateY(-2px); }
body.ftw-blog-route #root .text-gray-500 { color: #475569 !important; }
body.ftw-blog-route #root .text-gray-600 { color: #334155 !important; }
body.ftw-blog-route #root .bg-yellow-500 { background-color: #8a5a00 !important; }
body.ftw-blog-route #root footer .text-gray-600,
body.ftw-blog-route #root footer .text-gray-500 { color: #334155 !important; }
body.ftw-blog-route #root .min-h-screen.bg-gray-50 input:focus,
body.ftw-blog-route #root .min-h-screen.bg-gray-50 select:focus { border-color: #3159df; box-shadow: 0 0 0 3px rgba(49, 89, 223, .14); }
@media (max-width: 640px) {
  body.ftw-blog-route #root .min-h-screen.bg-gray-50 section.mb-12 { min-height: 0; }
  body.ftw-blog-route #root .min-h-screen.bg-gray-50 > .max-w-7xl > header.text-center { margin-left: -.5rem; margin-right: -.5rem; padding: 3.5rem 1.25rem 3rem; }
}

/* The blog cards predate the shared dark-mode utility classes; give the route a complete dark surface. */
body.ftw-blog-route #root .min-h-screen.bg-gray-50 > .max-w-7xl > header.text-center p { color: rgba(255,255,255,.92) !important; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 { background: #0f172a !important; color: #e5e7eb; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 article,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .bg-white { background: #172033 !important; border-color: #2c3a52 !important; color: #e5e7eb; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 h1,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 h2,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 h3 { color: #f8fafc !important; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 p,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .text-gray-600,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .text-gray-500 { color: #b8c4d6 !important; }
html.dark body.ftw-blog-route #root footer .text-gray-600,
html.dark body.ftw-blog-route #root footer .text-gray-500 { color: #cbd5e1 !important; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .border-gray-200,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .border-gray-300 { border-color: #334155 !important; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 input,
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 select { background: #111827 !important; color: #f8fafc !important; border-color: #475569 !important; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 input::placeholder { color: #94a3b8; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .bg-blue-100 { background: #1e3a5f !important; color: #bfdbfe !important; }
html.dark body.ftw-blog-route #root .min-h-screen.bg-gray-50 .hover\:bg-gray-50:hover { background: #25324a !important; }
.skip-nav:focus { position: absolute !important; top: 1.5rem !important; left: 1.5rem !important; width: auto !important; height: auto !important; padding: .75rem 1rem !important; clip: auto !important; overflow: visible !important; z-index: 9999 !important; background: #1d4ed8 !important; color: #fff !important; border-radius: .5rem !important; }

/* Allow the creator column to shrink inside the tablet footer grid. */
#root footer .flex-1 { min-width: 0; overflow-wrap: anywhere; }

/* Preserve the complete article cover at narrow aspect ratios. */
body.ftw-blog-route #root .max-w-4xl > .mb-8 > img { height: auto; }

/* Keep article and card metadata readable on narrow screens. */
@media (max-width: 767px) {
  body.ftw-blog-route #root .flex.items-center.space-x-6.text-sm,
  body.ftw-blog-route #root article .flex.items-center.space-x-4 {
    flex-wrap: wrap;
    gap: .65rem 1rem;
    min-width: 0;
  }
  body.ftw-blog-route #root .flex.items-center.space-x-6.text-sm > *,
  body.ftw-blog-route #root article .flex.items-center.space-x-4 > * {
    margin-left: 0 !important;
    white-space: nowrap;
  }
  body.ftw-blog-route #root article .flex.items-center.justify-between.text-sm {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .65rem;
  }
}
