:root {
  color-scheme: light;
  --bg: #f5f3ee;
  --bg-2: #ebe7dc;
  --surface: #ffffff;
  --surface-2: #f9f7f2;
  --ink: #17201b;
  --muted: #5f685f;
  --muted-2: #818b81;
  --line: #d9d4c8;
  --line-strong: #c5bcae;
  --brand: #176b5c;
  --brand-dark: #0f4e43;
  --accent: #c65a2e;
  --accent-soft: #fff1e8;
  --blue: #2457d6;
  --warning: #9b3f1f;
  --shadow: 0 22px 70px rgba(23, 32, 27, 0.13);
  --shadow-soft: 0 10px 32px rgba(23, 32, 27, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1180px;
  --grid-gap: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(245, 243, 238, 0) 420px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  margin: 0;
  text-rendering: geometricPrecision;
}

body::before {
  background-image:
    linear-gradient(rgba(23, 32, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 27, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

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

svg {
  display: block;
}

.site-header {
  align-items: center;
  background: rgba(245, 243, 238, 0.9);
  border-bottom: 1px solid rgba(217, 212, 200, 0.9);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 58px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav,
.hero-actions,
.metric-row,
.site-footer nav {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
  min-height: 44px;
}

.brand-mark {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--brand);
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.brand-mark svg {
  height: 25px;
  width: 25px;
}

.brand-mark path,
.feature-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav {
  gap: 6px;
  justify-content: center;
}

.nav a {
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  min-height: 44px;
  padding: 13px 10px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(23, 107, 92, 0.08);
  color: var(--brand-dark);
  outline: none;
}

.header-cta,
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
}

.header-cta {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 0 16px;
}

.header-cta:hover,
.button.primary:hover {
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  margin: 0 auto;
  max-width: 1360px;
  min-height: min(780px, calc(100vh - 73px));
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 58px) 48px;
}

.hero-copy {
  max-width: 650px;
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 6.6vw, 76px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
  margin-bottom: 28px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  font-size: 15px;
  padding: 0 18px;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.metric-row {
  border-top: 1px solid var(--line);
  gap: 16px;
  margin: 34px 0 0;
  padding-top: 22px;
}

.metric-row div {
  border-right: 1px solid var(--line);
  flex: 1;
  min-width: 0;
  padding-right: 16px;
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row dt {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.metric-row dd {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0;
  margin-top: 7px;
  text-transform: uppercase;
}

.hero-shot,
.showcase-shot,
.gallery-grid figure,
.workflow-card picture {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-shot {
  align-self: center;
  margin: 0;
  min-width: 0;
  position: relative;
}

.hero-shot picture,
.showcase-shot picture,
.gallery-grid picture,
.workflow-card picture {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(249, 247, 242, 0.96)),
    #f7f7f2;
  display: flex;
  justify-content: center;
}

.hero-shot img {
  aspect-ratio: 2840 / 1366;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  width: 100%;
}

figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-shot figcaption {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 14px;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 32px);
}

.subpage-hero {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 32px) clamp(54px, 7vw, 88px);
}

.subpage-hero h1 {
  max-width: 980px;
}

.subpage-hero .lead {
  max-width: 790px;
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:not(.eyebrow),
.copy-block p,
.demo-section p,
.content-card p,
.template-card p,
.article-body p,
.workflow-card p,
.image-note,
.feature-grid p,
.showcase-copy p,
.price-card p,
.price-card li,
.faq-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-section,
.content-section {
  border-top: 1px solid var(--line);
}

.seo-grid,
.template-grid,
.content-grid {
  display: grid;
  gap: var(--grid-gap);
  margin-top: 34px;
}

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

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

.seo-card,
.content-card,
.template-card,
.article-body,
.comparison-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.seo-card,
.content-card,
.template-card {
  display: block;
  padding: 24px;
}

.seo-card h3,
.content-card h2,
.template-card h2 {
  margin-bottom: 12px;
}

.resource-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.resource-link {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  display: inline-flex;
  font-weight: 850;
  min-height: 46px;
  padding: 13px 16px;
}

.article-body {
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(28px, 5vw, 56px);
}

.article-body h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin-top: 34px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.template-card ol {
  color: var(--muted);
  line-height: 1.75;
  margin: 18px 0 0;
  padding-left: 22px;
}

.comparison-table {
  overflow: hidden;
}

.comparison-row {
  display: grid;
  gap: 0;
  grid-template-columns: 0.7fr 1.2fr 1.1fr;
}

.comparison-row > div {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
  padding: 18px;
}

.comparison-row > div:last-child {
  border-right: 0;
}

.comparison-row:last-child > div {
  border-bottom: 0;
}

.comparison-head > div {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 900;
}

.demo-section {
  border-top: 1px solid var(--line);
}

.demo-player {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 34px 0 0;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.demo-player video {
  aspect-ratio: 1440 / 674;
  background: #101713;
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.demo-player figcaption {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 13px 16px;
}

.narrative {
  align-items: start;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: 0.86fr 1.14fr;
}

.copy-block {
  font-size: 18px;
}

.workflow-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.workflow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
}

.step-index {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.workflow-card picture {
  box-shadow: none;
  margin-top: auto;
}

.workflow-card img {
  aspect-ratio: 2814 / 1346;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  width: 100%;
}

.image-note {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  font-size: 13px;
  margin: 0;
  padding: 12px 2px 0;
}

.feature-section {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.feature-grid article,
.price-card,
.faq-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(23, 32, 27, 0.05);
}

.feature-grid article {
  padding: 24px;
}

.feature-icon {
  align-items: center;
  background: #eef5ef;
  border: 1px solid #d1e3d8;
  border-radius: var(--radius);
  color: var(--brand);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.feature-icon svg {
  height: 24px;
  width: 24px;
}

.showcase-section {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: 0.82fr 1.18fr;
}

.check-list {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.check-list li {
  color: var(--muted);
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  background: var(--brand);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 2px;
  position: absolute;
  top: 0.72em;
  width: 8px;
}

.showcase-shot {
  box-shadow: var(--shadow-soft);
  margin: 0;
  min-width: 0;
}

.showcase-shot img {
  aspect-ratio: 2860 / 1318;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}

.gallery-section {
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

.gallery-grid figure {
  box-shadow: var(--shadow-soft);
  margin: 0;
}

.gallery-grid img {
  aspect-ratio: 2822 / 1334;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  width: 100%;
}

.gallery-grid figcaption {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 14px;
}

.pricing-section,
.faq-section {
  border-top: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.price-card {
  min-height: 100%;
  padding: 26px;
  position: relative;
}

.price-card.featured {
  border-color: #9eb7a4;
  box-shadow: 0 18px 52px rgba(23, 107, 92, 0.14);
}

.plan-label {
  background: var(--accent-soft);
  border: 1px solid #f2c8b7;
  border-radius: 999px;
  color: var(--warning);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
  padding: 6px 10px;
}

.price {
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin: 14px 0 10px;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.price-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.price-card li {
  padding-left: 22px;
  position: relative;
}

.price-card li::before {
  color: var(--brand);
  content: "•";
  font-weight: 900;
  left: 2px;
  position: absolute;
}

.faq-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(2, 1fr);
  margin-top: 34px;
}

.faq-grid article {
  padding: 24px;
}

.site-footer {
  align-items: start;
  background: #151b18;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 36px clamp(18px, 4vw, 58px);
}

.footer-brand {
  color: #fff;
}

.site-footer .brand-mark {
  background: #202a25;
  border-color: #334139;
}

.site-footer p {
  color: #c8d1ca;
  margin: 8px 0 0;
  max-width: 420px;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a {
  color: #dcebe2;
  font-size: 14px;
  font-weight: 750;
}

.policy-page {
  margin: 0 auto;
  max-width: 920px;
  padding: 70px 20px 90px;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(23, 32, 27, 0.05);
  padding: clamp(28px, 5vw, 56px);
}

.policy-card h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.policy-card h2 {
  font-size: 24px;
  margin-top: 34px;
}

.policy-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.policy-card a {
  color: var(--brand);
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .header-cta,
  .nav a,
  .workflow-card,
  .feature-grid article,
  .price-card {
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
  }

  .workflow-card:hover,
  .feature-grid article:hover,
  .price-card:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .narrative,
  .showcase-section {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .seo-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
  }

  .nav {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    width: 100%;
  }

  .nav a {
    flex: 0 0 auto;
    font-size: 13px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .header-cta,
  .button {
    width: 100%;
  }

  .hero {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy,
  .hero-shot,
  .section,
  .showcase-shot,
  .gallery-grid figure {
    max-width: 100%;
    width: 100%;
  }

  .hero-shot img,
  .showcase-shot img,
  .gallery-grid img,
  .workflow-card img {
    width: 100%;
  }

  h1 {
    font-size: clamp(32px, 8.2vw, 36px);
    line-height: 1.05;
  }

  .lead {
    font-size: 17px;
  }

  .metric-row {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-row div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding-bottom: 14px;
  }

  .metric-row div:last-child {
    border-bottom: 0;
  }

  .workflow-grid,
  .seo-grid,
  .content-grid,
  .template-grid,
  .feature-grid,
  .pricing-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card,
  .seo-card,
  .content-card,
  .template-card,
  .feature-grid article,
  .price-card,
  .faq-grid article {
    padding: 20px;
  }

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

  .comparison-row > div {
    border-right: 0;
  }

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