/* ==========================================================================
   Cards
   --------------------------------------------------------------------------
   Card-level layout for the auth screens, replacing the Webflow classes each
   card shipped with. Geometry (position, size) is ported 1:1 from the
   pre-rebrand Webflow rules in hollaco-auth.css — this file exists to keep
   that geometry while moving colour onto --hc-* semantic roles.

   Linked LAST (after Webflow's own stylesheets) so the handful of Webflow
   framework classes a card still carries (w-form, w-input, w-button,
   w-inline-block) lose the cascade to the classes here, the same way the
   card's own Webflow classes already won over those framework defaults
   before this rebrand touched anything. No !important, no inflated
   selectors — just normal cascade order.

   Semantic colour roles only — see hollaco-portfolio coding-conventions.
   Position/size values are literal px, ported from the Webflow rules they
   replace, because the geometry gate checks exact boxes, not tokens.
   ========================================================================== */

/* ---------- Adopted from Webflow ID selectors ----------
   --------------------------------------------------------------------------
   The rebrand's method is "replace a card's classes and Webflow's CSS stops
   matching it". That holds for CLASS selectors and is false for ID selectors,
   and hollaco-auth.css carries seven of the latter that our layout depends on.

   Because ids are never touched by the class strip, these keep working through
   the whole of Plan 3 with every gate green — and break in Plan 4, when
   hollaco-auth.css is deleted. One plan after the change that caused it, with
   nothing red in between. So they are adopted here, up front, keyed off
   classes we own (`hc-cardstack`, `hc-otp__cell`) rather than off the
   `w-node-*` ids, which are Figma export residue and should not outlive Plan 4.

   Duplicated on purpose while both sheets are linked: identical declarations,
   so whichever wins the cascade produces the same box.

   Verified, not assumed — neutralising the `#w-node-*` rules in
   hollaco-auth.css leaves test:geometry green (11/11), and neutralising both
   those and these turns it red. The second half matters: without it, a pair of
   inert rules would pass the first check just as happily.

   Do not "simplify" the four cardstack rules into one. The wrapper's
   positioning changes at every breakpoint, and adopting only the base rule
   (which an earlier draft of the plan assumed was all there was) silently
   loses card positioning below 992px. */

/* The wrapper holding the whole card stack — page chrome, not a card.
   Was #w-node-_1ed28d98-…, hollaco-auth.css:8072. */
.hc-cardstack {
  align-self: center;
}

@media screen and (max-width: 991px) {
  .hc-cardstack {
    grid-area: span 1 / span 1 / span 1 / span 1;
    place-self: center;
  }
}

@media screen and (max-width: 767px) {
  .hc-cardstack {
    place-self: start stretch;
  }
}

@media screen and (max-width: 479px) {
  .hc-cardstack {
    justify-self: stretch;
  }
}

/* The six OTP input wrappers on VerificationCode.
   Two sources merged into one class, because they always applied to the same
   six elements:
     - the six #w-node-… id rules at hollaco-auth.css:8076 (grid-area,
       align-self), adopted in Task 2 because the class strip cannot reach an
       id selector;
     - `.focusring-ring` at hollaco-auth.css:6332, which Task 6 stripped off
       these elements — its declarations move here rather than to a second
       class, since nothing else in the markup ever carried it. */
.hc-otp__cell {
  grid-area: span 1 / span 1 / span 1 / span 1;
  align-self: stretch;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 48px;
  height: 100%;
  display: flex;
}

/* ---------- SignIn card ---------- */

.hc-card {
  background-color: var(--hc-color-background-default);
  border-radius: var(--hc-border-radius-xs);
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  align-items: stretch;
  width: 510px;
  min-width: 510px;
  height: 100%;
}

@media screen and (max-width: 991px) {
  .hc-card {
    height: auto;
  }
}

/* Between 480px and 767px the card would otherwise overflow past the right
   edge (fixed 510px wide, min-width 430px on the content pane) — this lets
   it shrink to fit and keeps the side gutters even. Ported from the
   post-export fix in hollaco-auth.css (search "shrink to fit"), not from
   the original Webflow rule, which this overrides. */
@media screen and (max-width: 767px) {
  .hc-card {
    width: 100%;
    max-width: 510px;
    min-width: 0;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* min-width is deliberately left alone here — the 767px breakpoint's fix
   rule above already set it to 0 and, being later in this same file, keeps
   winning down through this width too. Restating min-width: auto here (as
   the original Webflow rule did) would only re-introduce the overflow the
   fix rule exists to prevent. */
@media screen and (max-width: 479px) {
  .hc-card {
    flex: 0 auto;
    height: auto;
  }
}

/* Dead markup: the toaster is permanently display:none in the source
   Webflow CSS with no rule anywhere that un-hides it, and no script in
   web/js/ reaches into it. Hiding the outer wrapper is enough — nothing
   inside needs its own styling. */
.hc-card__toaster {
  display: none;
}

/* Three nested wrappers between the card root and its padded content —
   ported as-is from section-style-3 / container-8 / section-style-4. */
.hc-card__frame {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 991px) {
  .hc-card__frame {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__frame {
    justify-content: flex-start;
    align-items: center;
    height: auto;
    display: flex;
  }
}

@media screen and (max-width: 479px) {
  .hc-card__frame {
    align-self: stretch;
    align-items: flex-start;
    padding-bottom: 0;
    display: flex;
  }
}

.hc-card__surface {
  background-color: var(--hc-color-background-default);
  border-top-left-radius: var(--hc-border-radius-xs);
  border-top-right-radius: var(--hc-border-radius-xs);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 510px;
  height: 630px;
  min-height: 630px;
  display: flex;
}

@media screen and (max-width: 991px) {
  .hc-card__surface {
    height: auto;
    min-height: 700px;
  }
}

/* Same "shrink to fit" fix as .hc-card at this breakpoint — see the note
   there. It targets this element too in the source. */
@media screen and (max-width: 767px) {
  .hc-card__surface {
    width: 100%;
    max-width: 510px;
    min-width: 0;
    min-height: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

/* width/min-width are deliberately absent here: the 767px fix rule above
   sets both, and in the source stylesheet that fix rule is appended after
   every breakpoint block (including this one), so it always wins down
   through 479px too. Restating width: auto here would win instead — cards.css
   defines this same fix earlier in the file rather than after everything
   else, so leaving these two properties out is what makes this block match
   what actually reaches the browser in the source order it was ported from. */
@media screen and (max-width: 479px) {
  .hc-card__surface {
    align-self: stretch;
  }
}

.hc-card__content {
  background-color: var(--hc-color-background-default);
  border-radius: var(--hc-border-radius-xs);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 510px;
  min-width: 430px;
  height: 100%;
  min-height: 695px;
  padding: 40px 56px;
  display: flex;
  position: static;
}

@media screen and (max-width: 991px) {
  .hc-card__content {
    min-height: 700px;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__content {
    width: 100%;
    max-width: 510px;
    min-width: 0;
    min-height: auto;
    padding: var(--hc-spacing-md-lg);
    margin-left: auto;
    margin-right: auto;
  }
}

/* width/min-width omitted for the same reason as .hc-card__surface above —
   the 767px fix rule wins them at every width down to 479px in the source
   order this was ported from. */
@media screen and (max-width: 479px) {
  .hc-card__content {
    align-self: stretch;
    padding-top: var(--hc-spacing-xs);
    padding-left: var(--hc-spacing-xs);
    padding-right: var(--hc-spacing-xs);
  }
}

/* ---------- Header: logo + "Sign in" title ---------- */

.hc-card__header {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-bottom: var(--hc-spacing-xs);
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-card__header {
    margin-left: var(--hc-spacing-2xs);
  }
}

/* width and margin-top both carry forward from the source heading-1 rule —
   its font/colour declarations target text this element never holds
   directly (the visible text is .hc-card__title, one level down) so they
   were dead weight in the original CSS too. */
.hc-card__header-row {
  width: 100%;
  margin-top: var(--hc-spacing-md);
}

/* Hidden on desktop — the page header carries the logo there instead.
   Shown from 991px down, where that header disappears. */
.hc-card__logo-wrap {
  display: none;
}

@media screen and (max-width: 991px) {
  .hc-card__logo-wrap {
    align-self: flex-start;
    height: 34px;
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__logo-wrap {
    align-self: flex-start;
    width: auto;
  }
}

@media screen and (max-width: 991px) {
  .hc-card__logo {
    margin-top: var(--hc-spacing-xs);
  }
}

.hc-card__title {
  color: var(--hc-color-content-heading);
  letter-spacing: -1px;
  width: 100%;
  margin-top: 0;
  margin-bottom: var(--hc-spacing-xs);
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 56px;
}

/* ---------- Main: new-user row + the magic-link email form ---------- */

.hc-card__main {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 478.69px;
  display: flex;
}

.hc-card__form {
  grid-row-gap: var(--hc-spacing-lg);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.hc-card__form-body {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-height: 69px;
}

.hc-card__newuser {
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

@media screen and (max-width: 767px), screen and (max-width: 479px) {
  .hc-card__newuser {
    margin-bottom: var(--hc-spacing-md-lg);
  }
}

.hc-card__newuser-text {
  color: var(--hc-color-content-caption);
  margin-top: 0;
  margin-bottom: 0;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.hc-card__newuser-cta {
  flex: 0 auto;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

/* content-brand, not --hc-color-link: one link colour on the card, and
   this is the same role base.css's bare `a { }` rule already defaults
   every unstyled anchor to. Underline stays — "Create an account" is an
   inline link inside the sentence "New user? Create an account", exactly
   the case that rule's underline exists to protect (brand teal is only
   1.98:1 against body text). */
.hc-card__newuser-link {
  color: var(--hc-color-content-brand);
  margin-top: 0;
  margin-bottom: 0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
}

.hc-card__field-row {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.hc-card__field {
  flex-flow: column;
  align-items: stretch;
  width: 100%;
  padding-top: var(--hc-spacing-2xs);
  padding-bottom: var(--hc-spacing-xs);
  display: flex;
}

/* Dead markup: a loading spinner image with no rule anywhere that shows it
   and no script in web/js/ that reaches into it (signin_validator.js builds
   its own spinner via ::after instead — see hc-components.css's .hc-ld). */
.hc-card__spinner {
  display: none;
  position: absolute;
  inset: 641px 34% 0% auto;
}

.hc-card__field-form {
  flex-flow: column;
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-card__field-form {
    align-items: stretch;
  }
}

/* Ported as-is rather than reusing the vendored .hc-field__label: that
   class leaves margin-bottom unset, and hollaco-auth.css's bare `p { }`
   rule (margin-bottom: 10px) then shows through with nothing to beat it,
   pushing the input down 7px. field-label always zeroed it explicitly. */
.hc-card__field-label {
  align-items: center;
  margin-bottom: 0;
  padding-bottom: var(--hc-spacing-2xs);
  padding-right: var(--hc-spacing-2xs);
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
}

/* The box model (width, height, padding) stays w-input's — see the file
   banner. Only the colour/radius text-field used to own comes from here. */
.hc-card__field-input {
  border: 1px solid var(--hc-color-border-default);
  color: var(--hc-color-content-default);
  border-radius: var(--hc-border-radius-xs);
}

/* Same trade as .hc-card__field-input: box model stays w-button's, this
   class only supplies the parts button-style/continue used to own. The
   border is the same colour as the background — its job is the extra 2px
   of box height (baseline height 38 = 7+20+7 padding/line-height + 2×2
   border), not a visible edge.

   background-brand-strong / content-on-brand-strong is the primary-CTA
   pair, not background-brand: the label is bold 14px, which does not meet
   WCAG's "large text" threshold (14pt bold = 18.66px), so it owes the full
   4.5:1 a text-carrying fill needs — background-brand alone is 4.27:1 and
   fails that. This is deliberately teal, not .blue: .blue (--hc-color-
   blue-900) is the Style Center's legacy variant for properties still
   mid-migration, and auth's own sign-in button is exactly what plan 2 is
   migrating. */
.hc-card__cta {
  background-color: var(--hc-color-background-brand-strong);
  border: var(--hc-border-width-md) solid var(--hc-color-background-brand-strong);
  border-radius: var(--hc-border-radius-round);
  color: var(--hc-color-content-on-brand-strong);
  align-self: flex-end;
  max-width: 120px;
  padding: var(--hc-spacing-xs) var(--hc-spacing-md);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: var(--hc-font-weight-bold);
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hc-card__cta:active {
  background-color: var(--hc-color-background-brand-strong-active);
  border-color: var(--hc-color-background-brand-strong-active);
}

@media screen and (max-width: 479px) {
  .hc-card__cta {
    margin-top: var(--hc-spacing-md-lg);
  }
}

/* ---------- "Or" divider ---------- */

.hc-card__divider-wrap {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-bottom: var(--hc-spacing-xs);
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-card__divider-wrap {
    padding-top: var(--hc-spacing-md-lg);
    padding-bottom: var(--hc-spacing-md-lg);
  }
}

.hc-card__divider {
  grid-column-gap: var(--hc-spacing-xs);
  grid-row-gap: var(--hc-spacing-xs);
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 23px;
  margin-top: var(--hc-spacing-lg);
  margin-bottom: var(--hc-spacing-xs);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  display: flex;
}

.hc-card__divider-rule {
  border-bottom: 1px solid var(--hc-color-border-subtle);
  flex: 1;
  width: 100px;
  height: 1px;
}

.hc-card__divider-text {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- SSO stack ---------- */

.hc-card__sso-wrap {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-top: 0;
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-card__sso-wrap {
    justify-content: flex-start;
    align-items: center;
    height: auto;
    display: flex;
  }
}

/* Same class on both the outer wrapper and the inner stack in the source
   markup — two identical flex columns, one nested in the other. */
.hc-card__sso-stack {
  grid-row-gap: var(--hc-spacing-md);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

/* Same class on all three provider buttons in the source, google/facebook/
   apple included — the near-identical padding values living on sibling
   classes elsewhere in hollaco-auth.css (button-style-2, button-style-4)
   belong to other cards' provider counts, not per-provider variants of
   this one.

   text-decoration: none overrides base.css's bare `a { }` rule, which
   underlines every anchor by default — correct for an inline link in body
   copy (brand teal is only 1.98:1 against body text and needs a second
   cue) but wrong here: this anchor's boundary is a full-width bordered
   button, not text, so the underline is noise. */
.hc-card__sso-btn {
  background-color: var(--hc-color-background-default);
  border: var(--hc-border-width-md) solid var(--hc-color-border-subtle);
  border-radius: var(--hc-border-radius-round);
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 32px;
  min-height: 56px;
  /* Was `17px 97.09px 17px 97.08px` — asymmetric to a hundredth of a pixel,
     which is Figma export residue. The horizontal value is NOT decorative: the
     inner content group fills the content box and the icon sits at its left
     edge, so removing it moved the icon 81px (the geometry gate caught that).
     Now symmetric and on-scale: 96px is --hc-layout-md. */
  padding: var(--hc-spacing-md) var(--hc-layout-md);
  text-decoration: none;
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-card__sso-btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    display: flex;
  }
}

.hc-card__sso-content {
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-left: var(--hc-spacing-sm);
  display: flex;
}

@media screen and (max-width: 767px) {
  .hc-card__sso-content {
    width: auto;
  }
}

.hc-card__sso-icon {
  overflow: hidden;
}

.hc-card__sso-apple-icon {
  justify-content: flex-start;
  align-items: flex-start;
  width: 37px;
  height: 24px;
  display: flex;
  overflow: hidden;
}

.hc-card__sso-apple-icon-fill {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 24px;
  padding-left: var(--hc-spacing-md);
  padding-right: var(--hc-spacing-3xs);
  display: flex;
  overflow: hidden;
}

.hc-card__sso-label {
  color: var(--hc-color-content-caption);
  text-align: center;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

@media screen and (max-width: 767px) {
  .hc-card__sso-label--google {
    justify-content: center;
    display: flex;
  }
}

@media screen and (max-width: 479px) {
  .hc-card__sso-label--google {
    white-space: nowrap;
    flex: 0 auto;
    justify-content: flex-start;
    align-items: center;
    width: auto;
  }
}

@media screen and (max-width: 991px) {
  .hc-card__sso-label--facebook {
    flex: 1;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__sso-label--facebook {
    width: auto;
  }
}

@media screen and (max-width: 991px) {
  .hc-card__sso-label--apple {
    display: block;
  }
}

/* ---------- Footer ---------- */

.hc-card__footer {
  border-bottom-right-radius: var(--hc-border-radius-xs);
  border-bottom-left-radius: var(--hc-border-radius-xs);
  flex-direction: column;
  justify-content: flex-start;
  align-self: auto;
  align-items: flex-start;
  width: auto;
  padding-top: var(--hc-spacing-md-lg);
  padding-bottom: var(--hc-spacing-md-lg);
  display: flex;
}

@media screen and (max-width: 991px) {
  .hc-card__footer {
    align-self: stretch;
    padding-top: var(--hc-spacing-md-lg);
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__footer {
    background-color: transparent;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    padding-top: var(--hc-spacing-xl);
    padding-bottom: var(--hc-spacing-md-lg);
    display: flex;
    position: static;
  }
}

@media screen and (max-width: 479px) {
  .hc-card__footer {
    align-self: auto;
    margin-top: 0;
    padding-top: var(--hc-spacing-2xl);
    padding-bottom: var(--hc-spacing-2xl);
    padding-left: var(--hc-spacing-xs);
    display: block;
    position: static;
  }
}

.hc-card__footer-row {
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
  width: auto;
  padding-top: 0;
  padding-left: 0;
  padding-right: var(--hc-spacing-2xl);
  display: flex;
}

@media screen and (max-width: 991px) {
  .hc-card__footer-row {
    padding-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__footer-row {
    flex-flow: row;
    padding-top: 0;
    padding-left: var(--hc-spacing-md-lg);
  }
}

@media screen and (max-width: 479px) {
  .hc-card__footer-row {
    padding-left: var(--hc-spacing-xs);
  }
}

/* The source rule (link-style-4) also set color: #d81111 here, but the
   only content is the .hc-card__footer-link child, which sets its own
   colour and always wins — this wrapper's colour is inherited by nothing
   and was never visible. Dropped rather than carried forward as a token
   with no effect.

   text-decoration: underline was also dropped, deliberately — do not port it
   back from the Webflow source. text-decoration propagates to descendants and
   cannot be cancelled by them, except into an atomic inline box, so this
   wrapper's underline would beat .hc-card__footer-link's `text-decoration:
   none` below on every browser that respects the CSS Text Decoration spec.
   It looks like it works today only because the anchor is display:
   inline-block via Webflow's w-inline-block class; that class is removed in
   Plan 4, and this underline must not still be here when it goes. */
.hc-card__footer-link-wrap {
  flex: 0 auto;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 0;
  font-weight: 500;
  display: block;
}

/* content-brand, not --hc-color-link — same one-link-colour reasoning as
   .hc-card__newuser-link. Underline turned off: unlike "Create an account",
   underlined deliberately: it is a plain text link, not a button. An earlier
   pass grouped it with .hc-card__cta and .hc-card__sso-btn and stripped the
   underline — wrong, those have a visible boundary and this does not. Without
   the underline it is teal text with nothing marking it as interactive. */
.hc-card__footer-link {
  color: var(--hc-color-content-brand);
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: underline;
  position: static;
}

@media screen and (max-width: 991px) {
  .hc-card__footer-link {
    padding-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .hc-card__footer-link {
    padding-left: var(--hc-spacing-xs);
  }
}

@media screen and (max-width: 479px) {
  .hc-card__footer-link {
    padding-bottom: var(--hc-spacing-xs);
    padding-left: 0;
  }
}
/* ---------- DOB: the text card ----------
   --------------------------------------------------------------------------
   The pilot for the variant-modifier decision, run on the smallest card
   (6 elements, 25 baseline entries) so a wrong vocabulary would be cheap to
   discover here rather than inside Step1's 170.

   IT WAS WRONG, and this is what the pilot bought. DOB was first built as
   `.hc-card .hc-card--text` and the geometry gate rejected it: the card
   moved +129px at 767 and its button +20px at 479 and 375. Cause — .hc-card
   carries SignIn's responsive "shrink to fit" rules (width:100%,
   max-width:510px, margin auto) below 768. DOB has NO media queries at all,
   so inheriting .hc-card centred it — (767-510)/2 = 128.5 — and, below
   510, narrowed it enough for the paragraph to rewrap and push the button
   down a line.

   Cancelling those two media blocks from a modifier would have made
   `--text` a modifier that mostly undoes its base. DOB is not a variant of
   the SignIn card; it is a different card that happens to share a surface.
   So it gets its own component and shares TOKENS, not classes.

   The modifier decision still stands where cards genuinely share structure
   — CheckDevice's `compact` is a real variant. It is this card that is not.
   No common base is factored out of the two: that is one data point short,
   and duplication is cheaper than the wrong abstraction.

   The CTA is the exception and is genuinely shared: `.hc-card__cta` plus a
   `--compact` size modifier. Same brand-strong pill, same knockout label.

   Phase A reproduces the export 1:1 from .cardlayout-dob / .heading-7 /
   .dateofbirthdetails-description / .ta-right / .button-5. Off-scale values
   (the 10px margins, 3px 14px 5px, .8px) are kept deliberately and snapped
   in Phase B, so any box that moves is attributable to the snap and not to
   the strip. `.mt-500` was dropped rather than ported: it has zero rules in
   any of the seven stylesheets — a dead class the export left behind.

   KNOWN, PRE-EXISTING, NOT FIXED HERE: this card is not responsive. It is a
   fixed 510px with no breakpoints, so below 510 it overflows the viewport.
   .hc-card's shrink-to-fit would fix it, which is exactly why inheriting it
   changed the geometry. Fixing it is a deliberate behaviour change and
   needs Ross's sign-off — see the plan. */

.hc-textcard {
  background-color: var(--hc-color-background-default);
  border: .8px solid var(--hc-color-border-strong);
  border-radius: var(--hc-border-radius-xs);
  flex-direction: column;
  width: 510px;
  height: 100%;
  min-height: 695px;
  padding: 40px 56px;
  line-height: 21px;
  position: relative;
}

.hc-textcard__title {
  color: var(--hc-color-content-heading);
  letter-spacing: -1px;
  width: 100%;
  margin-top: var(--hc-spacing-md);
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
}

.hc-textcard__prose {
  color: var(--hc-color-content-default);
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

/* Height is explicit in the export and kept: the row is shorter than the
   button inside it, which overflows it deliberately. */
.hc-textcard__actions {
  text-align: right;
  height: 21px;
  margin-top: var(--hc-spacing-xl);
}

/* Secondary size of .hc-card__cta — placed by its parent's text-align
   rather than by flex alignment, so the base's align-self/max-width go. */
.hc-card__cta--compact {
  align-self: auto;
  max-width: none;
  border-radius: var(--hc-border-radius-16);
  padding: 3px 14px 5px;
  line-height: 21px;
  display: inline-flex;
}

/* .hc-card__cta gains a 20px top margin below 480 — that is SignIn's layout
   stacking its CTA under the field, not part of the button. DOB places its
   button in a right-aligned row that already owns the gap, so the base's
   placement margin is cancelled here. Cancelling one property is the whole
   cost of sharing the CTA, and is why the button stayed shared while the
   card itself did not. */
@media screen and (max-width: 479px) {
  .hc-card__cta--compact {
    margin-top: 0;
  }
}

/* ---------- CheckDevice: the device card ----------
   --------------------------------------------------------------------------
   Asked the question Task 3 taught us to ask instead of assuming, and got the
   same answer: this is NOT a variant of .hc-card either.

   The plan called `compact` "a real variant", and in the export it is — but a
   variant of .cardlayout-checkdevices, not of SignIn's card. The two diverge
   exactly where DOB did, at the breakpoints: below 768 .hc-card caps at 510px
   and centres itself (max-width 510, margin auto) while this card goes
   FULL BLEED with square corners (width 100%, max-width 100%, radius 0).
   Inheriting .hc-card would have capped and centred a card that is meant to
   reach both edges.

   So: its own component, sharing tokens rather than classes — with one real
   exception. `.hc-card__footer-link` is genuinely shared and is used here as
   is: same 14px/500/underline help link as SignIn's, differing only in a
   line-height of 16.1 vs 16, which is inside the gate's tolerance. That is
   the class Task 9 renames, so the rename now covers both cards.

   Three cards in, the shared core is only: surface colour, 4px radius, 510px
   width, column flex. Everything else — height, padding, alignment and every
   breakpoint — is per card. Still not extracting a base: they share
   characters, not a concept.

   Phase A reproduces the export 1:1. `.mt-300` is dropped for the same reason
   `.mt-500` was — it has no rule of its own anywhere, only in combination. */

.hc-devicecard {
  box-sizing: border-box;
  background-color: var(--hc-color-background-default);
  border-radius: var(--hc-border-radius-xs);
  gap: var(--hc-spacing-md);
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 510px;
  min-width: 510px;
  max-width: 510px;
  height: auto;
  min-height: 695px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

/* Below 768 the corners square off and the 510px cap is lifted to the
   viewport — but the card does NOT become full width. That distinction cost a
   gate failure and is worth stating plainly.

   The export splits this across two selectors: `.cardlayout-checkdevices`
   inside the media query asks for `width: 100%; min-width: 0`, and
   `.cardlayout-checkdevices.compact` outside it pins `width: 510px;
   min-width: 510px`. **Media queries add no specificity**, so the two-class
   selector wins even though the media rule appears later — `compact` exists
   precisely to opt this card OUT of the responsive full-bleed. Collapsing both
   into one class here handed the win to the media rule and stretched the card
   to 767px, which in turn re-wrapped the message to one line and pulled
   everything below it up 24px.

   Net effect, and what these rules reproduce: width stays 510 at every
   breakpoint, and `max-width: 100%` alone lets the viewport clamp it below
   510. */
@media screen and (max-width: 767px) {
  .hc-devicecard {
    border-radius: 0;
    max-width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .hc-devicecard {
    min-width: auto;
  }
}

/* Dead markup, exactly like SignIn's toaster: display:none in the source with
   no rule anywhere that un-hides it and no script in web/js/ reaching into it
   (checked: zero references). Hiding the wrapper is enough — the toast, its
   text and the link inside need no rules at all. */
.hc-devicecard__toaster {
  display: none;
}

/* #CardLayout-CheckDevices — the PLURAL, a nested inner div and not a screen.
   screennav.js's card list holds the singular only, so setting display here
   does not collide with the rule that screennav owns display on the seven
   card roots. The export set it too. */
.hc-devicecard__inner {
  flex-direction: column;
  flex-grow: 1;
  align-items: stretch;
  width: 100%;
  display: flex;
}

.hc-devicecard__frame {
  border: 1px solid #0000;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  padding: 40px 56px;
  display: flex;
}

/* 10px, not --hc-spacing-xs. Phase A keeps the export's value so that a box
   which moves later is attributable to the Phase B snap, not to the strip. */
@media screen and (max-width: 767px) {
  .hc-devicecard__frame {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (max-width: 479px) {
  .hc-devicecard__frame {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.hc-devicecard__wrapper {
  flex-direction: column;
  flex: 1;
  align-self: stretch;
  width: auto;
  height: auto;
  display: flex;
}

@media screen and (max-width: 767px) {
  .hc-devicecard__wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .hc-devicecard__wrapper {
    flex: auto;
    width: 100%;
  }
}

/* Hidden on desktop, shown from 991px down — the same swap SignIn's
   .hc-card__logo-wrap makes, because the page header that carries the logo
   disappears at that width. */
.hc-devicecard__logo {
  width: auto;
  height: 24px;
  display: none;
}

@media screen and (max-width: 991px) {
  .hc-devicecard__logo {
    display: inline-block;
  }
}

/* Margins restated rather than left to components.css's bare h1 rule: Plan 4
   deletes that stylesheet, and an inherited margin is exactly the kind of
   dependency that survives the class strip and breaks one plan later. */
.hc-devicecard__title {
  color: var(--hc-color-content-heading);
  white-space: nowrap;
  margin-top: var(--hc-spacing-md-lg);
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 54px;
}

@media screen and (max-width: 767px) {
  .hc-devicecard__title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media screen and (max-width: 479px) {
  .hc-devicecard__title {
    align-self: flex-start;
    width: 100%;
    font-size: 24px;
    line-height: 32px;
  }
}

.hc-devicecard__content {
  height: auto;
}

@media screen and (max-width: 479px) {
  .hc-devicecard__content {
    flex-flow: column;
    align-self: stretch;
    align-items: flex-start;
    width: 100%;
    height: auto;
    display: flex;
  }
}

.hc-devicecard__message-text {
  margin-top: var(--hc-spacing-lg);
  line-height: 24px;
  overflow: hidden;
}

.hc-devicecard__controls {
  gap: 10px;
  justify-content: space-between;
  align-items: flex-end;
  height: auto;
  margin-top: var(--hc-spacing-md);
  display: inline-flex;
}

/* The "stay signed in" switch. pushauth.js empties this element and injects
   its own knob span, then on every click sets an INLINE background — '#2563eb'
   for on, '#d1d5db' for off. Inline beats this rule, so after one toggle
   round-trip the switch returns to that hardcoded blue no matter what is set
   here. !important would win but would also override the off-state grey and
   break the control's only visual state, which is worse than an off-brand
   colour. Left as a token so the default state — what most users ever see —
   is branded; making it stick needs a change in web/js/pushauth.js, which
   this rebrand does not touch. Recorded for Ross.
   Vertical padding is stated explicitly because it currently comes from
   .w-button, which Plan 4 removes. */
.hc-toggle {
  cursor: pointer;
  background-color: var(--hc-color-background-brand-strong);
  border-radius: var(--hc-border-radius-12);
  flex-shrink: 0;
  justify-content: flex-start;
  align-items: center;
  width: 44px;
  height: 24px;
  padding: 9px 2px;
  transition: background-color .2s;
  display: inline-flex;
}

.hc-devicecard__toggle-label {
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 10px;
}

.hc-devicecard__footer {
  border-top: 1px solid var(--hc-color-border-subtle);
  margin-top: var(--hc-spacing-md);
}

.hc-devicecard__list {
  margin-top: 14px;
  margin-bottom: 14px;
  padding-left: 0;
  list-style-type: none;
}

.hc-devicecard__list-item {
  white-space: nowrap;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: var(--hc-spacing-lg);
  margin-bottom: var(--hc-spacing-lg);
  margin-right: var(--hc-spacing-xs);
  font-size: 14px;
  display: inline;
}

.hc-devicecard__list-text {
  letter-spacing: -.5px;
  white-space: nowrap;
  margin-top: var(--hc-spacing-lg);
  margin-bottom: var(--hc-spacing-lg);
  font-size: 14px;
}

/* Truncates from 768 down, not only at 479 — the export states the same block
   at both breakpoints. */
@media screen and (max-width: 767px) {
  .hc-devicecard__list-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    overflow: hidden;
  }
}

@media screen and (max-width: 479px) {
  .hc-devicecard__list-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    overflow: hidden;
  }
}

/* ---------- VerifyIdentity: the choice card ----------
   --------------------------------------------------------------------------
   Third card, third answer to the same question — and this one differs from
   CheckDevice in the opposite direction. `.section-21` has NO `.compact`
   companion, so nothing out-specifies its media rules and this card really
   does go full width below 768, then loses its side padding entirely below
   480. CheckDevice looked like it did that and did not. Same-shaped rules,
   opposite behaviour, decided by a second class on another selector.

   Its own component again. Script-read classes ride along on the same
   elements rather than being replaced: `action-item`,
   `iconmessage__container` and `challengechooser-mfacontent__content` are all
   read by verifyid.js and vi_secondary_email.js.

   The three action rows are buttons, not running text — anchors wrapping
   block-level divs — so they take no underline. `#btn-vi-signin` is an
   <li> styled as a link and keeps its underline, which is what the export
   renders.

   Phase A reproduces 1:1; off-scale values (10px paddings, 16.1 and 18px
   line-heights, 58px art) are kept and snapped in Phase B. */

.hc-choicecard {
  background-color: var(--hc-color-background-default);
  border: 1px solid #0000;
  border-radius: var(--hc-border-radius-xs);
  width: 510px;
  max-width: 510px;
  height: 100%;
  min-height: 695px;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .hc-choicecard {
    border-radius: 0;
    flex: 1;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard {
    border-radius: 0;
    flex: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.hc-choicecard__wrapper {
  flex-direction: column;
  flex: 1;
  align-self: stretch;
  width: auto;
  height: auto;
  display: flex;
}

@media screen and (max-width: 767px) {
  .hc-choicecard__wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard__wrapper {
    flex: auto;
    width: 100%;
  }
}

.hc-choicecard__header {
  align-self: flex-start;
  width: 100%;
  padding-left: 56px;
  padding-right: 56px;
}

@media screen and (max-width: 767px) {
  .hc-choicecard__header {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard__header {
    flex-flow: column;
    flex: none;
    align-self: stretch;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Same desktop-hidden / 991-down-shown swap as the other cards' logos. */
.hc-choicecard__logo {
  display: none;
}

@media screen and (max-width: 991px) {
  .hc-choicecard__logo {
    display: inline-flex;
  }
}

/* Margins restated rather than inherited from components.css's bare h1 and p
   rules — Plan 4 deletes that stylesheet. */
.hc-choicecard__title {
  color: var(--hc-color-content-heading);
  white-space: nowrap;
  margin-top: var(--hc-spacing-md-lg);
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 54px;
}

@media screen and (max-width: 767px) {
  .hc-choicecard__title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard__title {
    align-self: flex-start;
    width: 100%;
    font-size: 24px;
    line-height: 32px;
  }
}

.hc-choicecard__subtitle {
  color: var(--hc-color-content-default);
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

@media screen and (max-width: 479px) {
  .hc-choicecard__subtitle {
    align-items: stretch;
    width: auto;
    min-height: 33%;
    display: flex;
  }
}

.hc-choicecard__content {
  height: auto;
}

@media screen and (max-width: 479px) {
  .hc-choicecard__content {
    flex-flow: column;
    align-self: stretch;
    align-items: flex-start;
    width: 100%;
    height: auto;
    display: flex;
  }
}

.hc-choicecard__list {
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 18px;
  font-weight: 400;
  line-height: 21px;
  display: flex;
}

.hc-choicecard__item {
  cursor: pointer;
  height: auto;
  padding-top: var(--hc-spacing-lg);
  padding-bottom: var(--hc-spacing-lg);
  text-decoration: none;
}

.hc-choicecard__item:hover {
  background-color: var(--hc-color-background-subtle);
}

@media screen and (max-width: 479px) {
  .hc-choicecard__item {
    align-self: auto;
    width: 100%;
  }
}

.hc-choicecard__item-container {
  border-bottom: 1px solid var(--hc-color-border-subtle);
  cursor: pointer;
  justify-content: flex-start;
  align-items: stretch;
  margin-left: 56px;
  margin-right: 56px;
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-choicecard__item-container {
    margin-left: 0;
    margin-right: 0;
  }
}

.hc-choicecard__item-content {
  flex: 1;
  width: 100%;
  height: 112px;
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-choicecard__item-content {
    padding-left: 10px;
    padding-right: 10px;
    display: inline-flex;
  }
}

.hc-choicecard__item-main {
  flex: 1;
  display: flex;
}

.hc-choicecard__item-icon {
  align-self: center;
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-choicecard__item-icon {
    margin-right: var(--hc-spacing-lg);
  }
}

/* All three rows' artwork shares the gap to the label; only the first is
   given an explicit box, because its SVG has no intrinsic width/height
   attributes while the other two do. */
.hc-choicecard__item-art {
  margin-right: var(--hc-spacing-lg);
}

.hc-choicecard__item-art--sized {
  vertical-align: baseline;
  justify-content: flex-end;
  align-self: auto;
  width: 58px;
  min-width: 58px;
  max-width: none;
  height: 58px;
  min-height: 58px;
  display: block;
}

.hc-choicecard__item-label {
  width: 258px;
  color: var(--hc-color-content-default);
  text-align: start;
  flex: none;
  align-self: center;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

@media screen and (max-width: 479px) {
  .hc-choicecard__item-label {
    flex-flow: column;
    flex: 1;
    width: auto;
  }
}

.hc-choicecard__item-chevron {
  justify-content: flex-end;
  align-self: center;
  width: auto;
  height: auto;
  display: flex;
}

.hc-choicecard__item-chevron-icon {
  width: 36px;
  height: 36px;
}

/* The export reaches this through three stacked selectors — .cardlayout__footer
   for the box, --with-seperator for a border, then the three-class rule that
   turns that same border OFF again and rewrites the margins. Flattened to the
   net result: a 69px full-width block with no top border. */
.hc-choicecard__footer {
  border-top: 1px none var(--hc-color-border-subtle);
  width: 100%;
  height: 69px;
  margin-top: 14px;
  margin-bottom: 14px;
}

@media screen and (max-width: 991px) {
  .hc-choicecard__footer {
    width: auto;
    margin-left: 56px;
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard__footer {
    margin-left: 10px;
  }
}

.hc-choicecard__footer-list {
  margin-top: var(--hc-spacing-lg);
  margin-bottom: var(--hc-spacing-lg);
  padding-left: 0;
}

@media screen and (max-width: 767px) {
  .hc-choicecard__footer-list {
    margin-top: var(--hc-spacing-xs);
    margin-bottom: var(--hc-spacing-xs);
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard__footer-list {
    margin-top: var(--hc-spacing-xs);
    margin-bottom: var(--hc-spacing-xs);
  }
}

/* An <li> that behaves as a link: screennav.js navigates on click. Keeps the
   underline the export gives it — it reads as a link, so it should look like
   one. Deliberately NOT sharing .hc-card__footer-link: that one carries no
   padding, this one carries the footer's whole 24/56 inset. */
.hc-choicecard__signin-link {
  color: var(--hc-color-content-brand);
  cursor: pointer;
  margin-bottom: 0;
  padding: var(--hc-spacing-lg) 56px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16.1px;
  text-decoration: underline;
  position: static;
}

@media screen and (max-width: 991px) {
  .hc-choicecard__signin-link {
    padding-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .hc-choicecard__signin-link {
    padding-left: 10px;
  }
}

@media screen and (max-width: 479px) {
  .hc-choicecard__signin-link {
    width: auto;
    padding-bottom: 10px;
    display: inline-flex;
  }
}

/* ---------- VerificationCode: the code card ----------
   --------------------------------------------------------------------------
   The OTP screen, shared by two flows: email/signup codes and authenticator
   (TOTP) codes. verifyid.js swaps the icon, the resend control and the copy by
   `hc_otp_type`, so every rule here has to hold in both appearances.

   This is the card the id-selector work in Task 2 was for. Its six input
   wrappers get grid-area and align-self from `#w-node-*` rules that the class
   strip cannot reach — see `.hc-otp__cell` above, which now also absorbs
   `.focusring-ring`.

   Its title is byte-identical in computed terms to DOB's (36px/44/500,
   16-0-10 margins) and its footer link to nothing else. Three distinct title
   styles exist across the seven cards, each used by exactly TWO of them —
   still one short of the third occurrence that would justify extracting a
   shared class, and Task 9's sweep is the point where all seven are visible
   at once. Duplicated deliberately until then.

   Phase A reproduces the export 1:1. Off-scale values kept for Phase B:
   the .8px border, 10/20px paddings, 12px margins, 34px/32 digit type,
   16.1-ish line-heights, and the `52px` inline-size on the inputs. */

.hc-codecard {
  background-color: var(--hc-color-background-default);
  border: .8px solid var(--hc-color-border-strong);
  border-radius: var(--hc-border-radius-xs);
  flex-flow: column;
  width: 510px;
  height: 100%;
  min-height: 695px;
  padding: 40px 56px;
  line-height: 21px;
  position: relative;
}

@media screen and (max-width: 767px) {
  .hc-codecard {
    border-style: none;
    flex: 1;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding-left: var(--hc-spacing-md-lg);
    padding-right: var(--hc-spacing-md-lg);
  }
}

@media screen and (max-width: 479px) {
  .hc-codecard {
    border: 0 #0000;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 10px;
    padding-right: 10px;
    position: static;
  }
}

/* Hidden on desktop, shown from 991 down — the same swap the other cards make
   when the page header stops carrying the logo. */
.hc-codecard__logo {
  align-self: flex-start;
  display: none;
}

@media screen and (max-width: 991px) {
  .hc-codecard__logo {
    align-self: flex-start;
    display: block;
  }
}

/* iconheading__icon rides along on this element — verifyid.js reads it to
   swap the illustration between the email and authenticator flows. */
.hc-codecard__icon {
  display: block;
}

/* No `width: 100%` here, unlike DOB's otherwise identical title. Below 768
   this card sets `align-items: flex-start`, so the heading shrinks to its
   text — 303px rather than the full 727px content box. Declaring a width
   overrode that and the gate caught it at all three narrow viewports. DOB
   can carry the width because its card never changes align-items; this one
   cannot. The two titles are identical in every other respect, which is
   exactly why copying one onto the other was tempting and wrong. */
.hc-codecard__title {
  color: var(--hc-color-content-heading);
  letter-spacing: -1px;
  margin-top: var(--hc-spacing-md);
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
}

/* 289px explicit, from the export's base .cardlayout__content. Unlike
   CheckDevice and VerifyIdentity this card does NOT carry the --full-width
   modifier that relaxes it to auto. */
.hc-codecard__content {
  height: 289px;
}

@media screen and (max-width: 479px) {
  .hc-codecard__content {
    flex-flow: column;
    align-self: stretch;
    align-items: flex-start;
    width: 100%;
    height: auto;
    display: flex;
  }
}

.hc-codecard__subtitle {
  align-self: center;
  margin-top: 12px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 24px;
}

@media screen and (max-width: 479px) {
  .hc-codecard__subtitle {
    align-self: flex-start;
  }
}

/* Populated at runtime by screennav.js and otpinput.js with the masked
   address; empty in the shipped markup, which is why it measures 0 high. */
.hc-codecard__email {
  margin-top: 12px;
  margin-bottom: var(--hc-spacing-2xl);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.hc-codecard__codeinput {
  flex: 0 auto;
  height: auto;
}

@media screen and (max-width: 479px) {
  .hc-codecard__codeinput {
    align-self: stretch;
  }
}

.hc-codecard__code {
  align-items: center;
  display: block;
}

.hc-codecard__form-block {
  flex: none;
  margin-bottom: 0;
}

.hc-codecard__form {
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 72px;
  display: flex;
}

/* One grid cell per digit. The named grid template and the --field-count
   max-width come straight from the export; they are what keeps the six boxes
   evenly spaced as the card narrows. */
.hc-codecard__digit {
  text-align: center;
  min-width: 0;
  max-width: calc((100% - 16px * (var(--field-count, 6) - 1)) / var(--field-count, 6));
  flex: 1;
  grid-template: "Area . ." 0
                 ". . ." 72px
                 ". . Area-2" 0
                 / 0 0 52px;
  grid-auto-columns: 1fr;
  align-content: start;
  display: inline-grid;
}

/* otpverify.js and verifyid.js both write borderColor on these inputs
   directly — '#1a8917' for the green success flash before redirect. That is
   an inline style and beats this rule by design; nothing here should try to
   out-rank it. */
.hc-codecard__digit-input {
  border: 2px solid var(--hc-color-border-default);
  /* 6px is not on the radius scale (0/2/4/8/12/16/24/32/999). Literal in
     Phase A; snaps to --hc-border-radius-8 in Phase B. An undefined token
     here would be invalid at computed-value time and drop the radius
     silently. */
  border-radius: 6px;
  background-color: var(--hc-color-background-subtle);
  color: var(--hc-color-content-default);
  cursor: text;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  height: 72px;
  inline-size: 52px;
  flex: auto;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 0;
  padding: 3px 12px 5px 11px;
  font-family: Inter, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 32px;
  display: inline-flex;
  overflow: clip;
}

/* Focus. `otpinput.js` focuses Field_01 on arrival, so this is the state a
   user actually lands in — and until now it was Webflow's:
   `.w-input:focus { border-color: #3898EC; outline: 0 }`. Two problems, and
   the second is the serious one.

   The blue is off-brand. But `outline: 0` also SUPPRESSES the focus ring
   base.css defines globally, because `.w-input:focus` (0,2,0) out-specifies
   `:focus-visible` (0,1,0) — so the six OTP boxes had no focus indicator at
   all beyond a colour change. That is a WCAG 2.4.7 problem on the one screen
   where keyboard users are most likely to be typing.

   Restated here at equal specificity in a later stylesheet, so ours wins:
   brand border, and base.css's ring put back explicitly. Outline does not
   participate in layout, so none of this moves a box.

   Plan 4 removes `w-input` and the rule that caused it; these declarations
   stay correct either way. */
.hc-codecard__digit-input:focus {
  border-color: var(--hc-color-border-brand);
  outline: var(--hc-border-width-md) solid var(--hc-color-focus-ring-default);
  outline-offset: var(--hc-border-width-md);
}

/* Where otpverify.js and verifyid.js put status text: "Verifying…",
   "Too many attempts", "Code resent to …", and Supabase's error message.
   The min-height reserves the row so the buttons below do not jump when a
   message appears. */
.hc-codecard__message {
  min-height: 28px;
}

.hc-codecard__actions {
  gap: var(--hc-spacing-sm);
  flex-flow: wrap;
  justify-content: flex-end;
  align-self: flex-end;
  flex: none;
  width: 396px;
  height: 32px;
  margin-top: var(--hc-spacing-md);
  display: flex;
}

@media screen and (max-width: 479px) {
  .hc-codecard__actions {
    width: auto;
    padding-right: 10px;
  }
}

.hc-codecard__action-slot {
  width: 72px;
  height: auto;
}

.hc-codecard__btn {
  border: 2px solid var(--hc-color-border-default);
  border-radius: var(--hc-border-radius-16);
  background-color: var(--hc-color-background-subtle);
  color: var(--hc-color-content-heading);
  cursor: pointer;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 32px;
  min-block-size: 32px;
  min-inline-size: 72px;
  justify-content: center;
  padding: 5px 14px;
  font-family: Inter, sans-serif;
  font-weight: 700;
  line-height: 18px;
  display: flex;
}

/* Hidden in the export and never revealed — no rule un-hides it and no script
   in web/js/ touches #btn-otp-back. Kept in the markup because the id is in
   the DOM contract. */
.hc-codecard__btn--back {
  display: none;
}

.hc-codecard__footer {
  border-top: 1px solid var(--hc-color-border-subtle);
  width: 100%;
  height: 69px;
  margin-top: 58px;
}

.hc-codecard__footer-list {
  height: 21px;
  margin-top: 14px;
  margin-bottom: 14px;
  padding-left: 0;
  list-style-type: none;
}

.hc-codecard__footer-item {
  height: 21px;
  margin-top: var(--hc-spacing-lg);
  margin-bottom: var(--hc-spacing-lg);
}

/* An empty <li> the export uses purely as a spacer — zero height, but its
   24px margins still contribute. Reproduced rather than deleted: removing it
   would change the tree, and 60% of the geometry baseline is path-keyed. */
.hc-codecard__footer-item--spacer {
  height: 0;
}

/* A <div>, not an anchor: screennav.js navigates on click. Underlined because
   it reads as a link. */
.hc-codecard__signin-link {
  width: auto;
  height: auto;
  color: var(--hc-color-content-brand);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
}

/* ---------- Step1: the sign-up card ----------
   --------------------------------------------------------------------------
   The largest card — 83 elements, 170 baseline entries — and the one with the
   least CSS behind it: 45 rules, and NOT ONE media query. Step1 has no
   responsive behaviour of its own at any breakpoint, which is worth knowing
   before anyone reads a narrow-viewport oddity here as something the rebrand
   introduced.

   No script reads a class on this card. password_checker.js and
   email_validator.js reach for `[data-rule]` (an attribute) and
   `querySelector('img')` (structure), so the strip is class-safe throughout.

   Phase A reproduces the export. Off-scale values kept for Phase B: 8.5px
   gaps, 16.1/23/27px line-heights, 15/17px sizes, 5px paddings, and the
   absolute `top: 410px` on the validation icons. */

.hc-signupcard {
  min-height: 630px;
  position: relative;
}

/* The white surface. `flex-flow: column` is inert here — the export also sets
   display:block — and is kept only so the declaration block matches what
   shipped. */
.hc-signupcard__surface {
  background-color: var(--hc-color-background-default);
  border: 2px solid #0000;
  border-radius: var(--hc-border-radius-xs);
  flex-flow: column;
  width: 510px;
  min-width: 510px;
  height: 100%;
  min-height: 695px;
  padding: var(--hc-spacing-lg) 56px var(--hc-spacing-2xl);
  display: block;
}

/* A progress bar that never renders: the track and both nested divs are empty
   and measure 0 high. Reproduced rather than deleted — removing it would move
   the tree, and 60% of the geometry baseline is path-keyed. */
.hc-signupcard__progress {
  width: 396px;
  height: 34px;
}

.hc-signupcard__progress-track {
  margin-top: 10px;
}

.hc-signupcard__step {
  height: 18px;
}

.hc-signupcard__step-label {
  color: var(--hc-color-content-subtle);
  height: 18px;
  font-family: Inter, sans-serif;
  font-weight: 700;
  line-height: 21px;
}

/* Margins restated rather than inherited from components.css's bare h1 rule,
   which Plan 4 deletes. Note this is the 36px/54/500 title — a third distinct
   heading style, shared only with Step2. */
.hc-signupcard__title {
  color: var(--hc-color-content-heading);
  letter-spacing: -1px;
  margin-top: var(--hc-spacing-md-lg);
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
}

.hc-signupcard__body {
  flex-grow: 1;
  height: auto;
  margin-top: var(--hc-spacing-sm);
}

.hc-signupcard__body-inner {
  height: auto;
  margin-top: var(--hc-spacing-md);
  margin-bottom: var(--hc-spacing-md);
  position: static;
}

.hc-signupcard__sso {
  gap: var(--hc-spacing-xs);
  flex-flow: row;
  justify-content: center;
  align-items: flex-start;
  margin-top: var(--hc-spacing-md);
  margin-bottom: var(--hc-spacing-md);
  display: flex;
}

.hc-signupcard__sso-link {
  cursor: pointer;
}

.hc-signupcard__sso-badge {
  background-color: var(--hc-color-background-default);
  border: 2px solid var(--hc-color-border-subtle);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 54px;
  min-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  display: inline-flex;
}

.hc-signupcard__sso-icon {
  width: 28px;
  height: 28px;
}

.hc-signupcard__divider {
  gap: 8.5px;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 23px;
  margin-top: var(--hc-spacing-lg);
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 300;
  line-height: 23px;
  display: flex;
}

.hc-signupcard__divider-rule {
  border-bottom: 1px solid var(--hc-color-border-subtle);
  flex: 1;
  width: 100px;
  height: 1px;
}

.hc-signupcard__divider-text {
  font-size: 15px;
  font-weight: 500;
}

.hc-signupcard__intro {
  height: 70px;
  margin-top: 0;
  margin-bottom: var(--hc-spacing-lg);
}

.hc-signupcard__intro-title {
  color: var(--hc-color-content-body-strong);
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 27px;
}

.hc-signupcard__instructions {
  height: 27px;
  margin-top: var(--hc-spacing-md);
  margin-bottom: var(--hc-spacing-2xs);
  font-size: 16px;
  line-height: 27px;
  display: block;
}

/* The "Sign in" anchor inside is deliberately unclassed: base.css already
   gives bare anchors the brand colour and an underline, and it is a link in
   running text, so the underline is required (WCAG 1.4.1). */
.hc-signupcard__instructions-text {
  height: 20px;
  margin-top: var(--hc-spacing-md);
  margin-bottom: var(--hc-spacing-2xs);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 27px;
  position: relative;
}

/* margin-bottom is Webflow's `.w-form` default, restated because Plan 4
   removes that class from the markup. */
.hc-signupcard__form-block {
  margin-bottom: 15px;
}

.hc-signupcard__form {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  display: flex;
}

.hc-signupcard__label {
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 5px;
  padding-right: 5px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
}

.hc-signupcard__field {
  width: 100%;
  display: inline-flex;
}

.hc-signupcard__field-block {
  width: 100%;
}

.hc-signupcard__input {
  box-sizing: border-box;
  color: var(--hc-color-content-default);
  background-color: #0000;
  border-radius: var(--hc-border-radius-xs);
  height: 32px;
  margin-top: 5px;
  padding: 5px 42px 5px 11px;
  font-family: Inter, sans-serif;
  font-weight: 500;
}

/* Was Adobe blue #0265dc. The ring itself comes from the global rule in
   hc-components.css, which restores what Webflow's `outline: 0` suppressed. */
.hc-signupcard__input:focus {
  border-width: 2px;
  border-color: var(--hc-color-border-brand);
}

/* Both validation icon wrappers, toggled by email_validator.js. Hidden until
   it decides otherwise. */
.hc-signupcard__icon-wrap {
  display: none;
  position: absolute;
  top: 5px;
  right: 7px;
}

/* `top: 410px` is Figma export residue — an absolute offset measured from the
   card rather than the field. It positions against the wrapper above, which is
   itself absolute, so the two compound. Reproduced exactly in Phase A because
   the gate measures it; a candidate for correction in Phase B, where the
   change would be visible and reviewable. */
.hc-signupcard__icon-ok {
  /* No success role exists in the Style Center — only utility-ERROR, in all
     three of content/background/border. The green ramp is defined but has no
     role promoted, the same shape as --hc-spacing-20 before 2.1.0. Literal
     until that is promoted upstream: hollaco-style-center#19, which also
     covers utility-error having no dark variant (3.86:1, fails AA text). */
  color: #1ad62d;
  justify-content: flex-end;
  width: 20px;
  height: 20px;
  padding-right: 6px;
  font-weight: 700;
  position: absolute;
  top: 410px;
  bottom: auto;
  right: 65px;
}

.hc-signupcard__icon-err {
  color: var(--hc-color-content-utility-error);
  width: 20px;
  height: 20px;
  margin-right: var(--hc-spacing-2xs);
  display: flex;
  position: absolute;
  top: 410px;
  right: 65px;
}

.hc-signupcard__icon-ok:hover,
.hc-signupcard__icon-err:hover {
  cursor: pointer;
}

/* The duplicate-account message. Both the base and the --info variant applied
   in the export; flattened to the net result, which is display:none until
   email_validator.js reveals it.

   `color` here is advisory only: the script sets `msg.style.color` inline on
   every state change, and plain inline beats a stylesheet. Kept so the element
   has a sensible colour in the window before the script runs, and so the value
   is a role rather than a hex if the script is ever changed. */
.hc-signupcard__inline-error {
  height: 32px;
  color: var(--hc-color-content-utility-error);
  align-items: flex-end;
  margin-bottom: 0;
  padding-top: var(--hc-spacing-2xs);
  padding-bottom: 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  display: none;
}

.hc-signupcard__inline-error-msg {
  align-items: flex-start;
  width: auto;
  height: auto;
  padding-top: var(--hc-spacing-2xs);
  padding-bottom: 9px;
  font-weight: 600;
  display: flex;
}

/* Was --color--azure--49, the Webflow variable whose machine name is the
   reason this rebrand exists.

   INERT AS SHIPPED, and worth knowing before anyone "fixes" it. This element
   and its wrapper (#inline-error-email) are removed from the DOM on every page
   load: email_validator.js sets `msg.textContent = …` on the parent, and
   assigning textContent destroys all child elements. It calls show('', null)
   immediately on supabaseReady, so the children never survive to be styled.
   Confirmed by querying the live DOM in both the pre-strip and post-strip
   trees — absent in both, so the strip did not cause it.

   The user-visible consequence is a lost affordance: the export's duplicate-
   account error offered a "Sign-in" link, and the script replaces the whole
   message with plain text. Restoring it means changing web/js/, which this
   rebrand does not touch. Rule kept so the markup is described and so the
   colour is a role if that ever happens. */
.hc-signupcard__inline-error-link {
  color: var(--hc-color-content-brand);
  padding-left: 6px;
  text-decoration: underline;
}

.hc-signupcard__strength {
  flex-flow: column;
  order: 0;
  width: 100%;
  height: auto;
  margin: var(--hc-spacing-xs) auto 15px;
  font-weight: 700;
  line-height: 21px;
  display: none;
}

/* NOT the usual screen-reader-only utility, despite the export naming it
   `sr-only`: it is `display: block; order: 9999`, i.e. visible and pushed to
   the end of the flex order. Renamed here so nobody deletes it believing it to
   be a visually-hidden helper. */
.hc-signupcard__strength-list-wrap {
  order: 9999;
  display: block;
}

.hc-signupcard__strength-list {
  padding-left: 0;
}

.hc-signupcard__strength-rule {
  justify-content: flex-start;
  align-items: center;
  height: 21px;
  margin-top: var(--hc-spacing-xs);
  list-style-type: none;
  display: inline-flex;
}

.hc-signupcard__strength-icon {
  flex: 1;
  width: auto;
  height: auto;
  margin-left: var(--hc-spacing-2xs);
  margin-right: var(--hc-spacing-2xs);
  display: block;
}

/* One class, where the export had three (.text-block-8 red, -9 green, -10
   neutral). The three differed ONLY in colour, and that colour is never seen:
   password_checker.js sets `color` inline with !important on each rule and on
   every non-IMG child, and the panel is display:none until it runs. Inline
   !important cannot be out-ranked from a stylesheet, so three classes were
   three ways of specifying a value nothing renders. Collapsed deliberately —
   this changes no box, and the script owns the colour at runtime. */
.hc-signupcard__strength-text {
  font-weight: 400;
}

.hc-signupcard__submit-row {
  text-align: right;
  justify-content: flex-end;
  align-self: flex-end;
  width: 100%;
  height: 32px;
  margin-top: var(--hc-spacing-xl);
  margin-bottom: var(--hc-spacing-xl);
  display: block;
}

/* Was Webflow blue #3898ec, inherited from .w-button — the export never gave
   this button a colour of its own. Now the same brand-strong pill as SignIn's
   CTA. */
.hc-signupcard__submit {
  background-color: var(--hc-color-background-brand-strong);
  color: var(--hc-color-content-on-brand-strong);
  cursor: pointer;
  border: 2px solid #0000;
  border-radius: var(--hc-border-radius-16);
  height: 32px;
  min-height: 32px;
  padding: 5px 14px;
  font-family: Inter, sans-serif;
}

/* ---------- Step2: the details step ----------
   --------------------------------------------------------------------------
   The first and only genuine sharing in Plan 3, and the export proves it
   rather than taste suggesting it: `.section-19-copy` is byte-identical to
   `.section-19`, and Step2 reuses div-block-10/11/12/13/14, text-block-3,
   heading-5, div-block-15/16, apple, div-block-19, link-block-2, field-label,
   emailorphonefield__inputs, createacctbutton and signup-createaccount.

   Same Webflow class means the same computed style, so Step2 takes the
   `.hc-signupcard__*` vocabulary Task 7 established instead of a parallel set.
   These are one card at two steps.

   What is NOT shared is below. Note `.div-block-24` is deliberately NOT reused:
   Step1 uses it for the "Sign up with email" intro and Step2 for the legal
   block. Same box, different concept — duplicated rather than given one name
   that fits neither.

   45 rules on Step1, 13 more here, and still not one media query between them.

   Phase A reproduces the export. Off-scale values kept for Phase B: the 69/46
   row heights, 35px country row, 10px paddings, 5px insets. */

/* `.image` in the export — the Step2 logo, hidden at every width. */
.hc-signupcard__logo {
  display: none;
}

/* Step2 ships the four SSO buttons and never shows them: `.div-block-28` is
   display:none with nothing that un-hides it. The markup is kept because
   removing it would move the tree. */
.hc-signupcard__sso--hidden {
  display: none;
}

.hc-signupcard__field-row {
  gap: var(--hc-spacing-md);
  height: 69px;
  min-height: 46px;
  display: flex;
}

.hc-signupcard__field-col {
  height: auto;
  margin-bottom: var(--hc-spacing-md);
}

.hc-signupcard__country-row {
  align-items: center;
  height: 35px;
  display: inline-flex;
}

/* The age-verification info icon. step2dropdowns.js attaches a tooltip to
   #age-verification and makes it interactive. */
.hc-signupcard__info-icon {
  cursor: pointer;
  padding-left: 5px;
}

/* The export sets one colour on the <svg> (#068ecd) and another on the <path>
   (#3898ec, Webflow blue). The path is what renders, so the svg value never
   showed. Both go to the brand role — there is no info/utility role in the
   Style Center, and brand is the honest reading of a help affordance. */
.hc-signupcard__info-svg {
  color: var(--hc-color-content-brand);
  width: 20px;
  height: 20px;
}

.hc-signupcard__info-path {
  color: var(--hc-color-content-brand);
}

/* PLAN 4 SAFETY, added now so it cannot be forgotten later.
   ------------------------------------------------------------------
   hc-components.css restores the focus ring Webflow suppresses, and for this
   select it needs !important because step2dropdowns.js sets
   `style.cssText = 'border:none;outline:none;…'` inline. That rule is keyed to
   `.w-select`, which is still on this element today but which PLAN 4 REMOVES —
   while the script keeps running, so the inline outline:none stays.

   Without this duplicate, keyed to a class we own, the country select silently
   loses its focus ring the moment `w-select` is stripped. Silently is the
   operative word: the geometry gate cannot see an outline, and no test covers
   focus. Deliberate duplication with a removal condition — delete
   hc-components.css's `.w-select:focus` block in Plan 4, keep this one. */
.hc-signupcard__select:focus {
  outline: var(--hc-border-width-md) solid var(--hc-color-focus-ring-default) !important;
}

/* Same box as Step1's `.hc-signupcard__intro` — deliberately a separate class.
   The export shares `.div-block-24` between an intro paragraph and a block of
   legal terms; they are the same rectangle, not the same thing. */
.hc-signupcard__legal {
  height: 70px;
  margin-top: 0;
  margin-bottom: var(--hc-spacing-lg);
}

.hc-signupcard__legal-intro {
  margin-bottom: 10px;
  padding-top: 10px;
  font-size: 12px;
}

/* The three legal links inside are unclassed on purpose: base.css gives bare
   anchors the brand colour and an underline, and all three sit inside running
   text, so WCAG 1.4.1 requires the underline. Verified rendered — teal and
   underlined without any rule here. */
.hc-signupcard__legal-item,
.hc-signupcard__legal-note {
  font-size: 12px;
}
