/* StepSnap 步刻 — Official Website Design System
 * Palette harmonizes directly with the real macOS AppIcon:
 * Warm archival paper (#FAF9F7) · Obsidian ink (#15171F) · Vermilion coral (#E54534) · Champagne gold (#F2C872)
 */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-soft: #f3f1ed;
  --ink: #15171f;
  --ink-secondary: #555966;
  --ink-muted: #767b89;
  --border: #e6e3dd;
  --border-strong: #d5d0c7;
  --accent: #e54534;
  --accent-hover: #cf3727;
  --accent-soft: rgba(229, 69, 52, 0.09);
  --dark-bg: #13151b;
  --dark-surface: #1b1e26;
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-ink: #f5f5f7;
  --dark-muted: #a1a6b4;
  --gold: #f2c872;
  --green: #22a06b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(21, 23, 31, 0.05);
  --shadow-lg: 0 24px 64px rgba(21, 23, 31, 0.14), 0 4px 14px rgba(21, 23, 31, 0.06);
  --wrap-max: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 227, 221, 0.85);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
}

.brand-sub {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 8px 2px;
  position: relative;
  transition: color 0.16s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  min-height: 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-toggle button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Unified Button Pair */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(229, 69, 52, 0.24);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 18px rgba(229, 69, 52, 0.30);
}

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

.btn-secondary:hover {
  background: var(--surface-soft);
  border-color: #c2bcb2;
}

.btn-nav {
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13px;
}

/* Hero Section */
.hero {
  padding: 44px 0 68px;
}

.hero-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 34px;
  animation: heroEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.1vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

.hero-lead {
  margin: 0 auto 26px;
  font-size: clamp(16px, 2vw, 18.5px);
  color: var(--ink-secondary);
  max-width: 660px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Hero Real Screenshot Stage */
.hero-shot-shell {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 31, 0.10);
  box-shadow: var(--shadow-lg);
  background: #141720;
  animation: heroEnter 0.65s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shot-shell img {
  display: block;
  width: 100%;
  height: auto;
}

/* ArcZip-Style Split Section Header */
.section-split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-split-head h2 {
  max-width: 520px;
  margin: 0;
}

.section-split-head .section-sub {
  max-width: 390px;
  text-align: right;
}

/* ArcZip-Style Sticky Scroll Split Showcase */
.sticky-showcase {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.32fr);
  gap: 44px;
  align-items: start;
}

.sticky-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sticky-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 22px 22px;
  cursor: pointer;
  color: inherit;
  opacity: 0.48;
  transition: opacity 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.16s ease;
}

.sticky-item:hover {
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.65);
}

.sticky-item.active {
  opacity: 1;
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.sticky-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.sticky-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}

.sticky-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.sticky-mobile-shot {
  display: none;
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(21, 23, 31, 0.12);
}

.sticky-mobile-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.sticky-stage-col {
  position: sticky;
  top: 96px;
}

.sticky-stage-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #141720;
  border: 1px solid rgba(21, 23, 31, 0.10);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.sticky-stage-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.sticky-stage-frame img.active {
  opacity: 1;
  transform: scale(1);
}

/* ArcZip-Style Unified Hairline Bento Grid */
.bento-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bento-hero-tile {
  padding: 36px 36px 0;
  border-bottom: 1px solid var(--border);
}

.bento-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.bento-hero-top h3,
.bento-tile h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.bento-hero-top p,
.bento-tile p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.bento-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.bento-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.bento-tabs button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.bento-theme-stage {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: var(--surface-soft);
}

.bento-theme-stage img {
  display: block;
  width: 100%;
  height: auto;
}

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

.bento-tile {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bento-tile:nth-child(2n) {
  border-right: 0;
}

.bento-tile:nth-last-child(-n+2) {
  border-bottom: 0;
}

.bento-shot {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.bento-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hotkeys Keycap Visual */
.hotkey-deck {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.hotkey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}

.keycaps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 0 var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

/* Tone Rewrite Interactive Box */
.tone-demo-box {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tone-output-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.tone-output-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.tone-output-body {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ArcZip-Style Format Matrix Split Card */
.format-matrix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
  gap: 36px;
  align-items: start;
  box-shadow: var(--shadow-sm);
}

.format-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.format-table th,
.format-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.format-table tr:last-child td {
  border-bottom: 0;
}

.format-table th {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 700;
}

.format-name {
  font-weight: 700;
  color: var(--ink);
}

.format-target {
  color: var(--ink-secondary);
  font-size: 13px;
}

.format-tier-free {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.format-tier-pro {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* ArcZip-Style 3-Column Security & Privacy Band */
.security-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.security-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.security-col h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.security-col p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.security-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
}
.app-frame {
  background: #171920;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #f3f4f6;
  animation: heroEnter 0.65s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #1d2029;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.tl-r { background: #ff5f57; }
.tl-y { background: #febc2e; }
.tl-g { background: #28c840; }

.app-doc-title {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-toolbar-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.tb-pill.export {
  background: var(--accent);
  color: #fff;
}

.app-workspace {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr) 236px;
  min-height: 416px;
}

.app-sidebar {
  background: #14161d;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #8b90a0;
  padding: 2px 4px 6px;
}

.step-card-btn {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.14s ease;
}

.step-card-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.step-card-btn.active {
  background: rgba(229, 69, 52, 0.13);
  border-color: rgba(229, 69, 52, 0.65);
}

.step-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.step-num {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.step-card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #f3f4f6;
  line-height: 1.3;
}

.step-card-sub {
  font-size: 11px;
  color: #9398a8;
  padding-left: 27px;
}

.app-stage {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 45%, #222530, #161820 75%);
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.stage-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.stage-step-desc {
  font-size: 12px;
  color: #a0a5b4;
}

/* Simulated target macOS window inside StepSnap canvas */
.mock-canvas {
  position: relative;
  background: #f8f9fb;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 272px;
  overflow: hidden;
  color: #1a1d26;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mock-win-top {
  height: 28px;
  background: #eceef2;
  border-bottom: 1px solid #dcdfe6;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  font-size: 11px;
  color: #5b6070;
  font-weight: 600;
}

.mock-win-body {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  height: calc(100% - 28px);
}

.mock-win-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid #e6e8ee;
  padding-right: 12px;
}

.mock-nav-item {
  font-size: 11.5px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #5d6375;
}

.mock-nav-item.hi {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}

.mock-win-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-field {
  background: #fff;
  border: 1px solid #dfe2ea;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}

.mock-field-label {
  color: #6b7182;
}

.mock-secret {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  color: #1f2937;
  background: #eef1f6;
  position: relative;
}

.mock-secret.redacted {
  color: transparent;
  background: repeating-conic-gradient(#c6cbd6 0% 25%, #9ca3b2 0% 50%) 50% / 8px 8px;
  border: 1.5px dashed #f59e0b;
  user-select: none;
}

.mock-target-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 14px;
  border-radius: 7px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  position: relative;
}

/* Smart contour overlay + zoom loupe */
.contour-box {
  position: absolute;
  border: 2.5px solid var(--accent);
  border-radius: 9px;
  box-shadow: 0 0 0 3px rgba(229, 69, 52, 0.18);
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.contour-badge {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.loupe-circle {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.loupe-inner {
  background: #2563eb;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 7px;
  box-shadow: 0 0 0 2px rgba(229, 69, 52, 0.35);
}

.loupe-inner.mosaic {
  background: repeating-conic-gradient(#c6cbd6 0% 25%, #8f96a6 0% 50%) 50% / 10px 10px;
  color: #15171f;
  padding: 6px 10px;
  font-size: 11px;
  box-shadow: none;
  border: 1.5px dashed #f59e0b;
}

.stage-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.dock-chip {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #b7bcc9;
  font-weight: 500;
}

.dock-chip.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.app-inspector {
  background: #14161d;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}

.insp-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #e5e7eb;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.insp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b4b9c8;
  font-size: 11.5px;
}

.insp-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
}

.insp-tag.safe {
  background: rgba(34, 160, 107, 0.2);
  color: #6ee7b7;
}

.insp-tag.coral {
  background: rgba(229, 69, 52, 0.2);
  color: #fca5a5;
}

.insp-note {
  margin-top: auto;
  padding: 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #9ca2b2;
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--dark-bg);
  color: var(--dark-ink);
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-kicker {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 10px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-sub {
  margin: 0;
  font-size: 16px;
  color: var(--ink-secondary);
}

.section-dark .section-sub {
  color: var(--dark-muted);
}

/* Workflow 3-lane strip */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.flow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.flow-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.flow-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.flow-step-badge kbd {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 5px;
}

.flow-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.flow-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* Feature Bento Grid (equal edges, clean 2x2) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.format-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--border);
}

/* Comparison Table in Contrasting Dark Band */
.compare-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-border);
  background: var(--dark-surface);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--dark-border);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-muted);
  background: rgba(255, 255, 255, 0.025);
}

.compare-table th.col-ours {
  color: var(--gold);
}

.compare-table td.col-ours {
  color: #ffffff;
  font-weight: 600;
}

.compare-table td.col-sub {
  color: var(--dark-muted);
}

/* ArcZip-Style Pricing Section */
.pricing-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.pricing-header-row .section-head {
  margin-bottom: 0;
}

.currency-switch {
  display: inline-flex;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: 999px;
}

.currency-switch button {
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 999px;
  cursor: pointer;
}

.currency-switch button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.pro {
  border: 1.5px solid rgba(229, 69, 52, 0.55);
  box-shadow: 0 16px 40px rgba(229, 69, 52, 0.09);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.pill-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink-secondary);
}

.pill-badge.accent {
  background: var(--accent);
  color: #fff;
}

.seat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: 10px;
  gap: 4px;
}

.seat-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 10px;
  min-height: 38px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.seat-tabs button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-card.pro .price-amount {
  color: var(--accent);
}

.price-original {
  font-size: 17px;
  color: var(--ink-muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.price-unit {
  font-size: 13px;
  color: var(--ink-muted);
}

.price-desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-mark {
  color: var(--ink-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card.pro .check-mark {
  color: var(--accent);
}

.price-cta-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-cta-wrap .btn {
  width: 100%;
}

.checkout-region-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.checkout-toast {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13.5px;
  display: none;
}

.checkout-toast.show {
  display: block;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-body {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* Legal & Support Pages */
.legal-main {
  padding: 56px 0 88px;
}

.legal-article {
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.legal-article h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -0.025em;
}

.legal-updated {
  margin: 0 0 28px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.legal-article h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.legal-article p,
.legal-article li {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.legal-article ul {
  padding-left: 20px;
}

.legal-callout {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-muted);
  border-top: 1px solid var(--dark-border);
  padding: 52px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand {
  color: var(--dark-ink);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-ink);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.footer-col a {
  padding: 3px 0;
  display: inline-block;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
}

/* Responsive */
@media (max-width: 960px) {
  .section-split-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
  }
  .section-split-head .section-sub {
    text-align: left;
  }
  .sticky-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sticky-stage-col {
    display: none;
  }
  .sticky-item {
    opacity: 1;
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
  }
  .sticky-mobile-shot {
    display: block;
  }
  .bento-hero-tile {
    padding: 24px 20px 0;
  }
  .bento-grid-2x2,
  .format-matrix-card,
  .security-band {
    grid-template-columns: 1fr;
  }
  .bento-tile {
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .bento-tile:last-child {
    border-bottom: 0;
  }
  .format-matrix-card {
    padding: 24px 20px;
    gap: 24px;
  }
  .app-workspace {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .app-sidebar-head {
    display: none;
  }
  .step-card-btn {
    min-width: 196px;
  }
  .app-inspector {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .flow-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .wrap {
    padding: 0 18px;
  }
  .hero {
    padding: 36px 0 56px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .mock-win-body {
    grid-template-columns: 1fr;
  }
  .mock-win-nav {
    display: none;
  }
  .legal-article {
    padding: 24px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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