/* DriveDrawer page. Brand: cabinet green #2E4A3F, brass #D9A441, index-card paper #F5EFE2.
   Type: Archivo (wide, for labels and headings) + IBM Plex Mono (paths, drive labels). */
:root {
  --cabinet: #2e4a3f;
  --cabinet-deep: #16251f;
  --sage: #5b8473;
  --brass: #d9a441;
  --brass-hi: #f2c462;
  --brass-ink: #7a5310;
  --online: #3a9a55;

  --bg: #f5efe2;
  --surface: #fbf8f1;
  --surface-2: #ece4d3;
  --text: #1b2420;
  --muted: #4f5d56;
  --line: #ddd2bc;
  --rule: #d9a441;
  --shadow: 0 1px 2px rgba(22, 37, 31, .08), 0 14px 30px rgba(22, 37, 31, .10);
  --radius: 10px;
  --font: "Archivo", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ui: -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;

  /* the app window in the illustrations */
  --win: #ffffff;
  --win-side: #f1ece2;
  --win-bar: #f7f4ee;
  --win-line: #e2dccf;
  --win-text: #1d2320;
  --win-muted: #5f6662;
  --win-sel: #dcebe3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111b17;
    --surface: #18251f;
    --surface-2: #1f2f28;
    --text: #efe9dc;
    --muted: #aab5ae;
    --line: #2c3d35;
    --brass-ink: #e8b95a;
    --online: #5cc47a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px rgba(0, 0, 0, .35);
    --win: #1c2420;
    --win-side: #222c27;
    --win-bar: #262f2a;
    --win-line: #34403a;
    --win-text: #ece8df;
    --win-muted: #9aa49e;
    --win-sel: #2f4a3f;
  }
}
:root[data-theme="dark"] {
  --bg: #111b17; --surface: #18251f; --surface-2: #1f2f28; --text: #efe9dc; --muted: #aab5ae; --line: #2c3d35;
  --brass-ink: #e8b95a; --online: #5cc47a; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px rgba(0, 0, 0, .35);
  --win: #1c2420; --win-side: #222c27; --win-bar: #262f2a; --win-line: #34403a; --win-text: #ece8df; --win-muted: #9aa49e; --win-sel: #2f4a3f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font); font-stretch: 112%; font-weight: 800; letter-spacing: -.015em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-stretch: 118%; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.12rem; font-stretch: 106%; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.back { font-size: .85rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.back:hover { color: var(--text); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 115%; font-size: 1.15rem; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 24px); }
.top nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.top nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 8px; border: 2px solid var(--brass);
  background: var(--brass); color: #1b2420; font: 700 1rem var(--font); font-stretch: 108%; text-decoration: none; white-space: nowrap; }
a.btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn-small { padding: 7px 14px; font-size: .9rem; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
a.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: currentColor; }
.btn-soon { cursor: default; }
.btn-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1b2420; opacity: .55; }

/* Brass label holder: the brand's recurring motif */
.label { display: inline-block; font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #1b2420;
  background: #fbf7ee; padding: 7px 11px; border-radius: 3px; box-shadow: 0 0 0 3px var(--brass), 0 0 0 4px rgba(0, 0, 0, .12); margin: 0 0 22px 4px; }

/* Hero */
.hero { padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-card { position: relative; background: linear-gradient(180deg, #2e4a3f, #1d3029); color: #f5efe2; border-radius: 18px; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) 0; overflow: hidden; }
.hero-text { display: grid; grid-template-columns: 1fr; gap: 6px 40px; align-items: end; }
@media (min-width: 940px) { .hero-text { grid-template-columns: 1.25fr 1fr; } }
.hero .icon { width: 84px; height: 84px; margin: 0 0 18px -6px; }
.hero h1 { color: #fbf8f1; max-width: 13em; }
.hero h1 em { font-style: normal; color: var(--brass-hi); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #dfe6e1; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .95rem; color: #dfe6e1; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--brass); }
.hero .preview { margin: clamp(32px, 5vw, 52px) calc(clamp(20px, 5vw, 64px) / -2) 0; }
.hero .preview figcaption { color: #c9d4cd; padding-bottom: 18px; }

/* Illustration of the app window */
.preview { margin: 0; }
.preview figcaption { font: 500 .8rem/1.5 var(--mono); color: var(--muted); margin-top: 12px; }
.win { background: var(--win); color: var(--win-text); border-radius: 12px 12px 0 0; border: 1px solid var(--win-line); border-bottom: 0;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .05), 0 30px 60px rgba(0, 0, 0, .35); font: 400 13px/1.35 var(--ui); overflow: hidden; }
.win.closed { border-radius: 12px; border-bottom: 1px solid var(--win-line); box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--win-bar); border-bottom: 1px solid var(--win-line); min-width: 0; }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #e5655c; }
.lights i:nth-child(2) { background: #e9b949; }
.lights i:nth-child(3) { background: #6cbf5b; }
.win-title { font-weight: 700; flex: none; }
.seg { display: inline-flex; border: 1px solid var(--win-line); border-radius: 7px; overflow: hidden; margin: 0 auto; flex: none; }
.seg span { padding: 3px 11px; color: var(--win-muted); }
.seg span + span { border-left: 1px solid var(--win-line); }
.seg .on { background: var(--win-sel); color: var(--win-text); font-weight: 600; }
.search { display: inline-flex; align-items: center; gap: 7px; min-width: 0; width: 230px; padding: 4px 10px; border-radius: 7px; background: var(--win); border: 1px solid var(--win-line); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 45%, transparent); }
.search svg { flex: none; }
.search b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search b::after { content: ""; display: inline-block; width: 1px; height: 1.05em; background: var(--win-text); vertical-align: -2px; margin-left: 1px; }

.win-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 0; }
.side { background: var(--win-side); border-right: 1px solid var(--win-line); padding: 8px 8px 0; display: flex; flex-direction: column; }
.side h4 { font: 700 11px/1 var(--ui); color: var(--win-muted); margin: 14px 8px 6px; }
.drv { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 0 8px; align-items: start; padding: 5px 8px; border-radius: 6px; }
.drv.sel { background: var(--win-sel); }
.drv .nm { font-weight: 500; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drv .meta { grid-column: 2; font-size: 11px; color: var(--win-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drv .meta.dim { opacity: .75; font-size: 10.5px; }
.drv .count { color: var(--win-muted); font-variant-numeric: tabular-nums; }
.drv .scan-btn { grid-row: span 2; align-self: center; font-size: 11px; padding: 2px 9px; border-radius: 5px; border: 1px solid var(--win-line); background: var(--win); }
.side-foot { margin: auto -8px 0; padding: 9px 14px; border-top: 1px solid var(--win-line); font-size: 11px; display: flex; gap: 6px; align-items: center; }
.check { width: 13px; height: 13px; border-radius: 3px; background: var(--sage); display: inline-grid; place-items: center; flex: none; }
.check::after { content: ""; width: 6px; height: 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }

/* Tiny drawn icons */
.i-drive { width: 16px; height: 12px; border-radius: 3px; background: var(--win-muted); opacity: .55; position: relative; margin-top: 2px; }
.i-drive::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 3px; height: 3px; border-radius: 50%; background: var(--win); }
.i-drive.on { background: var(--sage); opacity: 1; }
.i-drive.new { background: transparent; border: 1.5px dashed var(--win-muted); }
.i-drive.new::after { display: none; }
.i-stack { width: 14px; height: 14px; margin-top: 1px; background: linear-gradient(var(--sage) 0 0) 0 0 / 100% 3px no-repeat, linear-gradient(var(--sage) 0 0) 0 5px / 100% 3px no-repeat, linear-gradient(var(--sage) 0 0) 0 10px / 100% 3px no-repeat; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--win-muted); opacity: .4; flex: none; }
.dot.on { background: var(--online); opacity: 1; }
.i-folder { display: inline-block; width: 16px; height: 12px; border-radius: 2px 3px 3px 3px; background: #7fa7d6; position: relative; flex: none; margin-top: 2px; }
.i-folder::before { content: ""; position: absolute; left: 0; top: -2px; width: 7px; height: 3px; border-radius: 2px 2px 0 0; background: #7fa7d6; }
.i-file { display: inline-block; width: 12px; height: 15px; border-radius: 2px; background: var(--win); border: 1px solid #b9bfba; position: relative; flex: none; margin: 0 2px; }
.i-file.clip::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 5px; border-radius: 1px; background: #c45a4a; }
.i-file.mov::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 5px; border-radius: 1px; background: #5b6bd0; }
.i-file.pdf::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 5px; border-radius: 1px; background: #d0574b; opacity: .6; }
.spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--win-line); border-top-color: var(--win-muted); display: inline-block; vertical-align: -1px; margin-right: 4px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Results */
.res { display: flex; flex-direction: column; min-width: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1.7fr) 112px minmax(0, 1.3fr) 60px 84px; gap: 0 12px; align-items: center; padding: 6px 14px; border-bottom: 1px solid color-mix(in srgb, var(--win-line) 55%, transparent); }
.row:nth-child(even):not(.thead) { background: color-mix(in srgb, var(--win-side) 45%, transparent); }
.row.thead { font-size: 11.5px; color: var(--win-muted); padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--win-line); background: var(--win); }
.row.hl { background: var(--win-sel) !important; }
.row > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-name { display: flex; align-items: center; gap: 7px; }
.c-name em { font-style: normal; text-overflow: ellipsis; overflow: hidden; }
.c-name mark { background: color-mix(in srgb, var(--brass) 40%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }
.c-drive { display: flex; align-items: center; gap: 6px; }
.c-loc { color: var(--win-muted); direction: rtl; text-align: left; }
.c-loc bdi { direction: ltr; unicode-bidi: isolate; }
.c-size, .c-date { color: var(--win-muted); font-variant-numeric: tabular-nums; }
.c-size { text-align: right; }
.status { margin-top: auto; padding: 6px 14px; font-size: 11px; color: var(--win-muted); border-top: 1px solid var(--win-line); display: flex; justify-content: space-between; gap: 12px; }
.res .fill { flex: 1; min-height: 18px; }

/* Path bar (browsing an offline drive) */
.pathbar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--win-line); font-size: 12px; min-width: 0; }
.pathbar .crumbs { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; white-space: nowrap; }
.pathbar .crumbs span { color: var(--win-muted); }
.pathbar .crumbs b { font-weight: 600; }
.pathbar .sep { color: var(--win-muted); opacity: .6; }
.pathbar .off { margin-left: auto; flex: none; color: var(--win-muted); display: flex; align-items: center; gap: 5px; font-size: 11px; }
.pathbar .off::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--win-muted); }
.browse .row { grid-template-columns: minmax(0, 1fr) 76px 92px; }

@media (max-width: 980px) {
  .win-body { grid-template-columns: 210px minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1.5fr) 108px minmax(0, 1.2fr) 58px; }
  .row .c-date { display: none; }
  .browse .row { grid-template-columns: minmax(0, 1fr) 76px; }
  .drv .meta.dim { display: none; }
}
@media (max-width: 700px) {
  .win { font-size: 12.5px; }
  .win-bar { flex-wrap: wrap; gap: 8px 12px; }
  .win-title { display: none; }
  .seg { margin: 0 0 0 auto; }
  .search { order: 3; width: 100%; }
  .win-body { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--win-line); padding: 6px 6px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
  .side h4, .side .meta, .side .side-foot, .side .opt { display: none; }
  .drv { padding: 4px 6px; }
  .row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "name name size" "drive loc loc"; gap: 3px 10px; padding: 8px 12px; }
  .row.thead { display: none; }
  .c-name { grid-area: name; font-weight: 500; }
  .c-drive { grid-area: drive; font-size: 11.5px; }
  .c-loc { grid-area: loc; font-size: 11.5px; }
  .c-size { grid-area: size; }
  .browse .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name size"; }
  .pathbar .off span { display: none; }
}

/* Sections */
section.block { padding: clamp(56px, 8vw, 100px) 0 0; scroll-margin-top: 72px; }
.head { max-width: 700px; margin-bottom: 30px; }
.head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--rule); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .tag { display: block; font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 12px; }
.card.quiet { border-top-color: var(--line); box-shadow: none; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before { content: "0" counter(s); display: inline-block; font: 600 .8rem/1 var(--mono); color: #1b2420; background: #fbf7ee; padding: 6px 9px; border-radius: 3px; box-shadow: 0 0 0 3px var(--brass); margin: 3px 0 16px 3px; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; gap: 48px; } .split.even { grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; } }
.split .head { margin-bottom: 0; }
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.points li { padding-left: 26px; position: relative; color: var(--muted); }
.points li strong { color: var(--text); }
.points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 9px; border-radius: 2px; background: var(--sage); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; font-weight: 600; }
.chip span { color: var(--muted); font-weight: 400; }

.not { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.not li { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--muted); }
.not li strong { display: block; color: var(--text); margin-bottom: 4px; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); position: relative; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 14px 14px 0 0; background: var(--brass); }
.price { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; font-stretch: 112%; line-height: 1.1; margin: 4px 0 8px; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--online); font-weight: 800; }
.price-card .btn-soon { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.price-card .btn-soon::before { background: var(--brass); opacity: 1; }
.status-card { background: var(--surface-2); border-radius: 14px; padding: clamp(22px, 3vw, 32px); }
.status-card p { color: var(--muted); }
.status-card p:last-child { margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--brass-ink); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

.end { margin: clamp(56px, 8vw, 100px) 0 0; background: linear-gradient(180deg, #2e4a3f, #1d3029); color: #f5efe2; border-radius: 18px; padding: clamp(36px, 6vw, 64px) 24px; text-align: center; }
.end h2 { color: #fbf8f1; }
.end p { color: #dfe6e1; font-size: 1.1rem; max-width: 34em; margin-left: auto; margin-right: auto; }
.end .actions { justify-content: center; }
.end .label { margin-left: 0; }
.head p.label, .end p.label { font-size: .74rem; color: #1b2420; }

footer { padding: 40px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: grid; gap: 8px; }
footer a { color: inherit; }
footer .mark { display: flex; align-items: center; gap: 10px; }
footer .others a { margin-right: 4px; }

@media (max-width: 820px) {
  .top nav a:not(.btn) { display: none; }
  .back { display: none; }
}
