:root {
  --ink: #122033;
  --muted: #5c6d7d;
  --line: #d9e4eb;
  --paper: #ffffff;
  --mist: #f3f8fa;
  --green: #19c96b;
  --green-dark: #087c48;
  --cyan: #1aa6b7;
  --coral: #ef765c;
  --yellow: #f5c84b;
  --shadow: 0 18px 48px rgba(22, 52, 74, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }

.help-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(190, 208, 219, 0.82); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); }
.header-inner, .help-shell, .manual-layout, .help-footer-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.help-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; text-decoration: none; }
.help-brand img { width: 42px; height: 42px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions a { color: #405367; font-size: 14px; font-weight: 700; text-decoration: none; }
.header-actions .app-link { padding: 10px 16px; border-radius: 6px; background: var(--ink); color: white; }

.help-hero { position: relative; overflow: hidden; padding: 82px 0 70px; background: #fff; border-bottom: 1px solid var(--line); }
.help-hero::after { content: ""; position: absolute; inset: 0 0 0 48%; background: url("/assets/landing-hero-future-light-v2.webp") 72% 50% / cover no-repeat; opacity: 0.52; pointer-events: none; }
.help-hero .help-shell { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 10px; color: var(--green-dark); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.help-hero h1 { max-width: 720px; margin: 0; font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: 0; }
.help-hero p:not(.eyebrow) { max-width: 630px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }

.quick-paths { padding: 46px 0 76px; }
.section-title { margin: 0 0 26px; }
.section-title h2 { margin: 0; font-size: 30px; letter-spacing: 0; }
.section-title p { margin: 6px 0 0; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; min-height: 250px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 10px 30px rgba(32, 58, 76, 0.06); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.guide-card:hover { transform: translateY(-3px); border-color: #9fc7b1; box-shadow: var(--shadow); }
.guide-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: #e8f9ef; color: var(--green-dark); font-size: 18px; font-weight: 900; }
.guide-card:nth-child(2) .guide-icon { background: #e9f7fb; color: #08788b; }
.guide-card:nth-child(3) .guide-icon { background: #fff4df; color: #9c6510; }
.guide-card h2 { margin: 28px 0 8px; font-size: 22px; letter-spacing: 0; }
.guide-card p { margin: 0 0 22px; color: var(--muted); }
.guide-card strong { margin-top: auto; color: var(--green-dark); font-size: 14px; }

.support-band { padding: 38px 0; background: var(--ink); color: white; }
.support-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.support-inner h2 { margin: 0; font-size: 25px; }
.support-inner p { margin: 5px 0 0; color: #bdcad5; }
.support-button { flex: 0 0 auto; padding: 12px 18px; border-radius: 6px; background: var(--green); color: #07140d; font-weight: 800; text-decoration: none; }

.manual-hero { padding: 54px 0 38px; background: white; border-bottom: 1px solid var(--line); }
.breadcrumbs { margin: 0 0 18px; color: var(--green-dark); font-size: 14px; font-weight: 800; }
.breadcrumbs a { text-decoration: none; }
.manual-hero h1 { max-width: 780px; margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: 0; }
.manual-hero .intro { max-width: 760px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.time-label { display: inline-block; margin-top: 20px; padding: 7px 10px; border: 1px solid #b9d9c6; border-radius: 5px; color: var(--green-dark); font-size: 13px; font-weight: 800; }

.manual-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 58px; padding: 46px 0 80px; align-items: start; }
.manual-nav { position: sticky; top: 96px; }
.manual-nav strong { display: block; margin-bottom: 12px; font-size: 13px; text-transform: uppercase; color: #71808f; }
.manual-nav a { display: block; padding: 8px 0; color: #4e6173; font-size: 14px; font-weight: 650; text-decoration: none; }
.manual-nav a:hover { color: var(--green-dark); }
.manual-content section { scroll-margin-top: 100px; margin-bottom: 50px; }
.manual-content h2 { margin: 0 0 15px; font-size: 28px; line-height: 1.2; letter-spacing: 0; }
.manual-content h3 { margin: 24px 0 8px; font-size: 19px; letter-spacing: 0; }
.manual-content p { margin: 0 0 14px; color: #4f6172; }
.manual-content a { color: var(--green-dark); font-weight: 700; }
.checklist { margin: 16px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 9px 0; padding-left: 28px; color: #425567; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-dark); font-weight: 900; }

.steps { counter-reset: help-step; margin-top: 20px; }
.step { position: relative; padding: 0 0 30px 56px; border-left: 2px solid #d9e8df; margin-left: 19px; }
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before { counter-increment: help-step; content: counter(help-step); position: absolute; left: -20px; top: -2px; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--green); color: #07140d; font-weight: 900; box-shadow: 0 0 0 1px #b8dcc7; }
.step h3 { margin-top: 0; }

.screen-figure { margin: 24px 0 8px; }
.screen-figure img { display: block; width: 100%; max-height: 620px; object-fit: contain; object-position: top; border: 1px solid #cad9e2; border-radius: 8px; background: #eaf1f5; box-shadow: var(--shadow); }
.screen-figure.mobile img { max-width: 330px; margin: 0 auto; }
.screen-figure figcaption { margin-top: 10px; color: #728291; font-size: 13px; text-align: center; }
.note { margin: 22px 0; padding: 17px 18px; border-left: 4px solid var(--cyan); background: #eaf8fa; color: #254f57; }
.note.warning { border-color: var(--yellow); background: #fff8e8; color: #604a17; }
.note.danger { border-color: var(--coral); background: #fff1ed; color: #6b3126; }
.note strong { display: block; margin-bottom: 3px; color: inherit; }

.field-preview { border: 1px solid #cad8e1; border-radius: 8px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.field-preview-header { display: flex; justify-content: space-between; gap: 12px; padding: 17px 20px; background: #142033; color: white; }
.field-preview-header span { color: #aebdca; font-size: 13px; }
.field-preview-body { padding: 22px; }
.preview-field { margin-bottom: 17px; }
.preview-field:last-child { margin-bottom: 0; }
.preview-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.preview-input { min-height: 46px; padding: 11px 13px; border: 1px solid #cbd8e0; border-radius: 6px; color: #70808f; background: #f8fafb; }
.preview-button { display: inline-block; margin-top: 18px; padding: 11px 16px; border-radius: 6px; background: var(--green); color: #07140d; font-weight: 850; }

.next-guide { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.next-guide span { display: block; color: #71808f; font-size: 13px; text-transform: uppercase; }
.next-guide strong { display: block; margin-top: 3px; font-size: 19px; }
.next-guide a { flex: 0 0 auto; text-decoration: none; color: var(--green-dark); font-weight: 850; }
.help-footer { padding: 30px 0; background: white; border-top: 1px solid var(--line); color: #657585; }
.help-footer-inner { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; }
.help-footer a { color: var(--green-dark); font-weight: 750; text-decoration: none; }

@media (max-width: 820px) {
  .header-inner, .help-shell, .manual-layout, .help-footer-inner { width: min(100% - 28px, 680px); }
  .header-actions a:not(.app-link) { display: none; }
  .help-brand span { font-size: 14px; }
  .help-hero { padding: 56px 0 50px; }
  .help-hero::after { inset: 0; opacity: 0.2; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 210px; }
  .support-inner, .help-footer-inner { align-items: flex-start; flex-direction: column; }
  .manual-layout { display: block; padding-top: 30px; }
  .manual-nav { position: static; display: flex; overflow-x: auto; gap: 8px; margin-bottom: 34px; padding-bottom: 8px; }
  .manual-nav strong { display: none; }
  .manual-nav a { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; background: white; }
  .step { padding-left: 43px; }
  .next-guide { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-card { transition: none; }
}
