:root {
  --bg: #f4f8f5;
  --surface: #ffffff;
  --surface-soft: #f8fbf7;
  --text: #15211a;
  --muted: #627067;
  --line: #dce7dd;
  --primary: #2f9b63;
  --primary-strong: #23784d;
  --ink: #102116;
  --gold: #c49b52;
  --blue: #315f8f;
  --shadow:
    28px 34px 82px rgba(23, 47, 33, 0.16),
    0 14px 34px rgba(23, 47, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 245, 0.9)),
    radial-gradient(820px 440px at 12% 8%, rgba(47, 155, 99, 0.16), transparent 62%),
    radial-gradient(780px 420px at 92% 18%, rgba(49, 95, 143, 0.12), transparent 58%),
    var(--bg);
  display: flex;
  flex-direction: column;
}

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

.page {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  flex: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 1px solid rgba(220, 231, 221, 0.9);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 28px rgba(21, 33, 26, 0.12);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #526259;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--primary-strong);
  border-color: rgba(191, 216, 199, 0.72);
  background: rgba(255, 255, 255, 0.62);
}

.nav a.is-active {
  color: var(--primary-strong);
  border-color: rgba(47, 155, 99, 0.2);
  background: rgba(238, 248, 240, 0.9);
}

.language-toggle {
  flex: 0 0 auto;
  width: 42px;
  min-width: 42px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(208, 222, 211, 0.86);
  border-radius: 12px;
  color: #526259;
  background: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(30, 56, 39, 0.06);
  backdrop-filter: blur(14px);
}

.language-toggle:hover {
  color: var(--primary-strong);
  border-color: rgba(47, 155, 99, 0.24);
  background: rgba(238, 248, 240, 0.9);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 94px);
  padding: 18px 0 30px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 10px 26px rgba(23, 47, 33, 0.14);
}

.hero-subtitle {
  margin: 22px 0 0;
  max-width: 560px;
  color: #53645a;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 16px 34px rgba(47, 155, 99, 0.24);
  font-weight: 700;
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
}

.chat-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-height: 0;
  height: min(72vh, 760px);
  max-height: 760px;
  padding: 18px;
  border: 1px solid rgba(203, 219, 205, 0.9);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 252, 249, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.chat-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 28px;
  background: rgba(47, 155, 99, 0.08);
  transform: rotate(-1.2deg);
}

.chat-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 2px 4px 14px;
}

.chat-panel-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.panel-status {
  padding: 5px 9px;
  border: 1px solid #cfe4d4;
  border-radius: 999px;
  color: var(--primary-strong);
  background: #eef8f0;
  font-size: 12px;
  font-weight: 700;
}

.chat-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 1px solid #e1e9e2;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 247, 0.76)),
    var(--surface-soft);
}

.bubble {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  align-content: start;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: fit-content;
  height: fit-content;
  max-width: min(86%, 760px);
  min-height: 0;
  min-block-size: auto;
  max-block-size: none;
  margin: 0;
  padding: 8px 10px 7px;
  border: 1px solid #d8e2da;
  border-radius: 12px;
  color: #17231d;
  font-size: 13px;
  line-height: 1.46;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 46, 33, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.bubble > * {
  position: relative;
  z-index: 1;
}

.bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bubble-content {
  display: block;
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 8px 34px 1px 0;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.welcome-bubble {
  width: fit-content;
  height: auto;
  min-height: 0;
  padding-block: 8px;
}

.bubble-meta {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin: 0;
  color: #6f7d74;
  font-size: 10px;
  line-height: 1;
  text-align: right;
  letter-spacing: 0;
}

.bubble.assistant {
  align-self: flex-start;
  margin-right: auto;
  border-color: #d7e5d9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 247, 0.92)),
    #fff;
}

.bubble.assistant::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(47, 155, 99, 0.18), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(196, 155, 82, 0.12), transparent 27%),
    radial-gradient(circle at 52% 88%, rgba(49, 95, 143, 0.1), transparent 32%),
    linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(47, 155, 99, 0.1), rgba(255, 255, 255, 0));
  background-size: 150% 150%;
  opacity: 0.78;
  transform: translate3d(-4%, -2%, 0) scale(1);
  animation: assistant-bubble-breathe 7.6s ease-in-out infinite;
}

.bubble.assistant::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.5));
  pointer-events: none;
}

.bubble.user {
  align-self: flex-end;
  margin-left: auto;
  border-color: #bfd8c7;
  color: #0b2116;
  background: linear-gradient(160deg, #e9f7ee, #d9f0e2);
}

.bubble.error {
  border-color: #f0b5b5;
  background: #fff7f7;
}

.bubble-retry {
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid #ef9a9a;
  border-radius: 999px;
  color: #a52b2b;
  background: #fff;
  font-size: 12px;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 10px;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: typing-bounce 1.1s infinite ease-in-out;
}

.bubble.thinking {
  min-width: 64px;
  padding: 8px 28px 8px 11px;
}

.bubble.thinking .bubble-content {
  padding-right: 0;
  line-height: 1;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.14s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes typing-bounce {
  0%, 80%, 100% {
    transform: scale(0.72);
    opacity: 0.55;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes assistant-bubble-breathe {
  0%, 100% {
    background-position: 0% 42%;
    opacity: 0.58;
    transform: translate3d(-4%, -2%, 0) scale(1);
  }
  45% {
    background-position: 82% 56%;
    opacity: 0.9;
    transform: translate3d(3%, 2%, 0) scale(1.04);
  }
  72% {
    background-position: 36% 88%;
    opacity: 0.72;
    transform: translate3d(1%, -3%, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubble.assistant::before {
    animation: none;
  }
}

.input-wrap {
  flex: 0 0 auto;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e0e9e1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.privacy-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 9px;
  color: #647269;
  font-size: 12px;
  line-height: 1.5;
}

.privacy-consent.compact {
  margin: 8px 0 0;
}

.privacy-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

#userInput {
  width: 100%;
  min-height: 76px;
  max-height: 132px;
  padding: 11px 12px;
  resize: none;
  border: 1px solid #d5e0d7;
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: #fff;
  font-size: 15px;
  line-height: 1.58;
}

#userInput:focus {
  border-color: #8dc9a6;
  box-shadow: 0 0 0 4px rgba(47, 155, 99, 0.13);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 9px;
}

button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cfdcd2;
  border-radius: 999px;
  color: #253129;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

button:hover {
  border-color: #a9c5b0;
  background: #f7fbf8;
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

button.primary {
  border-color: var(--primary);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 12px 24px rgba(47, 155, 99, 0.24);
}

.subpage {
  padding-bottom: 18px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 440px;
  padding: clamp(34px, 7vw, 86px) 0 32px;
}

.subpage-hero.community-hero,
.subpage-hero.pricing-hero {
  grid-template-columns: minmax(0, 780px);
}

.subpage-copy {
  max-width: 690px;
}

.subpage-copy.wide {
  max-width: 820px;
}

.subpage-copy h1 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.subpage-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #53645a;
  font-size: 18px;
  line-height: 1.8;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.hero-primary.is-disabled {
  cursor: default;
  opacity: 0.72;
}

.subpage-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #bfd8c7;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.subpage-secondary:hover {
  background: rgba(238, 248, 240, 0.95);
}

.release-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(203, 219, 205, 0.92);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 252, 249, 0.88)),
    var(--surface);
  box-shadow: var(--shadow);
}

.download-flow {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(203, 219, 205, 0.92);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 249, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.download-flow-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.download-flow-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-steps li {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid #dce8de;
  border-radius: 12px;
  color: #75857a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.download-steps li.is-current {
  border-color: rgba(47, 155, 99, 0.36);
  color: var(--primary-strong);
  background: #eef8f0;
}

.download-steps li.is-done {
  border-color: rgba(47, 155, 99, 0.2);
  color: #fff;
  background: var(--primary);
}

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

.download-step-panel {
  display: grid;
  gap: 12px;
}

.download-step-panel[hidden] {
  display: none;
}

.download-step-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.download-step-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.choice-grid label {
  display: block;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dbe7dd;
  border-radius: 14px;
  color: #3b4f42;
  background: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.choice-grid input:focus-visible + span {
  outline: 3px solid rgba(47, 155, 99, 0.18);
  outline-offset: 2px;
}

.choice-grid input:checked + span {
  border-color: rgba(47, 155, 99, 0.42);
  color: var(--primary-strong);
  background: #eef8f0;
  box-shadow: inset 0 0 0 1px rgba(47, 155, 99, 0.12);
}

.choice-grid span:hover {
  border-color: rgba(47, 155, 99, 0.32);
  background: rgba(238, 248, 240, 0.78);
  transform: translateY(-1px);
}

.download-email-label {
  display: grid;
  gap: 8px;
  color: #425246;
  font-size: 13px;
  font-weight: 800;
}

.download-email-label input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d8e5da;
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.download-email-label input:focus {
  border-color: #8dc9a6;
  box-shadow: 0 0 0 4px rgba(47, 155, 99, 0.13);
}

.download-step-panel .download-privacy {
  color: #7b897d;
  font-size: 12px;
}

.download-flow-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.download-flow-actions button {
  min-width: 92px;
}

.download-flow-status {
  min-height: 18px;
  margin: -6px 0 0;
  color: var(--primary-strong);
  font-size: 12px;
  line-height: 1.5;
}

.release-logo {
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 1px solid #dce7dd;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.release-row {
  display: grid;
  gap: 5px;
  min-height: 66px;
  padding: 14px;
  border: 1px solid #e1e9e2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.release-row span {
  color: #78877d;
  font-size: 12px;
}

.release-row strong {
  color: var(--ink);
  font-size: 16px;
}

.subpage-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.subpage-grid article,
.pricing-card,
.note-band {
  border: 1px solid rgba(218, 230, 219, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(23, 47, 33, 0.07);
}

.subpage-grid article {
  padding: 22px;
}

.subpage-grid span {
  color: var(--gold);
  font-weight: 800;
}

.subpage-grid h2 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.subpage-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
}

.pricing-card.featured {
  border-color: rgba(47, 155, 99, 0.34);
  background:
    linear-gradient(180deg, rgba(238, 248, 240, 0.9), rgba(255, 255, 255, 0.84)),
    #fff;
}

.pricing-head {
  display: grid;
  gap: 8px;
}

.pricing-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.pricing-head strong {
  color: var(--primary-strong);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.pricing-head span {
  color: var(--muted);
  font-weight: 700;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
  color: #425246;
  line-height: 1.6;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(47, 155, 99, 0.12);
}

.note-band {
  margin-bottom: 24px;
  padding: 28px;
}

.note-band h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
}

.note-band p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.lead-save-status {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.flow-bridge {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: -8px 0 22px;
  color: #7d8a82;
  font-size: 12px;
}

.flow-bridge::before,
.flow-bridge::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 155, 99, 0.28));
}

.flow-bridge::after {
  background: linear-gradient(90deg, rgba(47, 155, 99, 0.28), transparent);
}

.flow-bridge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(218, 230, 219, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(23, 47, 33, 0.06);
}

.flow-bridge span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(47, 155, 99, 0.12);
}

.method-band,
.scope-band,
.contact-band,
.feedback-band {
  margin: 0 0 24px;
  padding: 28px;
  border: 1px solid rgba(218, 230, 219, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(23, 47, 33, 0.07);
}

.method-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
}

.method-copy h2,
.scope-band h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

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

.method-grid article {
  padding: 18px;
  border: 1px solid #e1e9e2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fcf9);
}

.method-grid span {
  color: var(--gold);
  font-weight: 800;
}

.method-grid h3 {
  margin: 10px 0 8px;
  color: #203428;
  font-size: 17px;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.scope-band {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.scope-band > div:first-child {
  max-width: 620px;
}

.scope-band h2 {
  max-width: 620px;
  font-size: clamp(26px, 2.45vw, 36px);
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: none;
}

.scope-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d9e5db;
  border-radius: 14px;
  color: #425246;
  background: linear-gradient(180deg, #fff, #fbfdfb);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(520px, 1.38fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.contact-copy h2,
.feedback-copy h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.2;
}

.contact-copy p,
.feedback-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.contact-list div {
  min-width: 0;
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(223, 233, 225, 0.92);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-list span {
  display: block;
  color: #7b897d;
  font-size: 12px;
}

.contact-list strong {
  display: block;
  margin-top: 8px;
  color: #24372b;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.feedback-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(560px, 1.42fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.feedback-copy {
  max-width: 430px;
}

.feedback-panel {
  min-width: 0;
}

.feedback-form {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dce8de;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.feedback-row.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feedback-form input:not([type="checkbox"]),
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8e5da;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.feedback-form input:not([type="checkbox"]),
.feedback-form select {
  height: 42px;
  padding: 0 12px;
}

.feedback-form textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

.feedback-form .feedback-consent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: 2px 0 0;
  color: #647269;
  font-size: 12px;
  line-height: 1.45;
}

.feedback-form .feedback-consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
}

.feedback-form .feedback-consent-row span {
  display: block;
  min-width: 0;
}

.feedback-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
}

.feedback-actions .primary {
  min-width: 112px;
}

.feedback-disabled {
  margin: 0;
  color: var(--muted);
}

.footer {
  margin-top: 12px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.footer-copy,
.footer-links,
.footer a,
.footer button {
  line-height: 1;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.footer a,
.footer button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #2f6f4f;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.footer a:hover,
.footer button:hover {
  color: var(--primary-strong);
  background: transparent;
  transform: none;
}

.footer-separator {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: #cfdcd2;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 33, 26, 0.45);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-panel {
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  border: 1px solid rgba(218, 230, 219, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(23, 47, 33, 0.25);
  overflow: hidden;
}

.legal-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #edf2ed;
}

.legal-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.legal-modal-head button {
  width: 34px;
  height: 34px;
  border: 1px solid #dbe7dd;
  border-radius: 50%;
  background: #f8fbf8;
  color: #314637;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.legal-modal-body {
  max-height: calc(min(760px, 100vh - 36px) - 68px);
  padding: 18px 22px 24px;
  overflow: auto;
  color: #35483b;
  line-height: 1.75;
}

.legal-modal-body h2,
.legal-modal-body h3 {
  color: var(--ink);
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  .page {
    width: min(100vw - 28px, 760px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .scope-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .nav {
    flex: 1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .method-band,
  .scope-band,
  .contact-band,
  .feedback-band,
  .subpage-hero,
  .subpage-hero.community-hero,
  .subpage-hero.pricing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .chat-panel {
    min-height: 0;
    height: min(68vh, 680px);
    max-height: 680px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .scope-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100vw - 20px, 520px);
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .topbar-actions {
    gap: 10px;
    overflow: visible;
  }

  .nav a {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .language-toggle {
    flex: 0 0 auto;
    width: 42px;
    min-width: 42px;
  }

  .hero {
    padding-top: 8px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .subpage-copy h1 {
    font-size: 32px;
  }

  .hero-subtitle,
  .subpage-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .chat-panel,
  .method-band,
  .scope-band,
  .contact-band,
  .feedback-band,
  .release-panel,
  .download-flow,
  .subpage-grid article,
  .pricing-card,
  .note-band {
    border-radius: 18px;
  }

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

  .subpage-actions a,
  .subpage-actions span {
    width: 100%;
  }

  .download-flow {
    padding: 16px;
  }

  .download-flow-head {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .download-flow-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .chat-panel {
    min-height: 0;
    height: min(74vh, 700px);
    padding: 12px;
  }

  .chat-list {
    gap: 8px;
    padding: 7px;
    min-height: 0;
  }

  .scope-band,
  .contact-band,
  .feedback-band {
    padding: 20px;
  }

  .scope-band h2,
  .contact-copy h2,
  .feedback-copy h2 {
    font-size: 28px;
  }

  .scope-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scope-list span {
    min-height: 40px;
    white-space: normal;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .feedback-form {
    padding: 14px;
  }

  .bubble {
    max-width: 88%;
    padding: 8px 10px 7px;
    font-size: 12.5px;
  }

  .bubble-content {
    padding: 8px 30px 1px 0;
  }

  .actions button {
    flex: 1;
  }

  .feedback-row.split {
    grid-template-columns: 1fr;
  }

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

  .footer-inner,
  .footer-links {
    justify-content: center;
  }

  .footer-inner {
    width: min(100vw - 20px, 520px);
    text-align: center;
  }
}
