:root {
	--swa-red: #b00020;
	--swa-red-dark: #820018;
	--swa-ink: #1d2733;
	--swa-muted: #5d6976;
	--swa-line: #dfe4ea;
	--swa-soft: #f7f4f5;
	--swa-white: #fff;
	--swa-success: #146c43;
	--swa-shadow: 0 12px 34px rgba(29, 39, 51, .09);
}

.swa-app,
.swa-app * {
	box-sizing: border-box;
}

.swa-app {
	color: var(--swa-ink);
	font-family: inherit;
	font-size: 17px;
	line-height: 1.6;
	margin: 0 auto;
	padding: clamp(20px, 5vw, 52px) 16px;
}

.swa-shell {
	margin: 0 auto;
	max-width: 980px;
}

.swa-hero {
	margin: 0 auto 28px;
	max-width: 780px;
	text-align: center;
}

.swa-eyebrow {
	color: var(--swa-red);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .14em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.swa-app h1 {
	color: var(--swa-ink);
	font-size: clamp(2rem, 8vw, 3.55rem);
	letter-spacing: -.045em;
	line-height: 1.05;
	margin: 0 0 16px;
}

.swa-lead {
	color: var(--swa-muted);
	font-size: clamp(1.05rem, 3vw, 1.28rem);
	margin: 0;
}

.swa-card {
	background: var(--swa-white);
	border: 1px solid var(--swa-line);
	border-radius: 20px;
	box-shadow: var(--swa-shadow);
}

.swa-welcome {
	margin: 0 auto 24px;
	max-width: 760px;
	padding: 22px;
}

.swa-welcome p {
	margin: 0;
}

.swa-nav-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	margin: 24px 0 30px;
}

.swa-nav-card {
	align-items: center;
	background: var(--swa-white);
	border: 1px solid var(--swa-line);
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(29, 39, 51, .06);
	color: var(--swa-ink);
	display: grid;
	gap: 14px;
	grid-template-columns: 46px 1fr auto;
	min-height: 96px;
	padding: 18px;
	text-decoration: none !important;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.swa-nav-card:hover {
	border-color: var(--swa-red);
	box-shadow: var(--swa-shadow);
	color: var(--swa-ink);
	transform: translateY(-2px);
}

.swa-nav-card:focus-visible,
.swa-button:focus-visible,
.swa-form input:focus-visible,
.swa-form textarea:focus-visible,
.swa-form select:focus-visible {
	outline: 3px solid rgba(176, 0, 32, .28);
	outline-offset: 3px;
}

.swa-nav-card strong,
.swa-nav-card small {
	display: block;
}

.swa-nav-card strong {
	font-size: 1.04rem;
	line-height: 1.25;
}

.swa-nav-card small {
	color: var(--swa-muted);
	font-size: .86rem;
	line-height: 1.4;
	margin-top: 4px;
}

.swa-icon {
	align-items: center;
	background: var(--swa-soft);
	border-radius: 13px;
	color: var(--swa-red);
	display: flex;
	font-weight: 900;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.swa-arrow {
	color: var(--swa-red);
	font-size: 1.35rem;
	font-weight: 800;
}

.swa-emergency,
.swa-disclaimer,
.swa-privacy {
	border-radius: 16px;
	margin: 24px 0;
	padding: 18px 20px;
}

.swa-emergency {
	background: #fff1f3;
	border: 2px solid var(--swa-red);
}

.swa-emergency strong {
	color: var(--swa-red-dark);
}

.swa-emergency p,
.swa-disclaimer p {
	margin: 5px 0 0;
}

.swa-emergency-large {
	font-size: clamp(1.05rem, 3vw, 1.3rem);
	text-align: center;
}

.swa-privacy {
	background: #f1f6fa;
	border-left: 5px solid #2b6f9f;
}

.swa-disclaimer {
	background: #f5f6f7;
	border: 1px solid var(--swa-line);
	color: var(--swa-muted);
	font-size: .95rem;
}

.swa-form {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
	margin-top: 24px;
	padding: clamp(20px, 5vw, 34px);
}

.swa-field label {
	display: block;
	font-weight: 750;
	margin-bottom: 7px;
}

.swa-field label span {
	color: var(--swa-red);
}

.swa-field input:not([type="checkbox"]),
.swa-field textarea,
.swa-field select {
	appearance: none;
	background: #fff;
	border: 1.5px solid #bac3cc;
	border-radius: 11px;
	color: var(--swa-ink);
	font: inherit;
	min-height: 50px;
	padding: 11px 13px;
	width: 100%;
}

.swa-field textarea {
	min-height: 118px;
	resize: vertical;
}

.swa-field small {
	color: var(--swa-muted);
	display: block;
	font-size: .85rem;
	margin-top: 6px;
}

.swa-checkbox {
	align-items: flex-start;
	display: grid;
	gap: 11px;
	grid-template-columns: 24px 1fr;
}

.swa-checkbox input {
	accent-color: var(--swa-red);
	height: 22px;
	margin: 4px 0 0;
	width: 22px;
}

.swa-checkbox label {
	font-weight: 600;
	margin: 0;
}

.swa-button {
	background: var(--swa-red);
	border: 0;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	min-height: 54px;
	padding: 13px 22px;
	width: 100%;
}

.swa-button:hover {
	background: var(--swa-red-dark);
}

.swa-login-card {
	margin: 24px auto;
	max-width: 680px;
	padding: clamp(22px, 5vw, 34px);
	text-align: center;
}

.swa-login-card p {
	font-size: 1.1rem;
	margin: 0 0 20px;
}

.swa-login-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.swa-button-link,
.swa-secondary-button {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 52px;
	padding: 12px 22px;
	text-decoration: none !important;
	width: auto;
}

.swa-secondary-button {
	background: #fff;
	border: 2px solid var(--swa-red);
	border-radius: 12px;
	color: var(--swa-red);
	font-weight: 800;
}

.swa-secondary-button:hover {
	background: var(--swa-soft);
	color: var(--swa-red-dark);
}

.swa-required-note {
	color: var(--swa-muted);
	font-size: .82rem;
	margin: 8px 0 0;
	text-align: center;
}

.swa-notice {
	border-radius: 15px;
	font-weight: 650;
	margin: 20px 0;
	padding: 18px 20px;
}

.swa-notice p {
	margin: 0;
}

.swa-success {
	background: #eaf7f0;
	border: 1px solid #8fc9aa;
	color: #0d5735;
}

.swa-error {
	background: #fff0f1;
	border: 1px solid #e4a0aa;
	color: #7d1121;
}

.swa-courage {
	border-top: 1px solid currentColor;
	font-size: 1.08rem;
	margin-top: 12px !important;
	padding-top: 12px;
}

.swa-befast,
.swa-resource-grid {
	display: grid;
	gap: 16px;
}

.swa-befast-card {
	align-items: center;
	background: #fff;
	border: 1px solid var(--swa-line);
	border-radius: 18px;
	display: grid;
	gap: 17px;
	grid-template-columns: 58px 1fr;
	padding: 18px;
}

.swa-befast-card > span {
	align-items: center;
	background: var(--swa-red);
	border-radius: 16px;
	color: #fff;
	display: flex;
	font-size: 1.65rem;
	font-weight: 900;
	height: 58px;
	justify-content: center;
	width: 58px;
}

.swa-befast-card h2,
.swa-resource h2 {
	font-size: 1.25rem;
	line-height: 1.25;
	margin: 0 0 4px;
}

.swa-befast-card p,
.swa-resource p {
	color: var(--swa-muted);
	margin: 0;
}

.swa-resource {
	padding: 24px;
	scroll-margin-top: 30px;
}

@media (min-width: 640px) {
	.swa-nav-grid,
	.swa-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.swa-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.swa-full {
		grid-column: 1 / -1;
	}

	.swa-button {
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swa-nav-card {
		transition: none;
	}
}
