/* The subscriber sign-in guide (account.html).

   Everything structural is already in style.css - .section, .wrap, .steps, .step,
   .card, .btn, .label. This file only adds what that page needs and the one-pager
   does not: the little phone drawings inside the steps, and the three small blocks
   under them.

   The drawings are inline SVG in the page's own tokens rather than images, for two
   reasons that both bit this project before. A two-tone PNG cannot follow a palette,
   and an <img> SVG is rasterised by some engines, which is how a crisp mark turns
   soft. These are drawn in the document, so they inherit var(--blue) and friends and
   stay sharp at any size. */

/* ---------- the phone drawings ---------- */

/* The art sits under the words, never instead of them: it is aria-hidden, so a
   screen reader hears the step and skips the picture. */
.shot { margin: 16px 0 0; transform: translateZ(10px); }
.shot svg { display: block; width: 100%; max-width: 156px; height: auto; margin-inline: auto; }

/* A step card with a drawing in it is taller than the one-pager's text-only steps,
   so the number, title and text stay pinned at the top and the art takes the slack.
   Without this the four cards line their drawings up at four different heights. */
.steps-visual .step { display: flex; flex-direction: column; }
.steps-visual .step .shot { margin-top: auto; padding-top: 16px; }

/* ---------- the strip above the steps ---------- */

.acct-hero { padding: 132px 0 74px; background: linear-gradient(170deg, var(--navy), var(--navy-deep)); }
.acct-hero h1 { color: #fff; max-width: 20ch; }
.acct-hero .section-lead { color: rgba(255, 255, 255, .78); margin-top: 14px; }
.acct-hero .acct-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }

/* The address, written out once in a size somebody can read across a room and type
   from a different device - which is how this page is actually used. */
.acct-url {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--sky); letter-spacing: -.01em;
}

/* ---------- what is inside, and what to do when it goes wrong ---------- */

.acct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.acct-grid .card h3 { font-size: 1.04rem; }

.acct-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; margin-top: 34px; }
.acct-help ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.acct-help li { padding-left: 30px; position: relative; color: var(--muted); line-height: 1.6; }
.acct-help li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--sky);
}
.acct-help b, .acct-help strong { color: var(--ink); font-weight: 600; }

/* The one thing on the page that is a warning rather than an instruction, so it is
   the one block that does not look like the others. */
.acct-warn { border-radius: var(--radius); border: 1px solid rgba(94, 166, 255, .3); background: var(--paper-2); padding: clamp(20px, 3vw, 28px); }
.acct-warn h3 { color: var(--ink); font-size: 1.06rem; margin-bottom: 8px; }
.acct-warn p { color: var(--muted); margin: 0 0 12px; line-height: 1.62; }
.acct-warn p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-help { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .acct-hero { padding: 116px 0 56px; }
}

/* The drawings carry a few words of their own - an address bar, a button label. They
   are set in the display face like every other piece of UI on the site; an inline SVG
   does not inherit font-family from the page the way its colours inherit. */
.shot svg text { font-family: var(--display); }
