/* The "Send the download link to my email" block, phones only (site-js/phone-download.js).
   Built from the old home page's "Neap updates" block (gone since October 2026): hairlines above and
   below, a mono eyebrow, one green phrase in the heading, a grey pill field and a green
   pill button. No card, no shadow: it reads as part of the page it sits in. Loaded only on
   the pages that carry a [data-phone-download-slot]: home, the product page and /downloads. */

.pd-slot[hidden] { display: none; }
.pd-slot { margin: 32px 0 0; }
.downloads-page .pd-slot { margin: 0 0 36px; }

.pd-card {
  padding: 30px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
}

.pd-card .pd-eyebrow {
  margin: 0 0 12px;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pd-card .pd-title {
  max-width: 18ch;
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--grotesk);
  font-size: clamp(26px, 7.4vw, 36px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
}
.pd-card .pd-title span { color: var(--accent-ink); }

.pd-card .pd-lede {
  max-width: 46ch;
  margin: 0 0 22px;
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
}
.pd-card.is-sent .pd-lede { margin-bottom: 0; }

/* The field and the button: the newsletter's pill, stacked because the button says more. */
.pd-card .pd-form { display: grid; gap: 10px; margin: 0; }
.pd-card .pd-form[hidden] { display: none; }
.pd-card .pd-input {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 47, 47, .06);
  color: var(--ink);
  /* 16px or iOS zooms the whole page on focus. */
  font-family: var(--grotesk);
  font-size: 16px;
}
.pd-card .pd-input::placeholder { color: var(--ink-mut); }
.pd-card .pd-input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pd-card .pd-submit {
  min-height: 56px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--grotesk);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.pd-card .pd-submit:disabled { cursor: default; opacity: .6; }
.pd-card .pd-submit:focus-visible,
.pd-card .pd-again:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

.pd-card .pd-said { margin: 12px 0 0; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.pd-card .pd-said.is-bad { color: var(--coral-ink); }
.pd-card .pd-said[hidden],
.pd-card .pd-fine[hidden] { display: none; }

/* The newsletter's own small print. */
.pd-card .pd-fine {
  margin: 12px 0 0;
  color: var(--ink-mut);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pd-card .pd-again {
  min-height: 44px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-dim);
  font-family: var(--grotesk);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 5px;
  cursor: pointer;
}
.pd-card .pd-again:hover { color: var(--accent-ink); }

/* The code box is the site's own (signup-discount.js), unchanged. */
.pd-card .signup-discount { margin-top: 20px; }

/* One 10% offer on a phone screen at a time: signup-offer.js puts its own card in the
   page flow on touch screens, and this block already carries the code. */
body.has-phone-download .offer-inline { display: none; }

/* /downloads on a phone, signed out (downloads.js): where the installers will be. */
.dl-gate .dl-gate-kicker {
  margin: 0 0 10px;
  color: var(--ink-mut);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dl-gate .dl-gate-text { max-width: 40ch; margin: 0 0 6px; color: var(--ink-dim); font-size: 16px; line-height: 1.6; }
.dl-gate .dl-gate-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 5px;
}

/* A tablet has the room for the newsletter's single pill: field and button on one line. */
@media (min-width: 700px) {
  .pd-card .pd-form {
    display: flex;
    gap: 0;
    max-width: 640px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(47, 47, 47, .06);
  }
  .pd-card .pd-form[hidden] { display: none; }
  .pd-card .pd-input { flex: 1; min-width: 0; border-radius: 0; background: none; }
  .pd-card .pd-submit { white-space: nowrap; }
}
