@font-face { font-family: "Barlow Condensed"; src: url("../fonts/home/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/home/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/home/noto-sans-sc-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/home/noto-sans-sc-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --ink: #11100f;
  --ink-soft: #191816;
  --panel: #211f1c;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --paper: #f0ece2;
  --paper-muted: #c2bbb0;
  --red: #f04432;
  --red-dark: #b4261a;
  --amber: #f2a541;
  --green: #86d39a;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-narrow: "Barlow Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--paper); background: var(--ink); font-family: var(--font-body); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px); background-size: 48px 48px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; color: var(--ink); background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 250px 1fr 142px; align-items: center; height: 72px; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(17,16,15,.92); backdrop-filter: blur(18px); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 2px; color: var(--paper-muted); font-size: 10px; font-weight: 500; letter-spacing: .14em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--red); font-family: var(--font-narrow); font-size: 24px; font-style: italic; font-weight: 800; }
.site-header nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 50px); }
.site-header nav a, .header-account { color: var(--paper-muted); font-size: 13px; text-decoration: none; }
.site-header nav a:hover, .header-account:hover { color: #fff; }
.header-account { justify-self: end; padding: 11px 16px; border: 1px solid var(--line-strong); }

.hero { position: relative; display: grid; grid-template-columns: minmax(340px, .68fr) minmax(560px, 1.32fr); gap: clamp(40px, 6vw, 96px); min-height: calc(100svh - 72px); padding: clamp(64px, 8vh, 96px) clamp(28px, 6vw, 96px); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; align-self: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--paper-muted); font-size: 12px; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 { max-width: 700px; margin: 0; font-family: var(--font-narrow), var(--font-body); font-size: clamp(64px, 6.5vw, 108px); font-weight: 700; letter-spacing: -.045em; line-height: .96; }
.hero-lead { max-width: 560px; margin: 28px 0 0; color: var(--paper-muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.85; }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-capabilities li { display: inline-flex; align-items: center; gap: 8px; color: #eee8dd; font-size: 13px; font-weight: 700; }
.hero-capabilities li::before { content: ""; width: 5px; height: 5px; background: var(--red); }
.hero-actions { display: flex; min-height: 52px; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-width: 142px; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 0; color: #fff; background: transparent; cursor: pointer; font-weight: 700; text-decoration: none; }
.button.primary { border-color: var(--red); background: var(--red); box-shadow: 8px 8px 0 rgba(240,68,50,.18); }
.button.primary:hover { background: #ff5543; }
.button.secondary:hover { border-color: #fff; }
.hero-visual { position: relative; z-index: 2; align-self: center; }
.editor-frame { position: relative; width: 100%; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); background: #272b33; box-shadow: 0 30px 80px rgba(0,0,0,.42); aspect-ratio: 1285 / 1002; }
.editor-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.editor-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.section { padding: clamp(84px, 10vw, 150px) clamp(24px, 7vw, 110px); border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.section-heading { display: grid; grid-template-columns: minmax(330px, .8fr) minmax(280px, .5fr); justify-content: space-between; gap: 30px; margin-bottom: 65px; }
.section-heading.compact { display: block; }
.section-code { grid-column: 1 / -1; margin: 0 0 12px; color: var(--red); font-family: var(--font-narrow); font-size: 14px; letter-spacing: .18em; }
.section-heading h2 { margin: 0; font-family: var(--font-narrow), var(--font-body); font-size: clamp(40px, 4.5vw, 70px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.section-heading h2 strong { font-weight: inherit; color: var(--paper-muted); }
.section-heading > p:last-child { align-self: end; margin: 0; color: var(--paper-muted); font-size: 15px; line-height: 1.9; }

.proof-section { background: #181715; }
.proof-result { width: min(1120px, 100%); margin: 0 auto; }
.proof-result img { width: 100%; border: 1px solid var(--line-strong); aspect-ratio: 1285 / 1002; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.03); }
.proof-result figcaption { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px 4px 0; font-size: 13px; }
.proof-result figcaption span { color: var(--red); font-size: 12px; font-weight: 800; }
.proof-result figcaption b { font-weight: 500; }

.workflow-section { background: var(--paper); color: var(--ink); }
.workflow-section .section-code { color: var(--red-dark); }
.workflow-section .section-heading h2 strong { color: #69645c; }
.workflow-list { margin: 68px 0 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 90px 1fr 120px; align-items: center; gap: 20px; min-height: 136px; border-bottom: 1px solid rgba(17,16,15,.28); }
.workflow-list li > span { color: var(--red-dark); font-family: var(--font-narrow); font-size: 35px; }
.workflow-list h3 { margin: 0 0 8px; font-size: 23px; }
.workflow-list p { margin: 0; color: #625e57; line-height: 1.7; }
.workflow-list i { justify-self: end; color: #817b72; font-family: var(--font-narrow); font-size: 13px; font-style: normal; letter-spacing: .14em; }

.ai-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 130px); align-items: center; background: #121817; }
.ai-copy h2 { margin: 0; font-family: var(--font-narrow), var(--font-body); font-size: clamp(40px, 4.4vw, 68px); line-height: 1.05; }
.ai-copy h2 strong { color: var(--green); font-weight: inherit; }
.ai-copy > p:not(.section-code) { margin: 25px 0; color: #aab7b1; line-height: 1.9; }
.ai-copy a { color: var(--green); text-underline-offset: 7px; }
.ai-terminal { border: 1px solid rgba(134,211,154,.34); background: #0d1110; box-shadow: 18px 18px 0 rgba(134,211,154,.05); }
.terminal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(134,211,154,.25); font-size: 13px; }
.terminal-head i { color: var(--green); font-size: 11px; font-style: normal; }
.ai-terminal > p { margin: 0; padding: 24px 26px; color: #b9c4bf; border-bottom: 1px solid rgba(134,211,154,.15); line-height: 1.8; }
.ai-terminal dl { margin: 0; padding: 0 26px 20px; }
.ai-terminal dl div { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid rgba(134,211,154,.12); }
.ai-terminal dt, .ai-terminal dd { margin: 0; font-size: 13px; }
.ai-terminal dd { color: var(--green); }

.template-section { background: #1b1917; }
.template-compare { display: grid; grid-template-columns: 1fr 1fr; margin-top: 60px; border: 1px solid var(--line-strong); }
.template-compare article { min-height: 360px; padding: clamp(30px, 5vw, 70px); }
.template-compare article + article { border-left: 1px solid var(--line-strong); background: #25211d; }
.template-compare span { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.template-compare h3 { margin: 28px 0 18px; font-size: clamp(27px, 3vw, 42px); }
.template-compare p { max-width: 580px; color: var(--paper-muted); line-height: 1.9; }
.template-compare a { display: inline-block; margin-top: 32px; padding-bottom: 6px; border-bottom: 2px solid var(--red); text-decoration: none; }

.pricing-section { background: #131210; }
.pricing-status { padding: 28px; color: var(--paper-muted); border: 1px solid var(--line); text-align: center; }
.pricing-status.error { color: #ffb2aa; border-color: rgba(240,68,50,.55); background: rgba(240,68,50,.08); }
.pricing-comparison { max-width: 100%; overflow-x: auto; border: 1px solid var(--line-strong); background: #171614; scrollbar-color: var(--red) #25221e; }
.comparison-grid { display: grid; grid-template-columns: minmax(190px, 1.12fr) repeat(5, minmax(180px, 1fr)); min-width: 1100px; }
.comparison-cell { display: grid; min-height: 65px; place-items: center; padding: 14px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--paper-muted); font-size: 13px; text-align: center; }
.comparison-cell.feature { position: sticky; left: 0; z-index: 2; place-items: center start; color: #e9e3d9; background: #1d1b18; text-align: left; }
.comparison-cell.plan-head { min-height: 210px; align-content: center; background: #201e1b; }
.comparison-cell.plan-head.feature { z-index: 3; color: var(--red); font-family: var(--font-narrow); font-size: 18px; letter-spacing: .1em; }
.comparison-cell.plan-head.recommended { box-shadow: inset 0 4px 0 var(--red); background: #29231f; }
.comparison-cell.plan-head small { color: #8f877d; }
.comparison-cell.plan-head h3 { margin: 12px 0; color: #fff; font-size: 18px; }
.comparison-cell.plan-head strong { color: var(--red); font-family: var(--font-narrow); font-size: 30px; }
.comparison-cell.plan-head span { margin-top: 8px; color: #9e978e; font-size: 11px; }
.compare-check { color: var(--green); font-size: 19px; font-weight: 800; }
.compare-dash { color: #6f6a64; }
.compare-value { color: #eee8dd; }
.ai-pack { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 26px; padding: clamp(28px, 4vw, 50px); border-left: 4px solid var(--red); background: #211e1b; }
.ai-pack small { color: var(--red); font-weight: 800; }
.ai-pack h3 { margin: 10px 0; font-size: 25px; }
.ai-pack p { margin: 0; color: var(--paper-muted); }
.ai-pack > div:last-child { display: flex; align-items: center; gap: 24px; }
.ai-pack strong { white-space: nowrap; color: var(--red); font-family: var(--font-narrow); font-size: 33px; }
.ai-pack a { padding: 12px 18px; border: 1px solid var(--line-strong); text-decoration: none; }

.service-section { background: #1b1917; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border: 1px solid var(--line); }
.service-grid article { min-height: 280px; padding: 32px; border-right: 1px solid var(--line); }
.service-grid article:last-child { border-right: 0; }
.service-grid span { color: var(--red); font-family: var(--font-narrow); font-size: 28px; }
.service-grid h3 { margin: 42px 0 16px; font-size: 18px; }
.service-grid p { margin: 0; color: var(--paper-muted); font-size: 13px; line-height: 1.8; }
.payment-row, .policy-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.payment-row span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.payment-row p { margin: 8px 0 0; color: var(--paper-muted); }
.payment-row ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 0; padding: 0; list-style: none; }
.payment-row li { padding: 10px 13px; border: 1px solid var(--line-strong); font-size: 12px; }
.policy-row > p { max-width: 660px; margin: 0; color: var(--paper-muted); line-height: 1.8; }
.policy-row nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.policy-row a { text-underline-offset: 6px; }

.site-footer { display: grid; grid-template-columns: 1fr 1.5fr .7fr; gap: 40px; align-items: center; min-height: 230px; padding: 45px clamp(24px, 7vw, 110px); background: #0b0b0a; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand b { font-size: 17px; }
.footer-brand p { margin: 5px 0 0; color: #817b72; font-size: 11px; }
.legal-info { display: grid; gap: 7px; padding-left: 25px; border-left: 1px solid var(--line); }
.legal-info strong { color: var(--paper-muted); font-size: 13px; }
.legal-info span { color: #817b72; font-size: 12px; line-height: 1.7; }
.legal-info.error strong { color: #ff9f94; }
.footer-links { display: flex; justify-content: flex-end; gap: 16px; font-size: 12px; }
.noscript { margin: 0; padding: 16px; color: #2b211f; background: #ffd9d4; text-align: center; }

.demo-dialog { width: min(1100px, calc(100% - 32px)); max-width: none; padding: 0; color: var(--paper); border: 1px solid var(--line-strong); background: #111; }
.demo-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.demo-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.demo-panel header span { color: var(--red); font-family: var(--font-narrow); font-size: 11px; letter-spacing: .14em; }
.demo-panel h2 { margin: 4px 0 0; font-size: 20px; }
.demo-panel header button { padding: 9px 14px; color: #fff; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.video-shell { position: relative; display: grid; min-height: 260px; place-items: center; background: #000; }
.video-shell video { display: block; width: 100%; max-height: 76vh; }
.video-shell p { position: absolute; margin: 0; padding: 12px 16px; color: #fff; background: rgba(180,38,26,.92); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 230px 1fr 130px; padding-inline: 22px; }
  .site-header nav { gap: 18px; }
  .hero { grid-template-columns: .72fr 1.28fr; gap: 40px; padding-inline: 34px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; height: 64px; }
  .site-header nav { display: none; }
  .header-account { padding: 9px 12px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 68px 24px 56px; }
  .hero h1 { max-width: 650px; }
  .hero-visual { margin-top: 30px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 600px; }
  .ai-section { grid-template-columns: 1fr; }
  .template-compare { grid-template-columns: 1fr; }
  .template-compare article + article { border-top: 1px solid var(--line-strong); border-left: 0; }
  .site-footer { grid-template-columns: 1fr; min-height: 0; }
  .legal-info { padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 540px) {
  body::before { background-size: 32px 32px; }
  .site-header { padding-inline: 16px; }
  .brand small { display: none; }
  .header-account { font-size: 11px; }
  .hero { min-height: calc(100svh - 64px); padding: 36px 18px 28px; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); line-height: 1.02; }
  .hero-lead { margin-top: 19px; font-size: 14px; line-height: 1.75; }
  .hero-capabilities { margin-top: 20px; gap: 8px 15px; }
  .hero-capabilities li { font-size: 12px; }
  .hero-actions { margin-top: 24px; }
  .button { min-width: 0; padding-inline: 18px; font-size: 14px; }
  .hero-visual { margin-top: 28px; }
  .section { padding: 78px 20px; scroll-margin-top: 64px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .ai-copy h2 { font-size: 40px; }
  .proof-result figcaption { grid-template-columns: 1fr; gap: 6px; }
  .workflow-list { margin-top: 42px; }
  .workflow-list li { grid-template-columns: 52px 1fr; gap: 10px; padding: 24px 0; }
  .workflow-list li > span { font-size: 28px; }
  .workflow-list i { display: none; }
  .workflow-list p { font-size: 13px; }
  .ai-section { gap: 50px; }
  .terminal-head { align-items: flex-start; gap: 12px; }
  .ai-terminal dl div { gap: 12px; }
  .template-compare article { min-height: 0; padding: 32px 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .service-grid h3 { margin-top: 22px; }
  .payment-row, .policy-row { align-items: flex-start; flex-direction: column; }
  .payment-row ul, .policy-row nav { justify-content: flex-start; }
  .ai-pack, .ai-pack > div:last-child { align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 42px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
