/*
 * Every visual constant of voyapidaliaexchange.com: colors, type, spacing,
 * rules, radii, motion. No other stylesheet, page, or email names a raw value
 * a token covers; lib/Mail.php reads the email's values from this file.
 *
 * The palette is near-monochrome ink on paper. Voya orange (the logo's own
 * #f37021) is the one accent, used for marks only: the active tab, the
 * progress line, the drop target. Text that needs the accent uses the deeper
 * shade, which holds contrast on paper.
 */

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Color */
	--color-paper: #f7f6f3;
	--color-surface: #ffffff;
	--color-ink: #17171a;
	--color-ink-soft: #3b3b40;
	--color-muted: #6a6a70;
	--color-faint: #9a9a9f;
	--color-rule: #d8d6d0;
	--color-rule-faint: #e9e7e2;
	--color-wash: #efeee9;
	--color-inverse: #ffffff;
	--color-accent: #f37021;
	--color-accent-deep: #b4490c;
	--color-error: #9e2a1f;
	--color-error-wash: #f6e9e6;
	--color-success: #2f5d3a;
	--color-success-wash: #e8efe8;
	--color-overlay: #17171a;
	--opacity-overlay: 0.4;
	--opacity-disabled: 0.5;

	/* Type */
	--font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
	--font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.8125rem;
	--font-size-md: 0.9375rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.5rem;
	--font-size-2xl: 2.25rem;
	--font-size-3xl: 3.25rem;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-display: 360;
	--line-height: 1.55;
	--line-height-tight: 1.15;
	--tracking-label: 0.08em;
	--tracking-display: -0.015em;
	--underline-offset: 0.22em;

	/* Space */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4.5rem;
	--space-9: 7rem;

	/* Layout */
	--page-width: 72rem;
	--measure: 34rem;
	--gutter: 1.5rem;
	--field-height: 2.75rem;
	--logo-width: 7.5rem;
	--qr-size: 11rem;
	--gutter-narrow: 1rem;
	--width-date: 12rem;
	--width-code: 12rem;
	--width-field-narrow: 20rem;
	--width-entry-form: 26rem;
	--width-entry-name: 8ch;
	--width-dialog: 32rem;
	--height-textarea: 8rem;

	/* Rules and radii */
	--rule: 1px;
	--rule-strong: 2px;
	--radius: 2px;
	--radius-none: 0;

	/* Focus */
	--focus-width: 2px;
	--focus-offset: 2px;

	/* Motion */
	--transition: 140ms ease-out;
	--transition-slow: 260ms ease-out;

	/* Elevation: one, for the dialog only */
	--shadow-dialog: 0 1.25rem 3rem -1rem #17171a40;

	/* Email (lib/Mail.php writes these inline) */
	--email-width: 34rem;
	--email-logo-width: 96px;
	--email-logo-height: 30px;
}
