/* Housing Alliance HTX web tokens.
   Brand: Steel Navy #1F304F (PMS 2767 C), Teal #00B587 (PMS 339 C), Cerulean Blue #3B5FAA (PMS 7684 C).
   Type: Poppins for headings and buttons, Public Sans for reading text. Both SIL Open Font License 1.1. */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/PublicSans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* dejavu:start  The review copy's typeface. To use it again, set --font-display and --font-text to var(--font-dejavu).
   Browsers download these files only if a page uses them. */
@font-face { font-family: "DejaVu Sans"; src: url("../fonts/DejaVuSans.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DejaVu Sans"; src: url("../fonts/DejaVuSans-Bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
/* dejavu:end */

:root {
	/* Brand */
	--navy: #1f304f;
	--teal: #00b587;
	--cerulean: #3b5faa;
	--black: #000000;

	/* Navy family: hero surfaces and depth */
	--navy-900: #16233b;
	--navy-700: #2a3d5f;
	--navy-600: #3a4f75;

	/* Teal family. Teal is a fill: text on it is navy (5.0:1). Teal text on white uses teal-700 (5.3:1). */
	--teal-hover: #22c79a;
	--teal-300: #5fd4ae;
	--teal-100: #c8f0e3;
	--teal-50: #e6f8f2;
	--teal-700: #007a5b;

	/* Cerulean family: links, selection and focus */
	--cerulean-700: #2f4c88;
	--cerulean-100: #dce5f5;
	--cerulean-50: #eef2fa;

	/* Surfaces and lines */
	--canvas: #f4f6fa;
	--surface: #ffffff;
	--surface-sunken: #f8fafc;
	--line: #e3e8f0;
	--line-strong: #cbd3df;

	/* Text */
	--text-strong: var(--navy);
	--text: #3d4a62;
	--text-muted: #5b6880;
	--on-navy: #ffffff;
	--on-navy-muted: #c5cfdc;
	--on-navy-subtle: #a9b6ca;

	/* Status: caution for answers to retry, danger for errors and locks */
	--caution-700: #8a4b00;
	--caution-500: #d98a00;
	--caution-100: #fde9c4;
	--caution-50: #fff6e6;
	--danger-700: #b42318;
	--danger-100: #fcdcd9;
	--danger-50: #fef2f1;

	--focus: var(--cerulean);

	/* Type */
	--font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-text: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-dejavu: "DejaVu Sans", Verdana, sans-serif;
	--text-display: 64px;
	--text-h1: 44px;
	--text-h2: 34px;
	--text-h3: 24px;
	--text-h4: 20px;
	--text-lead: 21px;
	--text-body: 18px;
	--text-ui: 16px;
	--text-small: 15px;
	--text-caption: 13px;

	/* Shape */
	--radius-sm: 10px;
	--radius-md: 14px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--radius-2xl: 36px;
	--radius-pill: 999px;

	/* Depth: navy-tinted shadows */
	--shadow-xs: 0 1px 2px rgba(22, 35, 59, 0.06);
	--shadow-sm: 0 1px 2px rgba(22, 35, 59, 0.05), 0 4px 12px -2px rgba(22, 35, 59, 0.07);
	--shadow-md: 0 1px 3px rgba(22, 35, 59, 0.05), 0 16px 40px -12px rgba(22, 35, 59, 0.16);
	--shadow-lg: 0 2px 6px rgba(22, 35, 59, 0.06), 0 28px 64px -16px rgba(22, 35, 59, 0.26);

	/* Motion */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
	--dur-1: 120ms;
	--dur-2: 220ms;
	--dur-3: 420ms;

	/* Layout */
	--header-h: 76px;
	--page-max: 1200px;
	--gutter: 32px;
}

@media (max-width: 760px) {
	:root {
		--text-display: 40px;
		--text-h1: 32px;
		--text-h2: 27px;
		--text-h3: 21px;
		--text-h4: 18px;
		--text-lead: 18px;
		--text-body: 17px;
		--header-h: 64px;
		--gutter: 16px;
	}
}
