:root {
  --ink: #101828;
  --muted: #5f6b7a;
  --line: #dfe8f3;
  --paper: #f7fbff;
  --soft: #edf6ff;
  --blue: #155eef;
  --blue-soft: #e6efff;
  --teal: #0f766e;
  --teal-soft: #e6f7f4;
  --violet: #6d28d9;
  --violet-soft: #f0e8ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 0 max(32px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(223,232,243,.95); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(16,24,40,.05); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 950; }
.brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; font-size: 11px; font-weight: 950; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: #344054; font-weight: 850; }
.nav a { min-height: 38px; display: inline-flex; align-items: center; border-radius: 8px; padding: 8px 11px; white-space: nowrap; }
.nav a:hover { background: var(--blue-soft); color: var(--blue); }
.language-menu { position: relative; }
.language-menu summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  color: #344054;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: "⌄"; color: #667085; font-size: 13px; }
.language-menu[open] summary { border-color: #b9cdf8; background: var(--blue-soft); color: var(--blue); }
.language-list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(520px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16,24,40,.18);
  padding: 10px;
}
.language-list a {
  min-height: 36px;
  justify-content: flex-start;
  padding: 7px 9px;
  font-size: 13px;
}
.language-list a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.hero { width: min(1180px, calc(100% - 32px)); min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; padding: 58px 0 72px; }
.hero-copy { max-width: 790px; }
.eyebrow { display: inline-flex; align-items: center; min-height: 34px; margin: 0 0 16px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #667085; font-size: 13px; font-weight: 900; }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(48px, 6vw, 82px); }
h2 { font-size: clamp(31px, 4.6vw, 56px); }
h3 { font-size: 22px; }
.lead { margin-top: 24px; color: var(--muted); font-size: clamp(19px, 2vw, 24px); max-width: 820px; }
.micro { margin-top: 18px; color: #667085; font-size: 15px; max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.primary, .secondary { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 0 20px; font-weight: 950; text-align: center; }
.primary { background: var(--ink); color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.answer-panel { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fff, var(--paper)); box-shadow: 0 34px 95px rgba(16,24,40,.11); padding: 22px; }
.panel-top { min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 950; }
.answer-row { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px; }
.answer-row b, .answer-row span { display: block; }
.answer-row b { font-size: 14px; color: #344054; }
.answer-row span { margin-top: 6px; color: var(--blue); font-size: 20px; font-weight: 950; }
section { position: relative; padding: 74px 0; }
main > section:not(.hero)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1180px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #bfd0f3, transparent);
}
.structure, .comparison, .free, .links { background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%); }
.keyword-map, .use-cases, .decision, .faq, .prompt-tests { background: #fff; }
.scenario-guide { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.deep-guide {
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.similar-phrases, .mistakes, .medium-reads { background: linear-gradient(180deg, #f7fbff 0%, #f4f0ff 100%); }
.subscription-reads { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 34px;
  text-align: center;
  border: 1px solid rgba(223,232,243,.95);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 60px rgba(16,24,40,.055);
  padding: 26px 28px 30px;
}
.section-head p:not(.eyebrow) { max-width: 850px; margin: 18px auto 0; color: var(--muted); font-size: 19px; }
.structure-grid, .case-grid, .decision-grid, .tool-card-list, .guide-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 14px; }
.phrase-grid, .prompt-grid, .mistake-grid, .reading-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scenario-list, .article-body { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.explainer-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.structure-grid, .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.decision-grid, .tool-card-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.structure-grid article, .case-grid article, .decision-grid article, .tool-card-list article, .guide-grid a {
  min-height: 215px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 58px rgba(16,24,40,.055);
}
.case-grid article, .tool-card-list article, .decision-grid article, .guide-grid a, .phrase-grid article, .prompt-grid article, .mistake-grid article, .scenario-list article { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.case-grid article:hover, .tool-card-list article:hover, .decision-grid article:hover, .guide-grid a:hover, .phrase-grid article:hover, .prompt-grid article:hover, .mistake-grid article:hover, .scenario-list article:hover { transform: translateY(-3px); border-color: #b9cdf8; box-shadow: 0 24px 72px rgba(21,94,239,.12); }
.phrase-grid article, .prompt-grid article, .mistake-grid article, .reading-grid a {
  min-height: 225px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 58px rgba(16,24,40,.055);
}
.phrase-grid article { border-top: 4px solid var(--blue); }
.phrase-grid article:nth-child(2n) { border-top-color: var(--violet); }
.phrase-grid article:nth-child(3n) { border-top-color: var(--teal); }
.explainer-grid article {
  min-height: 255px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(16,24,40,.07);
}
.explainer-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: var(--blue-soft);
}
.explainer-grid span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}
.explainer-grid h3 { max-width: 620px; font-size: clamp(24px, 3vw, 34px); line-height: 1.08; }
.explainer-grid p { margin-top: 14px; color: var(--muted); font-size: 18px; font-weight: 650; }
.prompt-grid span { display: inline-flex; min-height: 34px; align-items: center; margin-bottom: 12px; border-radius: 999px; background: var(--violet-soft); padding: 5px 10px; color: var(--violet); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.phrase-grid p, .prompt-grid p { margin-top: 12px; color: var(--muted); font-weight: 650; }
.article-body { color: var(--muted); font-size: 19px; }
.article-body h3 { margin-top: 30px; color: var(--ink); font-size: 28px; }
.article-body h3:first-child { margin-top: 0; }
.article-body p { margin-top: 12px; }
.scenario-list { width: min(1180px, calc(100% - 32px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.scenario-list article { min-height: 245px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 26px; box-shadow: 0 18px 58px rgba(16,24,40,.055); }
.scenario-list article:nth-child(1), .scenario-list article:nth-child(4) { background: #fff linear-gradient(180deg, #fff 0%, #f1f6ff 100%); }
.scenario-list article:nth-child(2), .scenario-list article:nth-child(5) { background: #fff linear-gradient(180deg, #fff 0%, #eefbf8 100%); }
.scenario-list article:nth-child(3), .scenario-list article:nth-child(6) { background: #fff linear-gradient(180deg, #fff 0%, #f6f0ff 100%); }
.scenario-list p { margin-top: 12px; color: var(--muted); font-size: 18px; font-weight: 650; }
.structure-grid span { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 950; }
.case-grid span { display: inline-flex; min-height: 34px; align-items: center; margin-bottom: 14px; border-radius: 999px; background: var(--teal-soft); padding: 5px 10px; color: var(--teal); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.decision-grid b { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; }
.structure-grid p, .case-grid p, .decision-grid p, .tool-card-list p, .guide-grid span { display: block; margin-top: 12px; color: var(--muted); font-weight: 650; }
.tool-card-list a { display: inline-flex; margin-top: 14px; color: #667085; font-size: 13px; font-weight: 900; }
.tool-card-list a:hover { color: var(--blue); }
.table-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 12px; background: #fff; box-shadow: 0 22px 70px rgba(16,24,40,.075); }
.comparison-table { width: 100%; min-width: 1080px; border-collapse: collapse; }
.directory-table { min-width: 1180px; }
.comparison-table th { padding: 16px; background: #f2f7ff; color: #475467; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.comparison-table td { padding: 18px 16px; border-top: 1px solid var(--line); vertical-align: top; color: #293548; font-weight: 650; }
.comparison-table td small { display: block; margin-top: 5px; color: var(--muted); font-weight: 650; }
.rank { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 950; }
.mistake-grid article { border-left: 5px solid var(--blue); }
.mistake-grid article:nth-child(2) { border-left-color: var(--violet); }
.mistake-grid article:nth-child(3) { border-left-color: var(--teal); }
.mistake-grid article:nth-child(4) { border-left-color: #c2410c; }
.mistake-grid span { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 950; }
.mistake-grid p { margin-top: 12px; color: var(--muted); font-weight: 650; }
.reading-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reading-grid a { min-height: 245px; display: block; border-top: 4px solid var(--ink); }
.reading-grid a:nth-child(2) { border-top-color: var(--blue); }
.reading-grid a:nth-child(3) { border-top-color: var(--violet); }
.reading-grid a:nth-child(4) { border-top-color: var(--teal); }
.reading-grid span { display: inline-flex; min-height: 32px; align-items: center; margin-bottom: 14px; border-radius: 999px; background: var(--blue-soft); padding: 5px 10px; color: var(--blue); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.reading-grid p { margin-top: 12px; color: var(--muted); font-weight: 650; }
.reading-grid a:hover { transform: translateY(-3px); border-color: #b9cdf8; box-shadow: 0 24px 72px rgba(21,94,239,.12); }
.subscription-grid a { border-top-color: var(--teal); }
.subscription-grid span { background: var(--teal-soft); color: var(--teal); }
.faq-list { width: min(980px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 45px rgba(16,24,40,.055); }
summary { cursor: pointer; padding: 18px 20px; color: var(--ink); font-size: 18px; font-weight: 950; }
details p { padding: 0 20px 20px; color: var(--muted); font-size: 17px; }
.footer { padding: 54px 18px 34px; border-top: 1px solid var(--line); color: #667085; font-size: 14px; background: var(--paper); }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 26px; text-align: left; }
.footer-compact { align-items: start; }
.footer h3 { margin: 0 0 12px; color: var(--ink); font-size: 16px; line-height: 1.2; }
.footer a { display: block; margin-top: 8px; color: #344054; font-weight: 850; }
.footer a:hover { color: var(--blue); }
.footer p { color: #667085; }
.footer-bottom { width: min(1180px, calc(100% - 32px)); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: #667085; }
.mobile-nav-toggle { display: none; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.mobile-nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.mobile-nav-open .mobile-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
.mobile-nav-open .mobile-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.scroll-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .scroll-reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 1120px) { .topbar { min-height: 66px; padding: 10px 18px; } .topbar .brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topbar nav { display: none !important; position: absolute; top: calc(100% + 10px); left: 18px; right: 18px; z-index: 50; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 22px 60px rgba(16,24,40,.16); } .topbar.mobile-nav-open nav { display: flex !important; } .topbar nav a { min-height: 44px; white-space: normal; } .topbar .mobile-nav-toggle { display: inline-flex; } .language-menu summary { width: 100%; min-height: 44px; justify-content: space-between; } .language-list { position: static; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; box-shadow: none; } }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; } .hero-copy { text-align: center; margin: 0 auto; } .lead, .micro { margin-left: auto; margin-right: auto; } .actions { justify-content: center; } .structure-grid, .case-grid, .decision-grid, .tool-card-list, .guide-grid, .phrase-grid, .prompt-grid, .explainer-grid, .scenario-list, .mistake-grid, .reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { h1 { font-size: 40px; } h2 { font-size: 32px; } section { padding: 54px 0; } .structure-grid, .case-grid, .decision-grid, .tool-card-list, .guide-grid, .phrase-grid, .prompt-grid, .explainer-grid, .scenario-list, .mistake-grid, .reading-grid { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr; } .primary, .secondary { width: 100%; } .article-body { font-size: 17px; } .article-body h3 { font-size: 24px; } .explainer-grid article { min-height: auto; } }
