:root {
  --ink: #10202a;
  --ink-soft: #314754;
  --muted: #647883;
  --line: #dbe5e8;
  --paper: #ffffff;
  --mist: #f4f8f8;
  --mist-2: #e9f3f2;
  --teal: #0a8f83;
  --teal-dark: #06655f;
  --teal-light: #baf3e8;
  --coral: #ff5c73;
  --navy: #102f3b;
  --yellow: #f9cc64;
  --shadow: 0 18px 50px rgba(16, 47, 59, .10);
  --radius: 20px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer, main { width: min(var(--content), calc(100% - 56px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 5;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.1; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
  box-shadow: 0 8px 18px rgba(10, 143, 131, .22);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.01em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a { padding: 9px 13px; border-radius: 10px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.site-header nav a:hover { color: var(--teal-dark); background: var(--mist-2); }
.site-header nav .nav-cta { color: #fff; background: var(--teal); }
.site-header nav .nav-cta:hover { color: #fff; background: var(--teal-dark); }
.menu-button {
  display: none;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  gap: 52px;
  align-items: center;
  overflow: hidden;
  padding: clamp(44px, 7vw, 86px) clamp(28px, 7vw, 82px);
  margin: 18px 0 86px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 92, 115, .35), transparent 25%),
    radial-gradient(circle at 72% 110%, rgba(55, 229, 207, .25), transparent 37%),
    linear-gradient(135deg, #0d2631, #154858 72%, #0d3f4a);
  box-shadow: 0 26px 70px rgba(11, 52, 64, .18);
}
.hero:after {
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(186, 243, 232, .22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(186, 243, 232, .05), 0 0 0 57px rgba(186, 243, 232, .04);
}
.eyebrow {
  display: block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow, .panel-dark .eyebrow, .hero .micro { color: var(--teal-light); }
.hero h1 { max-width: 760px; margin: 11px 0 20px; font-size: clamp(2.55rem, 6vw, 5.15rem); line-height: .99; letter-spacing: -.065em; }
.hero p { max-width: 680px; margin: 0; color: #d6e8eb; font-size: 1.08rem; }
.hero .hero-assurance { margin-top: 16px; color: #fff; font-weight: 760; }
.hero .micro { margin-top: 24px; font-size: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  color: var(--teal-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { color: var(--teal-dark); box-shadow: 0 8px 20px rgba(10, 143, 131, .18); transform: translateY(-1px); }
.button.primary { color: var(--navy); border-color: #fff; background: #fff; }
.button.primary:hover { color: var(--navy); }
.button.teal { color: #fff; border-color: var(--teal); background: var(--teal); }
.button.teal:hover { color: #fff; background: var(--teal-dark); }
.button.ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.button.ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.button[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.flow-card {
  display: grid;
  gap: 9px;
  padding: 21px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 17px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
}
.flow-card .flow-title { margin: 0 0 4px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.flow-card span { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-left: 2px solid var(--teal-light); background: rgba(255,255,255,.07); font-size: 14px; font-weight: 720; }
.flow-card span b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--navy); background: var(--teal-light); font-size: 11px; }

.section, .intro, .two-column, .feature-grid, .comparison, .cta-band { margin: 0 auto 88px; }
.intro { width: min(820px, 100%); text-align: center; }
.intro h2, .section h2, .panel h2, .prose h1, .prose h2 { letter-spacing: -.04em; line-height: 1.16; }
.intro h2 { margin: 10px 0 15px; font-size: clamp(1.9rem, 3.3vw, 3rem); }
.intro p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(1.9rem, 3vw, 2.55rem); }
.section-heading p { max-width: 440px; margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.steps li { min-height: 234px; padding: 22px 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.steps li > span { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: var(--teal-dark); background: var(--teal-light); font-size: 12px; font-weight: 850; }
.steps h3 { margin: 22px 0 8px; font-size: 1rem; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 28px rgba(16,47,59,.05); }
.feature-card .icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; color: var(--teal-dark); background: var(--mist-2); font-size: 19px; font-weight: 850; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.13rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.mode-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.mode-card.accent { color: #fff; border-color: var(--navy); background: var(--navy); }
.mode-card h3 { margin: 8px 0 9px; font-size: 1.42rem; }
.mode-card p { margin: 0; color: var(--muted); }
.mode-card.accent p { color: #cfe1e5; }
.mode-card ul { display: grid; gap: 8px; list-style: none; margin: 21px 0 0; padding: 0; }
.mode-card li { display: flex; gap: 9px; font-size: 14px; }
.mode-card li:before { flex: 0 0 auto; color: var(--teal); content: "✓"; font-weight: 900; }
.mode-card.accent li:before { color: var(--teal-light); }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.panel { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel h2 { margin: 9px 0 13px; font-size: clamp(1.65rem, 2.5vw, 2.15rem); }
.panel p { color: var(--muted); }
.panel-dark { color: #fff; border-color: var(--navy); background: var(--navy); }
.panel-dark p { color: #cfe1e5; }
.panel-dark .small { color: #9fb9bf; font-size: 13px; }
.check-list { display: grid; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.check-list li { display: flex; gap: 10px; color: var(--ink-soft); }
.check-list li:before { color: var(--teal); content: "✓"; font-weight: 900; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 35px 38px; border-radius: var(--radius); color: #fff; background: linear-gradient(115deg, var(--teal-dark), var(--teal)); }
.cta-band h2 { margin: 0 0 7px; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.04em; }
.cta-band p { margin: 0; color: #d8f4ef; }

.site-footer { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 27px; padding: 38px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); font-weight: 850; }
.site-footer p { margin: 8px 0; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.site-footer nav a:hover, .site-footer .footer-meta a { color: var(--teal-dark); }
.footer-meta { text-align: right; }

.prose-page { width: min(850px, calc(100% - 56px)); margin: 47px auto 88px; }
.prose h1 { margin: 10px 0 16px; font-size: clamp(2.35rem, 5.2vw, 4.15rem); }
.prose h2 { margin: 39px 0 11px; font-size: 1.48rem; }
.prose h3 { margin: 28px 0 7px; font-size: 1.1rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose .lead { font-size: 1.12rem; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin: 8px 0; }
.prose .notice { margin: 27px 0; padding: 17px 19px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; color: var(--teal-dark); background: var(--mist-2); }
.contact-card { margin-top: 29px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.contact-card h2 { margin-top: 18px; }
.contact-card h2:first-child { margin-top: 0; }
.contact-card p { margin-bottom: 22px; }

.protected { display: grid; place-items: center; min-height: calc(100vh - 280px); padding: 40px 0 80px; }
.protected-card { width: min(650px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.protected-card h1 { margin: 10px 0 12px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
.protected-card p { color: var(--muted); }
.protected-card .small { margin-top: 21px; font-size: 13px; }
.protected-card .button { margin-top: 10px; }

/* Interactive publishing walkthrough */
.flow-page { padding: 32px 0 82px; }
.flow-intro { max-width: 760px; margin-bottom: 32px; }
.flow-intro h1 { margin: 10px 0 12px; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.06em; }
.flow-intro p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.demo-note { margin-top: 18px; padding: 12px 15px; border: 1px solid #bfe4df; border-radius: 12px; color: var(--teal-dark); background: var(--mist-2); font-size: 13px; }
.flow-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.flow-progress { position: sticky; top: 24px; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: var(--mist); }
.flow-progress button { display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-items: center; padding: 10px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.flow-progress button:hover { background: #fff; }
.flow-progress button[aria-current="step"] { border-color: #bfe4df; color: var(--teal-dark); background: #fff; font-weight: 800; }
.flow-progress button span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--muted); background: #e4edef; font-size: 12px; font-weight: 850; }
.flow-progress button[aria-current="step"] span { color: #fff; background: var(--teal); }
.flow-progress button small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.flow-panel { display: none; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 40px rgba(16,47,59,.06); }
.flow-panel.active { display: block; }
.flow-panel h2 { margin: 7px 0 9px; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.045em; }
.flow-panel > p { max-width: 680px; margin: 0 0 24px; color: var(--muted); }
.flow-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.flow-actions .end { margin-left: auto; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-size: 14px; font-weight: 800; }
.field input[type="text"], .field input[type="url"], .field textarea, .field select { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #cbdadd; border-radius: 10px; color: var(--ink); background: #fff; }
.field textarea { min-height: 115px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #879aa2; }
.field .hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.required { color: var(--coral); }
.choice-grid { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.choice { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); cursor: pointer; }
.choice:hover { border-color: #9eddd4; background: #fbfffe; }
.choice input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--teal); }
.choice strong { display: block; font-size: 14px; }
.choice span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.media-placeholder { display: grid; place-items: center; min-height: 255px; margin-bottom: 19px; border: 1px dashed #9cb9bd; border-radius: 16px; color: var(--muted); background: linear-gradient(145deg, #edf6f5, #f8fbfb); text-align: center; }
.media-placeholder .play { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 20px; }
.media-placeholder strong { display: block; color: var(--ink); }
.media-placeholder small { display: block; margin-top: 4px; font-size: 12px; }
.mode-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.mode-choice { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.mode-choice:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(10,143,131,.12); }
.mode-choice input { margin-right: 8px; accent-color: var(--teal); }
.mode-choice strong { font-size: 14px; }
.mode-choice p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.toggle-row { display: grid; gap: 10px; margin-top: 5px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; }
.toggle-copy strong { display: block; font-size: 14px; }
.toggle-copy span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.switch { position: relative; flex: 0 0 auto; width: 42px; height: 24px; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; width: 42px; height: 24px; border-radius: 99px; background: #cbdadd; transition: background .18s ease; }
.switch span:after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; content: ""; transition: transform .18s ease; box-shadow: 0 1px 3px rgba(16,47,59,.25); }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span:after { transform: translateX(18px); }
.conditional { display: none; margin-top: 10px; padding: 15px; border-radius: 12px; background: var(--mist-2); }
.conditional.show { display: block; }
.conditional p { margin: 0 0 10px; color: var(--teal-dark); font-size: 13px; }
.review-card { display: grid; gap: 0; margin-top: 17px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review-row { display: grid; grid-template-columns: 155px 1fr; gap: 17px; padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-row:last-child { border-bottom: 0; }
.review-row dt { color: var(--muted); font-weight: 700; }
.review-row dd { margin: 0; color: var(--ink); font-weight: 650; }
.confirm-box { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 14px 15px; border: 1px solid #bfe4df; border-radius: 12px; background: var(--mist-2); }
.confirm-box input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.confirm-box label { color: var(--teal-dark); font-size: 13px; }
.status-panel { display: none; margin-top: 25px; padding: 20px; border: 1px solid #bfe4df; border-radius: 15px; background: var(--mist-2); }
.status-panel.show { display: block; }
.status-panel h3 { margin: 0 0 4px; color: var(--teal-dark); font-size: 1.15rem; }
.status-panel p { margin: 0; color: var(--teal-dark); font-size: 13px; }
.status-steps { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 0; padding: 0; list-style: none; }
.status-steps li { padding: 7px 10px; border-radius: 8px; color: var(--muted); background: #fff; font-size: 12px; }
.status-steps li.done { color: var(--teal-dark); background: var(--teal-light); font-weight: 800; }
.status-steps li.current { color: #fff; background: var(--teal); font-weight: 800; }
.error-text { display: none; margin: 9px 0 0; color: #b42318; font-size: 13px; font-weight: 700; }
.error-text.show { display: block; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .flow-card { max-width: 520px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-shell { grid-template-columns: 1fr; }
  .flow-progress { position: static; grid-template-columns: repeat(4, 1fr); padding: 8px; }
  .flow-progress button { grid-template-columns: 28px 1fr; }
}
@media (max-width: 700px) {
  .site-header, .site-footer, main { width: min(100% - 32px, var(--content)); }
  .site-header { min-height: 70px; }
  .menu-button { display: block; }
  .site-header nav { display: none; position: absolute; top: 62px; right: 0; z-index: 5; flex-direction: column; align-items: stretch; min-width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 36px rgba(16,47,59,.15); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 11px 12px; }
  .hero { padding: 44px 25px; margin-top: 8px; margin-bottom: 59px; border-radius: 22px; }
  .hero h1 { font-size: 2.7rem; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 11px; }
  .steps, .feature-grid, .comparison, .two-column, .field-grid, .mode-row { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .panel { padding: 28px 23px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
  .site-footer nav { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .footer-meta { text-align: left; }
  .prose-page { width: min(100% - 32px, 850px); margin-top: 32px; }
  .protected-card { padding: 29px 22px; }
  .flow-page { padding-top: 22px; }
  .flow-progress { grid-template-columns: repeat(2, 1fr); }
  .flow-progress button small { display: none; }
  .flow-actions { justify-content: stretch; }
  .flow-actions .button { flex: 1 1 150px; }
  .review-row { grid-template-columns: 1fr; gap: 2px; }
}
