:root {
  --ink: #16202a;
  --muted: #5e6975;
  --line: #dde5ec;
  --soft: #f4f7fa;
  --blue: #1769e0;
  --teal: #158f87;
  --amber: #be7d16;
  --shadow: 0 18px 45px rgba(20, 31, 43, 0.12);
  --page-max: 1680px;
  --page-pad: clamp(24px, 4vw, 64px);
  --page-gutter: max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--page-gutter);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(20, 31, 43, 0.1);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.top-nav a:hover {
  color: var(--blue);
}

.hero,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 76px var(--page-gutter) 42px;
  background:
    linear-gradient(120deg, rgba(23, 105, 224, 0.08), rgba(21, 143, 135, 0.08) 44%, rgba(204, 61, 102, 0.08)),
    #ffffff;
}

.product-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 68px;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  color: #405060;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(23, 105, 224, 0.25);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.compact {
  min-height: 40px;
  margin-right: 8px;
  padding: 0 14px;
  font-size: 14px;
}

.search-box {
  max-width: 680px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 31, 43, 0.08);
}

.search-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-box input,
.search-box button {
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
}

.search-box input {
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
}

.search-box button {
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  border: 0;
  font-weight: 750;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.product-shot {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  aspect-ratio: 1.22;
  object-fit: cover;
  object-position: center;
}

.product-shot {
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: left top;
}

.product-availability {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 380px;
  padding: clamp(24px, 3.2vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.product-availability h2 {
  max-width: 560px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-list span {
  padding: 9px 12px;
  color: #244560;
  background: rgba(21, 143, 135, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.quick-panel {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  width: min(280px, calc(100% - 44px));
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(20, 31, 43, 0.15);
}

.panel-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-panel a {
  padding: 9px 10px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.intent-strip,
.product-intent {
  display: grid;
  gap: 1px;
  margin: 0 var(--page-gutter);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.intent-strip {
  grid-template-columns: repeat(4, 1fr);
  transform: translateY(22px);
}

.product-intent {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.intent-strip a,
.product-intent a {
  display: grid;
  gap: 4px;
  min-height: 116px;
  padding: 22px;
  background: #fff;
}

.intent-strip strong,
.product-intent strong {
  font-size: 19px;
}

.intent-strip span,
.product-intent span {
  color: var(--muted);
  font-size: 14px;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 50px var(--page-gutter) 0;
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(23, 105, 224, 0.22);
  border-left: 6px solid var(--blue);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(20, 31, 43, 0.07);
}

.spotlight h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.spotlight p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.section {
  padding: 78px var(--page-gutter);
}

.conversion-section {
  padding-top: 58px;
  background:
    linear-gradient(180deg, rgba(23, 105, 224, 0.04), rgba(255, 255, 255, 0)),
    #fbfcfd;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.conversion-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 220px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.conversion-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 224, 0.34);
  box-shadow: 0 18px 42px rgba(20, 31, 43, 0.1);
}

.conversion-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.conversion-card strong {
  font-size: 22px;
  line-height: 1.2;
}

.conversion-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.conversion-card.accent {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(23, 105, 224, 0.98), rgba(21, 143, 135, 0.9)),
    var(--blue);
  border-color: transparent;
}

.conversion-card.accent span,
.conversion-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow),
.discovery-block p,
.page-intro {
  color: var(--muted);
  font-size: 17px;
}

.help-section,
.product-help,
.learn-section {
  background: #fbfcfd;
}

.related-panel {
  background: #fbfcfd;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.related-card:hover {
  border-color: rgba(23, 105, 224, 0.35);
}

.related-card strong {
  font-size: 20px;
}

.related-card span {
  color: var(--muted);
}

.help-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.help-command {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: stretch;
}

.help-primary {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(24px, 3.2vw, 36px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.96), rgba(21, 143, 135, 0.9)),
    #1769e0;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(23, 105, 224, 0.22);
}

.help-primary .eyebrow,
.help-primary p {
  color: rgba(255, 255, 255, 0.8);
}

.help-primary h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
}

.mini-link-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.mini-link-list a {
  padding: 12px 14px;
  color: #102033;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  font-weight: 800;
}

.help-nav {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.help-nav a {
  padding: 13px 14px;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 800;
}

.help-nav a.active,
.help-nav a:hover {
  color: #fff;
  background: var(--blue);
}

.app-grid,
.answer-grid,
.learn-grid,
.topic-grid {
  display: grid;
  gap: 14px;
}

.app-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.answer-grid,
.learn-grid,
.topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-card,
.answer-grid article,
.learn-grid a,
.topic-card,
.small-app {
  min-height: 180px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.topic-card {
  min-height: 220px;
}

.topic-card:hover,
.priority-help-card:hover,
.app-directory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 224, 0.34);
  box-shadow: 0 18px 42px rgba(20, 31, 43, 0.1);
}

.topic-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 8px;
  color: var(--teal);
  background: rgba(21, 143, 135, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.app-card img,
.app-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(20, 31, 43, 0.08);
}

.app-card strong,
.app-card span,
.learn-grid strong,
.learn-grid span {
  display: block;
}

.app-card strong,
.learn-grid strong {
  margin: 12px 0 8px;
  font-size: 19px;
}

.app-card span,
.answer-grid p,
.learn-grid span,
.topic-card p,
.feature-row p,
.product-card p {
  color: var(--muted);
}

.text-link,
.answer-grid a {
  color: var(--blue);
  font-weight: 800;
}

.discovery-block .text-link {
  display: block;
  width: fit-content;
}

.discovery-block .text-link + .text-link {
  margin-top: 10px;
}

.discovery-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: #fbfcfd;
}

.discovery-block {
  padding: clamp(24px, 3.4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.tools-block {
  background: #fffaf3;
}

.help-center-hero {
  background:
    linear-gradient(120deg, rgba(23, 105, 224, 0.08), rgba(21, 143, 135, 0.05)),
    #fff;
}

.help-hub {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background: #fbfcfd;
}

.help-hub-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.help-hub-rail span {
  padding: 10px 12px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.help-hub-rail a {
  padding: 12px 14px;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 800;
}

.help-hub-rail a:hover {
  color: #fff;
  background: var(--blue);
}

.help-hub-main {
  display: grid;
  gap: 58px;
}

.help-group {
  display: grid;
  gap: 18px;
}

.priority-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.priority-help-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 180px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.priority-help-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 374px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(17, 29, 43, 0.96), rgba(23, 105, 224, 0.88)),
    #17212c;
}

.priority-help-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.priority-help-card.large span,
.priority-help-card.large p {
  color: rgba(255, 255, 255, 0.76);
}

.priority-help-card h3 {
  margin: 0;
  font-size: 24px;
}

.priority-help-card p {
  color: var(--muted);
}

.priority-help-card.large h3 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 48px);
}

.priority-help-card.large p {
  color: rgba(255, 255, 255, 0.76);
}

.help-app-list {
  display: grid;
  gap: 12px;
}

.help-app-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.05);
}

.help-app-list a.no-icon {
  grid-template-columns: minmax(0, 1fr);
}

.help-app-list img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(20, 31, 43, 0.08);
}

.help-app-list strong,
.help-app-list span {
  display: block;
}

.help-app-list strong {
  margin-bottom: 4px;
  font-size: 20px;
}

.help-app-list span {
  color: var(--muted);
}

.apps-directory {
  background: #fbfcfd;
}

.app-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-directory-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 330px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-directory-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.app-directory-card p {
  color: var(--muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.product-title-row img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(20, 31, 43, 0.09);
}

.product-title-row .eyebrow {
  margin: 0;
}

.product-meta,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.product-meta span,
.feature-list span {
  padding: 8px 11px;
  color: #244560;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.feature-list {
  margin: 18px 0;
}

.feature-list span {
  background: rgba(21, 143, 135, 0.12);
}

.answer-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.feature-band,
.app-section {
  background: #fff;
}

.feature-band > p,
.feature-band > ul,
.feature-band > ol,
.feature-band > h2,
.feature-band > h3,
.post-content > p,
.post-content > ul,
.post-content > ol,
.post-content > h2,
.post-content > h3 {
  max-width: 1080px;
}

.feature-band > p img,
.feature-band li img,
.post-content img,
.help-split img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px 0 28px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 31, 43, 0.08);
}

.feature-band > p img,
.post-content img,
.feature-row img,
.paintplay-shot-card img,
.phone-shot-card img,
.product-shot,
.hero-visual img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 72px 28px 28px;
  background: rgba(10, 15, 20, 0.86);
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox img {
  display: block;
  max-width: min(100%, 1600px);
  max-height: calc(100vh - 112px);
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.image-lightbox button {
  position: fixed;
  top: 22px;
  right: 24px;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 22px;
}

.featured-app {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: start;
  min-height: 360px;
  padding: clamp(24px, 3vw, 36px);
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.featured-app > div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.featured-app-bg {
  position: absolute;
  right: -4%;
  bottom: -6%;
  z-index: 0;
  width: min(66%, 760px);
  max-height: 86%;
  object-fit: cover;
  object-position: left top;
  opacity: 0.36;
  border: 1px solid var(--line);
  border-radius: 14px;
  filter: saturate(0.95);
  pointer-events: none;
}

.featured-app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(247, 250, 249, 0.98), rgba(247, 250, 249, 0.76) 42%, rgba(247, 250, 249, 0.18));
  pointer-events: none;
}

.featured-app p,
.small-app p {
  color: var(--muted);
}

.small-apps {
  display: grid;
  gap: 14px;
}

.small-app {
  min-height: auto;
}

.small-app img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(20, 31, 43, 0.08);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.7fr);
}

.feature-row.reverse div {
  order: 2;
}

.feature-row.reverse img {
  order: 1;
}

.feature-row img {
  display: block;
  width: 100%;
  aspect-ratio: 1.95;
  object-fit: cover;
  object-position: left top;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.product-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.product-note-grid section {
  padding: 24px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.05);
}

.product-note-grid h3 {
  margin-bottom: 14px;
}

.product-note-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-note-grid a {
  color: var(--blue);
  font-weight: 800;
}

.product-note-grid li + li {
  margin-top: 8px;
}

.paintplay-gallery {
  margin-top: 46px;
}

.paintplay-windows-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 16px;
  margin: 28px 0;
}

.paintplay-shot-card {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.paintplay-shot-card.large {
  grid-row: span 2;
}

.paintplay-shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.62;
  object-fit: cover;
  object-position: left top;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.paintplay-shot-card.large img {
  aspect-ratio: 1.56;
}

.paintplay-shot-card figcaption,
.phone-shot-card figcaption {
  display: grid;
  gap: 4px;
}

.paintplay-shot-card strong {
  font-size: 18px;
}

.paintplay-shot-card span {
  color: var(--muted);
  font-size: 14px;
}

.phone-shot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.phone-shot-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.phone-shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 460 / 996;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: zoom-in;
}

.phone-shot-card strong {
  font-size: 18px;
}

.phone-shot-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 72px var(--page-gutter) 36px;
  background: #fff;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 var(--page-gutter) 78px;
}

.product-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.tool-entry-card {
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.08), rgba(21, 143, 135, 0.06)),
    #fff;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(120deg, rgba(23, 105, 224, 0.08), rgba(21, 143, 135, 0.05)),
    #f7fafd;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(20, 31, 43, 0.06);
}

.support-panel p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.support-panel .button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.article-hero {
  background:
    linear-gradient(120deg, rgba(23, 105, 224, 0.08), rgba(21, 143, 135, 0.06)),
    #fff;
}

.article-search {
  margin-top: 24px;
}

.article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.article-filters button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.article-filters button.active,
.article-filters button:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.article-library {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background: #fbfcfd;
}

.library-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.library-rail a {
  padding: 12px 14px;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 800;
}

.library-rail a:hover {
  color: #fff;
  background: var(--blue);
}

.library-content {
  display: grid;
  gap: 58px;
}

.article-group .section-heading {
  margin-bottom: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.article-card[hidden],
.article-group[hidden],
.library-rail a[hidden] {
  display: none;
}

.article-card:hover {
  border-color: rgba(23, 105, 224, 0.35);
  box-shadow: 0 16px 36px rgba(20, 31, 43, 0.1);
}

.article-card-meta,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-card-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.article-card-meta span,
.article-tags span {
  padding: 4px 8px;
  background: rgba(21, 143, 135, 0.1);
  border-radius: 999px;
}

.article-card p {
  color: var(--muted);
}

.article-tags {
  margin-top: 10px;
  color: #244560;
  font-size: 12px;
  font-weight: 750;
}

.article-single {
  background: #fbfcfd;
}

.article-single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: end;
  padding: 72px var(--page-gutter) 42px;
  background:
    linear-gradient(120deg, rgba(23, 105, 224, 0.08), rgba(21, 143, 135, 0.06)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.article-single-hero h1 {
  max-width: 980px;
}

.article-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.article-single-meta span,
.article-single-meta time {
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.article-context {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
}

.article-context .article-tags {
  margin-top: 0;
}

.article-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px var(--page-pad);
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.article-upgrade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(23, 105, 224, 0.22);
  border-left: 6px solid var(--blue);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(20, 31, 43, 0.07);
}

.article-upgrade h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.article-upgrade p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.article-upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 36px;
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 22px 0;
}

.article-body th,
.article-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--soft);
}

.article-body pre {
  overflow-x: auto;
  padding: 18px;
  color: #e8edf2;
  background: #111820;
  border-radius: 12px;
}

.article-body code {
  font-family: Consolas, "Cascadia Code", monospace;
}

.article-body :not(pre) > code {
  padding: 2px 5px;
  background: var(--soft);
  border-radius: 5px;
}

.article-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 34px var(--page-gutter) 72px;
}

.tools-hero {
  background:
    linear-gradient(120deg, rgba(190, 125, 22, 0.08), rgba(21, 143, 135, 0.08)),
    #fff;
}

.about-hero {
  background:
    linear-gradient(120deg, rgba(23, 105, 224, 0.08), rgba(190, 125, 22, 0.08)),
    #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
  background: #fbfcfd;
}

.about-story {
  padding: clamp(26px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.06);
  font-size: 19px;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-paths {
  display: grid;
  gap: 12px;
}

.about-paths a {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(20, 31, 43, 0.05);
}

.about-paths a:hover {
  border-color: rgba(23, 105, 224, 0.34);
}

.about-paths span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-paths strong {
  font-size: 20px;
}

.tool-lab {
  background: #fbfcfd;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.tool-copy {
  align-self: center;
}

.canvas-tool {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.canvas-tool label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.canvas-tool input,
.canvas-tool select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.tool-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 18px;
  color: #fff;
  background: #17212c;
  border-radius: 12px;
}

.tool-result span,
.tool-result small {
  color: rgba(255, 255, 255, 0.72);
}

.tool-result strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.tool-roadmap {
  background: #fff;
}

.tool-grid {
  padding: 0;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 5px 9px;
  color: var(--amber);
  background: rgba(190, 125, 22, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--page-gutter);
  color: var(--muted);
  background: #eef3f6;
  font-size: 14px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .product-hero,
  .discovery-section,
  .app-showcase,
  .help-layout,
  .help-command,
  .help-hub,
  .article-library,
  .article-single-hero,
  .article-upgrade,
  .about-layout,
  .tool-panel,
  .spotlight,
  .support-panel,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .spotlight-actions,
  .article-upgrade-actions,
  .support-actions {
    justify-content: flex-start;
  }

  .intent-strip,
  .app-grid,
  .app-directory-grid,
  .conversion-grid,
  .phone-shot-grid,
  .answer-grid,
  .learn-grid,
  .topic-grid,
  .priority-help-grid,
  .article-grid,
  .article-grid.compact,
  .canvas-tool,
  .related-grid,
  .page-grid,
  .product-intent {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-hub-rail {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .help-hub-rail span {
    grid-column: 1 / -1;
  }

  .priority-help-card.large {
    min-height: 260px;
  }

  .feature-row.reverse div,
  .feature-row.reverse img {
    order: initial;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

  .hero,
  .product-hero {
    padding-top: 40px;
  }

  .hero-actions,
  .search-box div,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .search-box button {
    width: 100%;
  }

  .search-box div,
  .intent-strip,
  .product-intent,
  .app-grid,
  .app-directory-grid,
  .conversion-grid,
  .answer-grid,
  .learn-grid,
  .topic-grid,
  .priority-help-grid,
  .article-grid,
    .article-grid.compact,
    .related-grid,
    .product-note-grid,
    .paintplay-windows-grid,
    .phone-shot-grid,
    .page-grid {
      grid-template-columns: 1fr;
  }

  .help-nav {
    grid-template-columns: 1fr;
  }

  .library-rail {
    grid-template-columns: 1fr;
  }

  .help-hub-rail {
    grid-template-columns: 1fr;
  }

  .priority-help-card.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .quick-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .intent-strip {
    transform: none;
    margin-top: 18px;
  }

  .section,
  .help-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
