:root {
  --ink: #312d37;
  --ink-strong: #25222a;
  --muted: #706b76;
  --soft: #8d8f98;
  --accent: #ff5b04;
  --accent-dark: #e95100;
  --canvas: #ffffff;
  --warm: #fbfaf8;
  --pale: #f7f7f7;
  --line: #e9e7e6;
  --line-dark: #d9d6d4;
  --radius: 22px;
  --width: 1080px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffa473; outline-offset: 3px; }
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.s { width: 17px; height: 17px; }
.icon.xs { width: 14px; height: 14px; }
.sr-only { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
main { min-height: 70vh; }
.container { width: min(var(--width), calc(100% - 48px)); margin: 0 auto; }
[hidden] { display: none !important; }

.nav-shell { position: relative; z-index: 20; max-width: 1080px; padding: 24px 18px 0; margin: 0 auto; }
.site-nav {
  height: 64px;
  background: rgba(249,249,249,.97);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 12px 8px 25px;
  box-shadow: 0 12px 32px rgba(20,20,20,.045);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-strong);
  white-space: nowrap;
}
.brand img { width: 25px; height: 25px; object-fit: contain; }
.nav-items { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.nav-items a:not(.nav-cta) { font-size: 14px; text-decoration: none; color: #5d5862; font-weight: 500; white-space: nowrap; }
.nav-items a[aria-current='page'] { color: var(--ink-strong); font-weight: 700; }
.nav-items a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
}
.nav-cta:hover, .btn-primary:hover { background: var(--accent-dark); }

.hero { padding: 88px 0 50px; text-align: center; }
.hero h1 {
  font-size: clamp(55px, 7.6vw, 85px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--ink-strong);
}
.hero p { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0 auto; max-width: 760px; }
.search-panel { margin: 34px auto 0; max-width: 650px; position: relative; display: flex; align-items: center; }
.search-panel .icon { position: absolute; left: 21px; color: #9b98a0; pointer-events: none; }
.search-panel input {
  width: 100%;
  height: 60px;
  min-width: 0;
  border: 1px solid var(--line-dark);
  background: #fff;
  border-radius: 18px;
  padding: 0 22px 0 55px;
  font-size: 15px;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(20,20,20,.035);
}
.search-panel input:focus { border-color: #ffa270; box-shadow: 0 0 0 3px #ffebe1; outline: none; }
.search-panel input::placeholder { color: #99959f; }
.tag-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 24px 0 0; }
.tag-button {
  padding: 10px 17px;
  border: 1px solid #e9e7e5;
  border-radius: 999px;
  background: #fff;
  color: #615c64;
  font-size: 13px;
  font-weight: 550;
  transition: background .16s, border-color .16s;
}
.tag-button:hover { background: var(--warm); }
.tag-button[aria-pressed='true'] { background: var(--ink-strong); color: #fff; border-color: var(--ink-strong); }
.results-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 24px 0 16px; }
.section-name { margin: 0; font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: var(--ink-strong); }
.results-count { font-size: 12px; color: var(--soft); font-weight: 500; }

.featured-guide {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: stretch;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 26px;
  min-height: 314px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.featured-guide:hover { border-color: #e7d6ca; box-shadow: 0 18px 35px rgba(25,20,18,.04); transform: translateY(-2px); }
.featured-copy { padding: 42px 30px 40px 44px; display: flex; flex-direction: column; align-items: flex-start; }
.card-meta { color: #96909a; font-weight: 600; font-size: 11px; letter-spacing: .065em; text-transform: uppercase; }
.featured-copy h3 { font-size: clamp(29px, 3vw, 38px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 20px 0 12px; color: var(--ink-strong); }
.featured-copy p { margin: 0; line-height: 1.55; color: #76707a; max-width: 385px; font-size: 15px; }
.card-text-link { margin-top: auto; padding-top: 30px; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.featured-visual { padding: 28px; display: flex; align-items: center; justify-content: center; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 18px 0 40px; }
.guide-card {
  min-width: 0;
  min-height: 204px;
  padding: 29px 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.guide-card:hover { border-color: #ebd2c2; box-shadow: 0 14px 28px rgba(18,15,20,.04); transform: translateY(-2px); }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guide-icon { width: 44px; height: 44px; border-radius: 13px; background: #fff4ed; color: var(--accent); display: grid; place-items: center; }
.guide-card h3 { margin: 3px 0 0; font-size: 26px; line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: var(--ink-strong); }
.guide-card p { margin: 0; color: #736d77; line-height: 1.55; font-size: 15px; }
.no-results {
  margin: 20px 0 36px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #6f6872;
  background: var(--warm);
}
.no-results strong { display: block; color: var(--ink-strong); margin-bottom: 6px; }
.hub-llm-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--warm);
  padding: 26px 28px;
  margin: 0 0 90px;
}
.hub-llm-box h2 { margin: 0 0 10px; font-size: 27px; letter-spacing: -.025em; }
.hub-llm-box p { margin: 0; color: #726c76; line-height: 1.6; }
.hub-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.hub-links a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hub-links a:hover { color: var(--accent); border-color: #ffcfb2; }

.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8d8791; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.article-header { padding: 67px 0 45px; border-bottom: 1px solid var(--line); }
.article-header .breadcrumb { margin-bottom: 29px; }
.article-header h1 {
  max-width: 820px;
  font-size: clamp(43px,5.4vw,64px);
  font-weight: 600;
  letter-spacing: -.043em;
  line-height: 1.07;
  margin: 0 0 20px;
  color: var(--ink-strong);
}
.article-header p { max-width: 760px; color: var(--muted); font-size: 19px; line-height: 1.56; margin: 0; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 12px; color: #97929c; font-weight: 550; flex-wrap: wrap; }
.platform-chips { display: inline-flex; gap: 6px; margin-left: 5px; flex-wrap: wrap; }
.platform-chips span { background: var(--pale); border: 1px solid var(--line); font-size: 11px; padding: 5px 9px; border-radius: 99px; color: #79737c; }
.article-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); column-gap: 75px; align-items: start; margin: 42px auto 110px; }
.article-aside { position: sticky; top: 30px; display: flex; flex-direction: column; gap: 28px; }
.toc-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #96919c; margin: 0 0 12px; }
.toc-nav { border-left: 1px solid #e7e3e0; display: grid; }
.toc-nav a { text-decoration: none; padding: 9px 15px; color: #8b858e; font-size: 13px; line-height: 1.3; border-left: 2px solid transparent; margin-left: -1px; }
.toc-nav a:hover, .toc-nav a.active { color: var(--accent); border-left-color: var(--accent); }
.sidebar-cta { background: var(--warm); padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.sidebar-cta b { font-size: 14px; display: block; }
.sidebar-cta p { margin: 7px 0 16px; color: #8c8590; line-height: 1.4; font-size: 12px; }
.sidebar-cta a { font-size: 12px; font-weight: 650; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.article-content { min-width: 0; max-width: 745px; }
.article-content section { scroll-margin-top: 22px; }
.article-content h2 { margin: 47px 0 15px; color: var(--ink-strong); font-size: 29px; font-weight: 600; line-height: 1.18; letter-spacing: -.025em; }
.article-content h3 { margin: 27px 0 8px; color: var(--ink-strong); font-weight: 600; font-size: 19px; }
.article-content p { line-height: 1.72; font-size: 16px; color: #68626d; margin: 12px 0; }
.leadbox { display: flex; gap: 16px; background: var(--warm); border: 1px solid var(--line); border-radius: 18px; padding: 22px 23px; margin: 0 0 37px; }
.leadbox .leadmark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff0e5; color: var(--accent); flex: none; }
.leadbox strong { font-size: 14px; font-weight: 700; color: var(--ink-strong); }
.leadbox p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
.article-content .intro-text { font-size: 17px; line-height: 1.7; }
.steps { list-style: none; padding: 0; margin: 22px 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 15px; margin: 0 0 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; font-weight: 650; font-size: 14px; width: 34px; height: 34px; background: #fff2e8; color: var(--accent); border-radius: 11px; }
.steps li b { display: block; font-weight: 600; color: var(--ink-strong); font-size: 16px; margin: 4px 0 5px; }
.steps li p { margin: 0; font-size: 15px; line-height: 1.56; }
.command-group { display: grid; gap: 9px; margin: 20px 0 23px; }
.command-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.command-row code { font-size: 14px; letter-spacing: -.005em; color: #48434b; font-family: var(--font); font-weight: 600; }
.command-row .description { color: #a6a0ab; font-size: 12px; margin-top: 4px; display: block; }
.copy-command { height: 32px; padding: 0 10px; border: 1px solid #ece9e7; background: var(--warm); border-radius: 8px; color: #736c77; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 5px; flex: none; }
.copy-command:hover { border-color: #ffd3b6; color: var(--accent); }
.note-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 17px;
  background: var(--warm);
  margin: 18px 0;
}
.note-box strong { display: block; color: var(--ink-strong); font-size: 14px; }
.note-box p { margin: 7px 0 0; font-size: 14px; line-height: 1.55; }
.article-shot {
  margin: 20px 0;
  padding: 18px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.article-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #ece9e7;
  box-shadow: 0 8px 28px rgba(20,20,20,.05);
}
.article-shot figcaption {
  color: #98929c;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  margin-top: 12px;
}
.feature-shot { margin: 0; padding: 0; background: transparent; border: 0; }
.feature-shot img { max-height: 330px; object-fit: contain; background: #fff; }
.feature-shot figcaption { margin-top: 10px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; color: var(--ink); font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 25px; color: #99929e; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { font-size: 14px; margin: 12px 0 5px; }
.recommended-next { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.recommended-next h2 { margin: 0 0 18px; font-size: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.related-link { text-decoration: none; border: 1px solid var(--line); border-radius: 15px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.related-link:hover { border-color: #ffbea0; color: var(--accent); }
.related-link .icon { color: var(--accent); }
.end-cta { background: var(--warm); border-radius: 23px; text-align: center; padding: 48px 28px; margin: 56px 0 0; border: 1px solid var(--line); }
.end-cta h2 { font-size: 31px; margin: 0 0 8px; letter-spacing: -.03em; }
.end-cta p { font-size: 15px; line-height: 1.5; margin: 0 auto 22px; max-width: 480px; }
.btn-primary { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-size: 13px; font-weight: 650; }

.site-footer { border-top: 1px solid var(--line); background: var(--warm); padding: 34px 0 38px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; }
.footer-logo img { width: 23px; height: 23px; }
.footer-right { display: flex; gap: 25px; align-items: center; font-size: 12px; color: #817c85; flex-wrap: wrap; }
.footer-right a { text-decoration: none; }
.footer-right a:hover { color: var(--accent); }
.footer-note { font-size: 11px; color: #aaa5aa; margin-top: 10px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 170px minmax(0,1fr); gap: 34px; }
}
@media (max-width: 720px) {
  .nav-shell { padding: 13px 12px 0; }
  .site-nav { height: 57px; padding: 8px 8px 8px 18px; }
  .brand { font-size: 15px; }
  .brand img { width: 22px; height: 22px; }
  .nav-items { gap: 16px; }
  .nav-items a:not(.nav-cta):nth-child(1) { display: none; }
  .nav-cta { min-height: 39px; padding: 0 16px; }
  .container { width: min(var(--width), calc(100% - 36px)); }
  .hero { padding: 74px 0 42px; }
  .hero h1 { font-size: 59px; }
  .hero p { font-size: 16px; max-width: 490px; }
  .search-panel { margin-top: 26px; }
  .search-panel input { height: 56px; }
  .featured-guide { grid-template-columns: 1fr; }
  .featured-copy { padding: 30px; }
  .featured-copy h3 { font-size: 31px; }
  .featured-visual { padding: 0 18px 22px; }
  .guide-grid { grid-template-columns: 1fr; gap: 11px; margin-bottom: 34px; }
  .guide-card { min-height: 185px; padding: 25px; }
  .hub-llm-box { margin-bottom: 64px; }
  .article-header { padding: 46px 0 32px; }
  .article-header h1 { font-size: 45px; }
  .article-header p { font-size: 16px; }
  .article-layout { display: block; margin: 26px auto 75px; }
  .article-aside { position: static; margin: 0 0 28px; }
  .toc-nav { display: flex; overflow-x: auto; border: 0; gap: 7px; padding-bottom: 5px; }
  .toc-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; white-space: nowrap; margin: 0; }
  .toc-nav a.active { border-color: #ffb48d; background: #fff3eb; }
  .sidebar-cta, .toc-label { display: none; }
  .article-content h2 { font-size: 26px; margin-top: 37px; }
  .related-grid, .shot-grid { grid-template-columns: 1fr; }
  .end-cta { padding: 36px 22px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 54px; }
  .nav-items { gap: 9px; }
  .nav-items a:not(.nav-cta) { font-size: 12px; }
  .nav-cta { padding: 0 12px; font-size: 12px; }
  .featured-copy { padding: 28px 23px; }
  .article-shot { padding: 12px; }
  .command-row { padding: 12px; }
  .article-header h1 { font-size: 40px; }
  .results-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .featured-guide, .guide-card { transition: none; }
}

/* Guide example rows contain information only. */
.command-row { padding:16px 18px; }
.command-row code { font-weight:600; }
.command-row .description { margin-top:6px; }
/* Embedded interactive visual tools reuse the original TypeDash tool demo in an isolated frame. */
.tool-demo-wrap { margin:27px 0; background:#fff; border:1px solid var(--line); border-radius:19px; overflow:hidden; }
.tool-demo-wrap iframe { width:100%; height:710px; border:0; display:block; background:#fff; }
.tool-demo-wrap figcaption { font-size:12px; line-height:1.55; color:#8b858d; padding:12px 18px 15px; border-top:1px solid var(--line); text-align:center; }
.tool-demo-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:16px 0; }
.tool-demo-actions span { color:#847f87; font-size:13px; }
.article-content .tool-demo-note { font-size:13px; color:#827a85; }
@media(max-width:720px) { .tool-demo-wrap iframe { height:575px; } }

/* Featured drag-and-drop guide uses the real desktop screenshot. */
.drag-demo-feature img {
  max-height: 340px;
  aspect-ratio: 960 / 558;
  width: 100%;
  object-fit: contain;
  background: #fff;
}
.drag-demo-feature figcaption { font-size: 12px; color: #96909a; }
.drag-example-shot { padding: 14px; }
.drag-example-shot img { aspect-ratio: 960 / 558; width: 100%; object-fit: contain; }
@media (max-width: 720px) {
  .drag-demo-feature img { max-height: none; }
  .drag-example-shot { padding: 9px; }
}

/* Animated guide asset: keep the screenshot's shape and start playback immediately. */
.drag-demo-feature img,
.drag-example-shot img { aspect-ratio: 960 / 558; height: auto; object-fit: contain; }
/* The quick-answer panel is intentionally removed from the guide layout. */
.article-content > section:first-of-type h2 { margin-top: 9px; }
