/* tail.family/download/ — the TAIL extension's page. Same language as /token/ (token.css): the shell, Geist, the big
   tight headline with one blue word, the blue button with a hard shadow. Served by the tail-beta project and routed
   in by the site (site/vercel.json), so fonts and the shell come from the site's own /assets. */
@font-face{font-family:Geist;src:url('/assets/fonts/geist-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Geist;src:url('/assets/fonts/geist-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Geist;src:url('/assets/fonts/geist-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Geist;src:url('/assets/fonts/geist-700.woff2') format('woff2');font-weight:700;font-display:swap}

:root{--dl-card:var(--tail-card,#fff);--dl-shadow:color-mix(in srgb,var(--tail-blue-deep,#093bc6) 78%,#000)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--tail-paper);color:var(--tail-ink);font-family:var(--tail-font);-webkit-font-smoothing:antialiased}
h1,h2,h3,p{margin:0}
a{color:inherit}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;background:var(--tail-blue-light);border-radius:6px;padding:2px 6px;overflow-wrap:anywhere}
.dl-wrap{width:calc(100% - 112px);max-width:1280px;margin-inline:auto}
.dl-eyebrow{font-size:11px;font-weight:600;letter-spacing:1.3px;line-height:1.5;color:var(--tail-blue-text,var(--tail-blue))}

/* Hero: the copy and the button on the left, the product on a chart on the right. */
.dl-hero{display:grid;grid-template-columns:.92fr 1.08fr;gap:56px;align-items:center;padding-top:76px;padding-bottom:88px}
.dl-hero h1{margin:22px 0 26px;font-size:clamp(64px,7vw,104px);font-weight:700;letter-spacing:-.078em;line-height:.98}
.dl-hero h1 em{font-style:normal;color:var(--tail-blue);display:inline-block;rotate:-3deg;position:relative}
.dl-hero h1 em:after{content:'';position:absolute;left:3%;right:-4%;bottom:-6px;height:6px;border-radius:50%;background:var(--tail-blue);rotate:1deg}
.dl-lede{max-width:430px;font-size:17px;line-height:1.62;letter-spacing:-.1px;color:var(--tail-muted)}
.dl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:34px}
.dl-button{display:inline-flex;align-items:center;justify-content:space-between;gap:34px;min-height:56px;padding:17px 22px;background:var(--tail-blue-fill,var(--tail-blue));color:#fff;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 0 var(--dl-shadow);transition:translate .15s var(--tail-ease),box-shadow .15s var(--tail-ease)}
.dl-button span{font-size:19px;line-height:1}
.dl-button:hover{translate:0 -2px;box-shadow:0 6px 0 var(--dl-shadow)}
.dl-button:active{translate:0 2px;box-shadow:0 2px 0 var(--dl-shadow)}
.dl-button:focus-visible,.dl-text-link:focus-visible,.dl-copy:focus-visible{outline:2px solid var(--tail-blue);outline-offset:4px}
.dl-text-link{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:500;padding:12px 0;text-decoration:none}
.dl-text-link:hover{color:var(--tail-blue-text,var(--tail-blue))}
.dl-text-link span{font-size:18px}
.dl-meta{margin-top:20px;font-size:12px;color:var(--tail-muted);font-variant-numeric:tabular-nums}
.dl-note{margin-top:14px;max-width:430px;padding:12px 14px;border-radius:10px;background:var(--tail-blue-light);font-size:13px;line-height:1.5}
.dl-shot{margin:0;min-width:0}
.dl-shot img{display:block;width:100%;height:auto;border-radius:22px;box-shadow:0 30px 70px -28px var(--tail-shadow,rgba(11,31,90,.28)),0 0 0 1px var(--tail-line);rotate:1.2deg}

/* Install: four cards on the blue-light band, each with a small drawing of what Chrome shows at that step. */
.dl-install{background:var(--tail-blue-light);border-block:1px solid var(--tail-line);padding-block:96px}
.dl-install-head{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:24px 60px}
.dl-install-head .dl-eyebrow{grid-column:1/-1}
.dl-install-head h2{font-size:clamp(40px,4.4vw,60px);font-weight:600;letter-spacing:-.055em;line-height:1.02}
.dl-install-head>p:last-child{max-width:420px;justify-self:end;font-size:15px;line-height:1.65;color:var(--tail-muted)}
.dl-steps{list-style:none;margin:56px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.dl-step{background:var(--dl-card);border:1px solid var(--tail-line);border-radius:18px;padding:18px 20px 24px;display:grid;grid-template-rows:auto auto auto 1fr;gap:10px;min-width:0}
.dl-step h3{font-size:19px;font-weight:600;letter-spacing:-.4px}
.dl-step p{font-size:14px;line-height:1.6;color:var(--tail-muted)}
.dl-step p b{color:var(--tail-ink);font-weight:600}
.dl-num{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--tail-blue);color:#fff;font-size:13px;font-weight:700;margin-top:6px}
.dl-older{margin-top:22px;font-size:14px;line-height:1.6;color:var(--tail-muted)}
.dl-older b{color:var(--tail-ink);font-weight:600}
.dl-copy{margin-left:6px;border:1px solid var(--tail-line);background:var(--dl-card);color:var(--tail-blue-text,var(--tail-blue));font:inherit;font-size:11px;font-weight:600;padding:2px 9px;border-radius:999px;cursor:pointer;vertical-align:1px}

.dl-art{height:122px;border-radius:12px;background:var(--tail-surface);border:1px solid var(--tail-line);display:flex;align-items:center;justify-content:center;gap:16px;padding:14px;overflow:hidden}
.dl-zip{width:50px;height:auto}
.dl-art-arrow{font-size:22px;color:var(--tail-muted)}
.dl-folder{display:grid;justify-items:center;gap:6px}
.dl-folder svg{width:58px;height:auto}
.dl-folder i{font-style:normal;font-size:11px;font-weight:600;color:var(--tail-ink)}
.dl-mock{width:100%;background:var(--dl-card);border:1px solid var(--tail-line);border-radius:10px;font-size:12px;box-shadow:0 8px 18px -12px var(--tail-shadow,rgba(11,31,90,.28))}
.dl-mock-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px}
.dl-mock-bar b{font-size:14px;font-weight:600}
.dl-toggle-row{display:flex;align-items:center;gap:8px;color:var(--tail-muted);white-space:nowrap}
.dl-toggle{position:relative;width:34px;height:18px;border-radius:999px;background:var(--tail-blue);box-shadow:0 0 0 4px color-mix(in srgb,var(--tail-blue) 22%,transparent)}
.dl-toggle:after{content:'';position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#fff}
.dl-mock-buttons{display:flex;flex-wrap:wrap;gap:7px;padding:14px}
.dl-mock-btn{padding:6px 9px;border:1px solid var(--tail-line);border-radius:7px;color:var(--tail-muted);font-size:11px;white-space:nowrap}
.dl-mock-btn.is-hot{color:var(--tail-blue-text,var(--tail-blue));border-color:var(--tail-blue);font-weight:600;box-shadow:0 0 0 4px color-mix(in srgb,var(--tail-blue) 18%,transparent)}
.dl-mock-toolbar{display:flex;align-items:center;gap:12px;padding:12px 14px;color:var(--tail-muted)}
.dl-mock-url{flex:1;height:22px;border-radius:999px;background:var(--tail-surface);border:1px solid var(--tail-line)}
.dl-puzzle{width:20px;height:20px}
.dl-pin{border-radius:7px;padding:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tail-blue) 18%,transparent);background:var(--tail-blue-light)}

/* After: three short facts, no cards — the page ends quietly. */
.dl-after{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;padding-block:88px}
.dl-after h3{font-size:22px;font-weight:600;letter-spacing:-.5px;margin-bottom:10px}
.dl-after p{font-size:15px;line-height:1.65;color:var(--tail-muted)}
.dl-after a{color:var(--tail-blue-text,var(--tail-blue));text-decoration:none;font-weight:500}

.dl-footer{border-top:1px solid var(--tail-line);padding-top:40px;padding-bottom:30px}
.dl-footer-top{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}
.dl-footer-top p{margin-top:10px;font-size:12px;color:var(--tail-muted)}
.dl-footer nav{display:flex;flex-wrap:wrap;gap:22px;font-size:12px}
.dl-footer nav a{text-decoration:none}
.dl-footer nav a:hover{color:var(--tail-blue-text,var(--tail-blue))}
.dl-footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:40px;padding-top:18px;border-top:1px solid var(--tail-line);font-size:10px;color:var(--tail-muted);letter-spacing:.3px}
.dl-footer-bottom a{text-decoration:none}
.dl-footer .tail-logo{display:inline-flex;align-items:center;gap:8px;font-size:30px;font-weight:700;font-style:italic;letter-spacing:-2px;color:var(--tail-wordmark,var(--tail-blue));text-decoration:none}

/* Four across only where a card is wide enough for its drawing: measured, the Developer-mode bar needs ~300px, so
   between 1101 and 1439 the four cards (234–300px) overflowed their mocks — the toggle stuck out and "Load unpacked"
   was clipped (David's screenshot, 2026-09-22). Two across until 1440. */
@media(max-width:1439px){.dl-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.dl-wrap{width:calc(100% - 64px)}.dl-hero{gap:36px}}
@media(max-width:820px){.dl-hero{grid-template-columns:1fr;padding-top:52px;padding-bottom:64px}.dl-shot img{rotate:0deg}.dl-install{padding-block:68px}.dl-install-head{grid-template-columns:1fr}.dl-install-head>p:last-child{justify-self:start}.dl-after{grid-template-columns:1fr;gap:30px;padding-block:64px}}
@media(max-width:620px){html{scroll-padding-top:84px}.dl-wrap{width:calc(100% - 32px)}.dl-hero h1{font-size:clamp(52px,15vw,72px)}.dl-lede{font-size:15px}.dl-steps{grid-template-columns:1fr;margin-top:36px}.dl-footer-top,.dl-footer-bottom{flex-direction:column}.tail-global-nav>a[href="/#invite"]{display:none}}
@media(max-width:370px){.dl-button{gap:18px;padding-inline:16px}.dl-actions{gap:10px 18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* ── On the stage (brand/tail/stage-kit.css, David 2026-09-22: "the comic treatment … build it the furthest") ──
   The page's tokens read white-on-blue under body.stage-page; the install cards and notes are .st-card, so they keep
   the theme's own values. What's below is only this page's placement of the kit's objects. */
.stage-page .dl-hero h1 em.st-sticker::after { content: none; }
.stage-page .dl-hero h1 em.st-sticker { margin-top: .08em; margin-left: -.04em; }
.stage-page .dl-install-head h2 em.st-sticker { font-size: .92em; margin-top: .1em; }
.stage-page .dl-install { background: transparent; border-color: rgba(255, 255, 255, .16); }
.stage-page .dl-install-head { position: relative; }
.stage-page .dl-step { border: 0; }
.stage-page .dl-eyebrow { color: rgba(255, 255, 255, .92); }
.stage-page .dl-meta, .stage-page .dl-older { color: rgba(255, 255, 255, .86); }
.stage-page .dl-older b { color: #fff; }
.stage-page .dl-after a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stage-page .dl-footer, .stage-page .dl-footer-bottom { border-color: rgba(255, 255, 255, .2); }
.stage-page .dl-footer .tail-logo { color: #fff; }

/* The product shot, with the stage's stickers on it. */
.stage-page .dl-shot { position: relative; }
.stage-page .dl-shot img { box-shadow: 0 12px 0 var(--st-ink), 0 30px 70px -28px rgba(3, 11, 34, .5); border: 6px solid #fff; }
.dl-chip-free, .dl-chip-in { position: absolute; z-index: 2; font-size: 14px; padding: 8px 13px; }
/* Each chip sits on the white frame over empty blue, never on the picture's words (David, 2026-09-23, on his phone: "the
   pill blocks the image" — "free" covered "See who's in." and "+ tail" the overlay's corner). The picture is fixed
   (whos-in.png): the band above the terminal (x 20-65%, y < 13%) and the corner under the overlay (x > 70%, y > 88%)
   are empty at every width, so the chips straddle the frame there. Measured at 390 / 820 / 1280 / 1600. */
.dl-chip-free { left: 24%; top: -15px; }
.dl-chip-in { right: 5%; bottom: -15px; }
.dl-spark-a, .dl-spark-b { position: absolute; z-index: 2; font-size: 34px; }
.dl-spark-a { right: 8%; top: -34px; }
.dl-spark-b { left: 6%; bottom: -30px; font-size: 26px; }

/* The family birds, each wearing its word, as on the landing's sections — and each inside its own section, clear of
   text (David, 2026-09-22: "this section line intersects the sprite"). Placement measured against every section
   border and every text line at 1600…320. */
.dl-install-bird, .dl-after-bird { position: absolute; pointer-events: none; }
.dl-install-bird img, .dl-after-bird img { width: 100%; height: auto; }
.dl-install-bird { right: 0; top: -40px; width: 170px; rotate: 4deg; }
.stage-page .dl-after { position: relative; }
.dl-after-bird { right: 0; top: 14px; width: 150px; rotate: -5deg; }
@media(max-width:1100px){.dl-install-bird{width:140px;top:-36px}.dl-after-bird{width:96px;top:16px}}
@media(max-width:820px){.dl-install-bird,.dl-after-bird{position:static;display:block}.dl-install-bird{width:150px;margin-top:6px;rotate:2deg}.dl-after-bird{width:140px;order:-1}}
@media(max-width:620px){.dl-chip-free,.dl-chip-in{font-size:12px;padding:6px 10px}.dl-spark-a{top:-26px;font-size:26px}}
