:root {
  --bg: #fefefb;
  --bg-muted: #f1f1e9;
  --bg-dark: #213130;
  --text: #213130;
  --text-soft: #4f625e;
  --line: #dbdbd1;
  --brand: #b0ec9c;
  --brand-deep: #8ddd6f;
  --cyan: #dff3ed;
  --rose: #ffb3d1;
  --sky: #addaff;
  --sand: #ffd88a;
  --mauve: #f3bdff;
  --coral: #ffb2a8;
  --violet: #d7aaff;
  --shadow: 0 18px 45px rgba(33, 49, 48, 0.08);
  --shadow-soft: 0 12px 30px rgba(33, 49, 48, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1280px;
  --gap: 18px;
  --ui-font: "Inter", "Segoe UI", Arial, sans-serif;
  --display-font: "Georgia", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui-font);
}

body.analysis-page {
  background: var(--bg);
}

body.collab-page {
  background: #fcfbf7;
}

body.start-page {
  background: #f4ffe8;
}

body.ai-page {
  background: #f4c2f3;
}

body.publish-page,
body.create-page,
body.templates-page,
body.create-idea-page {
  background: #f7f6f3;
}

body.create-idea-page {
  background: rgba(0, 0, 0, 0.8);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--bg);
}

.page {
  width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 254, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 219, 209, 0.75);
}

.site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__mark {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--brand) 0, #96df79 100%);
  position: relative;
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 3px;
  background: var(--bg-dark);
  border-radius: 999px;
}

.brand__mark::before {
  top: 6px;
  box-shadow: 0 6px 0 var(--bg-dark);
}

.brand__name {
  font-size: 20px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  color: var(--text-soft);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  letter-spacing: 0;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.btn--brand {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--text);
}

.btn--dark {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #fff;
}

.btn--violet {
  background: var(--violet);
  border-color: var(--violet);
  color: #4a1d72;
}

.hero {
  padding: 36px 0 54px;
}

.hero__title {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--text);
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #418929;
  font-weight: 700;
}

.hero__copy {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.5;
  max-width: 56ch;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero--split .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 72px;
  align-items: center;
}

.hero--stack .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}

.hero--dark {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 0 0 24px 24px;
  padding-bottom: 48px;
}

.hero--pastel {
  background: var(--bg-muted);
}

.hero--green {
  background: #c3efa8;
}

.hero--lavender {
  background: #e6ccff;
}

.hero--peach {
  background: #ffd7bf;
}

.hero--dark .hero__title,
.hero--dark .hero__copy,
.hero--dark .hero__eyebrow {
  color: #fff;
}

.hero--dark .hero__eyebrow {
  color: #9ade8b;
}

.hero-slab {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(177, 228, 165, 0.12) 0, rgba(177, 228, 165, 0.12) 100%), var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-slab--pastel {
  background: #f1f1e9;
}

.mock-panel {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3ed;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.tool-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  box-shadow: none;
}

.tool-card__art {
  padding: 10px;
  height: 308px;
}

.tool-card__art-inner {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.tool-card__art-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-card__body {
  padding: 18px;
}

.tool-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.tool-card__copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

.tool-card__cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 15px;
}

.tool-card__arrow {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.cta-band {
  margin-top: 36px;
  padding: 36px 24px 30px;
  border-radius: 18px;
  background: #b4ec9f;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.cta-band p {
  margin: 16px 0 0;
  font-size: 14px;
}

.page-section {
  padding: 28px 0 60px;
}

.community-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 144px);
  gap: 18px 18px;
  justify-content: center;
  align-content: center;
}

.avatar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.avatar__frame {
  position: relative;
  width: 144px;
  height: 144px;
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
  box-shadow: var(--shadow-soft);
}

.avatar__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  bottom: 0;
  border-radius: 10px;
}

.avatar__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar__name {
  font-size: 11px;
  font-style: italic;
  text-decoration: underline;
}

.benefit-strip {
  margin-top: 36px;
  padding: 36px;
  border-radius: 0;
  background: #d9c0ff;
}

.benefit-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.benefit-item p,
.feature-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.dark-showcase {
  margin-top: 54px;
  padding: 30px 0 0;
}

.showcase-panel {
  position: relative;
  border-radius: 30px;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  min-height: 760px;
  padding: 46px 34px;
}

.showcase-panel__art {
  position: absolute;
  inset: 110px 240px 80px;
  border-radius: 22px;
  background: #0f1514;
  box-shadow: var(--shadow-soft);
}

.showcase-note {
  position: absolute;
  width: 230px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.showcase-note h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.feature-stack {
  margin-top: 60px;
  display: grid;
  gap: 56px;
}

.feature-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}

.feature-block__media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-block__title {
  margin: 0;
  font-family: var(--display-font);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-block__eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #418929;
}

.feature-copy {
  max-width: 540px;
}

.feature-copy .btn {
  margin-top: 22px;
}

.quote-band {
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 18px;
  background: #d7c3ff;
}

.quote-band__photo {
  width: 240px;
  border-radius: 14px;
  overflow: hidden;
  align-self: stretch;
}

.quote-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.quote-band cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 14px;
  color: rgba(33, 49, 48, 0.75);
}

.faq-wrap {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-wrap h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--text-soft);
  max-width: 70ch;
}

.analysis-hero {
  padding-top: 30px;
}

.analysis-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: center;
}

.analysis-hero__media,
.collab-hero__media,
.ai-hero__media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #eef3ef;
}

.analysis-hero__media img,
.collab-hero__media img,
.ai-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analysis-bullets {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.analysis-bullet {
  display: grid;
  gap: 10px;
}

.analysis-bullet__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #d7f4c8;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.analysis-bullet h3,
.analysis-bullet p {
  margin: 0;
}

.analysis-section {
  margin-top: 58px;
}

.analysis-section__head {
  max-width: 880px;
  margin: 0 auto 28px;
  text-align: center;
}

.analysis-section__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #418929;
  font-weight: 700;
}

.analysis-section__title {
  margin: 0;
  font-family: var(--display-font);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.analysis-section__copy {
  margin: 14px auto 0;
  max-width: 70ch;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.analysis-feature-stack {
  display: grid;
  gap: 28px;
}

.analysis-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #2c443f;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto 1fr;
}

.resource-card__media {
  padding: 8px;
}

.resource-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.resource-card__body {
  padding: 18px 18px 20px;
  display: grid;
  gap: 12px;
}

.resource-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-family: var(--display-font);
  letter-spacing: -0.03em;
}

.resource-card__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.resource-card__cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 24px;
}

.resource-card__arrow {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.testimony-band {
  margin-top: 54px;
  padding: 32px 28px;
  border-radius: 20px;
  background: #d5c3ff;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.testimony-band__photo {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
}

.testimony-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimony-band blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.testimony-band cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 14px;
  color: rgba(33, 49, 48, 0.75);
}

.collab-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
}

.collab-bullets {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collab-bullet {
  display: grid;
  gap: 10px;
}

.collab-bullet h3,
.collab-bullet p {
  margin: 0;
}

.collab-section {
  margin-top: 58px;
}

.collab-feature-stack {
  display: grid;
  gap: 28px;
}

.collab-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.start-hero {
  padding-top: 28px;
}

.start-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 42px;
  align-items: center;
}

.start-hero__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.start-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-bullets {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.start-bullet {
  display: grid;
  gap: 10px;
}

.start-bullet h3,
.start-bullet p {
  margin: 0;
}

.start-showcase {
  margin-top: 58px;
}

.start-showcase__head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 26px;
}

.start-showcase__title {
  margin: 0;
  font-family: var(--display-font);
  font-size: 42px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.start-showcase__copy {
  margin: 14px auto 0;
  max-width: 70ch;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}

.template-strip {
  overflow: hidden;
  border-radius: 22px;
  background: #dcffe0;
  padding: 16px 0;
}

.template-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 262px;
  gap: 18px;
  width: max-content;
  padding: 0 18px;
}

.template-tile {
  width: 262px;
  height: 518px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(33, 49, 48, 0.18);
}

.template-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-hero {
  padding-top: 20px;
}

.ai-hero__shell {
  background: #f4c2f3;
  border-radius: 18px;
  padding: 18px;
}

.ai-hero__card {
  border-radius: 16px;
  background: #f7f4f9;
  border: 1px solid rgba(33, 49, 48, 0.78);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px 0;
  overflow: hidden;
}

.ai-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.ai-hero__panel {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ai-hero__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-bullets {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ai-bullet {
  display: grid;
  gap: 10px;
}

.ai-bullet h3,
.ai-bullet p {
  margin: 0;
}

.ai-feature-stack {
  display: grid;
  gap: 28px;
}

.ai-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-hero {
  background: var(--bg-dark);
  color: #fff;
  min-height: 552px;
  border-radius: 0 0 24px 24px;
  padding: 72px 0 34px;
  position: relative;
}

.support-hero__title {
  margin: 0;
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
}

.support-search {
  width: min(780px, calc(100% - 72px));
  margin: 34px auto 0;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.support-search__input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid #171717;
}

.support-search__input span {
  opacity: 0.6;
}

.support-search__input p {
  margin: 0;
  color: #9ca3af;
  font-size: 16px;
}

.support-search__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 12px;
}

.support-search__chip {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f3f4f6;
}

.support-search__send {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #2c4bff;
  opacity: 0.5;
}

.support-search__suggestions {
  padding: 0 0 14px;
}

.support-search__suggestions h3 {
  margin: 0;
  padding: 0 18px;
  font-size: 16px;
}

.suggestion-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 18px 0;
}

.suggestion-pill {
  border: 1px solid #171717;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  white-space: nowrap;
  background: #fff;
}

.support-grid {
  width: min(1080px, calc(100% - 72px));
  margin: -24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 72px;
}

.category-card {
  position: relative;
  min-height: 262px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 36px 28px 28px;
}

.category-card__img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.category-card__img img {
  width: auto;
  height: auto;
  max-width: 44%;
  max-height: 38%;
  object-fit: contain;
}

.category-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.category-card p {
  margin: 10px 0 0;
  color: #418929;
  font-size: 15px;
}

.support-panel {
  position: fixed;
  top: 125px;
  right: 18px;
  width: 375px;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  z-index: 20;
  background: #fff;
}

.support-panel__head {
  background: var(--violet);
  padding: 14px 18px 18px;
  text-align: center;
}

.support-panel__head h3,
.support-panel__head p {
  margin: 0;
}

.support-panel__avatars {
  display: flex;
  justify-content: center;
  margin: 6px 0 10px;
}

.support-panel__avatars img {
  width: 230px;
  height: 64px;
  object-fit: contain;
}

.support-panel__body {
  padding: 20px 24px 28px;
  background: #fff;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #556575;
}

.select {
  position: relative;
  border: 1px solid #c5ced6;
  border-radius: 3px;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 40px 0 16px;
  color: #556575;
}

.select::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  background:
    linear-gradient(45deg, transparent 48%, #314351 50% 52%, transparent 54%) center 18px/10px 10px no-repeat,
    linear-gradient(-45deg, transparent 48%, #314351 50% 52%, transparent 54%) center 8px/10px 10px no-repeat;
}

.support-panel .btn {
  width: 100%;
  border-radius: 4px;
  margin-top: 4px;
}

.support-float {
  position: fixed;
  left: 12px;
  bottom: 16px;
  width: 45px;
  height: 45px;
  border-radius: 999px;
  background: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  z-index: 15;
}

.support-float::before {
  content: "◔";
  font-size: 16px;
  opacity: 0.8;
}

.support-languagetab {
  position: fixed;
  top: 50%;
  right: -48px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  background: var(--brand);
  padding: 14px 16px;
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  z-index: 15;
}

.footer {
  margin-top: 64px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 14px 14px 0 0;
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
}

.footer__group h4 {
  margin: 0 0 12px;
  font-size: 13px;
  color: #9ade8b;
  font-weight: 600;
}

.footer__group a {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.footer__group a + a {
  margin-top: 4px;
}

.footer__bar {
  margin-top: 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 46px;
  font-weight: 700;
  color: #b7ef9c;
  letter-spacing: -0.03em;
}

.footer__logo .brand__mark {
  width: 34px;
  height: 34px;
}

.footer__meta {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 10px;
}

.socials a {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
}

.page-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-soft);
}

.page-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  position: relative;
  overflow: clip;
}

.app-sidebar {
  padding: 18px 12px 20px;
  border-right: 1px solid rgba(234, 232, 229, 0.92);
  background: #f7f6f3;
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
}

.app-new-button {
  height: 28px;
  margin: 12px 0 10px;
  border-radius: 999px;
  background: #b0ec9c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #213130;
}

.app-nav {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.app-nav a,
.app-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 13px;
  color: #383837;
}

.app-nav a.is-active,
.app-nav a:hover {
  background: #eae8e5;
}

.app-section-label {
  margin: 12px 0 8px;
  padding: 0 8px;
  font-size: 11px;
  color: #6f6f6c;
}

.app-channel-list {
  display: grid;
  gap: 4px;
}

.app-channel__icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #d7d7d1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 11px;
}

.app-content {
  min-width: 0;
  position: relative;
  padding: 327px 12px 24px 16px;
}

.app-canvas {
  width: min(1111px, calc(100vw - 268px));
  margin: 0 auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.publish-home {
  display: grid;
  gap: 28px;
  padding: 40px 32px 28px;
}

.publish-home__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.publish-date {
  font-size: 12px;
  color: #6f6f6c;
  margin-bottom: 6px;
}

.publish-greeting {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.publish-summary {
  border-radius: 8px;
  background: #f2f0eb;
  border: 1px solid #f0ede7;
  overflow: hidden;
}

.publish-summary__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 10px;
}

.publish-metric {
  display: flex;
  align-items: center;
  gap: 10px;
}

.publish-metric__value {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #e4e1dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.publish-metric__label {
  font-size: 12px;
  color: #4e4e4c;
}

.publish-summary__hint {
  padding: 0 12px 12px;
  font-size: 12px;
  color: #6d6d69;
  background: #eaf5e7;
}

.publish-summary__hint a {
  text-decoration: underline;
}

.publish-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.publish-step {
  min-height: 135px;
  border-radius: 10px;
  border: 1px solid #eae8e5;
  background: #fbfaf8;
  padding: 16px;
  display: grid;
  gap: 12px;
  position: relative;
}

.publish-step__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.publish-step__copy {
  margin: 0;
  color: #5a5a59;
  font-size: 13px;
  line-height: 1.45;
}

.publish-step__footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.publish-step__chip {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #c7d4ff;
}

.publish-panel {
  padding: 38px 32px 24px;
}

.publish-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.publish-panel__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.publish-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #eae8e5;
  margin: 12px 0 20px;
}

.publish-tab {
  position: relative;
  padding: 10px 0 12px;
  font-size: 14px;
  color: #5a5a59;
}

.publish-tab.is-active {
  color: #213130;
}

.publish-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #b0ec9c;
}

.publish-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.publish-toolbar__left,
.publish-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.publish-pill,
.publish-dropdown,
.publish-toggle {
  height: 32px;
  border: 1px solid #dedcd9;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 13px;
  color: #292928;
}

.publish-pill--soft {
  background: linear-gradient(90deg, #d9f1d1 0, #efe9ff 100%);
  border-color: transparent;
}

.publish-toggle.is-active {
  background: #e9f3e0;
  border-color: #cfe5c3;
}

.board-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  overflow: hidden;
}

.board-column {
  min-height: 352px;
  border-radius: 10px;
  background: #fbfaf8;
  border: 1px solid #eae8e5;
  position: relative;
  overflow: hidden;
}

.board-column__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 10px;
}

.board-column__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.board-badge {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e4e1dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.board-column__plus {
  font-size: 22px;
  line-height: 1;
  color: #292928;
}

.board-column__body {
  padding: 12px 4px 16px;
}

.board-card {
  margin: 0 12px 12px;
  border-radius: 8px;
  border: 1px solid #dedcd9;
  background: #fff;
  padding: 12px;
}

.board-card__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.board-card__copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5a5a59;
}

.board-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  color: #292928;
  font-size: 15px;
  font-weight: 500;
}

.board-column--drop {
  background: #f7f6f3;
}

.board-column--ghost {
  opacity: 0.85;
}

.create-modal-page {
  min-height: 100vh;
  position: relative;
}

.create-modal-page .app-shell {
  filter: brightness(0.32);
  pointer-events: none;
}

.create-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.create-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(632px, calc(100vw - 32px));
  max-height: min(788px, calc(100vh - 32px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.create-modal-close {
  position: fixed;
  left: calc(50% + 304px);
  top: calc(50% - 260px);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #000;
  font-size: 18px;
}

.create-modal__top {
  padding: 22px 32px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.create-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.create-modal__controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.create-modal__content {
  padding: 0 32px 0;
}

.idea-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: #5a5a59;
}

.idea-placeholder-row {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9b9b97;
  font-size: 15px;
  margin-bottom: 8px;
}

.idea-placeholder-row .tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dedcd9;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  color: #8e8d8a;
}

.idea-editor {
  min-height: 260px;
  padding-top: 10px;
}

.idea-media {
  width: 120px;
  height: 120px;
  border: 1px dashed #8c8b88;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #5a5a59;
  font-size: 12px;
}

.idea-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  color: #5a5a59;
  font-size: 13px;
}

.idea-toolbar__separator {
  width: 1px;
  height: 24px;
  background: #dedcd9;
}

.create-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 32px 10px;
  border-top: 1px solid #eae8e5;
}

.btn.is-disabled,
.publish-pill.is-disabled {
  background: #dedcd9;
  border-color: #dedcd9;
  color: #7c7b79;
  cursor: default;
  pointer-events: none;
}

.templates-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  background: #f7f6f3;
}

.templates-main {
  padding: 327px 12px 24px 16px;
}

.templates-canvas {
  width: min(1111px, calc(100vw - 268px));
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.templates-hero {
  padding: 40px 40px 0;
}

.templates-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: start;
}

.templates-hero__title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
}

.templates-hero__copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5a5a59;
  max-width: 54ch;
}

.templates-feature {
  border-radius: 12px;
  border: 1px solid #eae8e5;
  background: #fcfbf8;
  padding: 16px;
}

.templates-feature__banner {
  min-height: 140px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 203, 49, 0.08), rgba(59, 252, 255, 0.08));
  border: 1px solid #eae8e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.templates-feature__quote {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #292928;
}

.templates-feature__meta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b6b68;
}

.template-gallery {
  padding: 22px 40px 40px;
}

.template-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.template-card {
  min-height: 232px;
  border: 1px solid #eae8e5;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.template-card__icon {
  font-size: 22px;
  line-height: 1;
}

.template-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.template-card__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5a5a59;
}

.template-card--cyan { background: linear-gradient(135deg, rgba(59,252,255,0.05), #fff); }
.template-card--green { background: linear-gradient(135deg, rgba(176,236,156,0.12), #fff); }
.template-card--orange { background: linear-gradient(135deg, rgba(255,203,49,0.08), #fff); }
.template-card--blue { background: linear-gradient(135deg, rgba(99,117,255,0.08), #fff); }
.template-card--pink { background: linear-gradient(135deg, rgba(248,149,151,0.08), #fff); }
.template-card--violet { background: linear-gradient(135deg, rgba(243,189,255,0.1), #fff); }

.app-help-button {
  position: fixed;
  right: 40px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #def0ff;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #213130;
  box-shadow: var(--shadow-soft);
  z-index: 40;
}

@media (max-width: 1120px) {
  .card-grid,
  .benefit-strip__grid,
  .support-grid,
  .analysis-bullets,
  .analysis-resource-grid,
  .collab-bullets,
  .collab-image-grid,
  .start-bullets,
  .ai-bullets,
  .ai-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--split .hero__inner,
  .hero--stack .hero__inner,
  .community-hero,
  .feature-block,
  .quote-band,
  .faq-wrap,
  .support-search,
  .support-panel,
  .analysis-hero__inner,
  .collab-hero__inner,
  .start-hero__inner,
  .ai-hero__content,
  .testimony-band {
    grid-template-columns: 1fr;
  }

  .support-panel {
    position: static;
    width: auto;
    margin: 24px auto 0;
  }

  .support-search {
    width: min(780px, calc(100% - 36px));
  }

  .hero--split .hero__inner,
  .hero--stack .hero__inner,
  .community-hero,
  .feature-block,
  .quote-band,
  .faq-wrap,
  .analysis-hero__inner,
  .collab-hero__inner,
  .start-hero__inner,
  .ai-hero__content,
  .testimony-band {
    gap: 32px;
  }

  .showcase-panel__art {
    inset: 120px 150px 80px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-header__inner {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero,
  .page-section,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }

  .hero--split .hero__inner,
  .hero--stack .hero__inner,
  .community-hero,
  .feature-block,
  .quote-band,
  .faq-wrap,
  .benefit-strip__grid,
  .card-grid,
  .support-grid,
  .analysis-bullets,
  .analysis-resource-grid,
  .collab-bullets,
  .collab-image-grid,
  .start-bullets,
  .ai-bullets,
  .ai-resource-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__title,
  .feature-block__title,
  .cta-band h2,
  .faq-wrap h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .showcase-panel {
    min-height: 520px;
  }

  .showcase-panel__art {
    inset: 120px 24px 60px;
  }

  .avatar-grid {
    grid-template-columns: repeat(2, 144px);
  }

  .support-panel__head img {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
  }

  .support-languagetab,
  .support-float {
    display: none;
  }

  .footer__bar {
    align-items: flex-start;
  }

  .footer__meta {
    text-align: left;
  }
}

@media (max-width: 1180px) {
  .app-shell,
  .templates-page {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(234, 232, 229, 0.92);
  }

  .app-content,
  .templates-main {
    padding-top: 24px;
  }

  .app-canvas,
  .templates-canvas {
    width: min(1111px, calc(100vw - 24px));
  }

  .template-gallery__grid,
  .publish-steps,
  .publish-summary__row,
  .board-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .publish-home,
  .publish-panel,
  .templates-hero,
  .template-gallery,
  .create-modal__content,
  .create-modal__top,
  .create-modal__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .publish-home__header,
  .templates-hero__row,
  .publish-steps,
  .template-gallery__grid,
  .board-columns,
  .publish-summary__row {
    grid-template-columns: 1fr;
  }

  .publish-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-help-button {
    right: 16px;
    bottom: 16px;
  }
}
