/* fmail — /learn SEO article + hub styles, matched to the v1 design system
   (Inter/JetBrains, amber --accent, --panel/--border tokens, aurora bg). */

.learn-main { max-width: 1100px; margin: 0 auto; padding: 26px 26px 90px; }
.learn-wrap { max-width: 760px; margin: 0 auto; }

/* breadcrumb */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 22px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: 0.45; }

/* category pill */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* article hero */
.article-hero { margin: 18px 0 30px; }
.article-hero h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.06;
  letter-spacing: -0.03em; margin: 16px 0 14px; font-weight: 800;
}
.article-hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-3); line-height: 1.5; margin: 0; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* prose */
.prose { font-size: 17px; line-height: 1.72; color: var(--text-2); letter-spacing: -0.006em; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(22px, 3.4vw, 28px); letter-spacing: -0.025em; font-weight: 800; margin-top: 2.2em; line-height: 1.18; color: var(--text); }
.prose h3 { font-size: clamp(18px, 2.6vw, 21px); font-weight: 700; letter-spacing: -0.015em; margin-top: 1.6em; color: var(--text); }
.prose p { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.5em 0; }
.prose li::marker { color: var(--accent); }
.prose code {
  font-family: var(--mono); font-size: 0.86em;
  background: color-mix(in oklab, var(--panel-2) 90%, transparent);
  border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; color: var(--text);
}
.prose blockquote { margin: 1.6em 0; padding: 4px 20px; border-left: 3px solid var(--accent); color: var(--text-3); font-style: italic; }
.prose .code {
  background: color-mix(in oklab, var(--panel) 92%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; overflow: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--text-2);
}
.prose .code code { background: none; border: 0; padding: 0; font-size: inherit; }

/* callout */
.callout {
  margin: 1.8em 0; padding: 20px 22px;
  background: color-mix(in oklab, var(--panel) 88%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.callout-title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; margin: 0 0 10px; color: var(--text); }
.callout-title svg { color: var(--accent); flex: none; }
.callout ul { margin: 0; padding-left: 1.2em; }

/* mini feature grid */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 1.8em 0; }
.mini-grid .card {
  padding: 18px; border-radius: var(--radius);
  background: color-mix(in oklab, var(--panel) 88%, transparent); border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mini-grid .card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.mini-grid h4 { margin: 10px 0 6px; font-size: 16px; font-weight: 700; color: var(--text); }
.mini-grid p { margin: 0; font-size: 14.5px; color: var(--text-3); line-height: 1.55; }
.mini-ico { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }

/* domain chips */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5em 0; }
.chip { font-family: var(--mono); font-size: 13px; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, var(--panel-2) 85%, transparent); border: 1px solid var(--border); color: var(--text-2); }

/* inline CTA */
.learn-cta {
  margin: 2.4em 0 1.4em; padding: 30px 28px; border-radius: var(--radius-lg);
  background: radial-gradient(130% 150% at 100% 0%, var(--accent-soft), transparent 60%), color-mix(in oklab, var(--panel) 90%, transparent);
  border: 1px solid var(--border-2); text-align: center;
}
.learn-cta h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.learn-cta p { margin: 0 auto 18px; color: var(--text-3); max-width: 46ch; }
.lcta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); border: 0;
  background: var(--accent); color: #16160f;
  font-family: var(--display); font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 10px 26px -12px var(--accent);
}
.lcta-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
html[data-theme="light"] .lcta-btn { color: #fff; }

/* FAQ */
.faq-list { display: grid; gap: 10px; margin: 1.6em 0; }
.faq-list details {
  background: color-mix(in oklab, var(--panel) 90%, transparent);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.faq-list details[open] { border-color: var(--border-2); }
.faq-list summary { cursor: pointer; padding: 17px 20px; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--accent); transition: transform 0.2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--text-3); }
.faq-list details a { color: var(--accent); text-decoration: none; }

/* related */
.related { margin-top: 3em; }
.related h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--text); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.related-card {
  display: block; padding: 16px 18px; border-radius: var(--radius);
  background: color-mix(in oklab, var(--panel) 88%, transparent); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.related-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.related-card .rc-cat { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.related-card .rc-title { display: block; margin-top: 6px; font-weight: 700; font-size: 15px; line-height: 1.35; }

/* hub */
.hub-hero { text-align: center; max-width: 640px; margin: 24px auto 44px; }
.hub-hero h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -0.035em; line-height: 1.04; font-weight: 800; margin: 18px 0 14px; }
.hub-hero .lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-3); margin: 0; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 40px; }
.hub-card {
  display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--panel) 90%, transparent); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.hub-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hub-card .hub-cat { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.hub-card h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 8px; line-height: 1.3; }
.hub-card p { margin: 0; font-size: 14.5px; color: var(--text-3); line-height: 1.55; flex: 1; }
.hub-card .hub-go { margin-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent); }

.brand-suffix { color: var(--muted); font-family: var(--mono); font-size: 13px; margin-left: 3px; }

/* scroll-reveal (progressive enhancement; visible without JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 640px) { .learn-main { padding: 16px 18px 70px; } .prose { font-size: 16px; } }
