/* The account's pages and the pages a form lands on (templates/{signin,sent,account,thanks,soon,notfound}.html,
   partials/account.html), in /download's shell: its hero, its pane with the viewfinder's corners, its email field and
   its rows. This holds only what they add: a hero that fills the window when it is the whole page, the mark over it,
   the license keys with their Copy, the license's details, and its open places. Sizes in --u, as download.css. */

.ac a { white-space: nowrap; }
/* A touch screen's light is laid in the page, half a window taller than it (home.css, .mesh.is-paged); these pages
   can be shorter than that, and must not scroll on into nothing past the footer. */
.ac { overflow: clip; }

/* ------------------------------------------------------------------ the hero */
/* Alone on its page, the hero takes the window, so the footer is never half way up it. Over a pane, it leaves the
   pane the room under it. */
.ac-hero .dl-hero__in { min-height: max(calc(520 * var(--u)), calc(100svh - 200px)); box-sizing: border-box; padding-bottom: calc(120 * var(--u)); }
.ac-hero--top .dl-hero__in { min-height: 0; padding-bottom: calc(34 * var(--u)); }
.ac-hero .dl-kicker + h1 { margin-top: calc(20 * var(--u)); }
.ac-hero .dl-hero__lead b { font-weight: 500; color: #fff; }
/* Sign out, a quiet link after the address (2026-11-19). */
.ac-out { margin: 0 calc(4 * var(--u)); color: var(--muted); }
.ac-signout { display: inline; }
.ac-signout button { padding: 0; border: 0; background: none; font: inherit; color: #C4C7CC; cursor: pointer; white-space: nowrap;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; transition: color 150ms ease-out, text-decoration-color 150ms ease-out; }
.ac-signout button:hover { color: #fff; text-decoration-color: #FA4C33; }
.ac-hero .dl-hero__lead a { color: #fff; }
.ac-fine { margin-top: calc(18 * var(--u)); max-width: calc(440 * var(--u)); font: 400 calc(13 * var(--u))/1.6 var(--sans); color: var(--muted); }
.ac-fine a { color: #C4C7CC !important; }
.ac-form { margin-top: calc(30 * var(--u)); }
.ac-form .gate-send { padding: 0 calc(20 * var(--u)); }

/* What happened, said once over the field: signed out, or what was wrong with the address. */
.ac-say { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); margin-top: calc(22 * var(--u)); padding: calc(9 * var(--u)) calc(14 * var(--u)); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(10 * var(--u)); font: 450 calc(14 * var(--u))/1.4 var(--sans); color: #E7E9EC; background: rgba(255, 255, 255, 0.03); }
.ac-say::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3FCB7A; box-shadow: 0 0 8px rgba(63, 203, 122, 0.7); }
.ac-say--bad { border-color: rgba(255, 84, 66, 0.45); }
.ac-say--bad::before { background: var(--tally); box-shadow: 0 0 8px rgba(250, 76, 51, 0.8); }
.ac-say + .ac-say { margin-top: calc(10 * var(--u)); }
.ac-say + .ac-form { margin-top: calc(18 * var(--u)); }

/* The mark where /download has its app icon: the tick it draws once a download starts, waiting, or wrong. */
.ac-mark { width: calc(64 * var(--u)); height: calc(64 * var(--u)); }
.gate-tick.ac-mark svg { width: 46%; height: 46%; }
.ac-mark + h1 { margin-top: calc(24 * var(--u)); }
.ac-mark--wait, .ac-mark--bad { display: grid; place-items: center; border-radius: 50%; }
.ac-mark--wait { grid-auto-flow: column; gap: calc(6 * var(--u)); place-content: center; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.ac-mark--wait i { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #E7E9EC; animation: ac-wait 1.2s var(--ease) infinite; }
.ac-mark--wait i:nth-child(2) { animation-delay: 0.15s; }
.ac-mark--wait i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ac-wait { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
html[data-motion="still"] .ac-mark--wait i { animation: none; opacity: 0.7; }
.ac-mark--bad { background: rgba(250, 76, 51, 0.1); box-shadow: inset 0 0 0 1px rgba(250, 76, 51, 0.4), 0 0 24px -6px rgba(250, 76, 51, 0.6); }
.ac-mark--bad svg { width: 46%; height: 46%; fill: none; stroke: var(--tally-hi); stroke-width: 2; stroke-linecap: round; }

/* ------------------------------------------------------------------ the panes */
.ac-body { padding-bottom: calc(110 * var(--u)); }
.ac-list { counter-reset: lic; }
/* The thank you page's panes, in whichever order they come; the account's own gap follows. */
.ac-body .dl-pane + .dl-pane { margin-top: calc(28 * var(--u)); }
.ac-list > .dl-pane + .dl-pane { margin-top: calc(24 * var(--u)); }
.ac-lic { counter-increment: lic; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head macs" "key macs"; column-gap: calc(56 * var(--u)); align-items: start; }
.ac-lic__head { grid-area: head; }
.ac-lic__key { grid-area: key; min-width: 0; }
.ac-lic .ac-macs { grid-area: macs; min-width: 0; }
.ac-list > .ac-step { counter-increment: lic; }
.ac-num::before { content: counter(lic, decimal-leading-zero); }
.ac .dl-pane h2 { margin-bottom: calc(22 * var(--u)); }
.ac .dl-pane__cols > div { min-width: 0; }

/* A key, in the mono a key is read in, with its Copy. */
.ac-key { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(8 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u)) calc(18 * var(--u)); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(12 * var(--u)); background: rgba(5, 5, 7, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.ac-key code { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 500 calc(17 * var(--u))/1.4 var(--mono); letter-spacing: 0.06em; color: #fff; user-select: all; -webkit-user-select: all; }
.ac-copy { flex: none; display: inline-flex; align-items: center; gap: calc(7 * var(--u)); height: calc(36 * var(--u)); padding: 0 calc(13 * var(--u)); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: calc(9 * var(--u));
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12); font: 500 calc(13.5 * var(--u))/1 var(--sans); color: #fff; cursor: pointer; transition: background-color 200ms var(--ease); }
.ac-copy:hover { background: rgba(255, 255, 255, 0.11); }
.ac-copy svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.3; }
.ac-copy.is-done { border-color: rgba(63, 203, 122, 0.5); color: #8FE3B2; }

/* /thanks: a key a row, named for its app in the bundle. */
.ac-keyrow + .ac-keyrow { margin-top: calc(22 * var(--u)); }
.ac-keyrow__for { margin-bottom: calc(10 * var(--u)); font: 500 calc(15 * var(--u))/1.3 var(--sans); color: #fff; }
.ac-keyrow__meta { margin-top: calc(10 * var(--u)); font: 400 calc(12 * var(--u))/1.5 var(--mono); color: var(--muted); }
.ac .dl-then { margin: 0; }
.ac .dl-then li:first-child { margin-top: 0; }
.ac .dl-then span b { font: 600 1em/inherit var(--sans); color: #fff; }
.ac .dl-then__help b { color: #3FCB7A; }
.ac-acts { display: flex; flex-wrap: wrap; gap: calc(12 * var(--u)); margin-top: calc(26 * var(--u)); }
.ac-acts form { display: contents; }
.ac-body .dl-pane__cols > div > .ac-acts { padding-left: calc(40 * var(--u)); }
.ac-list > .ac-acts { justify-content: center; margin-top: calc(40 * var(--u)); }

/* /thanks: How did you hear about Tethery? Its answers are the key's Copy button, a row that wraps. */

/* How they heard: one dropdown and its button on a line, and the line for their own words under it only when the
   answer is Somewhere else (2026-11-19). The fields are /download's (download.css, .gate-select, .gate-field). */
.ac-heard__form { max-width: calc(560 * var(--u)); margin-top: calc(22 * var(--u)); }
.ac-heard__row { display: flex; gap: calc(10 * var(--u)); }
.ac-heard__row > .gate-select, .ac-heard__row > .pick { flex: 1; min-width: 0; }
.ac-heard__row .gate-select, .ac-heard__row .pick__btn { height: calc(48.5 * var(--u)); border-radius: calc(12 * var(--u)); }
.ac-heard__send { flex: none; padding: 0 calc(28 * var(--u)); }
.ac-heard__words { display: none; height: calc(48.5 * var(--u)); margin-top: calc(10 * var(--u)); border-radius: calc(12 * var(--u)); }
.ac-heard__form:has(option[value="other"]:checked) .ac-heard__words { display: block; }
.ac-heard .dl-note { margin-top: calc(10 * var(--u)); }

/* /account: what the license is and what it was bought for. */
.ac-status { display: inline-flex; align-items: center; gap: 6px; margin-left: calc(8 * var(--u)); padding: calc(4 * var(--u)) calc(9 * var(--u)); border: 1px solid rgba(63, 203, 122, 0.4); border-radius: 999px;
  font-size: calc(10.5 * var(--u)); color: #8FE3B2; vertical-align: 1px; }
.ac-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ac-status--refunded { border-color: rgba(250, 76, 51, 0.5); color: var(--tally-hi); }
.ac-kv { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: calc(40 * var(--u)); row-gap: calc(14 * var(--u)); margin: calc(22 * var(--u)) 0 0; }
.ac-kv dt { font: 400 calc(11 * var(--u))/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ac-kv dd { margin: calc(8 * var(--u)) 0 0; font: 450 calc(15 * var(--u))/1.4 var(--sans); color: #E7E9EC; }
.is-refunded .ac-key code { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.3); }

/* The computers, as /download's installers: a row each, and a place drawn open for each one still free. */
.ac-macs { padding-left: calc(40 * var(--u)); padding-top: calc(4 * var(--u)); }
.ac-macs__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: calc(14 * var(--u)); font: 400 calc(12 * var(--u))/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ac-macs__head > span { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); color: #E7E9EC; }
/* A seat each: lit for a computer using it, open for one still free. */
.ac-seats { display: inline-flex; gap: 4px; }
.ac-seats i { width: calc(14 * var(--u)); height: calc(6 * var(--u)); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 2px; }
.ac-seats i.is-on { border-color: transparent; background: var(--tally); box-shadow: 0 0 8px rgba(250, 76, 51, 0.6); }
.ac-macs form { margin: 0; }
.ac-macs button.dl-mini { cursor: pointer; }
.ac-free b { color: var(--muted) !important; font-weight: 450 !important; }
.ac-free i { width: calc(24 * var(--u)); height: calc(18 * var(--u)); border: 1px dashed rgba(255, 255, 255, 0.26); border-radius: 3px; }
.ac-macs .dl-row:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ac-none p { font-size: calc(16 * var(--u)); color: #C4C7CC; }

@media (max-width: 899px) {
  .ac-hero .dl-hero__in { min-height: calc(100svh - 160px); padding-bottom: 72px; }
  .ac-hero--top .dl-hero__in { min-height: 0; padding-bottom: 28px; }
  .ac-fine { font-size: 13px; }
  /* The field over its button, so a long button never leaves the address no room. */
  .ac-form .gate-pill { flex-direction: column; height: auto; }
  .ac-form .gate-field { flex: none; height: 50px; text-align: center; }
  .ac-form .gate-send { height: 46px; margin: 0 5px 5px; }
  .ac-say { font-size: 14px; }
  .ac-mark { width: 56px; height: 56px; }
  .ac-mark--wait i { width: 6px; height: 6px; }
  /* download.css orders a kicker first among the phone section's pieces, which in a hero is last. */
  .ac-hero .dl-kicker { order: 0; }
  /* The key on one line: Copy says itself with its icon, and its word stays for a screen reader. */
  .ac-key { gap: 8px; padding: 6px 6px 6px 12px; }
  .ac-key code { font-size: 13.5px; letter-spacing: 0.02em; white-space: nowrap; overflow-wrap: normal; }
  .ac-copy { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .ac-copy svg { width: 15px; height: 15px; }
  .ac-copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* The question's answers are words, not an icon: they keep their width, and the field its 16px, which iOS
     zooms the page for anything under. */
  .ac-heard__row .gate-select, .ac-heard__row .pick__btn, .ac-heard__words { font-size: 16px; }
  .ac-keyrow__for { font-size: 15px; }
  .ac-keyrow__meta { font-size: 11.5px; }
  .ac-body { padding-bottom: 56px; }
  .ac-list > .dl-pane + .dl-pane { margin-top: 16px; }
  .ac .dl-pane h2 { margin-bottom: 18px; }
  .ac-kv { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ac-kv dt { font-size: 10.5px; }
  .ac-kv dd { font-size: 14.5px; }
  .ac-macs, .ac-body .dl-pane__cols > div > .ac-acts { padding-left: 0; }
  .ac-macs { margin-top: 0; padding-top: 0; }
  .ac-macs__head { font-size: 11px; }
  .ac-seats i { width: 12px; height: 5px; }
  /* The computers straight after the license's name, then its key and purchase. */
  .ac-lic { grid-template-columns: 1fr; grid-template-areas: "head" "macs" "key"; }
  .ac-lic__key { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .ac-free i { width: 22px; height: 16px; }
  .ac .dl-then { border-top: 0; padding-top: 0; }
  .ac .dl-then li { font-size: 15px; }
  .ac-acts { gap: 10px; }
  .ac-acts .button { flex: 1 1 100%; height: 50px; }
  .ac-status { font-size: 10px; }
}

/* /unsubscribe and /email-preferences (templates/email-preferences.html): the choices folded under one line. */
.ac-prefs { margin: calc(34 * var(--u)) auto 0; max-width: calc(520 * var(--u)); }
.ac-prefs summary { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); cursor: pointer; list-style: none; font: 450 calc(14 * var(--u))/1.5 var(--sans); color: #C4C7CC; }
.ac-prefs summary::-webkit-details-marker { display: none; }
.ac-prefs summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.3px 1.3px 0; transform: rotate(45deg); transition: transform 200ms var(--ease); }
.ac-prefs[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.ac-prefs summary:hover { color: #fff; }
.ac-prefs form { margin-top: calc(18 * var(--u)); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ac-pref { display: flex; gap: calc(20 * var(--u)); align-items: center; justify-content: space-between; padding: calc(16 * var(--u)) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; text-align: left; }
/* A round on/off switch, the panel's: tally when on, a hairline track when off. A checkbox here read either way under a
   page about unsubscribing; a switch reads as on or off (the owner, 2026-10-30). */
.ac-switch { -webkit-appearance: none; appearance: none; flex: none; position: relative; margin: 0; width: 42px; height: 24px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.ac-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #C4C7CC; transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.ac-switch:checked { background: var(--tally); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 14px -4px rgba(250, 76, 51, 0.8); }
.ac-switch:checked::after { transform: translateX(18px); background: #fff; }
.ac-switch:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html[data-motion="still"] .ac-switch, html[data-motion="still"] .ac-switch::after { transition: none; }
.ac-pref span { font: 400 calc(14 * var(--u))/1.55 var(--sans); color: var(--muted); }
.ac-pref b { display: block; font-weight: 500; color: #fff; }
.ac-prefs__do { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: calc(14 * var(--u)) calc(24 * var(--u)); margin-top: calc(22 * var(--u)); }
.ac-prefs__all { padding: 0; border: 0; background: none; cursor: pointer; font: 450 calc(14 * var(--u))/1.5 var(--sans); color: #C4C7CC; border-bottom: 1px solid rgba(255, 255, 255, 0.25); white-space: nowrap; }
.ac-prefs__all:hover { color: #fff; border-bottom-color: #fff; }
.ac-prefs .ac-fine { margin-top: calc(16 * var(--u)); }

/* The other app, an add-on banner under the licenses (2026-11-19): its mark, the words and the button on one line. */
.ac-add { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: calc(28 * var(--u)); }
.ac-add__mark { display: flex; }
.ac-add__mark .lp-app { width: calc(56 * var(--u)); height: calc(56 * var(--u)); font-size: calc(21 * var(--u)); border-radius: calc(14 * var(--u)); }
.ac .ac-add h2 { margin: calc(10 * var(--u)) 0 calc(6 * var(--u)); }
.ac-add .dl-note { max-width: calc(560 * var(--u)); margin-top: 0; }
.ac-add__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ac-add__go { gap: calc(12 * var(--u)); }
.ac-add__go .bar__rule { width: 1px; height: calc(16 * var(--u)); background: rgba(255, 255, 255, 0.45); }
.ac-add__note { max-width: calc(260 * var(--u)); font: 450 13px/18px var(--sans); color: #FF8A78; text-align: right; }
@media (max-width: 899px) {
  .ac-add { grid-template-columns: auto 1fr; row-gap: 18px; column-gap: 16px; align-items: start; }
  .ac-add__mark .lp-app { width: 44px; height: 44px; font-size: 17px; border-radius: 11px; }
  .ac-add__buy { grid-column: 1 / -1; align-items: stretch; }
  .ac-add__go { width: 100%; }
  .ac-add__note { text-align: center; max-width: none; }
}
