:root {
  --seo-ink: #14251c;
  --seo-ink-soft: #40534a;
  --seo-muted: #718078;
  --seo-line: rgba(30, 67, 46, 0.14);
  --seo-green: #087b49;
  --seo-green-deep: #075536;
  --seo-green-soft: #eaf6ee;
  --seo-paper: #fbfcf8;
  --seo-canvas: #f1f5f0;
  --seo-dark: #0b2117;
  --seo-amber: #c98221;
  --seo-coral: #c95643;
  --seo-blue: #2f6685;
  --seo-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  --seo-sans: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--seo-ink);
  background: var(--seo-paper);
  font-family: var(--seo-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font: inherit;
}

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

img,
svg {
  display: block;
}

p,
h1,
h2,
h3,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.page-width {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.page-width.narrow {
  width: min(850px, calc(100% - 48px));
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--seo-green-deep);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(30, 67, 46, 0.1);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: 70px;
  align-items: center;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--seo-serif);
  font-size: 19px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  color: var(--seo-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--seo-ink-soft);
  font-size: 13px;
  transition: color 150ms ease, background 150ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--seo-green-deep);
  background: rgba(8, 123, 73, 0.08);
}

.header-cta {
  justify-self: end;
  padding: 10px 15px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--seo-green-deep);
  font-size: 13px;
  font-weight: 700;
}

.header-cta:hover,
.button-primary:hover,
.button-light:hover {
  background: var(--seo-green);
}

.mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-menu summary {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--seo-line);
  border-radius: 7px;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--seo-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mobile-menu[open] summary {
  border-color: rgba(8, 123, 73, 0.28);
  color: var(--seo-green-deep);
  background: var(--seo-green-soft);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(76vw, 250px);
  padding: 8px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(17, 48, 31, 0.16);
  backdrop-filter: blur(18px);
}

.mobile-menu-panel > a {
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--seo-ink-soft);
  font-size: 14px;
}

.mobile-menu-panel > a:hover,
.mobile-menu-panel > a.is-active {
  color: var(--seo-green-deep);
  background: var(--seo-green-soft);
}

.mobile-menu-actions {
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px solid var(--seo-line);
}

.mobile-menu-actions a {
  display: grid;
  min-height: 40px;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--seo-green-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  border-bottom: 1px solid var(--seo-line);
  background: #f7faf5;
}

.hero-home {
  padding: 152px 0 92px;
  background-image:
    linear-gradient(rgba(27, 72, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 72, 46, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(54px, 8vw, 110px);
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--seo-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(8, 123, 73, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #41c77a;
  box-shadow: 0 0 0 4px rgba(65, 199, 122, 0.13);
}

h1,
h2,
h3 {
  font-family: var(--seo-serif);
  line-height: 1.25;
}

h1 {
  max-width: 740px;
  font-size: clamp(40px, 5.5vw, 74px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.page-hero h1,
.docs-hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
}

.lead {
  max-width: 690px;
  margin-top: 24px;
  color: var(--seo-ink-soft);
  font-size: clamp(16px, 1.6vw, 19px);
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.action-row-center {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--seo-green-deep);
}

.button-secondary {
  border-color: var(--seo-line);
  color: var(--seo-ink);
  background: rgba(255, 255, 255, 0.82);
}

.button-secondary:hover {
  border-color: rgba(8, 123, 73, 0.32);
  color: var(--seo-green-deep);
}

.trust-list,
.check-list {
  display: grid;
  gap: 9px;
  margin-top: 26px;
  list-style: none;
}

.trust-list {
  grid-template-columns: repeat(3, max-content);
  gap: 8px 16px;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 17px;
  color: var(--seo-muted);
  font-size: 12px;
}

.trust-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seo-green);
  content: "";
}

.product-demo {
  overflow: hidden;
  border: 1px solid rgba(25, 64, 42, 0.17);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(19, 54, 35, 0.14);
}

.demo-topbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--seo-line);
  background: #f9fbf8;
}

.demo-brand,
.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.demo-status {
  color: var(--seo-muted);
}

.demo-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3fca7a;
}

.demo-thread {
  display: grid;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(8, 123, 73, 0.035), transparent 55%),
    #f5f7f4;
}

.speaking-demo-body {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(8, 123, 73, 0.045), transparent 58%),
    #f5f7f4;
}

.speaking-demo-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--seo-line);
}

.speaking-demo-title > div {
  display: grid;
  gap: 4px;
}

.speaking-demo-title small,
.speaking-demo-feedback small {
  color: var(--seo-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.speaking-demo-title strong {
  font-family: var(--seo-serif);
  font-size: 19px;
}

.speaking-demo-title > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(8, 123, 73, 0.16);
  border-radius: 999px;
  color: var(--seo-green-deep);
  background: var(--seo-green-soft);
  font-size: 10px;
  font-weight: 700;
}

.loop-demo-grid {
  display: grid;
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.loop-demo-grid article {
  display: grid;
  min-height: 102px;
  align-content: space-between;
  padding: 14px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
}

.loop-demo-grid article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--seo-green-deep);
  font-family: var(--seo-serif);
  font-size: 14px;
  font-weight: 700;
}

.loop-demo-grid article:nth-child(2) > span {
  background: var(--seo-amber);
}

.loop-demo-grid article:nth-child(3) > span {
  background: var(--seo-blue);
}

.loop-demo-grid article:nth-child(4) > span {
  background: var(--seo-coral);
}

.loop-demo-grid strong {
  margin-top: 13px;
  font-size: 12px;
}

.loop-demo-grid small {
  color: var(--seo-muted);
  font-size: 10px;
}

.speaking-demo-feedback {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid #dec889;
  border-radius: 8px;
  background: #fffaf0;
}

.speaking-demo-feedback p {
  margin-top: 7px;
  color: #4a3b23;
  font-size: 12px;
}

.chat-bubble,
.suggestion {
  border-radius: 8px;
}

.chat-bubble {
  width: min(82%, 430px);
  padding: 12px 14px;
  border: 1px solid var(--seo-line);
  background: #ffffff;
}

.chat-bubble small,
.suggestion header small {
  color: var(--seo-muted);
  font-size: 10px;
}

.chat-bubble p {
  margin-top: 6px;
  font-size: 14px;
}

.suggestion {
  margin-left: auto;
  padding: 16px;
  border: 1px solid #dec889;
  background: #fffaf0;
}

.suggestion header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7c581c;
  font-size: 12px;
  font-weight: 700;
}

.suggestion > p {
  margin-top: 10px;
  color: #4a3b23;
  font-size: 14px;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.suggestion-tags span {
  padding: 4px 7px;
  border: 1px solid #ead9aa;
  border-radius: 999px;
  color: #806329;
  background: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.demo-composer {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--seo-line);
  border-radius: 7px;
  color: var(--seo-muted);
  background: #ffffff;
  font-size: 12px;
}

.demo-composer b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--seo-green-deep);
}

.page-hero {
  padding: 148px 0 76px;
  border-bottom: 1px solid var(--seo-line);
  background: #f6faf5;
  text-align: center;
}

.page-hero .lead {
  margin-right: auto;
  margin-left: auto;
}

.page-hero .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.section {
  padding: 92px 0;
}

.section.compact {
  padding-top: 70px;
}

.soft-band {
  background: var(--seo-canvas);
}

.section-dark {
  color: #ffffff;
  background: var(--seo-dark);
}

.section-heading {
  display: grid;
  align-items: start;
  margin-bottom: 42px;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.58fr);
  gap: 42px;
}

.section-heading h2,
.split-section h2,
.docs-content h2 {
  font-size: clamp(30px, 3.5vw, 48px);
}

.section-heading > div > p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--seo-ink-soft);
}

.section-heading-light > div > p {
  color: rgba(255, 255, 255, 0.65);
}

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

.feature-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-card:nth-child(2) {
  border-top-color: rgba(201, 130, 33, 0.55);
}

.feature-card:nth-child(3) {
  border-top-color: rgba(47, 102, 133, 0.55);
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: var(--seo-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3,
.scenario-card h2 {
  font-size: 22px;
}

.feature-card p,
.scenario-card p {
  margin-top: 12px;
  color: var(--seo-ink-soft);
  font-size: 14px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
}

.step-grid li {
  min-height: 230px;
  padding: 28px;
  background: var(--seo-dark);
}

.step-grid span {
  color: #66d99b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-grid h3 {
  margin-top: 55px;
  font-size: 24px;
}

.step-grid p {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.split-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(48px, 8vw, 100px);
}

.split-section-wide {
  grid-template-columns: minmax(380px, 1fr) minmax(0, 0.9fr);
}

.section-copy {
  margin-top: 18px;
  color: var(--seo-ink-soft);
  font-size: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--seo-green-deep);
  font-weight: 700;
}

.privacy-panel {
  padding: 28px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: var(--seo-canvas);
}

.privacy-panel img {
  width: 92px;
  height: 68px;
  margin-bottom: 24px;
}

.privacy-panel dl {
  display: grid;
}

.privacy-panel dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--seo-line);
}

.privacy-panel dt {
  color: var(--seo-muted);
  font-size: 12px;
}

.privacy-panel dd {
  font-weight: 700;
}

.final-cta {
  padding: 92px 0;
  color: #ffffff;
  background: var(--seo-green-deep);
  text-align: center;
}

.final-cta > .page-width > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.final-cta h2 {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: clamp(32px, 4vw, 52px);
}

.button-light {
  color: var(--seo-green-deep);
  background: #ffffff;
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: transparent;
}

.button-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.feature-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid-six .feature-card {
  min-height: 205px;
}

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

.feature-grid-four .feature-card {
  min-height: 470px;
}

.feature-detail {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--seo-line);
}

.feature-detail > div {
  display: grid;
  padding: 9px 0;
  border-bottom: 1px solid var(--seo-line);
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.feature-detail dt {
  color: var(--seo-muted);
  font-size: 11px;
  font-weight: 700;
}

.feature-detail dd {
  color: var(--seo-ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.feature-points {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--seo-line);
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 14px;
  color: var(--seo-muted);
  font-size: 12px;
}

.feature-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--seo-green);
  content: "";
}

.analysis-card {
  padding: 28px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(20, 55, 36, 0.08);
}

.template-message-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(42px, 7vw, 88px);
}

.template-demo {
  padding: 24px;
  border: 1px solid #dec889;
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 24px 70px rgba(131, 94, 23, 0.09);
}

.template-demo-header,
.template-demo-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.template-demo-header > span,
.template-demo-label {
  color: #7c581c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.template-demo-header small {
  color: var(--seo-muted);
  font-size: 10px;
}

.template-demo-header code {
  padding: 2px 5px;
  border-radius: 4px;
  color: #805a17;
  background: #f3e1b4;
  font-size: 10px;
}

.template-demo-code {
  overflow-x: auto;
  margin: 15px 0 20px;
  padding: 17px;
  border-radius: 7px;
  color: #f4fbf6;
  background: #102a1e;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.template-slot {
  color: #ffd27a;
  font-weight: 800;
}

.template-demo-label {
  justify-content: flex-start;
  margin-bottom: 3px;
}

.template-target-preview {
  display: grid;
  list-style: none;
}

.template-target-preview li {
  display: grid;
  padding: 10px 0;
  border-top: 1px solid rgba(126, 91, 27, 0.16);
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

.template-target-preview strong {
  color: #654b1b;
  font-size: 12px;
}

.template-target-preview span {
  color: var(--seo-ink-soft);
  font-size: 12px;
}

.template-demo-note {
  margin-top: 13px;
  color: var(--seo-muted);
  font-size: 11px;
}

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

.template-use-case-grid .feature-card {
  min-height: 210px;
}

.section-inline-link {
  margin-top: 24px;
}

.section-inline-link .text-link {
  margin-top: 0;
}

.analysis-card blockquote {
  margin-top: 15px;
  padding: 18px;
  border-left: 3px solid var(--seo-green);
  color: var(--seo-ink);
  background: var(--seo-green-soft);
  font-family: var(--seo-serif);
  font-size: 19px;
}

.analysis-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  list-style: none;
}

.analysis-list li {
  display: grid;
  padding: 12px 0;
  border-bottom: 1px solid var(--seo-line);
  grid-template-columns: 72px 1fr;
  gap: 16px;
  font-size: 13px;
}

.analysis-list span {
  color: var(--seo-muted);
}

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

.workflow li {
  display: grid;
  padding: 22px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  background: #ffffff;
}

.workflow > li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--seo-green-deep);
  font-size: 12px;
  font-weight: 800;
}

.workflow h3 {
  font-size: 18px;
}

.workflow p {
  margin-top: 7px;
  color: var(--seo-muted);
  font-size: 12px;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
}

.loop-grid li {
  min-height: 230px;
  padding: 28px;
  background: var(--seo-dark);
}

.loop-grid li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(102, 217, 155, 0.28);
  border-radius: 8px;
  color: #66d99b;
  background: rgba(102, 217, 155, 0.08);
  font-family: var(--seo-serif);
  font-size: 20px;
  font-weight: 700;
}

.loop-grid h3 {
  margin-top: 55px;
  font-size: 24px;
}

.loop-grid p {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

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

.scenario-card {
  min-height: 430px;
  padding: 26px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
}

.scenario-card:nth-child(3n + 2) .feature-index {
  color: var(--seo-amber);
}

.scenario-card:nth-child(3n) .feature-index {
  color: var(--seo-blue);
}

.scenario-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  list-style: none;
}

.scenario-card li {
  padding: 4px 8px;
  border: 1px solid var(--seo-line);
  border-radius: 999px;
  color: var(--seo-muted);
  font-size: 10px;
}

.scenario-card h3 {
  margin-top: 20px;
  font-size: 14px;
}

.scenario-goal {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--seo-line);
}

.scenario-goal strong,
.scenario-focus strong {
  display: block;
  margin-bottom: 5px;
  color: var(--seo-green-deep);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.scenario-card .scenario-checklist {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.scenario-card .scenario-checklist li {
  position: relative;
  padding: 0 0 0 14px;
  border: 0;
  border-radius: 0;
  color: var(--seo-ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.scenario-card .scenario-checklist li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--seo-green);
  content: "";
}

.scenario-focus {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--seo-line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.timeline article {
  padding: 28px 28px 0 0;
}

.timeline span {
  color: #67d99b;
  font-size: 11px;
  font-weight: 800;
}

.timeline h3 {
  margin-top: 25px;
  font-size: 22px;
}

.timeline p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.compact-steps {
  display: grid;
  gap: 10px;
  list-style: none;
}

.compact-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
}

.compact-steps span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: var(--seo-green-deep);
  background: var(--seo-green-soft);
  font-size: 11px;
  font-weight: 800;
}

.compact-steps p {
  color: var(--seo-ink-soft);
  font-size: 13px;
}

.docs-hero {
  background: #f5f8f3;
}

.docs-section {
  padding-top: 70px;
}

.docs-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 70px;
}

.docs-toc {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: var(--seo-paper);
}

.docs-toc strong {
  margin-bottom: 8px;
  font-family: var(--seo-serif);
  font-size: 16px;
}

.docs-toc a {
  padding: 7px 8px;
  border-radius: 5px;
  color: var(--seo-muted);
  font-size: 12px;
}

.docs-toc a:hover {
  color: var(--seo-green-deep);
  background: var(--seo-green-soft);
}

.docs-content {
  min-width: 0;
}

.docs-content > section + section {
  margin-top: 80px;
  padding-top: 70px;
  border-top: 1px solid var(--seo-line);
}

.docs-content h2 {
  margin-top: 10px;
}

.docs-steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}

.docs-steps li {
  display: grid;
  padding: 22px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  background: #ffffff;
}

.docs-steps > li > span {
  color: var(--seo-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.docs-steps h3,
.definition-list h3 {
  font-size: 19px;
}

.docs-steps p,
.definition-list p {
  margin-top: 7px;
  color: var(--seo-ink-soft);
  font-size: 13px;
}

.definition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
}

.definition-list article {
  padding: 21px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
}

.notice-panel {
  margin-top: 28px;
  padding: 24px;
  border-left: 4px solid var(--seo-amber);
  border-radius: 0 8px 8px 0;
  background: #fff8ea;
}

.notice-panel strong {
  font-family: var(--seo-serif);
  font-size: 19px;
}

.notice-panel p {
  margin-top: 9px;
  color: #65573d;
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq-item {
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--seo-serif);
  font-size: 17px;
  font-weight: 700;
}

.faq-item p {
  padding: 0 20px 20px;
  color: var(--seo-ink-soft);
  font-size: 13px;
}

.site-footer {
  padding: 52px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #081b13;
}

.site-footer-inner {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  align-items: start;
  margin: 0 auto;
  grid-template-columns: 1fr 1.2fr 1.3fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.footer-brand strong {
  font-family: var(--seo-serif);
}

.footer-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.site-footer p {
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
}

.site-footer nav a:hover {
  color: #ffffff;
}

.site-footer-bottom {
  display: flex;
  width: min(1160px, calc(100% - 48px));
  justify-content: space-between;
  gap: 20px;
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .split-section-wide,
  .template-message-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 52px;
  }

  .product-demo {
    max-width: 680px;
  }

  .feature-grid-six,
  .feature-grid-four,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .docs-toc {
    position: sticky;
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 8px;
  }

  .docs-toc strong {
    flex: 0 0 auto;
    margin: 0 8px 0 0;
  }

  .docs-toc a {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .page-width,
  .page-width.narrow,
  .site-header-inner,
  .site-footer-inner,
  .site-footer-bottom {
    width: calc(100% - 28px);
  }

  .site-header-inner {
    display: flex;
    min-height: auto;
    padding: 10px 0;
  }

  .docs-toc {
    top: 68px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 16px;
    letter-spacing: 0.03em;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-home,
  .page-hero {
    padding-top: 120px;
  }

  .hero-home {
    padding-bottom: 64px;
  }

  .page-hero {
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .page-hero h1,
  .docs-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .feature-grid,
  .feature-grid-six,
  .feature-grid-four,
  .scenario-grid,
  .step-grid,
  .timeline,
  .workflow,
  .loop-grid,
  .definition-list,
  .template-use-case-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    gap: 1px;
  }

  .step-grid li {
    min-height: 190px;
  }

  .loop-grid li {
    min-height: 190px;
  }

  .step-grid h3 {
    margin-top: 34px;
  }

  .loop-grid h3 {
    margin-top: 34px;
  }

  .feature-card,
  .scenario-card {
    min-height: 0;
  }

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

  .demo-thread {
    padding: 15px;
  }

  .chat-bubble {
    width: 92%;
  }

  .template-demo {
    padding: 18px;
  }

  .template-demo-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .template-target-preview li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .split-section {
    gap: 38px;
  }

  .docs-content > section + section {
    margin-top: 54px;
    padding-top: 48px;
  }

  .docs-content > section {
    scroll-margin-top: 150px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .site-footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .site-nav a {
    transition: none;
  }
}
