/* Auto Typer landing page only. Keep the other utility workspaces unchanged. */
body.diyai-auto-typer-page #primary.site-main {
  max-width: 1280px !important;
  margin: 32px auto 72px !important;
  padding: 0 28px !important;
}
body.diyai-auto-typer-page #content.container { width: 100%; max-width: none; padding: 0; }
.diyai-utility.auto-typer-page {
  --typer-ink: #10233c;
  --typer-muted: #4d607b;
  --typer-border: #d9e1eb;
  --typer-amber: #ffb000;
  width: 100%; max-width: none; margin: 24px 0 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: var(--typer-ink);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.auto-typer-page *, .auto-typer-page *::before, .auto-typer-page *::after { box-sizing: border-box; }
.auto-typer-page :is(h1,h2,h3,p,ul,ol) { margin: 0; }
.auto-typer-page :is(h1,h2,h3) { color: var(--typer-ink); letter-spacing: -.035em; line-height: 1.18; }
.auto-typer-page h2 { font-size: clamp(26px, 3vw, 36px); }
.auto-typer-page h3 { font-size: 21px; }
.auto-typer-page p { color: var(--typer-muted); }
.auto-typer-page .auto-typer-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.auto-typer-page .auto-typer-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 44px;
  padding: clamp(28px, 4.5vw, 56px); border: 1px solid #28435e; border-radius: 24px;
  background: linear-gradient(120deg, #071321, #142d48); color: #fff;
}
.auto-typer-hero .auto-typer-eyebrow { color: #ffc650; }
.auto-typer-page .auto-typer-hero h1 { margin: 0; font-size: clamp(34px, 3.7vw, 52px); color: #fff; font-weight: 780; line-height: 1.09; text-align: left; }
.auto-typer-hero h1 span { color: #ffc650; }
.auto-typer-page .auto-typer-lead { margin-top: 24px; max-width: 42ch; font-size: 17px; color: #cfdeee; }
.auto-typer-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
/* Explicit states beat the theme's orange underlined article links. */
.auto-typer-page a.auto-typer-button,
.auto-typer-page a.auto-typer-button:visited,
.auto-typer-page button#start-typing {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 10px;
  background: var(--typer-amber); color: #102137; font: inherit; font-size: 15px; font-weight: 750;
  text-align: center; text-decoration: none; box-shadow: none; cursor: pointer;
}
.auto-typer-page a.auto-typer-button:hover, .auto-typer-page button#start-typing:hover { background: #ffc044; color: #102137; text-decoration: none; }
.auto-typer-page a.auto-typer-button-secondary,
.auto-typer-page a.auto-typer-button-secondary:visited { color: var(--typer-ink); background: #eef3f8; border-color: #c4d1e0; }
.auto-typer-page a.auto-typer-button-secondary:hover { background: #e1eaf3; }
.auto-typer-page a.auto-typer-text-link, .auto-typer-page a.auto-typer-text-link:visited { color: #fff; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.auto-typer-page a.auto-typer-text-link:hover { color: #ffc650; }
.auto-typer-page .auto-typer-hero-note { margin-top: 14px; color: #b9cce2; font-size: 13px; }
.auto-typer-page .auto-typer-store-pending { color: #fff; }
.auto-typer-example { min-width: 0; border: 1px solid #3b536d; border-radius: 16px; background: #f6f8fc; box-shadow: 0 20px 48px #0003; overflow: hidden; }
.auto-typer-example-top { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #d9e1eb; color: var(--typer-ink); font-size: 12px; }
.auto-typer-example-mark { display: grid; place-items: center; flex: 0 0 28px; height: 28px; background: #ffb000; border-radius: 7px; font-size: 20px; font-weight: 800; }
.auto-typer-example-label { margin-left: auto; color: var(--typer-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.auto-typer-example-body { padding: 24px; }
.auto-typer-example-trigger { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--typer-muted); font-size: 13px; }
.auto-typer-example-trigger > div { display: flex; align-items: center; gap: 12px; }
.auto-typer-page .auto-typer-example code { color: #153b69; background: #e3ebf6; border: 1px solid #cbd8e9; border-radius: 8px; padding: 7px 14px; font-size: 21px; font-weight: 700; }
.auto-typer-page kbd { display: inline-block; padding: 2px 7px; background: #fff; border: 1px solid #c6d1df; border-bottom-width: 3px; border-radius: 5px; color: var(--typer-ink); font-family: inherit; font-size: 13px; line-height: 1.5; font-weight: 600; }
.auto-typer-example-arrow { color: #a66a00; text-align: center; font-size: 26px; line-height: 1.5; }
.auto-typer-example-reply { border: 1px solid #cbd8e9; border-radius: 10px; padding: 20px; background: #fff; }
.auto-typer-example-reply > span { color: #5c718a; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; }
.auto-typer-page .auto-typer-example-reply p { margin-top: 12px; color: var(--typer-ink); font-size: 15px; }
.auto-typer-example-reply i { display: inline-block; height: 16px; margin-left: 3px; border-left: 2px solid #b46f00; vertical-align: middle; }
.auto-typer-example-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.auto-typer-example-tags span { padding: 3px 9px; border-radius: 5px; border: 1px solid #d6dfeb; color: #546881; font: 11px/1.5 monospace; }
.auto-typer-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 8px; border-bottom: 1px solid var(--typer-border); }
.auto-typer-benefits p { display: grid; gap: 2px; text-align: center; font-size: 13px; }
.auto-typer-benefits strong { color: var(--typer-ink); font-size: 15px; }
.auto-typer-page .auto-typer-plans, .auto-typer-page .auto-typer-setup { margin-top: 56px; }
.auto-typer-section-heading { margin-bottom: 26px; }
.auto-typer-section-heading .auto-typer-eyebrow { color: #5b708a; }
.auto-typer-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.auto-typer-plan { min-width: 0; padding: 30px; border: 1px solid var(--typer-border); border-radius: 18px; background: #fff; box-shadow: 0 6px 20px #10233c04; }
.auto-typer-plan-studio { border-color: #d7a642; box-shadow: inset 0 3px #ffb000, 0 6px 20px #10233c04; }
.auto-typer-plan-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.auto-typer-badge { display: inline-block; padding: 5px 9px; background: #edf2f8; color: #45607e; border-radius: 5px; font-size: 11px; font-weight: 650; }
.auto-typer-plan-studio .auto-typer-badge { background: #fff2d5; color: #795000; }
.auto-typer-page .auto-typer-plan-number { margin: 24px 0 10px; color: var(--typer-ink); font-size: 46px; font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.auto-typer-plan-number span { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.auto-typer-plan > p { font-size: 14px; }
.auto-typer-page .auto-typer-plan ul { display: grid; gap: 12px; margin: 24px 0 28px; padding: 0; list-style: none; color: #344a66; font-size: 14px; }
.auto-typer-plan li { position: relative; padding-left: 26px; }
.auto-typer-plan li::before { content: "✓"; position: absolute; left: 0; color: #426b57; font-weight: 750; }
.auto-typer-plan .auto-typer-button { width: 100%; }
.auto-typer-page .auto-typer-plan-terms { margin: 16px 0 0; font-size: 12px; line-height: 1.65; color: #566881; }
.auto-typer-page .auto-typer-member-note { margin-top: 20px; text-align: center; font-size: 13px; }
.auto-typer-page .auto-typer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; padding: 0; }
.auto-typer-steps li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.auto-typer-steps li > span { flex: 0 0 38px; display: grid; place-items: center; height: 38px; border: 1px solid #ccdae9; border-radius: 10px; background: #e9f0f8; color: #294b70; font-size: 13px; font-weight: 750; }
.auto-typer-page .auto-typer-steps h3 { font-size: 18px; margin: 7px 0 12px; }
.auto-typer-steps p { font-size: 14px; }
.auto-typer-page .auto-typer-setup-note { padding-top: 24px; font-size: 13px; }
.auto-typer-details-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; margin-top: 24px; }
.auto-typer-page details { margin: 0; padding: 20px; border-radius: 12px; border-color: var(--typer-border); }
.auto-typer-page summary { display: list-item; min-height: 24px; color: var(--typer-ink); font-size: 14px; font-weight: 650; }
.auto-typer-page details p { font-size: 14px; }
.auto-typer-page details p + p { margin-top: 12px; }
.auto-typer-page .auto-typer-practice { margin-top: 48px; padding: 32px; background: #fff; border: 1px solid var(--typer-border); border-radius: 18px; scroll-margin-top: 110px; }
.auto-typer-practice .auto-typer-section-heading > p:last-child { margin-top: 12px; max-width: 75ch; font-size: 14px; }
.auto-typer-practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.auto-typer-practice-grid > div { min-width: 0; }
.auto-typer-page .auto-typer-practice label { gap: 8px; color: #344a66; font-size: 13px; font-weight: 650; }
.auto-typer-page .auto-typer-practice textarea { min-height: 170px; padding: 14px; font-size: 15px; font-weight: 400; resize: vertical; border-color: #bccbde; border-radius: 10px; }
.auto-typer-page .auto-typer-settings { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.auto-typer-page .auto-typer-settings input { font-weight: 400; border-color: #bccbde; border-radius: 8px; }
.auto-typer-page .auto-typer-settings label { margin-top: 0; }
.auto-typer-page .auto-typer-preview-target textarea { min-height: 294px; background: #f6f9fc; }
.auto-typer-page .auto-typer-preview-target p { margin-top: 10px; font-size: 12px; }
.auto-typer-page button { background: #edf2f8; color: var(--typer-ink); border: 1px solid #c4d1e0; border-radius: 8px; font-weight: 650; font-size: 13px; }
.auto-typer-page button:hover { background: #e0e9f2; }
.auto-typer-page .utility-actions { gap: 10px; margin: 20px 0 0; }
.auto-typer-page #app-status { margin-top: 16px; color: #2e4e6f; font-size: 14px; }
.auto-typer-page #app-status.utility-error { color: #9b2424; }
.auto-typer-page #app-status:empty { min-height: 0; margin: 0; }
.auto-typer-page .auto-typer-advanced { margin-top: 20px; }
.auto-typer-advanced .utility-projects { border: 0; margin-top: 0; padding-top: 12px; }
.auto-typer-advanced .utility-projects h2 { font-size: 23px; margin-bottom: 14px; }
.auto-typer-advanced .utility-projects > p { margin-bottom: 16px; }
.auto-typer-advanced > details { margin-top: 20px; }
.auto-typer-advanced > .utility-note { margin-top: 16px; }
.auto-typer-page :focus-visible { outline: 3px solid #a76a00; outline-offset: 4px; }
.auto-typer-hero :focus-visible { outline-color: #fff; }
@media (max-width: 1000px) {
  .auto-typer-page .auto-typer-hero { gap: 28px; padding: 32px; }
  .auto-typer-example-top { padding: 14px; }
  .auto-typer-example-body { padding: 18px; }
  .auto-typer-example-label { display: none; }
  .auto-typer-page .auto-typer-steps { gap: 20px; }
  .auto-typer-steps li { display: block; }
  .auto-typer-steps li > span { width: 38px; margin-bottom: 12px; }
}
@media (max-width: 760px) {
  body.diyai-auto-typer-page #primary.site-main { margin: 24px auto 48px !important; padding: 0 18px !important; }
  .auto-typer-page .auto-typer-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px; border-radius: 18px; }
  .auto-typer-page .auto-typer-hero h1 { font-size: clamp(32px, 6.6vw, 48px); }
  .auto-typer-page .auto-typer-lead { max-width: none; margin-top: 20px; font-size: 16px; }
  .auto-typer-hero-actions { gap: 16px; margin-top: 24px; }
  .auto-typer-benefits { gap: 16px; padding: 22px 0; }
  .auto-typer-benefits p { font-size: 12px; }
  .auto-typer-benefits strong { font-size: 13px; }
  .auto-typer-plan-grid, .auto-typer-details-grid, .auto-typer-practice-grid { grid-template-columns: 1fr; }
  .auto-typer-plan { padding: 24px; }
  .auto-typer-page .auto-typer-plans, .auto-typer-page .auto-typer-setup { margin-top: 36px; }
  .auto-typer-page .auto-typer-steps { grid-template-columns: 1fr; gap: 22px; }
  .auto-typer-steps li { display: flex; }
  .auto-typer-steps li > span { margin: 0; }
  .auto-typer-page .auto-typer-practice { padding: 24px; margin-top: 32px; }
  .auto-typer-page .auto-typer-preview-target textarea { min-height: 200px; }
  .auto-typer-page .auto-typer-settings { gap: 8px; }
  .auto-typer-page .auto-typer-settings label { font-size: 12px; }
}
@media (max-width: 400px) {
  .auto-typer-page .auto-typer-hero { padding: 26px 20px; }
  .auto-typer-hero-actions { align-items: stretch; flex-direction: column; }
  .auto-typer-page .auto-typer-text-link { text-align: center; }
  .auto-typer-page .auto-typer-example-top strong { font-size: 11px; }
  .auto-typer-page .auto-typer-example-body { padding: 16px; }
  .auto-typer-example-trigger { font-size: 12px; }
  .auto-typer-example-trigger > div { gap: 8px; }
  .auto-typer-page .auto-typer-example code { padding: 5px 8px; font-size: 18px; }
  .auto-typer-page .auto-typer-practice { padding: 20px; }
}
