/*
 * Authentication pages use the same cloned public header and footer as the
 * feature pages, but the content itself is a two-column card layout. These
 * rules reset the shared document shell so the captured Tailwind utilities are
 * the only thing that positions the page.
 */

.site-main--auth {
  max-width: none;
  padding: 0;
  color: #000000;
  font-family: Satoshi, "Satoshi Fallback", Satoshi, Manrope,
    "Manrope Fallback", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.site-main--auth h1,
.site-main--auth h2 {
  font-family: inherit;
  letter-spacing: normal;
  text-wrap: wrap;
}

/*
 * The design is built on Tailwind v4, whose preflight defaults every border to
 * `currentColor`. Our build uses Tailwind v3, whose preflight defaults to gray;
 * restore the design behaviour without outranking any `border-*` utility.
 */
:where(.site-main--auth) *,
:where(.site-main--auth) *::before,
:where(.site-main--auth) *::after {
  border-color: currentColor;
}

/* Tailwind v3 cannot express these opacity utilities on CSS-variable colours. */
.site-main--auth .text-brand\/60 {
  color: color-mix(in oklab, var(--color-primary) 60%, transparent);
}

.site-main--auth .text-brand\/70 {
  color: color-mix(in oklab, var(--color-primary) 70%, transparent);
}

.site-main--auth .border-brand\/24 {
  border-color: color-mix(in oklab, var(--color-primary) 24%, transparent);
}

.site-main--auth .bg-white\/10 {
  background-color: oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
}

.site-main--auth .hover\:bg-black\/5:hover {
  background-color: oklab(0 0 0 / 0.05);
}

/* The design leaves header controls on the browser's default focus ring. */
.site-main--auth header :focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
  outline-offset: 0;
}

/* The design does not use the forms plugin, so the cloned footer inputs keep
 * their native box instead of the plugin's 1px border and 8px padding. */
.site-main--auth footer input[type="email"] {
  border-width: 0;
  border-color: currentColor;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* The header clone keeps the same tap target and phone icon size as features. */
.site-main--auth header a[href^="tel:"] svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .site-main--auth header a[href^="tel:"] {
    min-height: 44px;
  }
}

/* The design's footer paragraphs inherit the block's 1.4 line-height. */
.site-main--auth footer p:not([class*="leading-"]) {
  line-height: inherit;
}
