:root {
  --community-blue: #2f78e9;
  --community-blue-dark: #1766d2;
  --community-violet: #7b4ff6;
  --community-text: #1d1d1f;
  --community-muted: #6e6e73;
  --community-line: #d2d2d7;
  --community-soft: #f5f5f7;
  --community-card: #ffffff;
  --community-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body.community-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--community-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.community-page.community-modal-open {
  overflow: hidden;
}

.community-page *,
.community-page *::before,
.community-page *::after {
  box-sizing: border-box;
}

.community-page button,
.community-page input,
.community-page select,
.community-page textarea {
  font: inherit;
}

.community-page button,
.community-page a {
  -webkit-tap-highlight-color: transparent;
}

.community-page button {
  color: inherit;
}

.community-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.community-hidden {
  display: none !important;
}

.community-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
}

.community-global {
  min-height: 46px;
  background: #fbfbfd;
}

.community-global-inner,
.community-local-inner {
  display: flex;
  align-items: center;
}

.community-global-inner {
  min-height: 46px;
  justify-content: space-between;
  gap: 24px;
}

.community-global-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--community-text);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.community-global-logo img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.community-global-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 54px);
}

.community-global-links a,
.community-site-link {
  color: #353538;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
}

.community-global-links a:hover,
.community-site-link:hover {
  color: #000;
}

.community-site-link {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

.community-site-link svg {
  width: 18px;
}

.community-local {
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.community-local-inner {
  min-height: 68px;
  gap: 26px;
}

.community-local-title {
  margin-right: auto;
  color: var(--community-text);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.community-local-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.community-local-links a,
.community-local-links button {
  padding: 8px 0;
  border: 0;
  color: #37373a;
  background: transparent;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
}

.community-local-links a:hover,
.community-local-links button:hover {
  color: var(--community-blue-dark);
}

.community-login-button,
.community-primary-button,
.community-secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.community-login-button,
.community-primary-button {
  border: 1px solid var(--community-blue);
  color: #fff;
  background: var(--community-blue);
}

.community-login-button {
  min-width: 116px;
  padding: 0 22px;
  font-size: 0.94rem;
}

.community-login-button:hover,
.community-primary-button:hover {
  border-color: var(--community-blue-dark);
  background: var(--community-blue-dark);
}

.community-primary-button {
  min-height: 46px;
  padding: 0 24px;
}

.community-secondary-button {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--community-line);
  color: var(--community-text);
  background: #fff;
}

.community-primary-button.full,
.community-secondary-button.full {
  width: 100%;
}

.community-hero {
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 14% 12%, rgba(47, 120, 233, 0.11), transparent 30%),
    radial-gradient(circle at 86% 15%, rgba(123, 79, 246, 0.1), transparent 28%),
    #fff;
  text-align: center;
}

.community-hero-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.community-hero-logo {
  width: 118px;
  height: 118px;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(43, 76, 179, 0.18);
}

.community-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.community-hero > .community-wrap > p {
  max-width: 780px;
  margin: 28px auto 0;
  color: #3f3f42;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.community-hero-search {
  position: relative;
  display: grid;
  width: min(760px, 100%);
  min-height: 68px;
  grid-template-columns: 42px minmax(0, 1fr) 54px;
  align-items: center;
  margin-top: 38px;
  padding: 0 10px 0 18px;
  border: 1px solid #b8b8bd;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.community-hero-search:focus-within {
  border-color: var(--community-blue);
  box-shadow: 0 0 0 4px rgba(47, 120, 233, 0.14), 0 14px 34px rgba(0, 0, 0, 0.08);
}

.community-hero-search > svg {
  width: 28px;
  color: #77777c;
}

.community-hero-search input {
  width: 100%;
  min-width: 0;
  height: 66px;
  border: 0;
  outline: 0;
  color: var(--community-text);
  background: transparent;
  font-size: 1.22rem;
}

.community-hero-search input::placeholder {
  color: #7c7c81;
}

.community-hero-search > button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--community-blue);
  cursor: pointer;
}

.community-hero-search > button svg {
  width: 21px;
}

.community-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 50;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--community-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.17);
}

.community-search-results-head {
  padding: 18px 20px 10px;
  color: var(--community-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-search-result {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-top: 1px solid #ececef;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.community-search-result:hover {
  background: #f7f8fb;
}

.community-search-result strong,
.community-search-result span {
  display: block;
}

.community-search-result strong {
  color: var(--community-blue-dark);
  font-size: 1rem;
}

.community-search-result span {
  margin-top: 5px;
  overflow: hidden;
  color: var(--community-muted);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-search-empty {
  padding: 20px;
  color: var(--community-muted);
  text-align: center;
}

.community-learn-link {
  margin-top: 28px;
  padding: 0;
  border: 0;
  color: var(--community-blue-dark);
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
}

.community-learn-link span,
.community-text-link span {
  margin-left: 4px;
  font-size: 1.35em;
  line-height: 0;
}

.community-products {
  padding: 74px 0 82px;
  background: var(--community-soft);
}

.community-section-heading {
  margin-bottom: 28px;
}

.community-section-heading.centered {
  text-align: center;
}

.community-section-heading.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.community-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.community-section-heading p {
  margin: 12px 0 0;
  color: var(--community-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.community-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--community-blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.community-product-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.community-product-card {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  padding: 22px 10px 18px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.community-product-card:hover,
.community-product-card.is-active {
  border-color: rgba(47, 120, 233, 0.28);
  background: #fff;
  box-shadow: var(--community-shadow);
}

.community-product-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #3992ff, #7856ec);
}

.community-product-icon svg {
  width: 42px;
  height: 42px;
}

.community-product-icon.all { background: linear-gradient(145deg, #5454e8, #9739dd); }
.community-product-icon.ipad { background: linear-gradient(145deg, #3e8fff, #43c7d6); }
.community-product-icon.mac { background: linear-gradient(145deg, #555b68, #111827); }
.community-product-icon.android { background: linear-gradient(145deg, #52c980, #15995a); }
.community-product-icon.battery { background: linear-gradient(145deg, #31c562, #78d23f); }
.community-product-icon.diagnostic { background: linear-gradient(145deg, #fd8a3c, #f34c68); }

.community-discussions {
  padding: 80px 0;
  background: #fff;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 38px;
  align-items: start;
}

.community-thread-list {
  overflow: hidden;
  border-top: 1px solid var(--community-line);
}

.community-feed-column {
  min-width: 0;
}

.community-load-more {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  width: min(340px, 100%);
  margin: 28px auto 0;
  padding: 0 24px;
  border: 1px solid var(--community-blue);
  border-radius: 999px;
  color: var(--community-blue-dark);
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}

.community-load-more:hover {
  color: #fff;
  background: var(--community-blue);
}

.community-thread-card {
  display: grid;
  width: 100%;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px 4px;
  border: 0;
  border-bottom: 1px solid var(--community-line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.community-thread-card:hover h3 {
  color: var(--community-blue-dark);
  text-decoration: underline;
}

.community-thread-avatar,
.community-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #c5c5c9;
  border-radius: 50%;
  color: #747479;
  background: #f1f1f3;
  font-weight: 700;
}

.community-thread-avatar {
  width: 56px;
  height: 56px;
  font-size: 1.1rem;
}

.community-thread-content {
  min-width: 0;
}

.community-thread-content h3 {
  margin: 0;
  color: var(--community-blue-dark);
  font-size: 1.18rem;
  line-height: 1.3;
}

.community-thread-content p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: #424245;
  font-size: 0.98rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  color: var(--community-muted);
  font-size: 0.84rem;
}

.community-thread-stats {
  display: flex;
  min-width: 88px;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
  color: var(--community-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.community-thread-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.community-thread-stats svg {
  width: 16px;
}

.community-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 22px;
}

.community-side-card {
  padding: 26px;
  border-radius: 24px;
  background: var(--community-soft);
}

.community-side-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.community-side-card h3 {
  margin: 18px 0 0;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.community-side-card p {
  margin: 12px 0 20px;
  color: var(--community-muted);
  line-height: 1.55;
}

.community-side-card.compact {
  border: 1px solid var(--community-line);
  background: #fff;
}

.community-side-card.compact h3 {
  margin-top: 0;
}

.community-text-link {
  color: var(--community-blue-dark);
  font-weight: 650;
  text-decoration: none;
}

.community-empty-state {
  padding: 52px 24px;
  border-bottom: 1px solid var(--community-line);
  color: var(--community-muted);
  text-align: center;
}

.community-empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--community-text);
  font-size: 1.2rem;
}

.community-composer-section {
  padding: 82px 0;
  background: var(--community-soft);
}

.community-composer-wrap {
  max-width: 920px;
}

.community-compose,
.community-reply-form {
  padding: 30px;
  border: 1px solid var(--community-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--community-shadow);
}

.community-form-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
}

.community-form-grid label,
.community-account-form label {
  display: grid;
  gap: 8px;
}

.community-form-grid label.full {
  grid-column: 1 / -1;
}

.community-form-grid label > span,
.community-account-form label > span,
.community-reply-form > label {
  font-size: 0.88rem;
  font-weight: 700;
}

.community-form-grid input,
.community-form-grid select,
.community-form-grid textarea,
.community-account-form input,
.community-reply-form textarea {
  width: 100%;
  border: 1px solid #b8b8bd;
  border-radius: 12px;
  outline: 0;
  color: var(--community-text);
  background: #fff;
}

.community-form-grid input,
.community-form-grid select,
.community-account-form input {
  min-height: 50px;
  padding: 0 14px;
}

.community-form-grid textarea,
.community-reply-form textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.community-form-grid input:focus,
.community-form-grid select:focus,
.community-form-grid textarea:focus,
.community-account-form input:focus,
.community-reply-form textarea:focus {
  border-color: var(--community-blue);
  box-shadow: 0 0 0 4px rgba(47, 120, 233, 0.12);
}

.community-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.community-inline-status {
  color: var(--community-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.community-inline-status.good {
  color: #177245;
}

.community-inline-status.bad {
  color: #b42318;
}

.community-inline-status.warn {
  color: #9a6500;
}

.community-thread-view {
  padding: 56px 0 82px;
  background: #fff;
}

.community-thread-view-wrap {
  max-width: 940px;
}

.community-back-button {
  margin-bottom: 34px;
  padding: 0;
  border: 0;
  color: var(--community-blue-dark);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.community-back-button span {
  margin-right: 6px;
  font-size: 1.45em;
  line-height: 0;
}

.community-question {
  padding-bottom: 46px;
  border-bottom: 1px solid var(--community-line);
}

.community-question-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.community-avatar {
  width: 68px;
  height: 68px;
  font-size: 1.35rem;
}

.community-author-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.12rem;
}

.community-author-label,
.community-author-meta {
  color: var(--community-muted);
}

.community-author-label {
  font-weight: 400;
}

.community-author-meta {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
}

.community-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #545459;
  background: #ececf0;
  font-size: 0.72rem;
  font-weight: 700;
}

.community-role-badge svg {
  width: 14px;
}

.community-role-badge.certified {
  color: #135db9;
  background: #e5f0ff;
}

.community-role-badge.admin {
  color: #fff;
  background: linear-gradient(135deg, var(--community-blue), var(--community-violet));
}

.community-category-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #31517f;
  background: #eaf2ff;
  font-size: 0.76rem;
  font-weight: 700;
}

.community-question h1 {
  margin: 20px 0 0;
  font-size: clamp(2.6rem, 6vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.community-question-body {
  margin: 26px 0 0;
  font-size: 1.25rem;
  line-height: 1.58;
  white-space: pre-wrap;
}

.community-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: var(--community-muted);
  font-size: 0.9rem;
}

.community-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.community-question-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--community-blue);
  border-radius: 999px;
  color: var(--community-blue-dark);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.community-question-actions button:hover,
.community-question-actions button.is-active {
  color: #fff;
  background: var(--community-blue);
}

.community-question-actions button:last-child {
  color: #fff;
  background: var(--community-blue);
}

.community-question-actions svg {
  width: 20px;
}

.community-replies {
  padding: 52px 0;
  border-bottom: 1px solid var(--community-line);
}

.community-reply-list {
  display: grid;
  gap: 18px;
}

.community-reply-card {
  padding: 24px;
  border: 1px solid var(--community-line);
  border-radius: 18px;
  background: #fff;
}

.community-reply-card.is-admin {
  border-color: rgba(47, 120, 233, 0.3);
  background: linear-gradient(135deg, rgba(47, 120, 233, 0.07), rgba(123, 79, 246, 0.05));
}

.community-reply-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.community-reply-meta strong {
  font-size: 0.95rem;
}

.community-reply-meta time {
  color: var(--community-muted);
  font-size: 0.82rem;
}

.community-reply-card p {
  margin: 16px 0 0;
  color: #353538;
  line-height: 1.62;
  white-space: pre-wrap;
}

.community-reply-form {
  margin-top: 26px;
  box-shadow: none;
}

.community-reply-form > label {
  display: block;
  margin-bottom: 10px;
}

.community-similar {
  padding-top: 52px;
}

.community-similar-list {
  display: grid;
  gap: 16px;
}

.community-similar-card {
  display: block;
  width: 100%;
  padding: 22px;
  border: 1px solid #a7a7ac;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.community-similar-card:hover {
  border-color: var(--community-blue);
  box-shadow: 0 10px 25px rgba(47, 120, 233, 0.08);
}

.community-similar-card strong {
  display: block;
  font-size: 1.2rem;
}

.community-similar-card p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: #4c4c50;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-similar-card span {
  display: block;
  margin-top: 13px;
  color: var(--community-muted);
  font-size: 0.82rem;
}

.community-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.community-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.community-modal-card {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.community-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #55555a;
  background: #ededf0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.community-modal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 38px;
}

.community-modal-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.community-modal-brand span,
.community-modal-brand strong {
  display: block;
}

.community-modal-brand span {
  color: var(--community-muted);
  font-size: 0.82rem;
}

.community-modal-brand strong {
  margin-top: 2px;
  font-size: 1.35rem;
}

.community-current-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 16px;
  background: var(--community-soft);
}

.community-current-profile #communityCurrentUser strong,
.community-current-profile #communityCurrentUser span {
  display: block;
}

.community-current-profile #communityCurrentUser span {
  margin-top: 3px;
  color: var(--community-muted);
  font-size: 0.78rem;
}

.community-account-note {
  color: var(--community-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.community-auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0;
  padding: 4px;
  border-radius: 12px;
  background: var(--community-soft);
}

.community-auth-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-weight: 650;
  cursor: pointer;
}

.community-auth-switch button.is-active {
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.community-account-form {
  display: grid;
  gap: 16px;
}

.community-learn-card {
  width: min(620px, 100%);
}

.community-learn-card h2 {
  margin: 0;
  padding-right: 44px;
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.community-learn-steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.community-learn-steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.community-learn-steps strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--community-blue), var(--community-violet));
}

.community-learn-steps span {
  color: #424245;
  line-height: 1.5;
}

.community-footer {
  padding: 34px 0;
  border-top: 1px solid var(--community-line);
  color: var(--community-muted);
  background: var(--community-soft);
  font-size: 0.78rem;
}

.community-footer p {
  margin: 0;
  line-height: 1.5;
}

.community-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0;
}

.community-footer a {
  color: #454549;
  text-decoration: none;
}

.community-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .community-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .community-wrap {
    width: min(100% - 32px, 1120px);
  }

  .community-global {
    min-height: 54px;
  }

  .community-global-inner {
    min-height: 54px;
  }

  .community-global-logo img {
    width: 32px;
    height: 32px;
  }

  .community-global-logo span {
    display: none;
  }

  .community-global-links {
    display: none;
  }

  .community-site-link {
    margin-left: auto;
  }

  .community-local-inner {
    min-height: 72px;
    gap: 12px;
  }

  .community-local-title {
    font-size: 1.28rem;
  }

  .community-local-links {
    display: none;
  }

  .community-login-button {
    min-width: 108px;
    min-height: 44px;
    padding: 0 18px;
  }

  .community-hero {
    padding: 48px 0 54px;
  }

  .community-hero-logo {
    width: 92px;
    height: 92px;
    margin-bottom: 20px;
  }

  .community-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .community-hero > .community-wrap > p {
    margin-top: 22px;
    font-size: 1.35rem;
    line-height: 1.34;
  }

  .community-hero-search {
    min-height: 58px;
    grid-template-columns: 34px minmax(0, 1fr) 44px;
    margin-top: 30px;
    padding-left: 14px;
    border-radius: 11px;
  }

  .community-hero-search > svg {
    width: 22px;
  }

  .community-hero-search input {
    height: 56px;
    font-size: 1rem;
  }

  .community-hero-search > button {
    width: 38px;
    height: 38px;
  }

  .community-products,
  .community-discussions,
  .community-composer-section {
    padding: 56px 0;
  }

  .community-section-heading.row {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-section-heading h2 {
    font-size: 2.2rem;
  }

  .community-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
  }

  .community-product-card {
    padding: 18px 8px 15px;
  }

  .community-product-icon {
    width: 66px;
    height: 66px;
  }

  .community-product-icon svg {
    width: 36px;
  }

  .community-thread-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    padding: 20px 2px;
  }

  .community-thread-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }

  .community-thread-stats {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    gap: 14px;
  }

  .community-side {
    grid-template-columns: 1fr;
  }

  .community-compose,
  .community-reply-form {
    padding: 20px;
    border-radius: 18px;
  }

  .community-form-grid {
    grid-template-columns: 1fr;
  }

  .community-form-grid label.full {
    grid-column: auto;
  }

  .community-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .community-form-actions .community-primary-button {
    width: 100%;
  }

  .community-thread-view {
    padding: 34px 0 60px;
  }

  .community-question-author {
    align-items: flex-start;
  }

  .community-avatar {
    width: 58px;
    height: 58px;
  }

  .community-question h1 {
    font-size: 2.65rem;
  }

  .community-question-body {
    font-size: 1.1rem;
  }

  .community-question-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .community-question-actions button {
    justify-content: center;
  }

  .community-question-actions button:last-child {
    grid-column: 1 / -1;
  }

  .community-modal {
    align-items: end;
    padding: 0;
  }

  .community-modal-card {
    width: 100%;
    max-height: 88vh;
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .community-product-card,
  .community-thread-card,
  .community-primary-button,
  .community-question-actions button,
  .community-similar-card {
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .community-product-card:hover,
  .community-similar-card:hover {
    transform: translateY(-2px);
  }
}
