  :root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --border: #e3e8f0;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #2f5bea;
    --primary-soft: #e8eefe;
    --side: #111827;
    --side-text: #cbd5e1;
    --free: #0f8a5f;
    --free-soft: #e3f6ee;
    --paid: #b45309;
    --paid-soft: #fdf1e0;
    --ok: #0f8a5f;
    --warn: #b45309;
    --ng: #b91c1c;
    --radius: 10px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; height: 100%; }
  body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
  }

  /* ---------- Sidebar ---------- */
  .sidebar {
    width: 248px;
    flex-shrink: 0;
    background: var(--side);
    color: var(--side-text);
    min-height: 100vh;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; }
  .brand-mark {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px;
  }
  .brand-name { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
  .brand-sub { font-size: 11px; color: #94a3b8; }
  .nav-label { font-size: 11px; color: #64748b; padding: 12px 10px 6px; letter-spacing: .08em; }
  .nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    color: var(--side-text); text-decoration: none;
    padding: 9px 10px; border-radius: 8px; margin-bottom: 2px; font-size: 13.5px;
  }
  .nav a:hover { background: #1f2937; color: #fff; }
  .nav .static {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 9px 10px; font-size: 13.5px; color: #64748b;
  }
  /* active state (set by React state) */
  .nav a.active {
    background: #1e293b; color: #fff; box-shadow: inset 3px 0 0 #3b82f6;
  }
  .legend {
    margin-top: auto;
    border: 1px solid #1f2937; border-radius: 10px; padding: 12px; font-size: 12px; background: #0b1220;
  }
  .legend-title { color: #e2e8f0; font-weight: 600; margin-bottom: 8px; }
  .legend-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; color: #94a3b8; }
  .legend-row:last-child { margin-bottom: 0; }

  /* ---------- Badges ---------- */
  .badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; line-height: 1;
    padding: 4px 7px; border-radius: 999px; white-space: nowrap;
  }
  .badge-free { background: var(--free-soft); color: var(--free); border: 1px solid #b7e6d2; }
  .badge-paid { background: var(--paid-soft); color: var(--paid); border: 1px solid #f3d3a5; }
  .sidebar .badge-free { background: #0d2e24; color: #5ee0a8; border-color: #14532d; }
  .sidebar .badge-paid { background: #33220b; color: #fbbf63; border-color: #713f12; }
  .badge-sample { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
  .status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
  .st-ok { background: var(--free-soft); color: var(--ok); }
  .st-none { background: #f1f5f9; color: var(--muted); }
  .st-revoked { background: #fdecec; color: var(--ng); }
  .st-warn { background: var(--paid-soft); color: var(--warn); }
  .st-info { background: var(--primary-soft); color: var(--primary); }

  /* ---------- Main ---------- */
  .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .topbar {
    height: 56px; background: var(--panel); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
  }
  .org { display: flex; align-items: center; gap: 10px; font-weight: 600; }
  .org small { color: var(--muted); font-weight: 400; }
  .mock-note { font-size: 12px; color: var(--muted); }
  .avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
    display: grid; place-items: center; font-weight: 700; font-size: 12px;
  }
  .top-right { display: flex; align-items: center; gap: 16px; }
  .content { padding: 28px; max-width: 1180px; width: 100%; }

  /* Screen switching is done by React state: only the current screen is rendered. */
  .screen { display: block; }

  .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
  .page-head h1 { font-size: 22px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
  .page-head p { margin: 0; color: var(--muted); }
  .btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: var(--panel); color: var(--text);
    white-space: nowrap;
  }
  .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
  .btn-disabled { background: #f1f5f9; color: #94a3b8; border-color: var(--border); }
  .btn-danger { background: var(--ng); border-color: var(--ng); color: #fff; }
  .btn-danger-lg { font-size: 16px; padding: 14px 22px; border-radius: 10px; box-shadow: 0 0 0 4px #fdecec; }
  .btn-row { display: flex; gap: 8px; }

  .card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
  .card + .card { margin-top: 16px; }
  .card h2 { font-size: 15px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
  .grid { display: grid; gap: 16px; }
  .grid + .card, .card + .grid, .grid + .grid { margin-top: 16px; }
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g2 { grid-template-columns: repeat(2, 1fr); }

  .notice {
    display: flex; gap: 10px; align-items: flex-start;
    background: #eef4ff; border: 1px solid #c7d7fe; color: #1e3a8a;
    border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; font-size: 13px;
  }
  .notice-sample { background: #fffbeb; border-color: #fcd34d; color: #92400e; font-weight: 600; }
  .notice-paid { background: var(--paid-soft); border-color: #f3d3a5; color: #7c3a06; }
  .notice .ico { font-weight: 700; }

  .stat { padding: 16px 18px; }
  .stat-label { color: var(--muted); font-size: 12px; }
  .stat-value { font-size: 26px; font-weight: 700; margin-top: 2px; }
  .stat-sub { font-size: 12px; color: var(--muted); }

  /* Table */
  .table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .table th {
    text-align: left; font-weight: 600; color: var(--muted); font-size: 12px;
    padding: 10px 12px; border-bottom: 1px solid var(--border); background: #f8fafc;
  }
  .table td { padding: 11px 12px; border-bottom: 1px solid var(--border); }
  .table tr:last-child td { border-bottom: none; }
  .table .dim { color: var(--muted); }
  .table .num { text-align: right; font-variant-numeric: tabular-nums; }
  .table .mono { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .target-yes { color: var(--ok); font-weight: 600; }
  .target-no { color: #94a3b8; }
  .toolbar { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; flex-wrap: wrap; }
  .fake-input {
    border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; background: #fff;
    color: #94a3b8; font-size: 13px; min-width: 0;
  }
  .fake-input.filled { color: var(--text); }
  .chip { border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 12px; background: #fff; }
  .chip.on { background: var(--primary-soft); border-color: #c7d7fe; color: var(--primary); font-weight: 600; }
  .chip.ok { background: var(--free-soft); border-color: #b7e6d2; color: var(--ok); font-weight: 600; }
  .chip.ok::before { content: "✓ "; }

  /* Form-like mock controls */
  .field { margin-bottom: 16px; }
  .field:last-child { margin-bottom: 0; }
  .field-label { font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
  .field-help { font-size: 12px; color: var(--muted); margin-top: 4px; }
  .select { display: flex; justify-content: space-between; align-items: center; }
  .select::after { content: "▾"; color: var(--muted); margin-left: 8px; }
  .lock-field { background: #f8fafc; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
  .radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .radio { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 13px; background: #fff; }
  .radio .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cbd5e1; }
  .radio.on { border-color: var(--primary); background: var(--primary-soft); }
  .radio.on .dot { border-color: var(--primary); box-shadow: inset 0 0 0 3px #fff; background: var(--primary); }
  .toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .toggle-row:last-child { border-bottom: none; }
  .toggle { width: 36px; height: 20px; border-radius: 999px; background: #cbd5e1; position: relative; flex-shrink: 0; }
  .toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
  .toggle.on { background: var(--primary); }
  .toggle.on::after { left: 18px; }
  .toggle.locked { background: #22c55e; opacity: .6; }
  .toggle.locked::after { left: 18px; }
  .kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; font-size: 13px; }
  .kv dt { color: var(--muted); }
  .kv dd { margin: 0; }
  .file-chip {
    display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px;
    padding: 6px 10px; background: #f8fafc; font-size: 13px;
  }
  .file-chip .ext { font-size: 10px; font-weight: 700; color: #fff; background: var(--ng); border-radius: 3px; padding: 1px 4px; }

  /* Gate / warning card */
  .gate-card { border: 2px solid #f3d3a5; background: #fffaf2; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
  .gate-card h2 { margin-bottom: 4px; color: #7c3a06; }
  .gate-card p { margin: 0; font-size: 13px; color: #7c3a06; }
  .gate-state { text-align: center; flex-shrink: 0; }
  .gate-state .status { font-size: 15px; padding: 6px 18px; }
  .gate-state small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }

  /* Stop card */
  .stop-card { border: 2px solid #f5b5b5; background: #fff7f7; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .stop-card h2 { color: #7f1d1d; margin-bottom: 4px; }
  .stop-card p { margin: 0; font-size: 13px; color: #991b1b; }

  /* Learning page preview (shown to employees after click) */
  .preview-frame { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #f8fafc; }
  .preview-bar { background: #e5e9f0; padding: 6px 12px; font-size: 11px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
  .preview-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; display: inline-block; }
  .preview-body { padding: 22px 26px; background: #fff; }
  .preview-body .big { font-size: 22px; font-weight: 800; color: var(--primary); margin: 0 0 6px; }
  .preview-body p { margin: 0 0 12px; font-size: 13px; }
  .preview-body ul { margin: 0; padding-left: 18px; font-size: 13px; }
  .preview-body li { margin-bottom: 4px; }

  /* Bars */
  .bar-row { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 12px; margin-bottom: 12px; }
  .bar-row:last-child { margin-bottom: 0; }
  .bar-track { height: 14px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
  .bar { height: 100%; border-radius: 999px; }
  .bar-open { background: #60a5fa; }
  .bar-click { background: #f59e0b; }
  .bar-report { background: #10b981; }
  .bar-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
  .vchart { display: flex; align-items: flex-end; gap: 18px; height: 180px; padding: 0 8px; border-bottom: 1px solid var(--border); }
  .vgroup { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
  .vbar { width: 16px; border-radius: 4px 4px 0 0; }
  .vlabels { display: flex; gap: 18px; padding: 6px 8px 0; }
  .vlabels span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
  .chart-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 12px; }
  .chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
  .mini-bar { display: inline-block; height: 8px; border-radius: 999px; vertical-align: 1px; margin-right: 6px; }

  /* Report document */
  .doc-wrap { background: #e5e9f0; border-radius: var(--radius); padding: 28px; }
  .doc {
    background: #fff; max-width: 760px; margin: 0 auto; padding: 48px 56px;
    box-shadow: 0 6px 24px rgba(15,23,42,.12); border-radius: 4px; position: relative;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  }
  .doc .sans { font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
  .watermark {
    position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg);
    font-size: 88px; font-weight: 800; color: rgba(180, 83, 9, .07); pointer-events: none; white-space: nowrap;
    font-family: "Hiragino Sans", system-ui, sans-serif;
  }
  .doc-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-bottom: 2px solid #111827; padding-bottom: 10px; margin-bottom: 28px; }
  .doc h3 { font-size: 22px; text-align: center; margin: 0 0 6px; }
  .doc .doc-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 32px; }
  .doc h4 { font-size: 15px; border-left: 4px solid #1e40af; padding-left: 10px; margin: 28px 0 12px; }
  .doc p { font-size: 14px; margin: 0 0 10px; }
  .doc table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .doc th, .doc td { border: 1px solid #cbd5e1; padding: 8px 10px; text-align: left; }
  .doc th { background: #f1f5f9; }
  .doc .num { text-align: right; font-variant-numeric: tabular-nums; }
  .doc .up { color: var(--ok); font-weight: 600; }
  .sample-tag { font-size: 10px; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; border-radius: 4px; padding: 1px 4px; margin-left: 4px; font-family: system-ui, sans-serif; vertical-align: 1px; }
  .doc ul, .doc ol { margin: 0; padding-left: 20px; font-size: 14px; }
  .doc li { margin-bottom: 4px; }
  .doc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 4px; }
  .doc-kpi { border: 1px solid #cbd5e1; border-radius: 4px; padding: 10px; text-align: center; }
  .doc-kpi b { display: block; font-size: 20px; }
  .doc-kpi span { font-size: 11px; color: var(--muted); }
  .doc-foot { margin-top: 36px; border-top: 1px solid #cbd5e1; padding-top: 10px; font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; }

  /* AI draft flow */
  .badge-ai { background: #f3e8ff; color: #6d28d9; border: 1px solid #ddd6fe; }
  .ai-prompt { display: flex; gap: 10px; align-items: center; }
  .ai-prompt .fake-input { flex: 1; padding: 11px 14px; font-size: 14px; }
  .ai-prompt .btn { padding: 11px 16px; text-decoration: none; }
  .banner-stop {
    display: flex; gap: 12px; align-items: center;
    background: #fdecec; border: 2px solid #f5b5b5; color: #7f1d1d;
    border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; font-size: 15px; font-weight: 700;
  }
  .banner-stop .ico {
    width: 26px; height: 26px; border-radius: 50%; background: var(--ng); color: #fff;
    display: grid; place-items: center; font-size: 14px; flex-shrink: 0;
  }
  .banner-stop small { display: block; font-weight: 400; font-size: 12px; color: #991b1b; }
  .ai-card { display: flex; flex-direction: column; }
  .ai-card .ai-body { flex: 1; font-size: 13px; }
  .ai-card .ai-body p { margin: 0 0 8px; }
  .ai-card .ai-body ul { margin: 0; padding-left: 18px; }
  .ai-card .btn-row { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
  .tentative { display: inline-block; margin-left: 3px; padding: 0 4px; font-size: 10px; font-weight: 600; line-height: 16px; border: 1px dashed currentColor; border-radius: 3px; opacity: .85; }
  .badge-manual { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
  .manual-card { background: #f8fafc; }
  .pack-slot { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .pack-slot .slot-label { font-size: 12px; font-weight: 600; color: var(--muted); }
  .pack-slot .slot-box { flex: 1; min-height: 120px; border: 2px dashed var(--border); border-radius: 8px; background: #fff; }
  .quote { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; }
  .step-final { margin-top: 16px; border: 2px solid var(--primary); background: var(--primary-soft); }
  .step-final .step-no { font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
  .step-final .step-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

  /* Import: fake checkboxes */
  .check-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
  .check-row:last-child { border-bottom: none; }
  .check { display: inline-flex; align-items: center; gap: 8px; }
  .check .box { width: 16px; height: 16px; border: 2px solid #cbd5e1; border-radius: 4px; background: #fff; display: inline-grid; place-items: center; font-size: 11px; line-height: 1; color: #fff; flex-shrink: 0; }
  .check.on .box { background: var(--primary); border-color: var(--primary); }
  .check.on .box::after { content: "✓"; }
  .check.locked .box { opacity: .55; }
  .link-hint { font-size: 12px; font-weight: 600; color: var(--primary); text-decoration: none; }

  .footer-note { margin-top: 24px; font-size: 12px; color: var(--muted); text-align: center; }

/* Mamori: calm, human-centered practice. */
:root { --bg:#f5f5ef; --border:#dfe5dc; --text:#243c33; --muted:#66766c; --primary:#245c47; --primary-soft:#e8efe2; --side:#153f35; --radius:14px; }
body { display:block; }
#root { min-height:100vh; }
body:has(.sidebar) #root { display:flex !important; }
.sidebar { width:280px; background:#153f35; overflow-y:auto; }
.brand { padding:8px 4px 28px; }
.brand-mark { width:42px; height:42px; background:none; border-radius:12px; }
.brand-name { font-size:18px; letter-spacing:-.04em; }
.brand-sub { color:#b6cbbd; font-size:10px; }
.nav-label { color:#b2c4b7; font-size:10px; letter-spacing:.15em; }
.nav a { font-size:12px; padding:11px 10px; }
.nav a.active { background:#2b5548; box-shadow:inset 3px 0 #d6e5b5; }
.nav a:hover { background:#244e40; }
.sidebar .badge-free { background:#264d3f; color:#d5e7b9; border-color:#466658; font-size:9px; }
.sidebar .badge-paid { background:#514936; color:#f5d8aa; border-color:#746044; font-size:9px; }
.legend { background:#12382f; border-color:#416052; margin-top:30px; }
.legend-row { color:#bdcdbf; font-size:10px; }
.legend-title { color:#e4ead8; }
.topbar { height:72px; background:#fafbf6; }
.back-home { color:var(--primary); font-size:12px; text-decoration:none; }
.content { padding:34px; max-width:1440px; }
.page-head h1 { font-size:25px; letter-spacing:-.04em; }
.card { box-shadow:0 3px 12px #183a2614; }
.stat { border-top:3px solid #b6c997; padding:22px; }
.stat-value { font-size:32px; letter-spacing:-.04em; }
.btn { text-decoration:none; }
.notice:not(.notice-sample):not(.notice-paid) { background:#edf2e8; color:#31583f; border-color:#cbd9bd; }
.table th { background:#f1f4ec; }
:focus-visible { outline:3px solid #b28341; outline-offset:4px; }
.landing { background:#f8f8f0; color:#183e31; }
.landing a { color:inherit; text-decoration:none; }
.lp-header { max-width:1320px; margin:auto; height:104px; padding:0 48px; display:flex; align-items:center; justify-content:space-between; }
.lp-brand { display:flex; align-items:center; gap:12px; font-size:23px; font-weight:750; letter-spacing:-.05em; }
.lp-brand small { display:block; font-size:10px; font-weight:400; letter-spacing:.07em; margin-top:1px; }
.lp-header nav { display:flex; gap:32px; align-items:center; font-size:12px; }
.lp-nav-cta { border:1px solid #bbc7b5; border-radius:6px; padding:11px 18px; }
.lp-hero { max-width:1320px; margin:auto; padding:64px 48px 80px; display:grid; grid-template-columns:1.1fr 1fr; gap:24px; align-items:center; }
.eyebrow { font-size:10px; font-weight:650; letter-spacing:.18em; display:flex; align-items:center; gap:8px; }
.eyebrow>span { width:6px; height:6px; background:#658957; border-radius:50%; }
.lp-hero h1 { font-size:clamp(40px,4.6vw,64px); line-height:1.4; letter-spacing:-.065em; margin:26px 0 22px; font-weight:750; }
.lp-hero h1>span { color:#64874d; }
.hero-lead { font-size:21px; line-height:1.8; letter-spacing:.03em; }
.hero-description { font-size:14px; color:#69776a; line-height:2; margin:24px 0 30px; }
.hero-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.landing .lp-button { display:inline-flex; justify-content:space-between; align-items:center; gap:30px; background:#204f3d; color:#fff; border-radius:6px; padding:16px 24px; font-size:13px; box-shadow:0 4px 0 #153d2f15; transition:background .2s,transform .2s; }
.landing .lp-button:hover { background:#37684c; transform:translateY(-2px); }
.text-link { font-size:12px; border-bottom:1px solid #a8b79b; padding:6px 0; }
.hero-caption { font-size:10px; color:#71806d; margin-top:18px; }
.hero-art { min-height:490px; position:relative; display:grid; place-items:center; overflow:hidden; background:radial-gradient(ellipse,#e0e7cc 0%,#eef1df 45%,transparent 72%); }
.orbit { position:absolute; width:360px; height:360px; border:1px solid #ccd6b9; border-radius:50%; }
.orbit-two { width:450px; height:450px; border-style:dashed; opacity:.7; }
.gate-emblem { transform:rotate(-7deg); box-shadow:18px 24px 40px #244c3526; border-radius:44px; width:210px; height:210px; }
.gate-emblem img { width:100%; }
.art-label { position:absolute; top:16px; font-size:11px; letter-spacing:.18em; color:#6e8062; }
.floating-note { position:absolute; display:flex; align-items:center; gap:12px; background:#fffffff2; border:1px solid #e1e7d6; padding:17px 22px; border-radius:10px; box-shadow:0 8px 28px #1b3a2510; }
.floating-note small { display:block; font-size:9px; letter-spacing:.14em; color:#6f8069; }
.floating-note strong { font-size:13px; font-weight:600; }
.note-icon { background:#edf1df; color:#3c6b46; width:32px; height:32px; display:grid; place-items:center; border-radius:50%; }
.note-one { top:94px; right:0; transform:rotate(3deg); }
.note-two { bottom:88px; left:0; transform:rotate(-3deg); }
.art-bottom { position:absolute; bottom:14px; font-size:11px; letter-spacing:.09em; }
.art-bottom span { margin-left:18px; }
.principles-strip { border-top:1px solid #dce1d1; border-bottom:1px solid #dce1d1; display:flex; justify-content:center; gap:40px; padding:23px 32px; font-size:11px; flex-wrap:wrap; }
.principles-strip span:not(:first-child)::before { content:'✓'; color:#6b8650; margin-right:8px; }
.lp-approach,.lp-flow,.lp-deploy,.lp-demo { max-width:1224px; margin:auto; padding:88px 0; }
.approach-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; margin-top:24px; }
.landing h2 { font-size:32px; letter-spacing:-.045em; line-height:1.6; margin:0 0 20px; }
.approach-grid h2 { font-size:38px; }
.approach-grid em { font-style:normal; color:#6b8650; }
.approach-grid p,.lp-demo p { font-size:14px; color:#69776a; line-height:2.1; margin:0 0 20px; }
.lp-flow { border-top:1px solid #dce1d1; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.section-head .eyebrow { margin-bottom:16px; }
.section-head>span { font-size:10px; color:#758266; letter-spacing:.12em; }
.lp-deploy { border-top:1px solid #dce1d1; }
.deploy-lead { font-size:14px; color:#69776a; line-height:2.1; margin:0 0 8px; max-width:720px; }
.deploy-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:20px; }
.deploy-grid .flow-card:hover { transform:none; }
.flow-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px; }
.flow-card { background:#fff; border:1px solid #dce1d1; border-radius:10px; padding:28px; transition:transform .2s; }
.flow-card:hover { transform:translateY(-4px); }
.flow-top { display:flex; justify-content:space-between; color:#71865a; margin-bottom:36px; font-family:Georgia,serif; font-size:28px; }
.flow-card small { color:#72845d; font-size:11px; }
.flow-card h3 { font-size:18px; letter-spacing:-.04em; margin:8px 0 16px; }
.flow-card p { font-size:13px; color:#69776a; line-height:1.9; }
.flow-link { display:block; font-size:11px; margin-top:24px; }
.lp-demo { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; padding-top:30px; }
.lp-demo .eyebrow { margin-bottom:20px; }
.mini-dashboard { background:#fff; border:1px solid #dce1d1; padding:28px; border-radius:14px; box-shadow:0 15px 40px #28452b09; transform:rotate(-2deg); }
.mini-head { display:flex; justify-content:space-between; font-size:13px; font-weight:600; }
.sample-label { color:#778666; font-size:10px; font-weight:400; }
.mini-dashboard p { font-size:11px; margin:8px 0 20px; }
.mini-metrics { display:flex; gap:60px; }
.mini-metrics small { display:block; font-size:11px; color:#69776a; }
.mini-metrics strong { font-size:40px; font-weight:500; }
.mini-metrics strong span { font-size:15px; margin-left:5px; }
.mini-bars { height:100px; display:flex; align-items:end; gap:14px; border-bottom:1px solid #dce1d1; margin:16px 0; }
.mini-bars i { flex:1; background:#c5d3ac; border-radius:4px 4px 0 0; }
.mini-bars i:last-child { background:#36634a; }
.mini-dashboard>small { font-size:9px; color:#71806d; }
.lp-start { background:#e9eedc; text-align:center; padding:64px 24px; }
.lp-start h2 { margin:18px 0 12px; }
.lp-start>p { font-size:13px; color:#69776a; margin-bottom:26px; }
.lp-start .hero-caption { font-size:10px; margin-bottom:0; }
.lp-footer { max-width:1320px; margin:auto; display:flex; align-items:center; justify-content:space-between; padding:32px 48px; gap:20px; }
.lp-footer .lp-brand { font-size:16px; }
.lp-footer>span,.lp-footer>a:last-child { font-size:10px; color:#69776a; }
@media(min-width:761px) and (max-width:1320px) { .lp-approach,.lp-flow,.lp-deploy,.lp-demo { margin:0 48px; } }
@media(max-width:1000px) { .sidebar { width:235px; } .sidebar .badge { display:none; } .g4 { grid-template-columns:repeat(2,minmax(0,1fr)); } .g2 { grid-template-columns:1fr; } .topbar { padding:0 18px; } .mock-note { display:none; } .lp-header nav { gap:16px; } .hero-actions { gap:12px; } .lp-demo { gap:28px; } .principles-strip { gap:16px; } }
@media(max-width:760px) { .lp-header { height:86px; padding:0 22px; } .lp-header nav>a:not(:last-child) { display:none; } .lp-brand { font-size:19px; } .lp-brand small { font-size:9px; } .lp-nav-cta { padding:9px 12px; font-size:11px; } .lp-hero { grid-template-columns:1fr; padding:36px 24px 40px; } .lp-hero h1 { font-size:clamp(29px,9vw,38px); } .hero-art { min-height:420px; } .hero-lead { font-size:19px; } .principles-strip { justify-content:flex-start; gap:14px 20px; padding:22px 24px; } .principles-strip span:first-child { width:100%; } .lp-approach,.lp-flow,.lp-deploy,.lp-demo { padding:52px 24px; } .approach-grid,.lp-demo { grid-template-columns:1fr; gap:24px; } .approach-grid h2 { font-size:32px; } .landing h2 { font-size:26px; } .flow-grid,.deploy-grid { grid-template-columns:1fr; } .flow-top { margin-bottom:18px; } .section-head>span { display:none; } .lp-footer { padding:28px 24px; flex-wrap:wrap; } .lp-footer>span { order:3; width:100%; } body:has(.sidebar) #root { flex-direction:column; } .sidebar { width:100%; height:auto; min-height:0; position:static; padding:12px 16px; } .sidebar .brand { padding:0 0 12px; } .sidebar .brand-sub,.sidebar .legend,.sidebar .nav-label,.sidebar .nav .static { display:none; } .sidebar .nav { display:flex; overflow-x:auto; gap:6px; padding-bottom:6px; } .sidebar .nav a { flex-shrink:0; white-space:nowrap; padding:8px 12px; } .content { padding:22px 16px; } .topbar { height:60px; } .org { display:block; font-size:12px; } .org small { display:block; } .avatar { display:none; } .page-head { flex-direction:column; } .page-head h1 { font-size:22px; flex-wrap:wrap; } .g3,.g2 { grid-template-columns:1fr; } .card { padding:16px; overflow-x:auto; } .table { min-width:560px; } .btn-row { flex-wrap:wrap; } .doc { padding:24px; min-width:540px; } .doc-wrap { overflow-x:auto; } .ai-prompt { flex-wrap:wrap; } .step-final .step-row { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { .landing * { transition:none!important; scroll-behavior:auto!important; } }

/* Additions on top of the mock stylesheet: real form controls (the mock only draws fake ones). */
.input, .textarea { width: 100%; font: inherit; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); }
.textarea { min-height: 180px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
button.btn { font: inherit; cursor: pointer; }
.stack > * + * { margin-top: 16px; }
.errors { margin: 0; padding-left: 20px; color: var(--ng); }
.preview-text { white-space: pre-wrap; font-family: inherit; margin: 0; }
.center { min-height: 100vh; width: 100%; display: grid; place-items: center; padding: 24px; }
.narrow { width: 100%; max-width: 560px; }
.clues li + li { margin-top: 6px; }
.qr { width: 200px; height: 200px; background: #fff; }
