/* ATS / WordPress plugin page, site v2.1. Tokens come from site_v2.css. */
.at-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.at-sec { padding-top: 112px; }
.at-row { display: flex; flex-wrap: wrap; gap: 12px; }
.at-ic { width: 18px; height: 18px; flex: none; }
.at .ms-btn .at-ic { width: 18px; height: 18px; }
html:is([lang="ar"],[lang="ur"]) .at-h1, html:is([lang="ar"],[lang="ur"]) .at-h2 { letter-spacing: 0; line-height: 1.3; }

/* hero */
.at-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 24px; }
.at-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.at-h1 { margin: 0; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; color: var(--ms-text); }
.at-lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ms-muted); max-width: 560px; }
.at-access { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ms-accent); text-decoration: none; }
.at-access:hover { text-decoration: underline; text-underline-offset: 3px; }
.at-access .at-ic { width: 16px; height: 16px; }

/* article demo: a WordPress post with the ATS player */
.at-stage { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.at-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.at-lang { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 99px; border: 1px solid var(--ms-border); background: var(--ms-card); color: var(--ms-muted); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.at-lang b { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 2px 5px; border-radius: 6px; background: var(--ms-subtle); color: var(--ms-text); }
.at-lang:hover { border-color: var(--ms-accent-line); color: var(--ms-text); }
.at-lang.is-on { border-color: var(--ms-accent); background: var(--ms-accent-bg); color: var(--ms-accent); }
.at-lang.is-on b { background: var(--ms-accent-solid); color: #fff; }

.at-demo { margin: 0; border-radius: 16px; border: 1px solid var(--ms-border); background: #fff; color: #1d2327; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .3); }
.at-demo__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f0f0f1; border-bottom: 1px solid #dcdcde; }
.at-demo__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #c3c4c7; }
.at-demo__url { margin-inline-start: 10px; flex: 1; min-width: 0; padding: 4px 10px; border-radius: 7px; background: #fff; font-size: 11.5px; color: #646970; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-demo__url b { font-weight: 400; color: #1d2327; }
.at-wpbar { display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 8px; background: #1d2327; color: #c3c4c7; font-size: 12px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.at-wpbar__logo { width: 18px; height: 18px; margin: 0 6px 0 2px; color: #a7aaad; }
.at-wpbar__item { display: inline-flex; align-items: center; gap: 5px; padding: 0 7px; height: 100%; }
.at-wpbar__item svg { width: 13px; height: 13px; color: #a7aaad; }
.at-wpbar__item:first-of-type { color: #f0f0f1; }
.at-wpbar__me { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 0 4px; }
.at-wpbar__me i { width: 16px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, #72aee6, #2271b1); }
.at-site { display: flex; align-items: center; gap: 10px; padding: 14px 28px; border-bottom: 1px solid #f0f0f1; }
.at-site__logo { width: 22px; height: 22px; border-radius: 6px; background: #1d2327; }
.at-site b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; font-family: Georgia, "Times New Roman", serif; }
.at-site nav { margin-left: auto; display: flex; gap: 14px; }
.at-site nav i { width: 38px; height: 7px; border-radius: 99px; background: #dcdcde; }
.at-post { padding: 22px 28px 26px; display: flex; flex-direction: column; gap: 12px; text-align: start; }
.at-post__cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #2271b1; }
.at-post__title { margin: -4px 0 0; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: #1d2327; font-family: Georgia, "Times New Roman", serif; }
.at-post[lang="ar"] .at-post__title, .at-post[lang="hi"] .at-post__title, .at-post[lang="ja"] .at-post__title, .at-post[lang="zh-Hans"] .at-post__title { font-family: inherit; letter-spacing: 0; }
.at-post__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #646970; }
.at-post__av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #c5b8ff, #5b5bd6); }
.at-post__text { margin: 2px 0 0; font-size: 19px; line-height: 1.8; color: #50575e; font-family: Georgia, "Times New Roman", serif; }
.at-post[lang="ar"] .at-post__text, .at-post[lang="hi"] .at-post__text, .at-post[lang="ja"] .at-post__text, .at-post[lang="zh-Hans"] .at-post__text { font-family: inherit; }
.at-w { border-radius: 4px; padding: 1px 2px; margin: 0 -2px; transition: background-color .15s ease, color .15s ease; }
.at-w.is-read { color: #1d2327; }
.at-w.is-on { color: #1d2327; background: rgba(99, 102, 241, .16); box-shadow: inset 0 -2px 0 #6366f1; }
.at-demo__lines { display: flex; flex-direction: column; gap: 9px; }
.at-demo__lines i { display: block; height: 9px; border-radius: 99px; background: #f0f0f1; }
.at-demo__cap { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ms-muted); }
.at-demo__cap svg { width: 16px; height: 16px; color: var(--ms-accent); }
.at-demo__cap [data-at-voice] { font-weight: 600; color: var(--ms-text); }
.at-demo__emo { padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--ms-accent-bg); color: var(--ms-accent); border: 1px solid var(--ms-accent-line); }

/* the ATS player ("Modern: Frosted Glass", light) */
.ats-player { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8f8fc); border: 1px solid #e6e6f0; box-shadow: 0 10px 24px -14px rgba(76, 81, 191, .35); font-family: Inter, -apple-system, "Segoe UI", sans-serif; }
.ats-player__play { width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: radial-gradient(circle at 30% 30%, #8b8cf8, #5b5bd6); box-shadow: 0 8px 18px -6px rgba(91, 91, 214, .6); transition: transform .15s ease; }
.ats-player__play:hover { transform: scale(1.05); }
.ats-player__play svg { width: 18px; height: 18px; }
.ats-player__play .i-pause, .at-demo.is-playing .ats-player__play .i-play { display: none; }
.at-demo.is-playing .ats-player__play .i-pause { display: block; }
.ats-player__main { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.ats-player__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ats-player__top b { font-size: 14.5px; color: #1d2327; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ats-player__top span { font-size: 12px; color: #646970; font-variant-numeric: tabular-nums; flex: none; }
.ats-player__track { height: 4px; border-radius: 99px; background: #e2e2ea; overflow: hidden; }
.ats-player__track b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #6366f1, #8b8cf8); transition: width .2s linear; }
.ats-player__main small { font-size: 10.5px; color: #8c8f94; }
.ats-player__main small b { font-weight: 600; color: #6366f1; }
.ats-player__row { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid #ececf3; }
.ats-player__vol { display: inline-flex; align-items: center; gap: 6px; color: #3c434a; }
.ats-player__vol svg { width: 16px; height: 16px; }
.ats-player__vol i { width: 46px; height: 4px; border-radius: 99px; background: #e2e2ea; overflow: hidden; }
.ats-player__vol b { display: block; width: 80%; height: 100%; background: #6366f1; }
.ats-player__wave { flex: 1; min-width: 0; height: 22px; display: flex; align-items: center; gap: 2px; overflow: hidden; }
.ats-player__wave i { flex: 1; min-width: 2px; max-width: 3px; border-radius: 2px; background: #c9c9ee; transition: background-color .15s ease; }
.ats-player__wave i.is-done { background: #6366f1; }
.ats-tool { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #3c434a; background: #f0f0f5; }
.ats-tool svg { width: 14px; height: 14px; }
.ats-tool.is-on { background: #e4e4fb; color: #5b5bd6; }

/* section heads */
.at-head { max-width: 720px; margin: 0 auto 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.at-h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; color: var(--ms-text); }
.at-sub { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ms-muted); }

/* cards */
.at-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.at-card, .at-way { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; border: 1px solid var(--ms-border); background: var(--ms-card); }
.at-card h3, .at-way h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ms-text); }
.at-card p, .at-way p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ms-muted); }
.at-card__ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--ms-accent-bg); color: var(--ms-accent); border: 1px solid var(--ms-accent-line); }

/* two ways */
.at-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.at-way { padding: 32px; gap: 14px; }
.at-way h3 { font-size: 20px; }
.at-links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.at-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ms-text); text-decoration: none; border: 1px solid var(--ms-border); background: var(--ms-subtle); transition: border-color .15s ease, color .15s ease; }
.at-links a:hover { border-color: var(--ms-accent-line); color: var(--ms-accent); }
.at-links .at-ic { width: 16px; height: 16px; }

/* studio split */
.at-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.at-split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.at-steps { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.at-steps li { display: flex; gap: 14px; align-items: flex-start; }
.at-steps li > span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ms-accent); background: var(--ms-accent-bg); border: 1px solid var(--ms-accent-line); }
.at-steps b { display: block; font-size: 15.5px; color: var(--ms-text); }
.at-steps p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ms-muted); }
.at-studio { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; border: 1px solid var(--ms-border); background: var(--ms-subtle); }
.at-studio__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; font-size: 15px; color: var(--ms-text); }
.at-studio__head span { font-size: 12px; color: var(--ms-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.at-file { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--ms-border); background: var(--ms-card); }
.at-file > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.at-file b { font-size: 14.5px; color: var(--ms-text); }
.at-file small { font-size: 12.5px; color: var(--ms-muted); direction: ltr; text-align: start; }
.at-file em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ms-accent); }
.at-studio__btn { margin-top: 4px; justify-content: center; pointer-events: none; }
.at-studio__ok { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #16a34a; }
.at-studio__ok .at-ic { width: 16px; height: 16px; }

/* control panel */
.at-control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px; border-radius: 20px; border: 1px solid var(--ms-border); background: var(--ms-subtle); }
.at-control > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.at-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.at-checks li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ms-border); background: var(--ms-card); font-size: 15px; font-weight: 500; color: var(--ms-text); }
.at-checks .at-ic { color: var(--ms-accent); }

/* start steps */
.at-start { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ms-border); border-radius: 20px; background: var(--ms-card); overflow: hidden; }
.at-start li { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.at-start li + li { border-inline-start: 1px solid var(--ms-border); }
.at-start span { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ms-accent); }
.at-start p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ms-text); }

.at + .ms-section, .at .ms-section { padding-top: 112px; }

/* responsive */
@media (max-width: 1024px) {
  .at-hero, .at-split, .at-control { grid-template-columns: 1fr; gap: 40px; }
  .at-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .at-wrap { padding: 0 16px; }
  .at-sec { padding-top: 80px; }
  .at-hero { padding-top: 48px; }
  .at-features, .at-ways, .at-start { grid-template-columns: 1fr; }
  .at-start li + li { border-inline-start: 0; border-top: 1px solid var(--ms-border); }
  .at-control { padding: 24px; }
  .at-post__text { font-size: 17px; }
  .ats-player__wave { display: none; }
  .at-wpbar__item:not(:first-of-type), .at-site nav { display: none; }
  .at-post, .at-site { padding-left: 18px; padding-right: 18px; }
  .at-post__title { font-size: 25px; }
  .at-hero__copy .ms-btn { width: 100%; justify-content: center; }
}
