:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --orange: #f59e0b;
  --orange-dark: #b45309;
  --soft-blue: #eff6ff;
  --soft-teal: #ecfdf5;
  --soft-orange: #fffbeb;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 32px 92px rgba(15, 23, 42, 0.16);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.9) 0%, rgba(248, 250, 252, 0.94) 34rem, var(--bg) 62rem),
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.10), transparent 34rem),
    radial-gradient(circle at 90% 2%, rgba(20, 184, 166, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page { min-height: 100vh; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.76);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 22px;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(1px) scale(0.992);
  filter: saturate(1.03);
}

.btn:active { transform: translateY(2px) scale(0.982); }

.btn:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary,
.btn-outline {
  background: var(--panel);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: #fff;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.hero-copy {
  min-width: 0;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(48px, 7.6vw, 94px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy h1 span { color: var(--blue); }

.hero-copy p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.quick-start {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.quick-start.is-focused { border-color: rgba(37, 99, 235, 0.42); }

.quick-input,
.floating-form label,
.sticky-clip-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
}

.quick-input {
  min-height: 48px;
  padding: 0 12px;
}

.quick-input svg,
.floating-form svg,
.sticky-clip-form svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.quick-input input,
.floating-form input,
.sticky-clip-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.assurance svg {
  width: 16px;
  height: 16px;
  color: var(--teal-dark);
}

.clipflow-extraction-demo {
  width: min(100%, 1040px);
  margin: 0 auto;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.22), rgba(20, 184, 166, 0.16));
  box-shadow: var(--shadow-strong);
}

.clipflow-extraction-canvas-shell {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 33, 41, 0.94)),
    radial-gradient(circle at 22% 22%, rgba(37, 99, 235, 0.24), transparent 18rem),
    radial-gradient(circle at 76% 70%, rgba(20, 184, 166, 0.22), transparent 18rem);
}

.clipflow-extraction-canvas-shell::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

.clipflow-extraction-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.clipflow-extraction-canvas:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}

section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 24px;
}

.trial {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
}

.trial-copy h2,
.section-head h2,
.floating-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.trial-copy p,
.section-head p,
.floating-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--teal-dark);
  flex: 0 0 auto;
}

.upload-panel {
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 18px;
}

.upload-zone {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 34px 18px;
  border: 1px dashed rgba(37, 99, 235, 0.28);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.58);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.upload-zone.is-dragging {
  border-color: var(--blue);
  background: rgba(239, 246, 255, 0.95);
  transform: translateY(-1px);
}

.upload-zone > svg {
  width: 44px;
  height: 44px;
  color: var(--blue);
}

.upload-zone h3 {
  margin: 0;
  font-size: 22px;
}

.upload-zone p {
  margin: 0;
  color: var(--muted);
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.progress-wrap {
  display: none;
  margin-top: 16px;
}

.progress-wrap.is-visible { display: block; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.progress-track {
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 0.28s ease;
}

.limit-warning {
  margin: 14px 0 0;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
}

.inline-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

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

.proof-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--soft-blue);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.proof-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.floating-cta-wrap { padding-top: 26px; }

.floating-cta {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(15, 118, 110, 0.95)),
    #1d4ed8;
  box-shadow: var(--shadow-strong);
}

.floating-copy p { color: rgba(255, 255, 255, 0.82); }

.floating-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.floating-form label {
  min-height: 48px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
}

.floating-form input { color: #fff; }
.floating-form input::placeholder { color: rgba(255, 255, 255, 0.72); }
.floating-form .btn-primary { background: #fff; color: var(--blue-dark); box-shadow: none; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.toast-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.toast-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-dark);
  margin-top: 2px;
}

.sticky-clip-form {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  width: min(720px, calc(100vw - 36px));
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-strong);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.sticky-clip-form.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-clip-form label {
  min-height: 46px;
  padding: 0 12px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 40px 18px;
}

.auth-brand {
  justify-self: center;
}

.auth-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.auth-card {
  width: min(100%, 460px);
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.auth-kicker {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
}

.auth-card h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.auth-card p {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.auth-password-guidance {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.auth-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  color: var(--text);
}

.auth-form input.is-invalid {
  border-color: rgba(185, 28, 28, 0.72);
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.auth-form .btn {
  width: 100%;
  margin-top: 4px;
}

.auth-form .btn:disabled {
  background: #d1d5db;
  border-color: #d1d5db;
  box-shadow: none;
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
}

.auth-form .auth-error {
  min-height: 20px;
  margin: -4px 0 0;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 750;
}

.auth-error-strong {
  border: 1px solid rgba(185, 28, 28, 0.32);
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.10);
}

.auth-error:empty {
  display: none;
}

.auth-error[hidden] {
  display: none;
}

.auth-alt {
  margin: 18px 0 0;
  font-size: 14px;
}

.auth-alt a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
}

@media (max-width: 520px) {
  .auth-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-interface-language-switcher,
  .auth-interface-language-switcher select {
    width: 100%;
  }
}

/* Pen：桌面/移动登录页与 shadcn 亮色大圆角规范 */
:root {
  --auth-background: #fafafa;
  --auth-card: #ffffff;
  --auth-primary: #2563eb;
  --auth-primary-hover: #1d4ed8;
  --auth-foreground: #18181b;
  --auth-muted: #71717a;
  --auth-placeholder: #a1a1aa;
  --auth-border: #e4e4e7;
  --auth-success: #0f766e;
  --auth-warning: #b7791f;
  --auth-card-radius: 24px;
  --auth-pill-radius: 999px;
  --auth-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.auth-body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--auth-background);
  color: var(--auth-foreground);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-header {
  --auth-header-control-height: 36px;
  width: 100%;
  height: 80px;
  border-bottom: 1px solid var(--auth-border);
  background: var(--auth-card);
}

.auth-header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 5vw;
}

.auth-body .auth-brand {
  justify-self: auto;
  gap: 10px;
  color: var(--auth-foreground);
  font-size: 18px;
  font-weight: 700;
}

.auth-body .auth-brand img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: none;
}

.auth-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-interface-language-switcher {
  min-width: 0;
  height: var(--auth-header-control-height);
  min-height: var(--auth-header-control-height);
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-pill-radius);
  background: var(--auth-card);
  color: var(--auth-foreground);
}

.auth-interface-language-switcher svg {
  display: none;
}

.auth-interface-language-switcher select {
  width: auto;
  max-width: 132px;
  height: calc(var(--auth-header-control-height) - 2px);
  min-height: calc(var(--auth-header-control-height) - 2px);
  border: 0;
  border-radius: 0;
  padding: 0 22px 0 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-interface-language-switcher:focus-within {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-body .auth-home-link {
  width: auto;
  height: var(--auth-header-control-height);
  min-height: var(--auth-header-control-height);
  border-color: var(--auth-border);
  border-radius: 20px;
  padding: 0 10px;
  background: var(--auth-background);
  color: var(--auth-foreground);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.auth-home-short {
  display: none;
}

.auth-body .auth-page {
  min-height: calc(100vh - 80px);
  display: block;
  padding: 64px 5vw 96px;
}

.auth-layout {
  width: 100%;
  max-width: 1296px;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 700px);
  gap: 36px;
  margin: 0 auto;
}

.auth-body .auth-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-card-radius);
  background: var(--auth-card);
  box-shadow: var(--auth-shadow);
}

.auth-login-card {
  min-width: 0;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 34px;
}

.auth-register-layout {
  max-width: 560px;
  min-height: 0;
  grid-template-columns: minmax(0, 560px);
}

.auth-register-card {
  min-height: 0;
}

.auth-register-card .auth-kicker {
  margin: 0;
  color: var(--auth-primary);
}

.auth-body .auth-register-card .auth-form .btn:disabled {
  border-color: #d1d5db;
  background: #d1d5db;
  color: #6b7280;
}

.auth-body .auth-login-card h1 {
  margin: 0;
  color: var(--auth-foreground);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.auth-body .auth-copy {
  margin: 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.24;
}

.auth-body .auth-google-login {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-pill-radius);
  background: var(--auth-card);
  color: var(--auth-foreground);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.auth-body .auth-google-login:hover {
  border-color: #9ca3af;
  background: #f8fafc;
}

.auth-google-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #1a73e8;
  font-size: 16px;
  font-weight: 800;
}

.auth-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-login-divider::before,
.auth-login-divider::after {
  height: 1px;
  flex: 1;
  background: var(--auth-border);
  content: "";
}

.auth-body .auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.auth-body .auth-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--auth-foreground);
  font-size: 13px;
  font-weight: 600;
}

.auth-body .auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-pill-radius);
  background: var(--auth-card);
  padding: 0 16px;
  color: var(--auth-foreground);
  font-size: 14px;
}

.auth-body .auth-form input::placeholder {
  color: var(--auth-placeholder);
  opacity: 1;
}

.auth-body .auth-form input:focus {
  border-color: var(--auth-primary);
}

.auth-body .auth-form .btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border-color: var(--auth-primary);
  border-radius: var(--auth-pill-radius);
  background: var(--auth-primary);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.auth-body .auth-form .btn:hover {
  background: var(--auth-primary-hover);
}

.auth-body .auth-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--auth-muted);
  font-size: 14px;
}

.auth-body .auth-alt a {
  color: var(--auth-primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-body .auth-alt a:hover {
  text-decoration: underline;
}

.auth-body .auth-legal-links {
  width: min(100%, 1120px);
  margin: 20px auto 0;
  color: var(--auth-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.auth-body .auth-legal-links a {
  color: var(--auth-primary);
  font-weight: 700;
  text-underline-offset: 3px;
}

.auth-body .auth-legal-links a:hover,
.auth-body .auth-legal-links a:focus-visible {
  text-decoration: underline;
}

.auth-trial-note {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #f0fdfa;
  color: var(--auth-foreground);
}

.auth-trial-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--auth-primary);
}

.auth-body .auth-trial-note p {
  margin: 0;
  color: var(--auth-foreground);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.24;
}

.auth-product-card {
  min-width: 0;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
}

.auth-product-status,
.auth-score,
.auth-clip-meta {
  display: flex;
  align-items: center;
}

.auth-product-status {
  width: fit-content;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--auth-pill-radius);
  background: #f0fdfa;
  color: var(--auth-success);
  font-size: 12px;
  font-weight: 700;
}

.auth-product-status > span:first-child,
.auth-score i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.auth-body .auth-product-card h2 {
  margin: 0;
  color: var(--auth-foreground);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.auth-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-timeline-track {
  position: relative;
  width: 100%;
  height: 16px;
  overflow: hidden;
  border-radius: var(--auth-pill-radius);
  background: var(--auth-border);
}

.auth-timeline-track span {
  position: absolute;
  top: 0;
  height: 16px;
  border-radius: var(--auth-pill-radius);
}

.auth-timeline-track span:nth-child(1) {
  left: 14%;
  width: 14%;
  background: var(--auth-primary);
}

.auth-timeline-track span:nth-child(2) {
  left: 41%;
  width: 17%;
  background: #14b8a6;
}

.auth-timeline-track span:nth-child(3) {
  left: 79%;
  width: 13%;
  background: var(--auth-warning);
}

.auth-timeline-labels,
.auth-clip-meta {
  justify-content: space-between;
}

.auth-timeline-labels {
  display: flex;
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-clip-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  background: var(--auth-card);
  box-shadow: var(--auth-shadow);
}

.auth-score {
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--auth-pill-radius);
  font-size: 12px;
  font-weight: 700;
}

.auth-score::after {
  content: " pts";
}

:lang(zh-CN) .auth-score::after,
:lang(zh-TW) .auth-score::after {
  content: " 分";
}

.auth-score-success {
  background: rgba(15, 118, 110, 0.1);
  color: var(--auth-success);
}

.auth-score-primary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--auth-primary);
}

.auth-clip-meta time {
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-body .auth-clip-card h3,
.auth-body .auth-clip-card p {
  margin: 0;
  line-height: 1.24;
}

.auth-body .auth-clip-card h3 {
  color: var(--auth-foreground);
  font-size: 16px;
  font-weight: 700;
}

.auth-body .auth-clip-card p {
  color: var(--auth-muted);
  font-size: 13px;
}

.auth-body .auth-error-strong {
  margin: 0;
  border-radius: 18px;
}

/* 统一认证入口：主卡片与创作连续性面板沿同一列等宽排列。 */
.auth-layout.auth-unified-layout {
  max-width: 640px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-unified-card {
  min-height: 0;
  padding: 32px;
}

.auth-google-hint,
.auth-form-helper,
.auth-agreement {
  margin: -8px 0 0;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.auth-email-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-pill-radius);
  background: #f4f4f5;
}

.auth-email-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: var(--auth-pill-radius);
  background: transparent;
  color: var(--auth-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-email-tabs button[aria-selected="true"] {
  background: var(--auth-card);
  color: var(--auth-foreground);
  box-shadow: var(--auth-shadow);
}

.auth-email-tabs button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
}

.auth-body .auth-form[hidden] {
  display: none;
}

.auth-body .auth-form .btn:disabled {
  border-color: #d1d5db;
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.auth-body .auth-legal-links {
  width: 100%;
  margin-top: -8px;
}

.auth-continuity-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid #99f6e4;
  border-radius: var(--auth-card-radius);
  background: #f0fdfa;
  color: var(--auth-foreground);
}

.auth-continuity-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--auth-success);
  font-size: 12px;
  font-weight: 750;
}

.auth-continuity-status > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.auth-body .auth-continuity-panel h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

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

.auth-continuity-items p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #115e59;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.auth-continuity-items p > span:first-child {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #ccfbf1;
  color: var(--auth-success);
  font-weight: 800;
}

@media (max-width: 760px) {
  .auth-header {
    height: 72px;
  }

  .auth-header-inner {
    gap: 12px;
    padding: 0 20px;
  }

  .auth-header-actions {
    min-width: 0;
    gap: 8px;
  }

  .auth-interface-language-switcher {
    width: 92px;
    max-width: 92px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
  }

  .auth-interface-language-switcher select {
    width: 100%;
    max-width: 92px;
    height: 32px;
    min-height: 32px;
    padding: 0 22px 0 8px;
    font-size: 0.76rem;
  }

  .auth-body .auth-home-link {
    width: auto;
    height: 28px;
    min-height: 28px;
    border-radius: 12px;
    padding: 0 10px;
    background: var(--auth-background);
    font-size: 0.8rem;
    font-weight: 500;
  }

  .auth-home-full {
    display: none;
  }

  .auth-home-short {
    display: inline;
  }

  .auth-body .auth-page {
    min-height: calc(100vh - 72px);
    padding: 24px 20px 42px;
  }

  .auth-layout {
    max-width: 350px;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .auth-layout.auth-unified-layout {
    max-width: 640px;
    gap: 16px;
  }

  .auth-login-card {
    min-height: 0;
    gap: 16px;
    padding: 22px;
  }

  .auth-unified-card {
    padding: 22px;
  }

  .auth-continuity-panel {
    padding: 20px;
  }

  .auth-continuity-items {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .auth-body .auth-login-card h1 {
    font-size: 34px;
  }

  .auth-body .auth-copy {
    font-size: 15px;
  }

  .auth-body .auth-form {
    gap: 16px;
  }

  .auth-trial-note {
    gap: 8px;
    padding: 12px;
  }

  .auth-trial-note svg {
    width: 16px;
    height: 16px;
  }

  .auth-body .auth-trial-note p {
    font-size: 13px;
  }

  .auth-product-card {
    min-height: 0;
    gap: 12px;
    padding: 18px;
  }

  .auth-product-status,
  .auth-clip-card-secondary {
    display: none;
  }

  .auth-body .auth-product-card h2 {
    font-size: 20px;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 370px) {
  .auth-header-inner {
    padding: 0 14px;
  }

  .auth-body .auth-brand span,
  .auth-interface-language-switcher svg {
    display: none;
  }

  .auth-interface-language-switcher select {
    max-width: 112px;
  }

  .auth-body .auth-page {
    padding-inline: 14px;
  }
}

/* 邮箱验证与密码恢复：与统一认证页共享品牌外壳和状态语义。 */
.auth-body .auth-email-flow-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 48px 20px 72px;
}

.auth-body .auth-email-flow-card {
  width: min(100%, 520px);
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 44px;
  text-align: center;
}

.auth-email-flow-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 24px;
  background: #eff6ff;
  color: var(--auth-primary);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.auth-email-flow-icon svg {
  width: 34px;
  height: 34px;
}

.auth-email-flow-check {
  opacity: 0;
  transition: opacity 180ms ease;
}

.auth-email-flow-card h1 {
  margin: 4px 0 0;
  color: var(--auth-foreground);
  font-size: clamp(30px, 5vw, 38px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.auth-email-flow-card .auth-copy {
  max-width: 420px;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.65;
}

.auth-email-flow-card .auth-form {
  width: 100%;
  gap: 16px;
  margin-top: 8px;
}

.auth-email-flow-card .auth-form label {
  text-align: left;
}

.auth-email-flow-card .auth-form .btn {
  position: relative;
}

.auth-email-flow-card[data-state="loading"] .auth-form .btn [data-button-label] {
  opacity: 0;
}

.auth-email-flow-card[data-state="loading"] .auth-form .btn::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-top-color: #ffffff;
  border-radius: 50%;
  content: "";
  animation: auth-email-spin 700ms linear infinite;
}

.auth-email-flow-status {
  width: 100%;
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.auth-email-flow-status:empty {
  display: none;
}

.auth-email-flow-card[data-state="success"] .auth-email-flow-icon {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: var(--auth-success);
}

.auth-email-flow-card[data-state="success"] .auth-email-flow-check {
  opacity: 1;
}

.auth-email-flow-card[data-state="success"] .auth-email-flow-status {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #115e59;
}

.auth-email-flow-card[data-state="error"] .auth-email-flow-icon {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.auth-email-flow-card[data-state="error"] .auth-email-flow-status {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.auth-email-flow-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--auth-pill-radius);
  color: var(--auth-primary);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.auth-email-flow-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-pill-radius);
  background: #ffffff;
  color: var(--auth-foreground);
  font-size: 14px;
  font-weight: 700;
}

.auth-email-flow-secondary:hover,
.auth-email-flow-secondary:focus-visible {
  border-color: #93c5fd;
  background: #eff6ff;
  color: var(--auth-primary);
}

.auth-email-flow-secondary[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.64;
  pointer-events: none;
}

.auth-email-flow-back:hover,
.auth-email-flow-back:focus-visible {
  background: #eff6ff;
  text-decoration: underline;
}

@keyframes auth-email-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .auth-body .auth-email-flow-page {
    min-height: calc(100vh - 72px);
    padding: 28px 20px 48px;
  }

  .auth-email-flow-card {
    gap: 14px;
    padding: 30px 22px;
  }

  .auth-email-flow-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-email-flow-icon,
  .auth-email-flow-check {
    transition: none;
  }

  .auth-email-flow-card[data-state="loading"] .auth-form .btn::after {
    animation-duration: 1.4s;
  }
}

@media (max-width: 920px) {
  .nav-inner { align-items: flex-start; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .hero { padding-top: 42px; }
  .trial,
  .floating-cta {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .clipflow-extraction-canvas-shell { height: 560px; }
}

@media (max-width: 640px) {
  .nav-inner,
  .hero,
  section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-auth-entry { display: none; }

  .quick-start,
  .floating-form,
  .sticky-clip-form {
    grid-template-columns: 1fr;
  }

  .quick-start .btn,
  .floating-form .btn,
  .sticky-clip-form .btn {
    width: 100%;
  }

  .clipflow-extraction-canvas-shell { height: 440px; }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Pen：桌面/移动着陆页与 shadcn 亮色大圆角规范 */
:root {
  --landing-bg: #fafafa;
  --landing-panel: #ffffff;
  --landing-primary: #2563eb;
  --landing-foreground: #18181b;
  --landing-muted: #71717a;
  --landing-line: #e4e4e7;
  --landing-processing: #0ea5e9;
  --landing-warning: #b7791f;
  --landing-success: #15803d;
  --landing-danger: #b91c1c;
  --landing-card-radius: 24px;
  --landing-pill-radius: 9999px;
  --landing-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body { overflow-x: hidden; }

.page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--landing-bg);
  color: var(--landing-foreground);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page .nav {
  position: relative;
  top: auto;
  min-height: 72px;
  border-bottom: 1px solid var(--landing-line);
  background: var(--landing-panel);
  backdrop-filter: none;
}

.page .nav-inner {
  width: 100%;
  max-width: none;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0 5vw;
}

.page .brand { gap: 10px; font-size: 18px; }
.page .brand img { width: 30px; height: 30px; border-radius: 10px; box-shadow: none; }
.page .nav .brand img,
.auth-header .auth-brand img {
  flex: 0 0 auto;
  margin-right: 9px;
  position: relative;
  z-index: 1;
  transform: scale(1.6);
  transform-origin: center;
}
.page .nav-primary,
.page .nav-actions { display: flex; align-items: center; gap: 10px; }
.page .nav-primary { min-width: 0; gap: 28px; }
.page .nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 650; }
.page .nav-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: var(--landing-pill-radius);
  transition: color 0.16s ease, background 0.16s ease;
}
.page .nav-links a:hover,
.page .nav-links a:focus-visible { color: var(--landing-success); background: #ecfdf5; }
.page .nav-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.page .nav-links svg { width: 17px; height: 17px; flex: 0 0 auto; }
.page .nav-links svg { width: 17px; height: 17px; flex: 0 0 auto; }
.page .legal-nav-menu { position: relative; }
.page .legal-nav-menu summary {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: var(--landing-pill-radius);
  cursor: pointer;
  list-style: none;
  transition: color 0.16s ease, background 0.16s ease;
}
.page .legal-nav-menu summary::-webkit-details-marker { display: none; }
.page .legal-nav-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease;
}
.page .legal-nav-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.page .legal-nav-menu summary:hover,
.page .legal-nav-menu summary:focus-visible,
.page .legal-nav-menu[open] summary { color: var(--landing-success); background: #ecfdf5; }
.page .legal-nav-menu summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.page .legal-nav-menu-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: var(--landing-panel);
  box-shadow: 0 16px 40px rgba(24, 24, 27, 0.12);
}
.page .legal-nav-menu-panel a { width: 100%; white-space: nowrap; }
.page .nav-actions { flex: 0 0 auto; gap: 10px; }
.page .nav-trial-label { display: none; }
.page clipflow-interface-language:focus-within .interface-language-control {
  border-color: var(--landing-line);
  outline: none;
}

.page .btn {
  min-height: 44px;
  border-radius: var(--landing-pill-radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: none;
}

.page .btn-primary { border-color: var(--landing-primary); background: var(--landing-primary); }
.page .btn-primary:hover { background: #1d4ed8; }
.page .btn-outline, .page .btn-secondary { border-color: var(--landing-line); background: var(--landing-panel); }
.page .nav-actions > .btn { min-height: 36px; }
.page .nav-actions > .btn { padding-inline: 12px; }
.page .nav-actions clipflow-interface-language .interface-language-control { min-height: 36px; }
.page .nav-actions clipflow-interface-language select { min-height: 34px; }

.page .hero {
  width: 100%;
  max-width: none;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
  margin: 0 auto;
  padding: 28px 64px 32px;
  background: var(--landing-bg);
}

.page .hero-copy {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
  padding-top: 0;
  text-align: left;
}

.page .eyebrow {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--landing-success);
  font-size: 12px;
}

.page .eyebrow svg { width: 14px; height: 14px; }

.page .hero-copy h1 {
  max-width: 610px;
  font-size: clamp(54px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--landing-foreground);
}

.page .hero-copy h1 span { display: block; color: var(--blue); }

.page .hero-copy > p:not(.hero-rights) {
  max-width: 540px;
  color: var(--landing-muted);
  font-size: 19px;
  line-height: 28px;
}

.page .quick-start {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page .quick-start .btn {
  min-height: 50px;
  padding-inline: 24px;
  border-radius: var(--landing-pill-radius);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-height: 48px; }

.page .clipflow-extraction-demo {
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: var(--landing-card-radius);
  background: #111827;
  box-shadow: var(--landing-shadow);
}
.page .clipflow-extraction-canvas-shell { height: 470px; }

.product-preview {
  min-height: 508px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-card-radius);
  background: #111827;
}

.product-preview__header, .preview-clip > div, .preview-timeline__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-preview__header strong { max-width: 360px; color: #fff; font-size: 19px; line-height: 1.25; }
.product-preview__header > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--landing-pill-radius);
  background: #f0fdfa;
  color: #0f766e;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.product-preview__header i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.preview-timeline { display: grid; gap: 8px; }

.preview-timeline__track {
  height: 16px;
  border-radius: var(--landing-pill-radius);
  background: var(--landing-line);
  position: relative;
  overflow: hidden;
}

.preview-timeline__track i { position: absolute; top: 0; height: 16px; border-radius: var(--landing-pill-radius); }
.preview-timeline__track i:nth-child(1) { left: 16%; width: 16%; background: var(--landing-primary); }
.preview-timeline__track i:nth-child(2) { left: 47%; width: 19%; background: #14b8a6; }
.preview-timeline__track i:nth-child(3) { left: 84%; width: 12%; background: var(--landing-warning); }
.preview-timeline__labels { color: #a1a1aa; font-size: 11px; }

.preview-clip {
  min-height: 101px;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--landing-line);
  border-radius: 20px;
  background: var(--landing-panel);
  color: var(--landing-foreground);
}

.preview-clip > div span { padding: 5px 9px; border-radius: var(--landing-pill-radius); font-size: 11px; font-weight: 750; }
.preview-clip time, .preview-clip p { color: var(--landing-muted); font-size: 11px; }
.preview-clip h3, .preview-clip p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-clip h3 { font-size: 15px; }
.preview-clip--success > div span { background: rgba(21, 128, 61, 0.1); color: var(--landing-success); }
.preview-clip--processing > div span { background: rgba(37, 99, 235, 0.1); color: var(--landing-primary); }
.preview-clip--warning > div span { background: rgba(183, 121, 31, 0.1); color: var(--landing-warning); }

.page .trial-workflow {
  width: min(calc(100% - 144px), 1296px);
  display: block;
  gap: 20px;
  align-items: stretch;
  margin: 0 auto;
}

.page .trial, .page .workflow, .page #trust, .page .landing-cta {
  width: min(calc(100% - 144px), 1296px);
  max-width: none;
  margin: 0 auto;
}

.page .trial {
  width: auto;
  min-height: 340px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-card-radius);
  background: var(--landing-panel);
  box-shadow: var(--landing-shadow);
  overflow: hidden;
}

.page .trial-copy, .page .upload-panel, .page .workflow, .page .proof-card {
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-card-radius);
  background: var(--landing-panel);
  box-shadow: var(--landing-shadow);
}

.page .trial-copy, .page .upload-panel { min-height: 0; padding: 18px 22px; }
.page .trial-copy { display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 0; border-radius: 0; box-shadow: none; }
.page .trial-copy h2, .page .section-head h2 { color: var(--landing-foreground); letter-spacing: -0.035em; }
.page .trial-copy h2 { font-size: 25px; line-height: 1.22; }
.page .trial-copy p, .page .section-head p, .page .proof-card p { color: var(--landing-muted); }
.page .check-list li svg { color: var(--landing-success); }
.page .trial-copy .check-list { display: none; }
.page .upload-panel { display: grid; flex: 1; align-content: center; gap: 10px; border: 0; border-radius: 0; box-shadow: none; }

.page .upload-zone {
  min-height: 132px;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  background: var(--landing-bg);
}

.page .upload-zone > svg { color: var(--landing-primary); }
.page .upload-zone.is-dragging { border-color: var(--landing-primary); background: #eff6ff; }
.page .mobile-upload-rights { display: none; }

.page .workflow { width: 100%; min-height: 340px; height: auto; display: grid; grid-template-columns: 0.74fr 1.26fr; gap: 24px; margin: 0; padding: 26px; }
.page .workflow .section-head { align-self: center; }
.page .workflow .section-head h2 { font-size: 30px; line-height: 1.2; }
.page .workflow .section-head p { font-size: 16px; line-height: 1.4; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }

.workflow-grid article {
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-card-radius);
  background: var(--landing-panel);
}

.workflow-grid h3, .workflow-grid p { margin: 10px 0 0; }
.workflow-grid h3 { font-size: 16px; line-height: 1.3; }
.workflow-grid p { color: var(--landing-muted); font-size: 13px; }

.page #trust { padding: 20px 0 0; }
.page #trust > .section-head { display: none; }
.page .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.page .proof-card { min-height: 160px; padding: 22px; }

.page .proof-card .icon-box, .workflow-grid .icon-box {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--landing-primary);
}

.page .proof-card h3 { margin-top: 10px; font-size: 21px; }
.page .landing-cta { padding: 20px 0 0; }
.page .floating-cta { min-height: 190px; padding: 30px; border: 0; border-radius: 28px; background: var(--landing-foreground); box-shadow: none; }
.page .floating-copy { max-width: 720px; }
.page .floating-copy h2 { color: #fff; font-size: 34px; line-height: 1.22; }
.page .floating-copy p { color: #a1a1aa; }

.page .legal-footer {
  width: 100%;
  margin: 20px 0 0;
  border-top: 1px solid var(--landing-line);
  background: var(--landing-panel);
  color: var(--landing-muted);
}

.page .legal-footer__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 24px);
  padding: 8px 5vw;
}

.page .legal-footer__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.page .legal-footer__copyright {
  flex: 0 0 auto;
  font-size: clamp(0.68rem, 1.1vw, 0.75rem);
  font-weight: 650;
  white-space: nowrap;
}

.page .legal-footer__support {
  color: var(--landing-success);
  font-size: clamp(0.68rem, 1.1vw, 0.75rem);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.page .legal-footer__links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(2px, 0.7vw, 8px);
  font-size: clamp(0.68rem, 1.1vw, 0.75rem);
  font-weight: 700;
  white-space: nowrap;
}

.page .legal-footer__links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--landing-pill-radius);
  padding: 0 clamp(3px, 0.7vw, 8px);
  transition: color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

.page .legal-footer__links a:hover,
.page .legal-footer__links a:focus-visible {
  background: #ecfdf5;
  color: var(--landing-success);
}

.page .legal-footer__links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .page .nav-inner { padding-inline: 5vw; }
  .page .hero { grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: 28px; padding: 56px 32px; }
  .page .trial-workflow, .page #trust, .page .landing-cta { width: min(calc(100% - 64px), 1296px); }
  .page .trial-workflow { display: block; }
  .page .workflow { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .page .nav, .page .nav-inner { min-height: 72px; }
  .page .nav-inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; padding: 0 20px; }
  .page .nav-links { display: none; }
  .page .nav-primary { min-width: 0; gap: 0; }
  .page .brand { font-size: 18px; }
  .page .brand img { width: 30px; height: 30px; }
  .page .nav-actions { width: auto; min-width: 0; justify-content: flex-end; gap: 0; }
  .page clipflow-interface-language { display: none; }
  .page .nav-actions > .nav-auth-entry { width: auto; height: 38px; min-height: 38px; display: inline-flex; padding: 0 18px; font-size: 14px; }
  .page .nav-auth-entry svg { display: none; }
  .page .nav-trial-label { display: inline; }
}

@media (max-width: 720px) {
  .page .nav, .page .nav-inner { min-height: 72px; }
  .page .nav-inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; padding: 0 20px; }
  .page .nav-links { display: none; }
  .page .nav-primary { min-width: 0; gap: 0; }
  .page .brand { font-size: 18px; }
  .page .brand img { width: 30px; height: 30px; }
  .page .nav-actions { width: auto; min-width: 0; justify-content: flex-end; gap: 0; }
  .page clipflow-interface-language { display: none; }
  .page .nav-actions > .nav-auth-entry { width: auto; height: 38px; min-height: 38px; display: inline-flex; padding: 0 18px; font-size: 14px; }
  .page .nav-auth-entry svg { display: none; }
  .page .nav-trial-label { display: inline; }

  .page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 28px 20px 20px;
  }

  .page .hero-copy { min-height: 0; gap: 18px; padding-top: 0; }
  .page .eyebrow {
    gap: 6px;
    min-height: 29px;
    padding: 6px 10px;
    border-radius: var(--landing-pill-radius);
    background: #f0fdfa;
    font-size: 12px;
    font-weight: 700;
  }
  .page .eyebrow svg { display: none; }
  .page .eyebrow::before {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #0f766e;
    content: "";
  }
  .page .hero-copy h1 { font-size: 40px; line-height: 43px; }
  .page .hero-copy > p:not(.hero-rights) { font-size: 14px; line-height: 20px; }
  .page .quick-start {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .page .quick-start .btn { order: -1; min-height: 48px; }
  .page .quick-input {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-pill-radius);
    background: var(--landing-panel);
  }
  .page .assurance { display: none; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .page .clipflow-extraction-demo, .product-preview { min-height: 0; }
  .page .clipflow-extraction-canvas-shell { height: 360px; }
  .product-preview { gap: 10px; padding: 14px; }
  .product-preview__header strong { font-size: 15px; }
  .product-preview__header > span { max-width: 128px; overflow: hidden; text-overflow: ellipsis; }
  .preview-clip { min-height: 84px; padding: 11px 12px; }
  .preview-clip--warning { display: none; }

  .page .trial-workflow, .page #trust, .page .landing-cta { width: calc(100% - 40px); }
  .page .trial-workflow { display: block; }
  .page .trial { width: 100%; min-height: 0; height: auto; align-items: stretch; gap: 0; padding-top: 0; }
  .page .trial-copy { min-height: 0; padding: 18px 18px 0; }
  .page .upload-panel { min-height: 0; padding: 14px 18px 18px; }
  .page .trial-copy h2 { font-size: 24px; line-height: 30px; }
  .page .trial-copy .check-list { display: none; }
  .page .upload-zone {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .page .upload-zone > svg,
  .page .upload-zone > h3,
  .page .upload-zone > p,
  .page #simulateLong { display: none; }
  .page .upload-actions { width: 100%; }
  .page #chooseFile { width: 100%; min-height: 46px; }
  .page .mobile-upload-rights {
    display: block;
    margin: 0;
    color: var(--landing-muted);
    font-size: 13px;
    font-weight: 650;
  }

  .page .workflow {
    display: none;
  }

  .page .workflow .section-head { display: none; }
  .workflow-grid, .page .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .workflow-grid article, .page .proof-card { min-height: 0; padding: 18px; }
  .workflow-grid p, .page .proof-card p { margin-top: 6px; }
  .page #trust { padding-top: 20px; }
  .page .landing-cta { padding-top: 20px; }
  .page .floating-cta { min-height: 0; align-items: stretch; gap: 18px; padding: 22px; }
  .page .floating-copy h2 { font-size: 26px; line-height: 1.15; }
  .page .floating-cta > .btn { width: 100%; min-height: 46px; }
  .page .legal-footer__inner { justify-content: center; gap: 4px; padding-inline: 20px; }
  .page .legal-footer__identity { width: 100%; justify-content: center; }
  .page .legal-footer__links { justify-content: center; }
}

@media (max-width: 359px) {
  .page .legal-footer__inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }
}

/* 首页流程与能力共用标题，保留现有画布布局。 */
.page [hidden] { display: none !important; }
.page .hero-copy h1 { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.3; }
.page .hero-copy h1 span { display: inline; color: inherit; }
.page .assurance { display: grid; gap: 12px; font-size: 13px; line-height: 1.6; }
.page .assurance p { margin: 0; }
.page .assurance a { color: var(--landing-primary); }
.page .workflow { display: grid; grid-template-columns: minmax(0, 1fr); width: calc(100% - 128px); min-height: 0; margin: 24px auto 48px; padding: 0; gap: 24px; background: transparent; border: 0; box-shadow: none; }
.page .workflow > h2 { margin: 0; font-size: 28px; line-height: 1.5; }
.page .workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 32px; gap: 32px; background: var(--landing-panel); border: 1px solid var(--landing-line); border-radius: 24px; }
.page .workflow-grid article { min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.page .step-number { color: #0f766e; font-size: 14px; font-weight: 600; }
.page .workflow-grid h3 { margin-top: 12px; font-size: 20px; }
.page .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.page .proof-card { min-height: 0; padding: 24px; }
.page .proof-card h3 { font-size: 22px; }
.page .nav-actions { gap: 12px; }
.page .nav-actions .btn { min-height: 44px; }
@media (max-width: 920px) {
  .page clipflow-interface-language { display: block; }
  .page .nav-inner { flex-wrap: wrap; padding: 12px 20px; }
  .page .nav-actions { flex-wrap: wrap; gap: 8px; }
  .page .nav-actions > .nav-auth-entry { min-height: 44px; height: auto; }
  .page .workflow { width: calc(100% - 40px); }
}
@media (max-width: 720px) {
  .page .hero-copy h1 { font-size: 34px; line-height: 1.3; }
  .page .nav-inner { gap: 12px; }
  .page .nav-actions { width: 100%; justify-content: flex-start; }
  .page .nav-actions clipflow-interface-language .interface-language-control { min-height: 44px; }
  .page .workflow { display: grid; gap: 20px; }
  .page .workflow > h2 { font-size: 24px; }
  .page .workflow-grid { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; }
  .page .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .page .proof-card { padding: 20px; }
  .page .proof-card h3 { font-size: 20px; }
}
.page .hero-copy .assurance p { font-size: 13px; font-weight: 400; line-height: 1.6; }
.page .nav-actions > .nav-auth-entry { background: white; color: var(--landing-foreground); border: 1px solid var(--landing-line); }
@media (max-width: 720px) {
  .page .nav-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .page .nav-primary { grid-column: 1; grid-row: 1; }
  .page .nav-actions { display: contents; }
  .page .brand { font-size: 18px; gap: 8px; }
  .page .brand img { width: 30px; height: 30px; }
  .page .nav-actions clipflow-interface-language { grid-column: 2; grid-row: 1; width: 112px; }
  .page .nav-actions clipflow-interface-language .interface-language-control { width: 112px; min-width: 0; }
  .page .nav-auth-entry { grid-column: 3; grid-row: 1; padding: 0 12px !important; }
  .page [data-session-workspace] { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
  .page .quick-start, .page .quick-start .btn { width: 100%; }
}
.page [data-session-placeholder] { display: block; width: 80px; height: 44px; border-radius: 999px; background: #f4f4f5; }
@media (max-width: 720px) {
  .page [data-session-placeholder] { grid-column: 3; grid-row: 1; width: 60px; }
}
.page .nav-actions clipflow-interface-language select { min-height: 44px; height: 44px; }

/* 创作指南入口复用现有导航，手机独立占位以保留语言控件宽度。 */
.page .nav-guides-mobile { display: none; }
@media (max-width: 720px) {
  .page .nav-guides-mobile { display: inline-flex; grid-column: 1; grid-row: 2; align-items: center; min-height: 44px; color: var(--landing-foreground); font-size: 14px; font-weight: 650; }
  .page [data-session-workspace] { grid-column: 2 / -1; }
}

.page .nav-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 12px clamp(16px, 3vw, 48px); }
.page .nav-primary { display: flex; flex: 0 0 auto; width: max-content; gap: 16px; }
.page .nav-links { display: flex; flex-wrap: nowrap; width: max-content; order: 0; }
.page .nav-actions { display: flex; flex-wrap: nowrap; flex: 0 0 auto; width: max-content; }
/* 首页与工作区一致：完整菜单先收起文字，极窄屏移到第二行。 */
.page .nav-links > a, .page .legal-nav-menu > summary { min-width: 44px; min-height: 44px; position: relative; }
.page .nav [data-nav-label] { position: relative; }
.page .nav [data-nav-label]:focus-visible { outline: 2px solid var(--landing-success); outline-offset: 3px; }
.page .nav [data-nav-label]::after {
  content: attr(data-nav-label); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 180px; padding: 6px 10px; border-radius: 8px; background: var(--landing-foreground); color: white;
  font-size: 12px; line-height: 1.4; font-weight: 500; white-space: normal; pointer-events: none; opacity: 0; z-index: 30;
}
.page .nav [data-nav-label]:hover::after,
.page .nav [data-nav-label]:focus-visible::after { opacity: 1; }
.page .nav-actions [data-nav-label]::after { left: auto; right: 0; transform: none; }
  .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) { display: flex; flex-wrap: nowrap; gap: 12px; padding: 12px 24px; }
  .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) .nav-primary { display: flex; gap: 16px; }
  .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) .nav-links { display: flex; flex-wrap: nowrap; width: auto; order: 0; gap: 4px; }
  .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions { display: flex; flex-wrap: nowrap; width: auto; gap: 6px; }
  .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) .nav-links > a[data-nav-icon], .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) .legal-nav-menu > summary[data-nav-icon] { width: 44px; min-height: 44px; padding: 0; justify-content: center; gap: 0; }
  .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) .nav-links > a[data-nav-icon] > span, .page .nav-inner:is([data-nav-mode="compact"], [data-nav-mode="split"]) .legal-nav-menu > summary[data-nav-icon] > span {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions > [data-session-workspace], .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions > [data-session-account-link] {
    width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0 !important; justify-content: center;
  }
  .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions > [data-session-workspace] > span, .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions > [data-session-account-link] > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .page .nav-inner[data-nav-mode="split"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 20px 8px; }
  .page .nav-inner[data-nav-mode="split"] .nav-primary { display: contents; }
  .page .nav-inner[data-nav-mode="split"] .brand { grid-column: 1; grid-row: 1; }
  .page .nav-inner[data-nav-mode="split"] .nav-actions { display: flex; grid-column: 2; grid-row: 1; }
  .page .nav-inner[data-nav-mode="split"] .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: center; width: 100%; }
  .page .nav-inner[data-nav-mode="split"] .nav-actions > [data-session-placeholder] { width: 44px; }
  .page .nav-inner[data-nav-mode="split"] .legal-nav-menu-panel { left: auto; right: 0; max-width: min(280px, calc(100vw - 32px)); }
  .page .nav-inner[data-nav-brand-compact="true"] { padding-inline: 16px; }
  .page .nav-inner[data-nav-brand-compact="true"] .brand > span { display: none; }
  .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions > [data-session-workspace],
  .page .nav-inner:is([data-nav-mode="actions"], [data-nav-mode="compact"], [data-nav-mode="split"]) .nav-actions > [data-session-account-link] { border-radius: 50%; gap: 0; }
.page .nav .brand { min-width: 44px; min-height: 44px; }

.page .nav-inner[data-nav-mode] { padding-inline: clamp(16px, 3vw, 48px); }
.page .legal-nav-menu-panel a { min-height: 44px; }
/* 法律菜单原有箭头也使用 ::after，覆盖其旋转和边框以正确显示名称提示。 */
.page .nav .legal-nav-menu summary[data-nav-label]::after { height: auto; border: 0; left: auto; right: 0; transform: none; }
