/* Harbor — harbormac.com
   Clean, Mac-native page: white ground, system type, one indigo-blue accent from the icon,
   and a live Harbor window as the centrepiece. */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --mute: #6E6E73;
  --faint: #8E8E93;
  --line: #E5E5EA;
  --accent: #4A57EE;
  --accent-ink: #3A46D6;
  --accent-soft: #EEF0FE;
  --danger: #E5484D;
  --green: #30A46C;
  --amber: #E79A2C;

  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.022em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px/1 var(--font); text-decoration: none; border-radius: 999px; padding: 14px 22px; border: 0; cursor: pointer; transition: background-color .15s, transform .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--bg-2); color: var(--ink); }
.btn-ghost:hover { background: #EBEBF0; }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn svg { width: 15px; height: 15px; }
.price-chip { opacity: .75; font-weight: 500; }

/* Top strip + nav */
.strip { font-size: 12.5px; color: var(--mute); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: flex; gap: 18px; height: 34px; align-items: center; }
.strip a { text-decoration: none; display: inline-flex; gap: 5px; align-items: center; color: var(--ink-2); }
.strip a:hover { color: var(--ink); }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 60px; gap: 30px; }
.brand { display: flex; align-items: center; gap: 9px; font: 650 17px/1 var(--display); letter-spacing: -.015em; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--mute); }
.nav-links a { text-decoration: none; } .nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (max-width: 760px) { .nav-links { display: none; } .strip { display: none; } }

/* Hero */
.hero { text-align: center; padding: 64px 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; text-decoration: none; }
.pill b { background: linear-gradient(180deg, #F7C255, #E79A2C); color: #2B1B00; font: 700 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.pill span { opacity: .85; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); margin: 26px auto 0; max-width: 14ch; }
.hero h1 .inline-icon { display: inline-block; width: .92em; height: .92em; vertical-align: -.14em; margin: 0 .04em; }
.hero .lede { font-size: clamp(17.5px, 1.9vw, 20px); color: var(--mute); max-width: 36em; margin: 22px auto 0; }
.hero .cta { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; font-size: 13.5px; color: var(--mute); }
.hero .fine s { color: var(--faint); }
.hero .fine .sep { margin: 0 8px; color: var(--line); }

/* ---- Harbor window (interactive) ---- */
.demo { margin: 56px auto 0; max-width: 1080px; }
.win {
  display: grid; grid-template-columns: 196px 1fr; height: 520px; overflow: hidden; text-align: left;
  border-radius: 14px; color: #E9EBF5; font-size: 12.5px;
  background: linear-gradient(180deg, #2B3047, #1A1E2F);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 30px 70px -20px rgba(20, 24, 50, .45), 0 10px 24px -12px rgba(20, 24, 50, .3);
}
.win-side { padding: 14px 10px; background: rgba(255, 255, 255, .035); border-right: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.lights { display: flex; gap: 7px; margin: 2px 6px 20px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.side-h { font-size: 10.5px; font-weight: 600; color: rgba(233, 235, 245, .42); margin: 14px 10px 5px; }
.side-i { display: flex; width: 100%; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; color: rgba(233, 235, 245, .8); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.side-i:hover { background: rgba(255, 255, 255, .05); }
.side-i.on { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.side-i svg { width: 14px; height: 14px; opacity: .75; flex: none; }
.win-main { display: flex; flex-direction: column; min-width: 0; background: rgba(0, 0, 0, .14); }
.win-top { display: flex; align-items: center; gap: 12px; padding: 13px 16px 10px; }
.navpill { display: flex; gap: 12px; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: rgba(233, 235, 245, .55); font-size: 12px; }
.win-title { font: 700 15.5px/1 var(--display); letter-spacing: -.01em; }
.win-search { margin-left: auto; width: min(320px, 50%); display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font: 12.5px/1 var(--mono); white-space: nowrap; overflow: hidden; color: #fff; }
.win-search svg { width: 12px; height: 12px; opacity: .6; flex: none; }
.win-search .ph { color: rgba(233, 235, 245, .4); font-family: var(--font); }
.caret { width: 1.5px; height: 14px; background: #8FA0FF; animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.win-body { flex: 1; min-height: 0; overflow: hidden; padding: 0 16px 14px; position: relative; }
.win-foot { padding: 8px 16px; font-size: 11px; color: rgba(233, 235, 245, .42); border-top: 1px solid rgba(255, 255, 255, .06); display: flex; justify-content: space-between; }
.view { display: none; height: 100%; }
.view.on { display: flex; flex-direction: column; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.demo-note { text-align: center; color: var(--faint); font-size: 13px; margin-top: 16px; }

/* browse view */
.sec-h { font-size: 13px; font-weight: 600; color: rgba(233, 235, 245, .55); padding: 8px 4px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); margin-bottom: 12px; }
.sec-h span { font-weight: 400; opacity: .7; margin-left: 6px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px 8px; margin-bottom: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 10px; text-align: center; cursor: default; }
.tile:hover { background: rgba(255, 255, 255, .05); }
.tile.sel { background: rgba(255, 255, 255, .09); }
.tile .nm { font-size: 11.5px; font-weight: 500; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile .meta { font-size: 10.5px; color: rgba(233, 235, 245, .5); }
.tile .meta.fold { color: #93A4FF; }
.fold-ic { width: 58px; height: 48px; }
.file-ic { width: 40px; height: 50px; border-radius: 5px; background: #F2F3F8; position: relative; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.file-ic::before { content: ""; position: absolute; left: 7px; right: 7px; top: 10px; height: 3px; border-radius: 2px; background: #C9CDDB; box-shadow: 0 6px 0 #C9CDDB, 0 12px 0 #C9CDDB; }
.file-ic::after { content: attr(data-ext); position: absolute; left: 5px; bottom: 5px; font: 700 7.5px/1 var(--font); color: #fff; background: var(--k, #8A90A3); padding: 2px 3px; border-radius: 2px; text-transform: uppercase; }
.file-ic.img { background: linear-gradient(160deg, #F3B35D, #D45F7A 60%, #5866D8); }
.file-ic.img::before { display: none; }

/* search view */
.chips { display: flex; align-items: center; gap: 6px; min-height: 30px; flex-wrap: wrap; margin-bottom: 6px; }
.chips .lab { font-size: 10.5px; color: rgba(233, 235, 245, .45); margin-right: 2px; }
.chip { font: 500 11px/1 var(--font); padding: 6px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); animation: pop .3s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.list-h, .list-r { display: grid; grid-template-columns: 1fr 130px 70px; gap: 8px; padding: 7px 10px; }
.list-h { font-size: 10.5px; color: rgba(233, 235, 245, .42); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.list-r { border-radius: 7px; align-items: center; animation: pop .3s ease both; }
.list-r:nth-child(even) { background: rgba(255, 255, 255, .025); }
.list-r .n { display: flex; gap: 9px; align-items: center; min-width: 0; }
.list-r .n span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.list-r .d { color: rgba(233, 235, 245, .5); }
.list-r .s { color: rgba(233, 235, 245, .65); text-align: right; font-variant-numeric: tabular-nums; }
.mini-ic { width: 14px; height: 17px; border-radius: 2.5px; background: #E9ECF5; position: relative; flex: none; }
.mini-ic::after { content: ""; position: absolute; left: 2.5px; right: 2.5px; bottom: 2.5px; height: 3px; border-radius: 1px; background: var(--k, #8A90A3); }
.group-h { font-size: 11.5px; font-weight: 600; color: rgba(233, 235, 245, .6); padding: 10px 10px 4px; }
.group-h span { font-weight: 400; opacity: .6; margin-left: 5px; }

/* treemap (shared by the window and section) */
.tm-wrap { position: relative; flex: 1; min-height: 0; }
.tm-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.tm-bar .crumb { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 4px 9px; border-radius: 99px; }
.tm-bar .crumb.cur { background: rgba(255, 255, 255, .1); font-weight: 600; cursor: default; }
.tm-bar .crumb span { opacity: .55; margin-left: 4px; }
.tm { position: absolute; inset: 0; border-radius: 10px; background: #0B0E19; overflow: hidden; }
.blk { position: absolute; border-radius: 6px; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); transition: filter .12s; }
.blk:hover { filter: brightness(1.08); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.blk .hd { position: absolute; left: 0; right: 0; top: 0; padding: 6px 8px; background: rgba(0, 0, 0, .22); color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.blk .hd b { display: block; font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.blk .hd i { font-style: normal; font-size: 10.5px; opacity: .85; }
.blk.light .hd { color: rgba(20, 20, 30, .9); background: rgba(255, 255, 255, .18); }
.sub-blk { position: absolute; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 170px; padding: 10px 12px; border-radius: 10px; background: rgba(18, 20, 32, .96); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); font-size: 11.5px; display: none; }
.tip b { display: block; font-size: 12.5px; }
.tip .big { font: 700 19px/1.2 var(--display); margin: 3px 0; }
.tip span { color: rgba(233, 235, 245, .6); }

/* clean-up (shared) */
.cu { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.cu-sum { display: flex; align-items: center; gap: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cu-sum small { display: block; font-size: 10.5px; color: rgba(233, 235, 245, .5); }
.cu-sum strong { font: 700 21px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.cu-sum .acts { margin-left: auto; display: flex; gap: 8px; }
.cu-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: 600 12px/1 var(--font); padding: 9px 13px; border-radius: 10px; transition: background-color .12s; }
.cu-btn.bin { background: var(--accent); color: #fff; }
.cu-btn.bin:hover { background: var(--accent-ink); }
.cu-btn.del { background: rgba(242, 107, 128, .14); color: #FF8FA0; }
.cu-btn.del:hover { background: rgba(242, 107, 128, .22); }
.cu-btn:disabled { opacity: .4; cursor: default; }
.cu-sec { font-size: 12px; font-weight: 700; margin: 6px 2px 0; display: flex; align-items: center; gap: 7px; }
.cu-sec i { width: 8px; height: 8px; border-radius: 50%; }
.cu-sec span { color: rgba(233, 235, 245, .5); font-weight: 500; }
.cu-row { display: grid; grid-template-columns: 18px 1fr 120px 64px; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.cu-row:hover { background: rgba(255, 255, 255, .07); }
.cu-row input { margin: 0; accent-color: var(--accent); width: 14px; height: 14px; }
.cu-row .ct { color: rgba(233, 235, 245, .45); margin-left: 6px; }
.cu-row .bar { height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.cu-row .bar i { display: block; height: 100%; border-radius: 9px; }
.cu-row .sz { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.toast { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); color: #fff; font-size: 12px; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); animation: pop .25s ease both; }

@media (max-width: 800px) {
  .win { grid-template-columns: 1fr; height: 500px; }
  .win-side { display: none; }
  .navpill, .win-title { display: none; }
  .win-search { width: 100%; }
  .list-h, .list-r { grid-template-columns: 1fr 64px; } .list-h .d, .list-r .d { display: none; }
  .cu-row { grid-template-columns: 18px 1fr 60px; } .cu-row .bar { display: none; }
  .cu-sum { flex-wrap: wrap; } .cu-sum .acts { margin-left: 0; }
  .mobile-tabs { display: flex !important; }
}
.mobile-tabs { display: none; gap: 6px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.mobile-tabs button { border: 0; background: var(--bg-2); color: var(--ink-2); font: 500 13px/1 var(--font); padding: 9px 13px; border-radius: 99px; cursor: pointer; }
.mobile-tabs button.on { background: var(--ink); color: #fff; }

/* ---- Feature sections ---- */
.feature { padding: 120px 0 0; }
.feature .grid2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature.flip .grid2 { grid-template-columns: 1.25fr 1fr; }
.feature.flip .copy { order: 2; }
.num { font: 600 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.num em { font-style: normal; color: var(--faint); margin: 0 8px; }
.feature h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 18px; max-width: 13ch; }
.feature .copy p { color: var(--mute); font-size: 17.5px; margin-top: 18px; max-width: 30em; }
.feature .copy p + p { margin-top: 12px; }
.feature .copy ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature .copy li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; }
.feature .copy li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 10px; }
.panel { border-radius: 18px; padding: 16px; background: linear-gradient(180deg, #2B3047, #1A1E2F); color: #E9EBF5; font-size: 12.5px; box-shadow: 0 24px 60px -24px rgba(20, 24, 50, .45); position: relative; overflow: hidden; }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .08); margin-bottom: 12px; }
.seg button { border: 0; background: none; color: rgba(233, 235, 245, .65); font: 600 11.5px/1 var(--font); padding: 7px 12px; border-radius: 99px; cursor: pointer; }
.seg button.on { background: rgba(255, 255, 255, .16); color: #fff; }
.panel-top { display: flex; align-items: center; gap: 10px; }
.panel-top .count { margin-left: auto; color: rgba(233, 235, 245, .5); font-size: 11.5px; margin-bottom: 12px; }
.panel .scroller { height: 330px; overflow: hidden; }
@media (max-width: 900px) {
  .feature { padding-top: 88px; }
  .feature .grid2, .feature.flip .grid2 { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .copy { order: 0; }
}

/* keys grid */
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.key-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); }
.key-row .cap { display: flex; gap: 4px; flex: none; }
kbd { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .08), inset 0 0 0 1px var(--line); font: 600 13px/1 var(--font); color: var(--ink); }
.key-row span { color: var(--ink-2); font-size: 15px; }
.key-row s { color: var(--faint); font-size: 12.5px; display: block; text-decoration: none; }
@media (max-width: 600px) { .keys { grid-template-columns: 1fr; } }

/* compare table */
.compare { margin-top: 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 15px 20px; vertical-align: top; }
.compare thead th { font-size: 13px; color: var(--mute); font-weight: 600; background: var(--bg-2); }
.compare thead th:last-child { color: var(--accent); }
.compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare td:first-child { font-weight: 600; width: 28%; }
.compare td:nth-child(2) { color: var(--mute); }
.compare td:last-child { color: var(--ink); }
.compare tr.price-row td { background: var(--accent-soft); }
.compare tr.price-row td:last-child { font-weight: 700; }
@media (max-width: 700px) { .compare th, .compare td { padding: 12px 12px; font-size: 13.5px; } .compare td:first-child { width: auto; } }

/* privacy */
.priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.priv div { background: var(--bg-2); border-radius: 18px; padding: 24px; }
.priv h3 { font-size: 18px; letter-spacing: -.015em; }
.priv p { color: var(--mute); font-size: 15px; margin-top: 6px; }
@media (max-width: 800px) { .priv { grid-template-columns: 1fr; } }

/* pricing */
.pricing { padding: 120px 0 0; text-align: center; }
.pricing h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 18px; }
.buy { margin: 40px auto 0; max-width: 440px; text-align: left; border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20, 24, 50, .35); }
.buy-top { display: flex; align-items: center; gap: 14px; }
.buy-top img { width: 56px; height: 56px; }
.buy-top b { font: 700 21px/1.1 var(--display); display: block; letter-spacing: -.02em; }
.buy-top span { color: var(--mute); font-size: 14px; }
.tag { margin-left: auto; font: 700 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; background: #FDF1DC; color: #9A5B07; }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.price s { color: var(--faint); font: 500 24px var(--display); }
.price b { font: 700 60px/1 var(--display); letter-spacing: -.04em; }
.price span { color: var(--mute); }
.incl { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; }
.incl li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.incl li::before { content: "✓"; flex: none; color: var(--accent); font-weight: 700; }
.buy .btn { width: 100%; }
.buy .after { text-align: center; color: var(--faint); font-size: 13px; margin-top: 14px; }
.buy .after a { color: var(--mute); }

/* FAQ */
.faq-sec { padding: 120px 0 0; }
.faq-sec h2 { font-size: clamp(32px, 4vw, 46px); text-align: center; margin-top: 18px; }
.faq-sec .num { display: block; text-align: center; }
.faq { max-width: 760px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font: 600 17px/1.35 var(--font); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 300; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); padding: 0 0 20px; }
.faq a { color: var(--accent); }

/* closing + footer */
.closing { text-align: center; padding: 130px 0 110px; }
.closing img { width: 112px; height: 112px; margin: 0 auto 24px; }
.closing h2 { font-size: clamp(32px, 4vw, 48px); }
.closing p { color: var(--mute); margin-top: 12px; }
.closing .btn { margin-top: 26px; }
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0 48px; font-size: 13.5px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }
footer .legal { flex-basis: 100%; font-size: 12px; color: var(--faint); }

/* legal + thanks pages */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); }
.doc .updated { color: var(--faint); font-size: 14px; margin: 10px 0 32px; }
.doc h2 { font-size: 20px; margin: 34px 0 8px; letter-spacing: -.015em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p + p { margin-top: 10px; }
.doc a { color: var(--accent); }
.doc code { font-family: var(--mono); font-size: .9em; }
.summary-box { background: var(--bg-2); border-radius: var(--r); padding: 18px 22px; }
.thanks { max-width: 620px; margin: 0 auto; padding: 64px 24px 96px; text-align: center; }
.thanks > img { width: 112px; height: 112px; margin: 0 auto 20px; }
.thanks h1 { font-size: clamp(32px, 5vw, 44px); }
.thanks .lede { color: var(--mute); font-size: 18px; margin: 12px 0 34px; }
.steps { display: grid; gap: 12px; text-align: left; counter-reset: step; }
.step { position: relative; background: var(--bg-2); border-radius: var(--r); padding: 20px 22px 22px 66px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 14px/28px var(--font); text-align: center; }
.step b { display: block; font: 650 17.5px/1.3 var(--display); }
.step p { color: var(--mute); font-size: 15px; margin-top: 4px; }
.step .btn { margin-top: 14px; }
.keybox { display: flex; gap: 10px; align-items: center; margin: 12px 0 6px; padding: 9px 9px 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.keybox[hidden] { display: none; }
.keybox code { flex: 1; font: 14px var(--mono); overflow-wrap: anywhere; user-select: all; }
.notice { display: none; border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; background: #FDECEC; font-size: 15px; }
.help { margin-top: 28px; font-size: 13.5px; color: var(--faint); }
.help a { color: var(--mute); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .caret { display: none; }
}

/* ---- 05 Extras: "Also included" ---- */
.extras-sub { color: var(--mute); font-size: 18px; margin-top: 16px; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.xcard { background: var(--bg-2); border-radius: 26px; padding: 12px 12px 28px; display: flex; flex-direction: column; }
.xcard h3 { font-size: 20px; font-weight: 700; letter-spacing: -.018em; margin: 26px 18px 0; }
.xcard p { color: var(--mute); font-size: 15.5px; line-height: 1.55; margin: 8px 18px 0; }
.xcard kbd { min-width: 0; height: 22px; padding: 0 6px; font-size: 11.5px; border-radius: 6px; vertical-align: 1px; }
.xviz { position: relative; background: #fff; border-radius: 18px; padding: 20px 18px; min-height: 200px; display: flex; flex-direction: column; justify-content: center; gap: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-size: 13px; overflow: hidden; }
@media (max-width: 960px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .extras { grid-template-columns: 1fr; } }

/* shared mini rows */
.mini-rows { display: grid; gap: 6px; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; }
.mrow span { margin-left: auto; color: var(--faint); font-weight: 400; font-size: 12px; }
.mrow.hover { background: #FDEEF0; }
.mrow.sel { background: var(--accent-soft); }
.dot { width: 10px; height: 13px; border-radius: 2.5px; background: var(--c); flex: none; opacity: .85; }
.trash-pill { margin-left: auto; display: grid; place-items: center; width: 26px; height: 22px; border-radius: 7px; background: rgba(229, 72, 77, .12); color: #D5455D; }
.trash-pill svg { width: 13px; height: 13px; }
.mini-toast { align-self: center; margin-top: 6px; font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--ink); color: #fff; }

/* duplicates */
.dup-head { font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
.dup-head span { font-weight: 500; color: var(--faint); margin-left: 6px; font-size: 12px; }
.mrow .keep, .mrow .bin { margin-left: auto; font-size: 11px; padding: 4px 9px; border-radius: 7px; }
.mrow .keep { background: #E3F5EC; color: #1E7F52; }
.mrow .bin { background: #FDEEF0; color: #C8384F; }

/* downloads by source */
.src { display: grid; grid-template-columns: 28px 1fr auto; grid-template-rows: auto 5px; column-gap: 10px; row-gap: 6px; align-items: center; padding: 8px 4px; font-weight: 600; }
.src b { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 11px; }
.src span { color: var(--faint); font-weight: 500; font-size: 12px; }
.src i { grid-column: 2 / 4; height: 5px; border-radius: 9px; background: linear-gradient(90deg, var(--accent) var(--w), var(--bg-2) var(--w)); }

/* OCR */
.ocr { position: relative; }
.ocr-img { height: 130px; border-radius: 14px; background: linear-gradient(140deg, #2E3550, #4B5578); display: grid; place-items: center; }
.ocr .sel { font: 600 13px/1.6 var(--mono); color: #fff; background: rgba(74, 87, 238, .45); box-shadow: 0 0 0 1.5px #8C97FF; border-radius: 6px; padding: 6px 10px; }
.ocr .copied { position: absolute; right: 10px; bottom: -10px; font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: var(--accent); color: #fff; box-shadow: 0 6px 14px rgba(74, 87, 238, .35); }

/* quick search */
.spot { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(20, 24, 50, .3); font-weight: 600; margin-bottom: 4px; }
.spot svg { width: 14px; height: 14px; color: var(--faint); }
.spot kbd { margin-left: auto; }

/* menu bar */
.menubar { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 10px; background: var(--bg-2); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.menubar b { margin-left: auto; display: grid; place-items: center; width: 24px; height: 20px; border-radius: 6px; background: var(--accent); color: #fff; }
.menubar b svg { width: 12px; height: 12px; }
.drop { display: grid; gap: 4px; margin-left: auto; width: 86%; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -16px rgba(20, 24, 50, .35); }
.drop .mrow { background: none; padding: 8px 10px; }
.drop .mrow:first-child { background: var(--accent-soft); }

/* batch rename */
.ren { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); font-size: 12.5px; }
.ren s { color: var(--faint); text-decoration: none; font-family: var(--mono); font-size: 11.5px; }
.ren span { color: var(--accent); font-weight: 700; }
.ren b { font-weight: 600; }

/* inspector */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stats div { padding: 14px; border-radius: 14px; background: var(--bg-2); }
.stats b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.stats span { color: var(--faint); font-size: 11.5px; font-weight: 500; }

/* folder sizes */
.sizes { display: grid; gap: 4px; }
.sizes > div { display: grid; grid-template-columns: 1fr 70px 70px; padding: 9px 12px; border-radius: 10px; align-items: center; }
.sizes > div:not(.sz-h) { background: var(--bg-2); font-weight: 600; }
.sz-h { font-size: 11px; color: var(--faint); font-weight: 600; }
.sizes s { color: var(--faint); text-decoration: none; }
.sizes b { color: var(--accent-ink); text-align: right; }
.sizes .sz-h span:last-child { text-align: right; }

/* four panes + coming soon */
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pane { border-radius: 12px; background: var(--bg-2); padding: 10px; display: grid; gap: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.pane.on { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.pane b { font-size: 12px; font-weight: 700; }
.pane i { height: 7px; border-radius: 4px; background: #DCDDE6; }
.pane i:nth-of-type(2) { width: 75%; } .pane i:nth-of-type(3) { width: 55%; }
.pane.on i { background: #C9CEFB; }
.xcard.wide { grid-column: span 2; }
.soon .xviz { justify-content: flex-start; }
.soon-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: #FDF1DC; color: #9A5B07; margin-bottom: 6px; }
.road { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.road div { display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-weight: 700; font-size: 13.5px; }
.road i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-top: 4px; }
.road span { grid-column: 2; color: var(--mute); font-weight: 500; font-size: 12px; margin-top: 2px; }
@media (max-width: 960px) { .xcard.wide { grid-column: span 2; } }
@media (max-width: 640px) { .xcard.wide { grid-column: auto; } .road { grid-template-columns: 1fr; } }

/* ---- Real screenshots ---- */
.shot-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--bg-2); margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.shot-tabs button { border: 0; background: none; color: var(--ink-2); font: 600 14px/1 var(--font); padding: 10px 16px; border-radius: 99px; cursor: pointer; }
.shot-tabs button.on { background: var(--ink); color: #fff; }
.shot-frame { margin: 0; border-radius: 14px; overflow: hidden; background: #17191e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 30px 70px -20px rgba(20, 24, 50, .45), 0 10px 24px -12px rgba(20, 24, 50, .3); }
.shot-frame img { display: block; width: 100%; height: auto; }
.feature .shot-frame { border-radius: 12px; }
.xviz.shot { padding: 0; min-height: 0; aspect-ratio: 1000 / 699; background: #17191e; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.xviz.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.soon .xviz.shot { display: grid; place-items: center; place-content: center; aspect-ratio: auto; flex: 1 1 auto; min-height: 190px; background: #2a2f3d; }
.soon .xviz.shot img { position: absolute; inset: 0; transform: scale(1.06); filter: brightness(1.08) saturate(1.1); }
.soon .xviz.shot .soon-tag { position: relative; margin: 0; align-self: center; justify-self: center; font-size: 13px; padding: 9px 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
@media (max-width: 640px) {
  .shot-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; justify-content: flex-start; scrollbar-width: none; }
  .shot-tabs::-webkit-scrollbar { display: none; }
  .shot-tabs button { flex: none; }
}
