/* ==========================================================================
   DocuStacker homepage — "Everything in its place."
   Self-contained, scoped to .hm. Core brand palette: warm paper, plum-navy
   ink, one restrained indigo accent. The workspace UI is the visual language.
   ========================================================================== */

.hm {
  --hm-paper: #faf9f6;
  --hm-paper-2: #f3f1eb;
  --hm-white: #fff;
  --hm-line: #e7e3da;
  --hm-line-2: #d9d4c8;
  --hm-ink: #1c1530;
  --hm-body: #57536b;
  --hm-faint: #8a869a;
  --hm-ac: #5b5fe0;
  --hm-ac-d: #4448b8;
  --hm-ac-t: #eeeefb;
  --hm-ac-t2: #e1e2f7;
  --hm-ok: #0a8f6a;
  --hm-ok-t: #e4f5ee;
  --hm-warn: #a86a12;
  --hm-warn-t: #f8ecd6;
  --hm-shadow: 0 1px 2px rgba(28, 21, 48, 0.05), 0 28px 60px -24px rgba(28, 21, 48, 0.22);
  background: var(--hm-paper);
  color: var(--hm-body);
}
.hm section { padding: clamp(64px, 8vw, 112px) 0; }
:where(.hm) :is(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
:where(.hm) :is(ul, ol) { padding: 0; list-style: none; }
.hm h1, .hm h2, .hm h3 { color: var(--hm-ink); font-weight: 800; letter-spacing: -0.03em; }
.hm h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; }
.hm h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; }
:where(.hm) p { font-size: 17px; line-height: 1.7; }
.hm .lp-ic { width: 20px; height: 20px; flex-shrink: 0; }
.hm a:focus-visible, .hm summary:focus-visible { outline: 3px solid rgba(91, 95, 224, 0.5); outline-offset: 3px; border-radius: 8px; }

.hm-kicker { display: inline-flex; align-items: center; font-size: 12.5px !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-ac-d); line-height: 1 !important; margin-bottom: 20px; }
.hm-kicker span { margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--hm-line-2); color: var(--hm-faint); font-variant-numeric: tabular-nums; }
.hm-head { max-width: 760px; }
.hm-head h2 + p, .hm-head.is-split > div > p + p { margin-top: 18px; }
.hm-head.is-center { margin: 0 auto; text-align: center; }
.hm-head.is-center h2 + p { margin-top: 16px; }
.hm-head.is-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.hm-head.is-split > div > p + p { margin-top: 14px; }
.hm-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--hm-ac-d); line-height: 1.4; }
.hm-link .lp-ic { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.hm-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-link:hover .lp-ic { transform: translateX(3px); }

/* ---------- UI kit ---------- */
.hm-win { background: #fff; border: 1px solid var(--hm-line); border-radius: 16px; box-shadow: var(--hm-shadow); overflow: hidden; }
.hm-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--hm-line); background: #fcfbf9; }
.hm-dots { display: inline-flex; gap: 6px; }
.hm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e4dfd4; display: block; }
.hm-bar-title { font-size: 12.5px; font-weight: 700; color: var(--hm-faint); }
.hm-search { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--hm-faint); background: #fff; border: 1px solid var(--hm-line); border-radius: 999px; padding: 6px 14px; min-width: 0; white-space: nowrap; overflow: hidden; }
.hm-search .lp-ic { width: 14px; height: 14px; }
.hm-search.is-live { color: var(--hm-ink); font-weight: 600; margin-left: 0; }
.hm-search.is-live i { width: 1.5px; height: 14px; background: var(--hm-ac); display: block; }
.hm-ext { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.02em; color: #fff; flex-shrink: 0; }
.hm-ext.is-pdf { background: #b85e5e; }
.hm-ext.is-doc { background: #4a6fa5; }
.hm-ext.is-xls { background: #4f8a68; }
.hm-chip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hm-chip.is-ok { background: var(--hm-ok-t); color: #0a7a5b; }
.hm-chip.is-rev { background: var(--hm-warn-t); color: var(--hm-warn); }
.hm-chip.is-sh { background: var(--hm-ac-t); color: var(--hm-ac-d); }
.hm-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--hm-paper-2); color: var(--hm-body); margin-right: 6px; }
.hm-av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10px; font-weight: 800; border: 2px solid #fff; flex-shrink: 0; }
.hm-av.is-a { background: #dfe0fa; color: #3b3fa8; }
.hm-av.is-b { background: #d6ede8; color: #23685f; }
.hm-av.is-c { background: #f5e3c8; color: #8a5a12; }
.hm-av.is-x { background: #e9e6df; color: #7b7789; }
.hm-avs { display: inline-flex; }
.hm-avs .hm-av + .hm-av { margin-left: -7px; }
.hm-side-h { font-size: 11px !important; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-faint); line-height: 1.2 !important; margin: 18px 0 8px !important; }
.hm-name small { display: block; font-size: 12px; font-weight: 500; color: var(--hm-faint); margin-top: 2px; }

/* ---------- 1 · Hero ---------- */
.hm .hm-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); background: radial-gradient(900px 420px at 50% -60px, #eceafb, transparent 70%), var(--hm-paper); overflow: hidden; }
.hm-hero-copy { max-width: 1020px; margin: 0 auto; text-align: center; }
.hm-pill { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--hm-ac-d); background: #fff; border: 1px solid var(--hm-ac-t2); border-radius: 999px; padding: 7px 16px; margin-bottom: 26px; }
.hm-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.038em; text-wrap: balance; }
.hm-accent { color: var(--hm-ac); background: linear-gradient(transparent 80%, rgba(91, 95, 224, 0.16) 80%); }
.hm-lead { margin: 26px auto 0; max-width: 660px; font-size: clamp(17px, 1.6vw, 20px) !important; line-height: 1.65 !important; }
.hm-cta { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hm-trust { margin-top: 26px !important; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 14px !important; line-height: 1.5 !important; color: var(--hm-faint); text-align: left; }
.hm-trust .lp-ic { color: var(--hm-ac); width: 18px; height: 18px; }

.hm-stage { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.hm-stage::before, .hm-stage::after { content: ""; position: absolute; left: 4%; right: 4%; top: -12px; height: 60px; background: #fff; border: 1px solid var(--hm-line); border-radius: 18px; opacity: 0.75; }
.hm-stage::after { left: 8%; right: 8%; top: -22px; opacity: 0.45; }
.hm-workspace { position: relative; z-index: 1; }
.hm-workspace .hm-search { flex: 0 1 340px; }
.hm-ws { display: grid; grid-template-columns: 216px minmax(0, 1fr) 280px; min-height: 430px; text-align: left; }
.hm-side { padding: 18px 14px; border-right: 1px solid var(--hm-line); background: #fcfbf9; }
.hm-side .hm-side-h:first-child { margin-top: 0 !important; }
.hm-side li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--hm-body); padding: 8px 10px; border-radius: 9px; }
.hm-side li .lp-ic { width: 16px; height: 16px; color: var(--hm-faint); }
.hm-side li b { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--hm-faint); }
.hm-side li.is-on { background: var(--hm-ac-t); color: var(--hm-ac-d); }
.hm-side li.is-on .lp-ic { color: var(--hm-ac); }
.hm-main { padding: 18px 22px; min-width: 0; }
.hm-crumb { font-size: 16px; font-weight: 800; color: var(--hm-ink); display: flex; align-items: baseline; gap: 8px; }
.hm-crumb span { color: var(--hm-line-2); }
.hm-crumb em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--hm-faint); }
.hm-filters { display: flex; gap: 8px; margin: 14px 0 6px; flex-wrap: wrap; }
.hm-filters span { font-size: 12.5px; font-weight: 700; color: var(--hm-body); border: 1px solid var(--hm-line); border-radius: 999px; padding: 5px 13px; }
.hm-filters span.is-on { background: var(--hm-ink); border-color: var(--hm-ink); color: #fff; }
.hm-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 12px; border-bottom: 1px solid var(--hm-line); border-radius: 10px; }
.hm-rows li:last-child { border-bottom: 0; }
.hm-rows li.is-sel { background: var(--hm-ac-t); border-bottom-color: transparent; box-shadow: inset 3px 0 0 var(--hm-ac); }
.hm-rows .hm-name { font-size: 14px; font-weight: 700; color: var(--hm-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-prev { padding: 18px; border-left: 1px solid var(--hm-line); background: #fcfbf9; min-width: 0; }
.hm-paper { background: #fff; border: 1px solid var(--hm-line); border-radius: 8px; padding: 16px 14px; display: grid; gap: 7px; box-shadow: 0 8px 18px -10px rgba(28, 21, 48, 0.25); }
.hm-paper i { display: block; height: 6px; border-radius: 3px; background: #ece8df; }
.hm-paper i.s { width: 62%; }
.hm-prev-name { margin-top: 14px !important; font-size: 13px !important; font-weight: 800; color: var(--hm-ink); line-height: 1.35 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-prev dl { margin-top: 10px; display: grid; gap: 10px; }
.hm-prev dl div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: center; font-size: 12.5px; }
.hm-prev dt { color: var(--hm-faint); font-weight: 600; }
.hm-prev dd { color: var(--hm-ink); font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.hm-prev dd .hm-av { width: 22px; height: 22px; font-size: 9px; }
.hm-prev dd .hm-av + .hm-av { margin-left: -8px; }
.hm-lockline { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-size: 11.5px; color: var(--hm-body); font-weight: 600; }
.hm-lockline .lp-ic { width: 12px; height: 12px; }
.hm-act li { font-size: 12.5px; color: var(--hm-body); padding: 7px 0 7px 14px; border-left: 2px solid var(--hm-line); position: relative; line-height: 1.4; }
.hm-act li::before { content: ""; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--hm-ac); border: 2px solid #fcfbf9; }
.hm-act li b { color: var(--hm-ink); }
.hm-act small { display: block; font-size: 11.5px; color: var(--hm-faint); }

.hm-rail { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hm-line); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.hm-rail-tag { font-size: 16px !important; font-weight: 800; color: var(--hm-ink); letter-spacing: -0.01em; line-height: 1.3 !important; }
.hm-rail ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; font-weight: 700; color: var(--hm-faint); }
.hm-rail li + li::before { content: "→"; margin: 0 14px; color: var(--hm-line-2); font-weight: 400; }
.hm-rail li:last-child { color: var(--hm-ac-d); }

/* ---------- 2 · Problem ---------- */
.hm .hm-problem { background: var(--hm-paper); border-top: 1px solid var(--hm-line); }
.hm-problem-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.hm-problem-copy { position: sticky; top: 110px; }
.hm-problem-copy h2 + p { margin-top: 20px; }
.hm-pains { counter-reset: p; border-bottom: 1px solid var(--hm-line); }
.hm-pains li { counter-increment: p; display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 26px 0; border-top: 1px solid var(--hm-line); }
.hm-pains li::before { content: counter(p, decimal-leading-zero); grid-row: 1 / span 2; font-size: 14px; font-weight: 800; color: var(--hm-ac); padding-top: 3px; }
.hm-pains p { margin-top: 6px; font-size: 15.5px; line-height: 1.65; }
.hm-pains h3 { font-size: 20px; }

/* ---------- 3 · Transformation ---------- */
.hm .hm-transform { background: #fff; border-top: 1px solid var(--hm-line); }
.hm-flow { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr); align-items: stretch; background: var(--hm-paper-2); border: 1px solid var(--hm-line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.hm-flow-label { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-faint); margin-bottom: 18px; }
.hm-flow-label.is-after { color: var(--hm-ac-d); }
.hm-before ul { display: grid; gap: 10px; padding: 0 12px; }
.hm-before li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--hm-line); border-radius: 10px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--hm-ink); box-shadow: 0 6px 14px -10px rgba(28, 21, 48, 0.35); min-width: 0; }
.hm-before li span { min-width: 0; overflow-wrap: anywhere; }
.hm-before li small { display: block; font-size: 11.5px; font-weight: 500; color: var(--hm-faint); }
.hm-before li:nth-child(1) { transform: translateX(-8px) rotate(-1.8deg); }
.hm-before li:nth-child(2) { transform: translateX(14px) rotate(1.4deg); }
.hm-before li:nth-child(3) { transform: translateX(-2px) rotate(-0.8deg); }
.hm-before li:nth-child(4) { transform: translateX(18px) rotate(2deg); }
.hm-before li:nth-child(5) { transform: translateX(-10px) rotate(1deg); }
.hm-before li:nth-child(6) { transform: translateX(8px) rotate(-1.6deg); }
.hm-conv { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.hm-conv-line { display: none; }
.hm-conv::before { content: ""; position: absolute; left: 6px; right: 12px; top: 50%; border-top: 2px dashed var(--hm-line-2); }
.hm-conv::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--hm-line-2); border-right: 2px solid var(--hm-line-2); transform: translateY(-50%) rotate(45deg); }
.hm-conv-badge { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--hm-ac); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--hm-paper-2), 0 12px 24px -8px rgba(91, 95, 224, 0.6); }
.hm-conv-badge .lp-ic { width: 26px; height: 26px; }
.hm-conv-note { position: relative; z-index: 1; font-size: 12px; font-weight: 800; color: var(--hm-ac-d); background: var(--hm-paper-2); padding: 2px 6px; }
.hm-after { align-self: center; box-shadow: var(--hm-shadow); }
.hm-after-body { padding: 20px 22px 24px; }
.hm-tree-f { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--hm-ink); margin-top: 12px; }
.hm-tree-f:first-child { margin-top: 0; }
.hm-tree-f .lp-ic { width: 18px; height: 18px; color: var(--hm-ac); }
.hm-tree-f b { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--hm-faint); }
.hm-tree ul { margin: 8px 0 0 8px; padding-left: 16px; border-left: 2px solid var(--hm-line); display: grid; gap: 6px; }
.hm-tree li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--hm-body); min-width: 0; }
.hm-tree li span:not(.hm-ext) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tree li .hm-ext { width: 26px; height: 26px; font-size: 8.5px; }
.hm-tree li .hm-ok { margin-left: auto; width: 16px; height: 16px; color: var(--hm-ok); stroke-width: 2.6; }
.hm-results { margin-top: 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hm-line); }
.hm-results li { padding: 24px 22px 0 0; display: grid; gap: 4px; align-content: start; }
.hm-results .lp-ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--hm-ac-t); color: var(--hm-ac-d); margin-bottom: 8px; }
.hm-results strong { font-size: 16px; color: var(--hm-ink); font-weight: 800; }
.hm-results span { font-size: 14px; line-height: 1.5; }

/* ---------- 4 · Capabilities bento ---------- */
.hm .hm-caps { background: var(--hm-paper-2); }
.hm-checks { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--hm-ink); background: #fff; border: 1px solid var(--hm-line); padding: 7px 14px 7px 10px; border-radius: 999px; }
.hm-checks .lp-ic { width: 16px; height: 16px; color: var(--hm-ok); stroke-width: 2.6; }
.hm-bento { margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.hm-tile { grid-column: span 2; background: #fff; border: 1px solid var(--hm-line); border-radius: 22px; padding: 22px 24px 28px; display: flex; flex-direction: column; min-width: 0; }
.hm-tile.t-organize, .hm-tile.t-search { grid-column: span 3; }
.hm-tile.t-search { background: #f6f6fe; border-color: var(--hm-ac-t2); }
.hm-vig { flex: 1 0 auto; background: var(--hm-paper); border: 1px solid var(--hm-line); border-radius: 14px; padding: 18px; min-height: 176px; margin-bottom: 24px; display: flex; flex-direction: column; justify-content: center; }
.t-search .hm-vig { background: #fff; border-color: var(--hm-ac-t2); }
.hm-tile h3 { font-size: 20px; }
.hm-tile p { margin-top: 10px; font-size: 15px; line-height: 1.68; }
.hm-fileflow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hm-fchip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--hm-line); border-radius: 10px; padding: 8px 12px; font-size: 12.5px; font-weight: 700; color: var(--hm-ink); }
.hm-fchip .hm-ext { width: 24px; height: 24px; font-size: 8px; }
.hm-fchip.is-folder { background: var(--hm-ac-t); border-color: var(--hm-ac-t2); }
.hm-fchip.is-folder .lp-ic { width: 16px; height: 16px; color: var(--hm-ac); }
.hm-fchip em { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--hm-ok-t); color: #0a7a5b; }
.hm-farrow .lp-ic { width: 18px; height: 18px; color: var(--hm-ac); }
.hm-folderrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hm-folderrow span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--hm-body); background: #fff; border: 1px solid var(--hm-line); border-radius: 8px; padding: 6px 10px; }
.hm-folderrow .lp-ic { width: 14px; height: 14px; color: var(--hm-faint); }
.hm-qbar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--hm-ac); box-shadow: 0 0 0 4px var(--hm-ac-t); border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 600; color: var(--hm-ink); }
.hm-qbar .lp-ic { width: 16px; height: 16px; color: var(--hm-ac); }
.hm-qbar i { width: 1.5px; height: 16px; background: var(--hm-ac); }
.hm-hits { margin-top: 10px; }
.hm-hits li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 4px; border-top: 1px solid var(--hm-line); font-size: 13px; font-weight: 700; color: var(--hm-ink); }
.hm-hits li:first-child { border-top: 0; }
.hm-hits li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-hits li .hm-ext { width: 26px; height: 26px; font-size: 8.5px; }
.hm-hits small { display: block; font-size: 12px; font-weight: 500; color: var(--hm-body); overflow: hidden; text-overflow: ellipsis; }
.hm-hits mark { background: #fbeebe; color: inherit; border-radius: 3px; padding: 0 2px; }
.hm-hits em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hm-ac-d); background: var(--hm-ac-t); padding: 3px 8px; border-radius: 6px; }
.hm-comment { display: flex; gap: 10px; align-items: flex-start; }
.hm-comment p { margin: 0 !important; background: #fff; border: 1px solid var(--hm-line); border-radius: 4px 12px 12px 12px; padding: 10px 12px; font-size: 13px !important; line-height: 1.5 !important; color: var(--hm-body); }
.hm-comment p b { color: var(--hm-ink); }
.hm-verrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hm-perms li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 8px; background: #fff; border: 1px solid var(--hm-line); border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--hm-ink); }
.hm-perms li:last-child { margin-bottom: 0; }
.hm-perms li span { display: inline-flex; align-items: center; gap: 8px; }
.hm-perms .lp-ic { width: 16px; height: 16px; color: var(--hm-ac); }
.hm-perms em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--hm-ac-d); background: var(--hm-ac-t); border-radius: 999px; padding: 3px 10px; }
.hm-perms li.is-off { background: transparent; border-style: dashed; color: var(--hm-faint); }
.hm-perms li.is-off .lp-ic { color: var(--hm-faint); }
.hm-perms li.is-off em { background: var(--hm-paper-2); color: var(--hm-faint); }
.hm-devices { position: relative; height: 140px; }
.hm-laptop { position: absolute; left: 2px; top: 10px; width: 62%; max-width: 190px; aspect-ratio: 16 / 10; background: #fff; border: 2px solid var(--hm-line-2); border-radius: 8px 8px 4px 4px; padding: 12px; display: grid; gap: 7px; align-content: start; }
.hm-laptop::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -9px; height: 7px; border-radius: 0 0 8px 8px; background: var(--hm-line-2); }
.hm-laptop i, .hm-phone i { display: block; height: 6px; border-radius: 3px; background: #ece8df; }
.hm-laptop i.s, .hm-phone i.s { width: 60%; background: var(--hm-ac-t2); }
.hm-phone { position: absolute; right: 6px; bottom: 0; width: 58px; height: 108px; background: #fff; border: 2px solid var(--hm-line-2); border-radius: 12px; padding: 14px 8px; display: grid; gap: 7px; align-content: start; }
.hm-sync { position: absolute; right: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #0a7a5b; background: var(--hm-ok-t); padding: 4px 10px; border-radius: 999px; }
.hm-sync .lp-ic { width: 14px; height: 14px; }
.hm-caps-foot { margin-top: 40px; max-width: 820px; font-size: 16px !important; }
.hm-caps-foot a { color: var(--hm-ac-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hm-caps-foot .hm-textlink { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hm-caps-foot .hm-textlink .lp-ic { width: 15px; height: 15px; }

/* ---------- 5 · Workflow ---------- */
.hm .hm-flowsec { background: #fff; }
.hm-setup { margin-top: 52px; }
.hm-setup-body { padding: clamp(20px, 3vw, 32px); background: linear-gradient(#fff, var(--hm-paper)); }
.hm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-steps li { border-top: 3px solid var(--hm-line); padding-top: 14px; font-size: 15px; font-weight: 800; color: var(--hm-ink); }
.hm-steps li.is-done { border-color: var(--hm-ac); }
.hm-steps li.is-now { border-color: var(--hm-ac); }
.hm-steps li b { width: 34px; height: 34px; border-radius: 50%; background: var(--hm-paper-2); color: var(--hm-faint); display: grid; place-items: center; margin-bottom: 10px; }
.hm-steps li b .lp-ic { width: 17px; height: 17px; }
.hm-steps li.is-done b, .hm-steps li.is-now b { background: var(--hm-ac); color: #fff; }
.hm-steps small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--hm-body); line-height: 1.5; }
.hm-cats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hm-cats div { background: #fff; border: 1px solid var(--hm-line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 2px; }
.hm-cats .lp-ic { width: 22px; height: 22px; color: var(--hm-ac); margin-bottom: 8px; }
.hm-cats strong { font-size: 14.5px; color: var(--hm-ink); font-weight: 800; }
.hm-cats small { font-size: 12px; font-weight: 600; color: var(--hm-ok); }
.hm-cats .is-add { grid-column: span 2; border-style: dashed; border-color: var(--hm-line-2); background: transparent; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.hm-cats .is-add span { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--hm-ac-t); color: var(--hm-ac-d); display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1; }
.hm-cats .is-add small { color: var(--hm-body); }
.hm-share { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hm-share-copy h2 { font-size: clamp(28px, 3.3vw, 40px); }
.hm-share-copy p { margin-top: 16px; font-size: 16px; }
.hm-share-copy .btn { margin-top: 28px; }
.hm-share-vis { position: relative; padding-bottom: 215px; min-width: 0; }
.hm-rtab-h, .hm-rtab > div { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) auto; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--hm-line); font-size: 13px; font-weight: 700; color: var(--hm-ink); }
.hm-rtab-h { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-faint); background: #fcfbf9; }
.hm-rtab > div:last-child { border-bottom: 0; }
.hm-rtab > div.is-sel { background: var(--hm-ac-t); box-shadow: inset 3px 0 0 var(--hm-ac); }
.hm-rtab .hm-name { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-rtab > div > span:nth-child(2) { font-weight: 600; color: var(--hm-body); }
.hm-results-win .hm-bar { padding: 12px 18px; }
.hm-pop { position: absolute; right: -8px; bottom: 0; width: min(290px, 78%); background: #fff; border: 1px solid var(--hm-line); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(28, 21, 48, 0.35); padding: 16px 16px 12px; z-index: 2; }
.hm-pop-t { font-size: 13px !important; line-height: 1.4 !important; color: var(--hm-body); padding-bottom: 10px; border-bottom: 1px solid var(--hm-line); overflow-wrap: anywhere; }
.hm-pop-t b { color: var(--hm-ink); }
.hm-pop li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13px; font-weight: 700; color: var(--hm-ink); }
.hm-pop li span { display: inline-flex; align-items: center; gap: 9px; }
.hm-pop li em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--hm-body); border: 1px solid var(--hm-line); border-radius: 8px; padding: 3px 10px; background: var(--hm-paper); }

/* ---------- 6 · Ecosystem ---------- */
.hm .hm-eco { background: var(--hm-paper); border-top: 1px solid var(--hm-line); }
.hm-eco-tag { font-size: clamp(22px, 2.6vw, 30px) !important; font-weight: 800; letter-spacing: -0.025em; color: var(--hm-ink); line-height: 1.2 !important; display: flex; align-items: baseline; gap: 16px; padding-bottom: 28px; border-bottom: 2px solid var(--hm-ink); }
.hm-eco-tag span { font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--hm-faint); }
.hm-eco-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: end; }
.hm-eco-head h2 { font-size: clamp(28px, 3.3vw, 40px); }
.hm-eco-head p { font-size: 16px; }
.hm-solutions { margin-top: 64px; }
.hm-sol-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--hm-line); border-radius: 22px; overflow: hidden; box-shadow: 0 20px 40px -32px rgba(28, 21, 48, 0.3); }
.hm-sol { --c: #4677a8; --ct: #e8f0f8; padding: 32px 30px 30px; display: flex; flex-direction: column; align-items: flex-start; border-top: 4px solid var(--c); min-width: 0; }
.hm-sol + .hm-sol { border-left: 1px solid var(--hm-line); }
.hm-sol.is-biz { --c: #5f8a6d; --ct: #e8f1ea; }
.hm-sol.is-secure { --c: #4b52a0; --ct: #e9eaf7; }
.hm-sol-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--ct); color: var(--c); display: grid; place-items: center; }
.hm-sol-ic .lp-ic { width: 23px; height: 23px; }
.hm-sol-tag { margin-top: 22px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.hm-sol h3 { margin-top: 8px; font-size: 21px; }
.hm-sol p { margin-top: 10px; font-size: 15px; line-height: 1.65; flex: 1; }
.hm-sol .hm-link { margin-top: 22px; color: var(--c); }
.hm-industries { margin-top: clamp(64px, 8vw, 104px); }
.hm-ind-list { margin-top: 36px; border-top: 2px solid var(--hm-ink); }
.hm-ind-list li { --c: #3f5b85; display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; grid-template-areas: "tag copy file" "tag link file"; column-gap: 32px; row-gap: 16px; align-items: start; padding: 34px 20px; border-bottom: 1px solid var(--hm-line); transition: background-color 0.2s var(--ease); }
.hm-ind-list li:hover { background: #fff; }
.hm-ind-list li.is-acct { --c: #2f7d79; }
.hm-ind-list li.is-cons { --c: #a4673f; }
.hm-ind-tag { grid-area: tag; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); padding-top: 5px; }
.hm-ind-tag i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.hm-ind-copy { grid-area: copy; }
.hm-ind-copy h3 { font-size: 24px; letter-spacing: -0.025em; }
.hm-ind-copy p { margin-top: 8px; font-size: 15.5px; max-width: 620px; }
.hm-ind-list .hm-link { grid-area: link; color: var(--c); justify-self: start; }
.hm-ind-file { grid-area: file; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: #fff; border: 1px solid var(--hm-line); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 800; color: var(--hm-ink); }
.hm-ind-file .lp-ic { grid-row: span 2; color: var(--c); }
.hm-ind-file small { font-size: 12px; font-weight: 600; color: var(--hm-faint); }

/* ---------- 7 · Trust ---------- */
.hm .hm-trust-sec { background: var(--hm-paper-2); }
.hm-trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); align-items: center; }
.hm-trust-copy h2 + p { margin-top: 20px; }
.hm-trust-copy p a { color: var(--hm-ac-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hm-principles { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.hm-principles li { display: flex; gap: 14px; align-items: flex-start; }
.hm-principles li > .lp-ic { width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: #fff; border: 1px solid var(--hm-line); color: var(--hm-ac); }
.hm-principles h3 { font-size: 16px; }
.hm-principles p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; }
.hm-panel-body { padding: 22px 24px 26px; }
.hm-panel-doc { display: flex; align-items: center; gap: 12px; font-size: 15px !important; font-weight: 800; color: var(--hm-ink); line-height: 1.3 !important; padding-bottom: 6px; overflow-wrap: anywhere; }
.hm-acc li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--hm-line); font-size: 14px; font-weight: 700; color: var(--hm-ink); }
.hm-acc li span { display: inline-flex; align-items: center; gap: 10px; }
.hm-acc em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--hm-ac-d); background: var(--hm-ac-t); padding: 4px 11px; border-radius: 999px; }
.hm-acc li.is-off { color: var(--hm-faint); }
.hm-acc li.is-off em { background: var(--hm-paper-2); color: var(--hm-faint); }
.hm-acc em .lp-ic { width: 12px; height: 12px; }
.hm-log li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 13.5px; color: var(--hm-body); }
.hm-log li i { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-ac); flex-shrink: 0; transform: translateY(-1px); }
.hm-log li b { color: var(--hm-ink); }
.hm-log li small { margin-left: auto; font-size: 12px; color: var(--hm-faint); white-space: nowrap; }

/* ---------- 8 · FAQ ---------- */
.hm .hm-faq { background: #fff; }
.hm-help { max-width: 860px; margin: 48px auto 0; }
.hm-help-body { background: var(--hm-paper); }
.hm-help details { border-bottom: 1px solid var(--hm-line); }
.hm-help details:last-child { border-bottom: 0; }
.hm-help summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 700; color: var(--hm-ink); letter-spacing: -0.01em; line-height: 1.4; }
.hm-help summary::-webkit-details-marker { display: none; }
.hm-help summary:hover { background: #fff; }
.hm-q-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--hm-ac-t); color: var(--hm-ac-d); display: grid; place-items: center; flex-shrink: 0; }
.hm-q-ic .lp-ic { width: 16px; height: 16px; }
.hm-plus { margin-left: auto; position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.hm-plus::before, .hm-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--hm-ac-d); border-radius: 2px; transition: transform 0.2s var(--ease); }
.hm-plus::after { transform: rotate(90deg); }
.hm-help details[open] .hm-plus::after { transform: rotate(0); }
.hm-help details[open] summary { background: #fff; }
.hm-help details p { padding: 4px 24px 24px 74px; background: #fff; font-size: 16px; }
.hm-more { margin-top: 28px; text-align: center; }
.hm-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--hm-ac-d); }
.hm-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-more .lp-ic { width: 16px; height: 16px; }

/* ---------- 9 · Final CTA ---------- */
.hm .hm-final { background: var(--hm-paper); padding-top: 0; padding-bottom: clamp(64px, 8vw, 112px); }
.hm-final-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: linear-gradient(135deg, #ecebfb 0%, #f4f1ea 100%); border: 1px solid var(--hm-ac-t2); border-radius: 32px; padding: clamp(32px, 6vw, 72px); overflow: hidden; }
.hm-final-tag { display: inline-flex; align-items: center; gap: 12px; font-size: 14px !important; font-weight: 800; color: var(--hm-ac-d); line-height: 1 !important; margin-bottom: 22px !important; }
.hm-final-tag::before { content: ""; width: 28px; height: 2px; background: var(--hm-ac); }
.hm-final-card h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.hm-final-copy h2 + p { margin-top: 20px; max-width: 560px; }
.hm-final-card .hm-cta { justify-content: flex-start; }
.hm-final-art { position: relative; height: 300px; min-width: 0; }
.hm-final-art span { position: absolute; border-radius: 20px; }
.hm-final-art .s3 { inset: 8px 0 auto 22px; height: 240px; background: rgba(255, 255, 255, 0.4); border: 1px solid var(--hm-ac-t2); transform: rotate(5deg); }
.hm-final-art .s2 { inset: 4px 12px auto 8px; height: 250px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--hm-ac-t2); transform: rotate(-3deg); }
.hm-final-art .s1 { inset: 20px 0 auto 0; padding: 22px; background: #fff; border: 1px solid var(--hm-line); box-shadow: var(--hm-shadow); display: grid; gap: 10px; }
.hm-final-art i { display: flex; align-items: center; gap: 12px; font-style: normal; font-size: 14.5px; font-weight: 800; color: var(--hm-ink); background: var(--hm-paper); border: 1px solid var(--hm-line); border-radius: 12px; padding: 12px 14px; }
.hm-final-art i .lp-ic { color: var(--hm-ac); }
.hm-final-art i.ok { background: var(--hm-ok-t); border-color: transparent; color: #0a7a5b; }
.hm-final-art i.ok .lp-ic { color: var(--hm-ok); stroke-width: 2.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hm-ws { grid-template-columns: 200px minmax(0, 1fr); }
  .hm-prev { display: none; }
  .hm-head.is-split, .hm-eco-head, .hm-problem-grid, .hm-trust-grid, .hm-share, .hm-final-card { grid-template-columns: 1fr; }
  .hm-head.is-split { align-items: start; gap: 24px; }
  .hm-problem-copy { position: static; }
  .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-tile, .hm-tile.t-organize, .hm-tile.t-search { grid-column: span 1; }
  .hm-tile.t-access { grid-column: span 2; }
  .hm-flow { grid-template-columns: 1fr; gap: 0; }
  .hm-conv { min-height: 130px; }
  .hm-conv::before { left: 50%; right: auto; top: 6px; bottom: 12px; border-top: 0; border-left: 2px dashed var(--hm-line-2); }
  .hm-conv::after { right: auto; left: 50%; top: auto; bottom: 8px; transform: translateX(-50%) rotate(135deg); }
  .hm-conv-badge { box-shadow: 0 0 0 6px var(--hm-paper-2), 0 12px 24px -8px rgba(91, 95, 224, 0.6); }
  .hm-before ul { max-width: 460px; margin: 0 auto; }
  .hm-after { width: 100%; max-width: 460px; margin: 0 auto; }
  .hm-flow-label { display: block; text-align: center; }
  .hm-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-sol-grid { grid-template-columns: 1fr; }
  .hm-sol + .hm-sol { border-left: 0; border-top: 1px solid var(--hm-line); }
  .hm-final-art { max-width: 420px; }
}
@media (max-width: 820px) {
  .hm-ws { grid-template-columns: 1fr; min-height: 0; }
  .hm-side { display: none; }
  .hm-steps { grid-template-columns: 1fr 1fr; }
  .hm-cats { grid-template-columns: 1fr 1fr; }
  .hm-cats .is-add { grid-column: span 2; }
  .hm-ind-list li { grid-template-columns: 1fr; grid-template-areas: "tag" "copy" "file" "link"; row-gap: 14px; padding: 28px 4px; }
  .hm-ind-file { justify-self: start; min-width: 190px; }
  .hm-results { grid-template-columns: 1fr 1fr; }
  .hm-results li { padding-bottom: 6px; }
}
@media (max-width: 720px) {
  .hm-bento { grid-template-columns: 1fr; }
  .hm-tile.t-access { grid-column: span 1; }
  .hm-principles { grid-template-columns: 1fr; }
  .hm-share-vis { padding-bottom: 0; }
  .hm-pop { position: static; width: auto; margin-top: 16px; }
  .hm-workspace .hm-search { display: none; }
  .hm-bar-title { margin-left: 0; }
  .hm-main { padding: 14px 14px 10px; }
  .hm-rows li { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .hm-rows li .hm-chip { display: none; }
  .hm-rtab-h, .hm-rtab > div { grid-template-columns: minmax(0, 1fr) auto; }
  .hm-rtab-h span:nth-child(2), .hm-rtab > div > span:nth-child(2) { display: none; }
  .hm-rail { flex-direction: column; align-items: flex-start; }
  .hm-help summary { padding: 16px 16px; font-size: 16px; gap: 12px; }
  .hm-help details p { padding: 2px 16px 20px 16px; }
  .hm-q-ic { display: none; }
  .hm-eco-tag { flex-direction: column; gap: 10px; }
}
@media (max-width: 480px) {
  .hm-cta .btn { width: 100%; }
  .hm-steps, .hm-cats { grid-template-columns: 1fr; }
  .hm-cats .is-add { grid-column: span 1; }
  .hm-results { grid-template-columns: 1fr; }
  .hm-trust { text-align: left; }
  .hm-pains li { grid-template-columns: 40px minmax(0, 1fr); }
  .hm-pains h3 { font-size: 18px; }
  .hm-final-card { border-radius: 24px; }
  .hm-final-art { height: 270px; }
  .hm-crumb em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm * { transition: none !important; }
}

.site-footer { margin-top: 0; }
