/* Product directory */
.desktop-directory { margin-block: 4.5rem; }
.desktop-directory h2, .desktop-product .screens h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -.06em; line-height: 1.1; margin: 0 0 1.2rem;
}
.desktop-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.desktop-cards a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: clamp(1rem,2.2vw,1.8rem); border-radius: 1.25rem; color: #f5fff9; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.desktop-cards a:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #19374224; }
.directory-docks { background: linear-gradient(115deg,#133e40,#225c56); }
.directory-harbor { background: linear-gradient(115deg,#2c243c,#504368); }
.desktop-cards img { border-radius: 14px; }
.desktop-cards h3 { color: inherit; font-size: clamp(1.2rem,2vw,1.65rem); margin: 0; line-height: 1.12; letter-spacing: -.045em; }
.desktop-cards p { color: #e3eae8; margin: .35rem 0 0; font-size: .95rem; }
.desktop-cards a > span { font-size: .82rem; border: 1px solid #ffffff50; padding: .22rem .62rem; border-radius: 2rem; white-space: nowrap; }

/* The two desktop product pages share the site navigation and release gallery. */
.desktop-product { --accent: #195f56; --paper: #f7faf6; --hair: #d5dfd9; color: #153a38; background: var(--paper); }
.desktop-product.night { --accent: #65448d; --paper: #f9f7fc; --hair: #ded8e7; color: #302637; }
.desktop-product::before { display: none; }
.tool-shell { width: min(calc(100% - 48px),1240px); margin: 0 auto; padding-bottom: 4.5rem; }
.tool-crumb { display: flex; align-items: center; gap: .7rem; font-size: .9rem; margin: 1.5rem 0 .85rem; }
.tool-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.tool-crumb span { opacity: .45; }
.tool-hero { background: #103d3d; color: #f5fbf5; border-radius: 1.65rem; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.15fr 1fr; position: relative; }
.hero-copy { padding: clamp(1.6rem,4vw,3.5rem); z-index: 1; position: relative; }
.app-mark { display: block; width: 42px; height: 42px; border-radius: 10px; outline: 1px solid #ffffff38; }
.tool-hero h1 { font: 680 clamp(3.65rem,6.3vw,6.4rem)/.88 system-ui,sans-serif; letter-spacing: -.075em; margin: 1.25rem 0 1.3rem; color: inherit; }
.tool-lead { max-width: 33ch; font-size: clamp(1.05rem,1.55vw,1.25rem); line-height: 1.45; color: #d2e5df; margin: 0; }
.release-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.release-actions > * { display: inline-flex; align-items: center; gap: .65rem; border-radius: .65rem; padding: .8rem 1rem; line-height: 1.2; font-size: .95rem; font-weight: 680; }
.portable { background: #ffcc77; color: #26372f; text-decoration: none; }
.portable:hover { background: #ffdaa0; }
.release-meta { margin: .85rem 0 0; font-size: .83rem; color: #cee0d9; }
.release-meta span { padding-inline: .18rem; }
.release-meta a,.file-details a,.screen-stage figcaption a { text-decoration: underline; text-underline-offset: .2em; }
.dock-art,.harbor-art { min-width: 0; align-self: stretch; position: relative; overflow: hidden; }
.dock-art { background: radial-gradient(ellipse at 58% 45%,#327d70 0%,#195551 55%,#103d3d 87%); }
.dock-art::before { content:""; position:absolute; inset:0; background: repeating-linear-gradient(30deg,transparent 0 38px,#a9e0cb17 38px 39px),repeating-linear-gradient(-30deg,transparent 0 38px,#a9e0cb17 38px 39px); mask-image: radial-gradient(ellipse,#000 35%,transparent 77%); }
.layers { position:absolute; left:50%; top:50%; width:64%; aspect-ratio:1.15; transform:translate(-50%,-53%); }
.plate { position:absolute; inset:0; transform:rotate(-30deg) skewX(25deg) scaleY(.73); border-radius:5%; border:2px solid #c2f6dd; }
.base { top:22%; bottom:-22%; background:#214c4d; box-shadow:-8px 9px #113c3c, -26px 34px 35px #072c2e80; }
.mid { top:11%; bottom:-11%; background:repeating-linear-gradient(90deg,#568f81 0 13%,#487e73 13% 14%); box-shadow:-5px 7px #2d685f; }
.tiles { padding:2.5%; background:#254e4d; display:grid; grid-template:repeat(6,1fr)/repeat(8,1fr); gap:2%; box-shadow:-5px 7px #366b60; }
.tiles i { border-radius:5%; box-shadow:inset 1px 1px 0 #ffffff65; }
.tiles i:nth-child(1){grid-area:1/1/5/5;background:#ffbd66}.tiles i:nth-child(2){grid-area:5/1/7/5;background:#e89f56}
.tiles i:nth-child(3){grid-area:1/5/4/9;background:#a3e0c9}.tiles i:nth-child(4){grid-area:4/5/7/7;background:#75bfa9}
.tiles i:nth-child(5){grid-area:4/7/5/9;background:#d3ecba}.tiles i:nth-child(6){grid-area:5/7/7/8;background:#8bbdaa}.tiles i:nth-child(7){grid-area:5/8/7/9;background:#549b90}
.night .tool-hero { background: #241e34; }
.night .tool-lead {color:#e0d9ea}
.development { display:inline-flex; align-items:center; gap:.7rem; padding:.55rem .9rem; margin-top:1.6rem; border-radius:30px; background:#453853; color:#fce8bc; font-weight:650; }
.status-lamp {width:.6rem;height:.6rem;background:#ffce77;border-radius:50%}
.harbor-art { background: radial-gradient(ellipse at 68% 70%,#73587c,#40314e 55%,#241e34 90%); }
.moon {position:absolute;right:19%;top:17%;width:9%;aspect-ratio:1;border-radius:50%;background:#ffdfa7;box-shadow:0 0 50px #fdd59025}
.horizon {position:absolute;inset:0;background:repeating-radial-gradient(ellipse at 65% 68%,transparent 0 48px,#f3dbff13 49px 50px,transparent 51px 76px)}
.beacon {position:absolute;inset:18% 0 18%;}
.tower,.lamp,.roof,.rays {position:absolute;}
.tower {bottom:0;left:46%;width:21%;height:69%;clip-path:polygon(28% 0,72% 0,100% 100%,0 100%);background:repeating-linear-gradient(-20deg,#ebe7ec 0 20%,#a99ac5 20% 34%);}
.lamp {bottom:69%;left:51%;width:11%;height:9%;background:#ffdd8a;box-shadow:0 0 25px #ffd68e88;border-inline:4px solid #aa97bf}
.roof {bottom:78%;left:48%;width:17%;height:9%;background:#cbc0db;clip-path:polygon(50% 0,100% 100%,0 100%)}
.rays {left:0;right:0;bottom:56%;height:34%;background:linear-gradient(90deg,transparent,#ffdb955e 34%,#ffd793bb 55%,#ffe5ad50 78%,transparent);clip-path:polygon(0 0,55% 46%,100% 0,100% 95%,55% 53%,0 96%)}
.sea {position:absolute;bottom:0;inset-inline:0;height:20%;background:repeating-linear-gradient(170deg,#504365 0 16px,#635278 17px 20px,#493d5d 22px 42px);clip-path:polygon(0 28%,17% 18%,30% 21%,48% 0,62% 3%,77% 23%,90% 11%,100% 20%,100% 100%,0 100%)}
.screens { margin: clamp(2rem,5vw,4.7rem) auto 0; }
.screens-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
.desktop-product .screens h2 { margin:0; }
.screen-switches { display:flex; flex-wrap:wrap; gap:.25rem; }
.screen-switches button {line-height:1.3;font-family:inherit;font-weight:600;font-size:.93rem;cursor:pointer;color:inherit;background:transparent;border:1px solid transparent;border-radius:1.2rem;padding:.5rem .8rem;}
.screen-switches button[aria-pressed=true] { background:var(--accent);color:white; }
.screen-switches button:hover:not([aria-pressed=true]) {border-color:var(--hair)}
.screen-stage {padding:clamp(.5rem,2.7vw,2.3rem);border-radius:1.1rem;background:#ddeae2;border:1px solid #ccddd3;}
.night .screen-stage {background:#e6dfed;border-color:#d9cde2}
.screen-stage figure {margin:0}
.screen-stage figure+figure:not([hidden]) {margin-top:.8rem}
.screen-stage img {display:block;width:100%;height:auto;border-radius:.5rem;box-shadow:0 6px 18px #163c3321;}
.screen-stage figcaption {display:flex;justify-content:space-between;gap:.7rem;margin:.8rem .15rem 0;font-size:.9rem}
.screen-stage a:focus-visible,.tool-hero a:focus-visible,.screen-switches button:focus-visible {outline:3px solid #df9348;outline-offset:3px;}
.file-details { margin-top:1.25rem;border-bottom:1px solid var(--hair);padding:1rem 0; }
.file-details summary {cursor:pointer;font-weight:650;width:fit-content}
.file-details p {margin:.7rem 0;}
.hash {overflow-wrap:anywhere;font-size:.88rem}
@media(max-width:900px){.desktop-cards a {grid-template-columns:auto 1fr;}.desktop-cards a>span{grid-column:2;justify-self:start}.tool-hero{grid-template-columns:1.2fr 1fr}.release-actions{gap:.5rem}}
@media(max-width:670px){
  .tool-shell{width:calc(100% - 28px);padding-bottom:2.5rem}.tool-crumb{margin:1.25rem .25rem .75rem}
  .tool-hero{display:flex;flex-direction:column;border-radius:1.2rem}.tool-hero h1 br{display:none}.tool-hero h1{font-size:clamp(2.95rem,11.3vw,4.4rem);line-height:.97;margin:.9rem 0}
  .hero-copy{padding:1.55rem}.app-mark{width:36px;height:36px}.tool-lead{max-width:36ch}
  .dock-art,.harbor-art{height:clamp(150px,39vw,225px);width:100%}.layers{width:32%;top:47%}.beacon{inset:2% 0 15%;}.tower{width:13%;left:50%}.lamp{width:6%;left:53.5%}.roof{width:10%;left:51.5%}
  .desktop-cards{grid-template-columns:1fr}.desktop-cards a{grid-template-columns:46px 1fr}.desktop-cards img{width:46px;height:46px}.desktop-cards a>span{grid-column:2}
  .desktop-directory{margin-block:2.75rem}.screens-head{gap:.75rem}.screen-switches button{padding:.45rem .6rem}
}


/* Homepage desktop app features */
.desktop-showcase { padding-top: clamp(3.5rem, 7vw, 7rem); scroll-margin-top: 5rem; }
.desktop-showcase h2 {
  margin: 0 0 1.7rem; color: var(--ink);
  font: 500 clamp(2.6rem, 5vw, 4.2rem)/1.05 Georgia, serif; letter-spacing: -.05em;
}
.app-feature {
  --surface: #123f40; --panel: #205e58; --tint: #a8dfc9; --copy: #d5eae4;
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  color: #fff; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
}
.app-feature--harbor { --surface: #2b243d; --panel: #4d405e; --tint: #f2d89f; --copy: #e6dfef; margin-top: 1.4rem; }
.app-feature-copy { padding: clamp(1.6rem, 4vw, 3.6rem); align-self: center; }
.app-feature-copy > img { display: block; width: 3.6rem; height: auto; border-radius: .8rem; }
.app-feature .app-platform {
  margin: 1.45rem 0 .45rem; color: var(--tint); font-size: .875rem; font-weight: 650; letter-spacing: .03em;
}
.app-feature h3 { margin: 0; color: inherit; font: 500 clamp(2.4rem, 3.7vw, 3.8rem)/1.06 Georgia, serif; letter-spacing: -.055em; }
.app-feature-copy > p:not(.app-platform) { max-width: 38ch; color: var(--copy); font-size: 1.05rem; line-height: 1.55; margin: 1rem 0 0; }
.app-feature-links { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; margin-top: 1.7rem; }
.app-feature-links a { text-decoration: underline; text-underline-offset: .22em; color: inherit; font-size: .92rem; }
.app-feature-links .app-feature-action { display: inline-block; padding: .65rem 1.05rem; border-radius: 2rem; color: var(--surface); background: var(--tint); font-weight: 750; text-decoration: none; }
.app-feature-links a:hover, .scan-banner a:hover strong { text-decoration: underline; }
.app-feature-links a:focus-visible, .scan-banner a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.app-feature-screen {
  margin: 0; padding: clamp(1.15rem, 3.4vw, 3.2rem); display: grid; align-content: center;
  background-color: var(--panel);
  background-image: radial-gradient(#ffffff27 1px, transparent 1px);
  background-size: 14px 14px;
}
.app-feature--harbor .app-feature-screen { background-image: repeating-radial-gradient(ellipse at 100% 100%,transparent 0 39px,#ffffff0d 40px 41px,transparent 42px 80px); background-size: auto; }
.app-feature-screen img { display: block; width: 100%; height: auto; border-radius: .45rem; box-shadow: 0 12px 26px #041c2440; }
.app-feature-screen figcaption { display: flex; justify-content: space-between; gap: .75rem; margin-top: .8rem; color: #fff; font-size: .875rem; font-weight: 650; }
.app-feature-screen figcaption span { color: var(--copy); font-weight: 400; }

/* The linked counts are a dated snapshot of this release. */
.scan-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
  margin-top: 1rem; padding: 1.25rem clamp(1.2rem, 2.5vw, 2.1rem);
  background: #e4f1eb; border: 1px solid #b9d5c8; border-inline-start: 5px solid #2d7461;
  border-radius: .85rem; color: #163f38; scroll-margin-top: 6rem;
}
.scan-banner h2 { font-family: inherit; font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin: 0; }
.scan-banner p, .scan-results span { font-size: .875rem; color: #3b6056; }
.scan-banner p { margin: .25rem 0 0; }
.scan-results { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; }
.scan-results a { display: grid; gap: .15rem; min-height: 44px; align-content: center; color: inherit; }
.scan-results strong { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 740px) {
  .app-feature { grid-template-columns: minmax(0, 1fr); }
  .app-feature-screen { padding: 1.1rem; }
  .app-feature-copy > p:not(.app-platform) { max-width: 50ch; }
}
