:root {
  --ink: #19231c;
  --muted: #667169;
  --paper: #f6f4ec;
  --card: #fffef9;
  --line: #d9d9ce;
  --green: #1e4f3a;
  --lime: #c8f169;
  --peach: #f3a67b;
  --blue: #8db9e8;
  --shadow: 0 18px 60px rgba(25, 35, 28, .1);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
code { overflow-wrap: anywhere; }

.site-header {
  height: 78px;
  display: grid;
  grid-template-columns: auto minmax(320px, 560px) auto auto;
  align-items: center;
  gap: 26px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 236, .94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: white; font: 700 20px/1 "Newsreader", serif; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: 14px; font-weight: 600; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-random { padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-random:hover { background: var(--ink); color: white; }
.nav-random span { margin-left: 5px; }
.auth-controls { position: relative; display: flex; align-items: center; gap: 8px; min-width: 74px; justify-content: flex-end; }
.auth-link { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 700; white-space: nowrap; }
.auth-link.strong { background: var(--green); color: white; border-color: var(--green); }
.clerk-user-button { display: grid; place-items: center; min-width: 34px; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-summary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 10px 4px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; }
.account-summary:hover, .account-menu[open] .account-summary { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 79, 58, .08); }
.account-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--green); color: white; font-size: 13px; font-weight: 800; }
.account-copy { display: grid; min-width: 0; line-height: 1.1; }
.account-copy strong { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.account-copy small { color: var(--muted); font-size: 11px; }
.account-caret { color: var(--muted); font-size: 14px; }
.account-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; min-width: 250px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.account-menu:not([open]) .account-dropdown { display: none; }
.account-dropdown a, .account-dropdown button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.account-dropdown a:hover, .account-dropdown button:hover { background: #efeee7; }
.account-dropdown span { color: var(--green); }
.account-menu-head { padding: 10px 12px 13px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-menu-head strong, .account-menu-head small { display: block; overflow-wrap: anywhere; }
.account-menu-head small { color: var(--muted); font-size: 12px; }

.search-wrap { position: relative; }
.search-box { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: white; transition: .2s ease; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 79, 58, .1); }
.search-box svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: #f5f4ef; font-size: 12px; }
.search-results { position: absolute; top: 52px; left: 0; right: 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.search-hit { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 9px; }
.search-hit:hover, .search-hit.active { background: #efeee7; }
.search-hit-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; font-size: 20px; }
.search-hit strong { display: block; font-size: 14px; }
.search-hit small { color: var(--muted); }
.no-results { margin: 14px; color: var(--muted); text-align: center; }
.search-all-link { display: block; margin-top: 6px; padding: 12px 10px 6px; border-top: 1px solid var(--line); color: var(--green); font-size: 13px; font-weight: 800; }

.language-wrap { position: relative; display: flex; align-items: center; }
.language-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; }
.language-toggle select { max-width: 130px; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.language-toggle:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 79, 58, .1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#google_translate_element { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.goog-te-banner-frame.skiptranslate, iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }

main { min-height: calc(100vh - 220px); }
.page-shell { width: min(1180px, 92vw); margin: 0 auto; }
.page-shell, .site-header > *, .auth-grid > *, .policy-layout > *, .article-layout > *, .blog-grid > *, .hobby-grid > * { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Newsreader", serif; line-height: 1.02; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(52px, 8vw, 112px); }
h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; transition: .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(25, 35, 28, .14); }
.button.primary { background: var(--ink); color: white; }
.button.light { border-color: rgba(255,255,255,.7); color: white; }
.button.small { min-height: 40px; padding: 0 15px; font-size: 14px; }

.hero { padding: 80px 0 54px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-copy h1 em { color: var(--green); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 24px 0 32px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { height: 490px; position: relative; }
.art-card { position: absolute; display: grid; place-items: center; border: 1px solid rgba(25,35,28,.18); box-shadow: 0 18px 45px rgba(25,35,28,.12); font-size: 80px; }
.art-card.one { inset: 0 8% 14% 10%; border-radius: 46% 54% 48% 52%; background: var(--blue); transform: rotate(4deg); }
.art-card.two { width: 45%; height: 43%; right: -1%; bottom: 0; border-radius: 50%; background: var(--lime); transform: rotate(-8deg); font-size: 58px; }
.art-card.three { width: 38%; height: 36%; left: -3%; bottom: 2%; border-radius: 28px; background: var(--peach); transform: rotate(-12deg); font-size: 54px; }
.art-label { position: absolute; right: 0; top: 8%; padding: 12px 16px; border-radius: 999px; background: white; box-shadow: var(--shadow); font-weight: 600; transform: rotate(7deg); }

.today-section { padding: 36px 0 84px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.today-card { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 400px; border-radius: 30px; overflow: hidden; background: var(--green); color: white; }
.today-visual { display: grid; place-items: center; background: var(--card-accent); font-size: 140px; position: relative; overflow: hidden; }
.today-visual::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.today-copy { padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.today-copy h3 { margin: 0 0 14px; font-size: clamp(42px, 5vw, 68px); }
.today-copy > p { max-width: 620px; margin: 0 0 24px; color: rgba(255,255,255,.78); font-size: 18px; }
.facts-inline { display: flex; gap: 30px; margin: 0 0 30px; padding: 0; list-style: none; }
.facts-inline span { display: block; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }

.category-strip { padding: 78px 0; background: #e9eadf; border-block: 1px solid var(--line); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.category-card { min-height: 180px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); display: flex; flex-direction: column; justify-content: space-between; transition: .2s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card span { font-size: 30px; }
.category-card strong { display: block; font: 600 25px/1.1 "Newsreader", serif; }
.category-card small { color: var(--muted); }

.popular-section { padding: 84px 0 100px; }
.hobby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.hobby-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: .2s ease; }
.hobby-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hobby-card-visual { height: 210px; display: grid; place-items: center; background: var(--accent); font-size: 76px; }
.hobby-card-body { padding: 20px; }
.hobby-card-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hobby-card h3 { margin: 12px 0 7px; }
.hobby-card p { margin: 0 0 18px; color: var(--muted); }
.card-link { font-size: 14px; font-weight: 700; }
.rating-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 18px; }
.rating-pills span { padding: 4px 8px; border-radius: 999px; background: #efeee7; color: var(--muted); font-size: 11px; font-weight: 700; }

.browse-page, .search-page { padding: 64px 0 100px; }
.browse-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 42px; }
.browse-head h1 { font-size: clamp(48px, 7vw, 86px); }
.browse-head p { max-width: 430px; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.browse-count { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.load-more-wrap { display: flex; justify-content: center; padding: 42px 0 10px; }
.filter-btn { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted); }
.filter-btn.active, .filter-btn:hover { background: var(--ink); border-color: var(--ink); color: white; }
.search-page-form { display: grid; gap: 16px; margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.search-page-form label { display: grid; gap: 7px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.search-page-form input, .search-page-form select { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: 16px/1.4 "Outfit", sans-serif; text-transform: none; letter-spacing: 0; }
.search-page-query input { font-size: 18px; }
.search-filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.search-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.category-quick-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 24px; }
.category-quick-links a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.52); color: var(--muted); font-size: 13px; font-weight: 700; }
.category-quick-links a:hover { border-color: var(--green); color: var(--green); }
.search-result-list { display: grid; gap: 12px; }
.search-result-card { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: .18s ease; }
.search-result-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.search-result-card h2 { margin: 8px 0 8px; font-size: 31px; }
.search-result-card p { margin: 0 0 15px; color: var(--muted); }
.search-result-icon { display: grid; place-items: center; min-height: 86px; border-radius: 16px; background: var(--accent); font-size: 42px; }
.no-results-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.no-results-panel p { max-width: 760px; color: var(--muted); }

.article-hero { padding: 58px 0 34px; }
.breadcrumbs { margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.article-hero h1 { font-size: clamp(58px, 8vw, 104px); }
.article-dek { max-width: 690px; margin: 22px 0 28px; color: var(--muted); font-size: 20px; }
.article-actions { display: flex; gap: 10px; }
.article-visual { min-height: 440px; display: grid; place-items: center; border-radius: 36px; background: var(--accent); font-size: 150px; position: relative; overflow: hidden; }
.article-visual::before, .article-visual::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.article-visual::after { width: 220px; height: 220px; }
.article-visual span { position: relative; z-index: 1; }
.article-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; border-block: 1px solid var(--line); }
.stat { padding: 20px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.stat strong { font-size: 17px; }
.rating-snapshot { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 22px; }
.rating-snapshot div { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.62); }
.rating-snapshot small, .rating-snapshot strong, .rating-snapshot span { display: block; }
.rating-snapshot small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rating-snapshot strong { margin: 4px 0 6px; font-size: 14px; }
.rating-snapshot span { color: var(--green); font-size: 11px; letter-spacing: .06em; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 70px; padding: 54px 0 90px; }
.article-toc { position: sticky; top: 110px; align-self: start; }
.article-toc strong { display: block; margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.article-toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; }
.article-toc a:hover { color: var(--ink); }
.article-content section { scroll-margin-top: 110px; margin-bottom: 56px; }
.article-content h2 { margin-bottom: 18px; font-size: 40px; }
.article-content p { color: #49544d; font-size: 17px; }
.article-content h3 { margin: 0 0 7px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.benefit-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.benefit-card > span { display: block; margin-bottom: 26px; color: var(--green); font-size: 22px; }
.benefit-card h3 { font-size: 20px; }
.benefit-card p { margin: 0; font-size: 14px; }
.starter-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.starter-list li { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.starter-list b { display: block; margin-bottom: 3px; }
.starter-list span { color: var(--muted); font-size: 14px; }
.start-checklist { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.checklist-grid article { padding: 18px; border-radius: 16px; background: #f6f4ec; }
.checklist-grid span { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 24px; border-radius: 50%; background: var(--lime); font-size: 12px; font-weight: 800; }
.checklist-grid h3 { margin: 0 0 8px; font-size: 22px; }
.checklist-grid p { margin: 0; font-size: 15px; }
.editor-path { padding: 30px; border: 1px solid #cfd7c8; border-radius: 22px; background: linear-gradient(135deg, #f7f8ef, #ecf2e5); }
.editor-path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.editor-path-grid article { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.editor-path-grid span { display: block; margin-bottom: 8px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.editor-path-grid p { margin: 0; font-size: 15px; }
.week-list { padding: 0; list-style: none; counter-reset: week; }
.week-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.week-list li::before { counter-increment: week; content: counter(week); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); font-weight: 700; }
.week-list b { display: block; }
.week-list span { color: var(--muted); }
.skill-list { margin-top: 24px; border-top: 1px solid var(--line); }
.skill-row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.skill-row > span { color: var(--green); font-weight: 700; }
.skill-row h3 { font-size: 22px; }
.skill-row p { margin: 0; }
.progress-path { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--line); }
.progress-step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 0 0 28px; position: relative; }
.progress-step > span { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -36px; border-radius: 50%; background: var(--green); color: white; font-weight: 700; }
.progress-step p { margin: 0; }
.cost-table { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.cost-row { display: grid; grid-template-columns: 110px 100px 1fr; gap: 15px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.cost-row:last-child { border: 0; }
.cost-row b { color: var(--green); }
.cost-row span { color: var(--muted); }
.community-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.community-box > div { padding: 24px; border-radius: 18px; background: #e9eadf; }
.community-box > div:last-child { background: #f3ded1; }
.box-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 26px; border: 1px solid currentColor; border-radius: 50%; }
.community-box p { margin: 0; font-size: 15px; }
.mistake-heading { margin-top: 34px !important; }
.mistake-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: mistakes; }
.mistake-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mistake-list li::before { counter-increment: mistakes; content: counter(mistakes); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--peach); font-weight: 700; }
.tip-box { padding: 25px; border-radius: 18px; background: #e5ecd9; }
.tip-box strong { display: block; margin-bottom: 8px; }
.tip-box p { margin: 0; }
.faq-list { margin-top: 22px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list summary span { transition: transform .2s ease; }
.faq-list details p { margin: 0; padding: 0 40px 20px 0; }
.software-deep-dive { padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #eef0e7; }
.software-deep-dive > h2 { max-width: 650px; }
.section-lead { max-width: 680px; font-size: 18px !important; }
.software-subsection { margin-top: 54px; }
.software-subsection > h3, .workflow-panel h3, .official-resources h3 { font-size: 30px; }
.sub-kicker { margin: 0 0 5px !important; color: var(--green) !important; font-size: 11px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.current-panel { margin-top: 26px; padding: 22px; border: 1px solid rgba(25, 64, 52, .22); border-radius: 18px; background: rgba(255, 255, 255, .58); }
.current-panel ul { display: grid; gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; }
.current-panel li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; color: var(--muted); font-size: 14px; }
.current-panel li span { color: var(--green); font-weight: 700; }
.specific-panel { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.specific-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.specific-grid article { padding: 18px; border-radius: 14px; background: #f6f4ec; }
.specific-grid h4 { margin: 0 0 12px; font-size: 16px; }
.specific-grid ul, .specific-grid ol { margin: 0; padding-left: 18px; }
.specific-grid li { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.specific-sources { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.specific-sources a { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.option-card { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.option-card h4 { min-height: 48px; margin: 0 0 10px; font-size: 17px; line-height: 1.25; }
.option-card > p { margin: 0 0 18px; font-size: 14px; }
.option-card > div { padding-top: 14px; border-top: 1px solid var(--line); }
.option-card b, .option-card span { display: block; font-size: 12px; }
.option-card b { margin-bottom: 4px; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.option-card span { color: var(--muted); }
.tool-table { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.tool-row { display: grid; grid-template-columns: 1fr .8fr 1.5fr; gap: 14px; align-items: start; padding: 15px; border-bottom: 1px solid var(--line); }
.tool-row:last-child { border-bottom: 0; }
.tool-row > span, .tool-row > p { margin: 0; color: var(--muted); font-size: 14px; }
.tool-head { background: var(--green); color: white; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tool-head span { color: white; }
.tech-roadmap { margin-top: 20px; }
.tech-roadmap article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 0 0 27px; }
.roadmap-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: white; font-weight: 700; }
.tech-roadmap article span { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tech-roadmap article h4 { margin: 4px 0 8px; font-size: 16px; }
.tech-roadmap article p { margin: 0; font-size: 14px; }
.workflow-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; padding: 26px; border-radius: 18px; background: var(--green); color: white; }
.workflow-panel p { color: rgba(255,255,255,.72); font-size: 14px; }
.workflow-panel .sub-kicker { color: var(--lime) !important; }
.workflow-panel ol { margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.workflow-panel li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.workflow-panel li::before { counter-increment: flow; content: counter(flow); color: var(--lime); font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.project-grid article { padding: 19px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.project-grid span { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--lime); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.project-grid h4 { margin: 18px 0 7px; }
.project-grid p { margin: 0; font-size: 14px; }
.pro-panel { padding: 26px; border: 1px solid var(--green); border-radius: 18px; background: var(--card); }
.pro-panel ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.pro-panel li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: 14px; }
.pro-panel li span { color: var(--green); font-weight: 700; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.glossary-grid > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.6); }
.glossary-grid dt { margin-bottom: 4px; font-weight: 700; }
.glossary-grid dd { margin: 0; color: var(--muted); font-size: 13px; }
.official-resources { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.official-resources > div > p { font-size: 14px; }
.official-resources a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.official-resources a:hover { color: var(--green); }
.related-section { padding: 70px 0 90px; background: #e9eadf; }

.about-note { margin-top: 70px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #e9eadf; }
.about-note h3 { margin: 0 0 8px; }
.about-note p { margin: 0; max-width: 760px; color: var(--muted); }
.about-note a { text-decoration: underline; }
.empty-state { padding: 100px 0; text-align: center; }
.empty-state p { color: var(--muted); }
.empty-state.compact { padding: 48px 0; }
.saved-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: -18px 0 30px; }
.favorite-grid { align-items: stretch; }
.favorite-card { display: flex; min-width: 0; flex-direction: column; }
.favorite-card .hobby-card { flex: 1; }
.favorite-remove { margin-top: 10px; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.favorite-remove:hover { border-color: var(--ink); color: var(--ink); }
.save-button.saved { border-color: var(--green); background: #e5ecd9; color: var(--green); }

.blog-page, .saved-page, .auth-page, .blog-admin { padding: 64px 0 100px; }
.blog-hero { max-width: 880px; margin-bottom: 42px; }
.blog-hero h1 { font-size: clamp(48px, 7vw, 88px); }
.blog-hero > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 19px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { display: flex; min-height: 310px; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card span { width: max-content; padding: 4px 9px; border-radius: 999px; background: var(--lime); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.blog-card h2 { margin: 32px 0 12px; font-size: 30px; }
.blog-card p { flex: 1; margin: 0 0 24px; color: var(--muted); }
.blog-card small, .blog-post-head small { color: var(--muted); font-weight: 700; }
.blog-post { padding: 54px 0 90px; }
.blog-post-head { max-width: 900px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.blog-post-head h1 { font-size: clamp(48px, 7vw, 90px); }
.blog-post-head p { max-width: 760px; color: var(--muted); font-size: 20px; }
.blog-post-body { max-width: 760px; padding: 38px 0; }
.blog-post-body p { color: #49544d; font-size: 20px; line-height: 1.75; }
.inline-related { margin-top: 30px; padding: 38px; border-radius: 24px; }

.auth-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.auth-grid h1, .auth-page h1 { font-size: clamp(44px, 6vw, 78px); }
.auth-grid p, .auth-page p { color: var(--muted); font-size: 18px; }
.auth-grid code { padding: 2px 6px; border-radius: 6px; background: #e9eadf; color: var(--ink); font-size: .92em; }
.setup-card, .auth-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.setup-card h2 { margin-bottom: 20px; font-size: 34px; }
.setup-card h3 { margin: 28px 0 12px; }
.setup-card li { margin-bottom: 10px; color: var(--muted); }
.account-link-grid { display: grid; gap: 10px; }
.account-link-grid a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f6f4ec; }
.account-link-grid a:hover { border-color: var(--green); }
.account-link-grid strong, .account-link-grid span { display: block; }
.account-link-grid strong { font-weight: 800; }
.account-link-grid span { color: var(--muted); font-size: 14px; }
.settings-card #clerk-user-profile { min-width: 0; }

.editor-form { display: grid; gap: 15px; max-width: 820px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.editor-form label { display: grid; gap: 7px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.editor-form input, .editor-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: white; color: var(--ink); font: 16px/1.45 "Outfit", sans-serif; text-transform: none; letter-spacing: 0; }
.editor-form input:focus, .editor-form textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 79, 58, .1); }
.draft-list { margin-top: 42px; }
.draft-list h2 { margin-bottom: 18px; }
.draft-list .blog-card { max-width: 620px; min-height: 240px; }

.policy-page, .request-page { padding: 64px 0 100px; }
.policy-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.policy-layout header { position: sticky; top: 112px; }
.policy-layout h1 { font-size: clamp(44px, 6vw, 76px); }
.policy-layout header p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.policy-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.policy-card section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.policy-card section:first-child { padding-top: 0; }
.policy-card section:last-child { padding-bottom: 0; border-bottom: 0; }
.policy-card h2 { margin-bottom: 9px; font-size: 28px; }
.policy-card p { margin: 0; color: var(--muted); }
.form-note { margin: 0; color: var(--muted); font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 400; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 38px 4vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }
.footer-links { display: flex; justify-content: center; gap: 14px 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-note { text-align: right; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 40; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 999px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.cookie-banner { position: fixed; left: 50%; bottom: 18px; z-index: 35; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; width: min(860px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); transform: translateX(-50%); }
.cookie-banner p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.cookie-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.cookie-banner[hidden] { display: none; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr auto; height: auto; padding-block: 12px; gap: 10px 14px; }
  .brand { grid-column: 1; }
  .language-wrap { grid-column: 3; justify-content: flex-end; }
  .search-wrap { grid-column: 1 / -1; grid-row: 2; }
  .search-results { z-index: 45; }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 6px;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav > a, .main-nav > button, .auth-controls, .auth-link { flex: 0 0 auto; }
  .auth-controls { min-width: 0; }
  .account-dropdown { position: fixed; top: 72px; right: 4vw; max-width: calc(100vw - 32px); }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .main-nav { grid-column: 2; grid-row: 1; align-self: center; }
  .search-wrap { grid-row: 2; }
}

@media (max-width: 900px) {
  .site-header { position: static; }
  .account-dropdown { top: 148px; right: 18px; }
  .hero-grid, .article-hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-art { height: 380px; }
  .today-card { grid-template-columns: 1fr; }
  .today-visual { min-height: 280px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hobby-grid { grid-template-columns: repeat(2, 1fr); }
  .search-filter-grid { grid-template-columns: repeat(2, 1fr); }
  .rating-snapshot { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .auth-grid, .policy-layout { grid-template-columns: 1fr; }
  .policy-layout header { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .article-visual { min-height: 330px; }
}

@media (max-width: 580px) {
  .site-header { padding-inline: 18px; }
  .brand > span:last-child { display: none; }
  .search-box { height: 42px; padding-inline: 11px; }
  .search-box input { min-width: 0; font-size: 15px; }
  .search-box kbd { display: none; }
  .language-toggle { padding-inline: 10px; }
  .language-toggle select { max-width: 88px; }
  .account-copy { display: none; }
  .account-summary { padding-right: 8px; }
  .account-dropdown { top: 132px; }
  .saved-toolbar .button { flex: 1 1 150px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: clamp(31px, 9vw, 42px); }
  .blog-hero h1, .blog-post-head h1, .article-hero h1, .auth-grid h1, .auth-page h1, .policy-layout h1 { font-size: clamp(40px, 12vw, 56px); }
  .blog-page, .saved-page, .auth-page, .blog-admin, .browse-page, .search-page, .policy-page, .request-page { padding: 42px 0 76px; }
  .blog-hero > p:not(.eyebrow), .blog-post-head p, .auth-grid p, .auth-page p, .policy-layout header p:not(.eyebrow) { font-size: 16px; }
  .hero-actions .button, .article-actions .button { flex: 1 1 100%; }
  .hero-grid { gap: 34px; }
  .hero-art { height: 300px; }
  .art-card { font-size: 60px; }
  .category-grid, .hobby-grid, .starter-list, .benefit-grid, .community-box, .option-grid, .project-grid, .pro-panel ul, .glossary-grid, .official-resources, .specific-grid, .search-filter-grid, .rating-snapshot, .checklist-grid, .editor-path-grid { grid-template-columns: 1fr; }
  .search-page-form, .start-checklist, .editor-path, .no-results-panel { padding: 20px; }
  .search-form-actions .button { flex: 1 1 150px; }
  .search-result-card { grid-template-columns: 1fr; }
  .search-result-icon { min-height: 130px; }
  .blog-grid { grid-template-columns: 1fr; }
  .main-nav a[href="/browse"] { display: none; }
  .nav-random { padding-inline: 11px; }
  .browse-head { align-items: start; flex-direction: column; }
  .facts-inline { gap: 15px; flex-wrap: wrap; }
  .article-actions { flex-direction: column; }
  .article-stats { grid-template-columns: 1fr; }
  .article-visual { min-height: 240px; border-radius: 24px; font-size: 110px; }
  .stat, .stat:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cost-row { grid-template-columns: 1fr; gap: 3px; }
  .software-deep-dive { padding: 22px 16px; margin-inline: -4vw; border-radius: 18px; }
  .software-subsection { margin-top: 36px; }
  .software-subsection > h3, .workflow-panel h3, .official-resources h3 { font-size: 25px; }
  .specific-panel, .current-panel, .workflow-panel, .pro-panel, .setup-card, .auth-panel, .policy-card, .editor-form { padding: 20px; border-radius: 18px; }
  .tool-head { display: none; }
  .tool-row { grid-template-columns: 1fr; gap: 4px; }
  .workflow-panel { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; flex-wrap: wrap; }
  .cookie-actions .button { flex: 1 1 145px; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .footer-links { justify-content: flex-start; }
  .footer-note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
