:root {
	--bg: #f4f1ea;
	--surface: rgba(255, 255, 255, 0.8);
	--surface-strong: #ffffff;
	--surface-soft: #f7f5f0;
	--ink: #14213d;
	--muted: #5f6f7f;
	--line: rgba(20, 33, 61, 0.12);
	--primary: #0f766e;
	--primary-strong: #0a4f4a;
	--secondary: #f59e0b;
	--accent: #ef4444;
	--shadow-lg: 0 30px 80px rgba(20, 33, 61, 0.14);
	--shadow-md: 0 16px 40px rgba(20, 33, 61, 0.10);
	--shadow-sm: 0 8px 20px rgba(20, 33, 61, 0.08);
	--radius-xl: 30px;
	--radius-lg: 22px;
	--radius-md: 16px;
	--radius-sm: 12px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'Manrope', sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 32%),
		radial-gradient(circle at right 10% top 20%, rgba(245, 158, 11, 0.16), transparent 28%),
		linear-gradient(160deg, #f8f5ef 0%, #eef3f1 52%, #f4eee8 100%);
	overflow-x: hidden;
}

body.modal-open {
	overflow: hidden;
}

h1,
h2,
h3,
legend {
	margin: 0;
	font-family: 'Space Grotesk', sans-serif;
	letter-spacing: -0.03em;
}

p {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: inherit;
}

.page-bg {
	position: fixed;
	z-index: -2;
	border-radius: 999px;
	filter: blur(12px);
	opacity: 0.55;
	pointer-events: none;
}

.page-bg--one {
	top: 7rem;
	right: -10rem;
	width: 28rem;
	height: 28rem;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.55), rgba(245, 158, 11, 0));
	animation: drift 18s ease-in-out infinite;
}

.page-bg--two {
	bottom: -8rem;
	left: -8rem;
	width: 26rem;
	height: 26rem;
	background: radial-gradient(circle, rgba(15, 118, 110, 0.4), rgba(15, 118, 110, 0));
	animation: drift 22s ease-in-out infinite reverse;
}

.shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 32px 0 60px;
}

.shell--admin {
	padding-top: 40px;
}

.hero-card,
.card,
.metric-card,
.modal__panel {
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.hero-card {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.95fr);
	gap: 24px;
	align-items: stretch;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: var(--radius-xl);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
}

.hero-card::after {
	content: '';
	position: absolute;
	inset: auto -4rem -5rem auto;
	width: 14rem;
	height: 14rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0));
}

.hero-card--admin {
	margin-bottom: 24px;
}

.hero-card__content,
.hero-card__panel,
.glass-panel {
	position: relative;
	z-index: 1;
}

.hero-card__content {
	display: grid;
	gap: 22px;
}

.hero-card__panel {
	display: grid;
	gap: 16px;
	align-content: start;
}

.glass-panel {
	padding: 22px;
	border-radius: 24px;
	background: rgba(20, 33, 61, 0.05);
	border: 1px solid rgba(20, 33, 61, 0.08);
}

.brand-lockup {
	display: flex;
	align-items: center;
	gap: 16px;
}

.brand-lockup__logo,
.splash-screen__logo {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 22px;
	box-shadow: 0 16px 32px rgba(15, 118, 110, 0.24);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--primary);
}

.hero-card h1 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 0.98;
}

.hero-card__lead {
	max-width: 60ch;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--muted);
}

.hero-card__hint {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--muted);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.stat-chip,
.metric-card {
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(20, 33, 61, 0.08);
	box-shadow: var(--shadow-sm);
}

.stat-chip {
	display: grid;
	gap: 6px;
}

.stat-chip strong,
.metric-card strong {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.05rem;
}

.stat-chip__label,
.metric-card__label {
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--muted);
}

.action-stack,
.stack-form {
	display: grid;
	gap: 12px;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 18px;
	border: 0;
	border-radius: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
	text-decoration: none;
}

.button.is-hidden,
.is-hidden {
	display: none;
}

.button:hover {
	transform: translateY(-2px);
}

.button--primary {
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--primary-strong));
	box-shadow: 0 18px 34px rgba(15, 118, 110, 0.22);
}

.button--secondary {
	color: var(--ink);
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.96), rgba(250, 204, 21, 0.92));
	box-shadow: 0 18px 34px rgba(245, 158, 11, 0.22);
}

.button--ghost {
	color: var(--ink);
	background: rgba(20, 33, 61, 0.08);
}

.button--large {
	width: 100%;
}

.text-link {
	color: var(--primary-strong);
	font-weight: 700;
	text-decoration: none;
}

.text-link:hover {
	text-decoration: underline;
}

.mini-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(20, 33, 61, 0.08);
	color: var(--muted);
	border: 1px solid rgba(20, 33, 61, 0.08);
}

.mini-badge--success {
	color: #125c2f;
	background: rgba(34, 197, 94, 0.14);
	border-color: rgba(34, 197, 94, 0.2);
}

.mini-badge--warning {
	color: #9a6700;
	background: rgba(245, 158, 11, 0.16);
	border-color: rgba(245, 158, 11, 0.22);
}

.mini-badge--danger {
	color: #8a1c1c;
	background: rgba(239, 68, 68, 0.12);
	border-color: rgba(239, 68, 68, 0.18);
}

.mini-badge--muted {
	color: var(--muted);
	background: rgba(20, 33, 61, 0.08);
	border-color: rgba(20, 33, 61, 0.08);
}

.content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.82fr);
	gap: 24px;
	margin-top: 24px;
}

.main-column,
.side-column {
	display: grid;
	gap: 24px;
	align-content: start;
}

.card {
	padding: 24px;
	border-radius: var(--radius-xl);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: var(--shadow-md);
}

.card__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.card__header--compact {
	margin-bottom: 14px;
}

.card__header h2,
.support-card h2,
.modal__header h2,
.form-section h3,
.section-heading h3 {
	font-size: 1.45rem;
}

.card__meta,
.section-heading__note,
.metric-card p,
.field__hint {
	font-size: 0.92rem;
	color: var(--muted);
}

.entry-form,
.form-section {
	display: grid;
	gap: 18px;
}

.form-section + .form-section {
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.form-grid {
	display: grid;
	gap: 16px;
}

.form-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
	display: grid;
	gap: 8px;
}

.field--compact {
	gap: 6px;
}

.field--search {
	min-width: min(320px, 100%);
}

.field__label {
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

input[type='text'],
input[type='password'],
input[type='datetime-local'],
input[type='date'],
select,
textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(20, 33, 61, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--ink);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input[type='text']:focus,
input[type='password']:focus,
input[type='datetime-local']:focus,
input[type='date']:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: rgba(15, 118, 110, 0.46);
	box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
	transform: translateY(-1px);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

.section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.choice-panel {
	margin: 0;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: rgba(20, 33, 61, 0.03);
}

.choice-panel legend {
	padding: 0 8px;
	font-size: 0.92rem;
}

.option-grid {
	display: grid;
	gap: 12px;
}

.option-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-grid--days {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-pill {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 0 14px;
	border-radius: 16px;
	border: 1px solid rgba(20, 33, 61, 0.1);
	background: rgba(255, 255, 255, 0.88);
	cursor: pointer;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.choice-pill:hover {
	transform: translateY(-1px);
	border-color: rgba(15, 118, 110, 0.28);
}

.choice-pill input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.choice-pill span {
	position: relative;
	padding-left: 30px;
	font-weight: 700;
}

.choice-pill span::before,
.choice-pill span::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 999px;
	transition: all 160ms ease;
}

.choice-pill span::before {
	left: 0;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(20, 33, 61, 0.2);
	background: #fff;
}

.choice-pill span::after {
	left: 5px;
	width: 8px;
	height: 8px;
	background: var(--primary);
	opacity: 0;
}

.choice-pill input:checked + span::before {
	border-color: rgba(15, 118, 110, 0.8);
}

.choice-pill input:checked + span::after {
	opacity: 1;
}

.choice-pill:has(input:checked) {
	border-color: rgba(15, 118, 110, 0.35);
	background: rgba(15, 118, 110, 0.08);
	box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.06);
}

.intensity-card {
	display: grid;
	gap: 16px;
	padding: 20px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.12));
	border: 1px solid rgba(15, 118, 110, 0.12);
}

.intensity-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.intensity-card__caption {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.95rem;
}

.intensity-badge {
	display: inline-flex;
	align-items: end;
	gap: 2px;
	min-width: 88px;
	justify-content: center;
	padding: 12px 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: var(--shadow-sm);
}

.intensity-badge span {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 2rem;
	line-height: 1;
}

.intensity-badge small {
	color: var(--muted);
	font-size: 0.88rem;
	margin-bottom: 3px;
}

input[type='range'] {
	appearance: none;
	width: 100%;
	height: 14px;
	border-radius: 999px;
	background: linear-gradient(to right, var(--primary) 0%, var(--primary) 0%, rgba(20, 33, 61, 0.1) 0%, rgba(20, 33, 61, 0.1) 100%);
	outline: none;
}

input[type='range']::-webkit-slider-thumb {
	appearance: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--secondary), var(--accent));
	border: 4px solid #fff;
	box-shadow: 0 8px 20px rgba(239, 68, 68, 0.24);
}

input[type='range']::-moz-range-thumb {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--secondary), var(--accent));
	border: 4px solid #fff;
	box-shadow: 0 8px 20px rgba(239, 68, 68, 0.24);
}

.form-actions {
	display: grid;
	gap: 14px;
}

.status-message {
	display: none;
	padding: 14px 16px;
	border-radius: 16px;
	font-weight: 700;
}

.status-message.is-visible {
	display: block;
	animation: statusIn 180ms ease;
}

.status-message.is-success {
	color: #125c2f;
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(34, 197, 94, 0.22);
}

.status-message.is-error {
	color: #8a1c1c;
	background: rgba(239, 68, 68, 0.14);
	border: 1px solid rgba(239, 68, 68, 0.22);
}

.quote-card {
	position: relative;
	overflow: hidden;
}

.support-card__text {
	line-height: 1.7;
	color: var(--muted);
}

.quote-card::after {
	content: '"';
	position: absolute;
	right: 18px;
	bottom: -26px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 9rem;
	color: rgba(15, 118, 110, 0.08);
	pointer-events: none;
}

.quote-card__text {
	font-size: 1.18rem;
	line-height: 1.75;
	color: var(--ink);
}

.support-card {
	display: grid;
	gap: 14px;
}

.support-card--muted {
	background: linear-gradient(160deg, rgba(20, 33, 61, 0.88), rgba(20, 33, 61, 0.76));
	color: #eef4f2;
}

.support-card--muted .eyebrow,
.support-card--muted p {
	color: rgba(238, 244, 242, 0.84);
}

.check-list,
.goals-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li,
.goals-list li {
	position: relative;
	padding-left: 24px;
	line-height: 1.6;
}

.check-list li::before,
.goals-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65rem;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.risk-card {
	gap: 16px;
}

.risk-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid transparent;
}

.risk-badge--pending {
	color: #6b7280;
	background: rgba(107, 114, 128, 0.12);
	border-color: rgba(107, 114, 128, 0.2);
}

.risk-badge--green {
	color: #166534;
	background: rgba(34, 197, 94, 0.16);
	border-color: rgba(34, 197, 94, 0.28);
}

.risk-badge--yellow {
	color: #92400e;
	background: rgba(250, 204, 21, 0.2);
	border-color: rgba(245, 158, 11, 0.28);
}

.risk-badge--red {
	color: #991b1b;
	background: rgba(239, 68, 68, 0.16);
	border-color: rgba(239, 68, 68, 0.3);
}

.risk-zones {
	display: grid;
	gap: 12px;
}

.risk-zone {
	padding: 14px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.65);
}

.risk-zone h3 {
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.risk-zone .check-list {
	gap: 8px;
}

.risk-zone .check-list li {
	padding-left: 18px;
	line-height: 1.45;
	font-size: 0.95rem;
}

.risk-zone .check-list li::before {
	width: 8px;
	height: 8px;
	top: 0.52rem;
}

.risk-zone--green {
	border-color: rgba(34, 197, 94, 0.3);
	background: rgba(34, 197, 94, 0.08);
}

.risk-zone--green h3 {
	color: #166534;
}

.risk-zone--yellow {
	border-color: rgba(245, 158, 11, 0.34);
	background: rgba(245, 158, 11, 0.1);
}

.risk-zone--yellow h3 {
	color: #92400e;
}

.risk-zone--red {
	border-color: rgba(239, 68, 68, 0.34);
	background: rgba(239, 68, 68, 0.1);
}

.risk-zone--red h3 {
	color: #991b1b;
}

.daily-summary-card {
	display: grid;
	gap: 10px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(20, 33, 61, 0.04);
	border: 1px solid rgba(20, 33, 61, 0.1);
}

.daily-summary-card h3 {
	font-size: 1.1rem;
}

.summary-table {
	display: grid;
	gap: 6px;
}

.summary-row {
	display: grid;
	grid-template-columns: 1.5fr minmax(70px, auto);
	gap: 12px;
	align-items: center;
	padding: 8px 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(20, 33, 61, 0.08);
}

.summary-row--head {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.76rem;
	color: var(--muted);
}

.summary-row strong {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
}

.modal {
	position: fixed;
	inset: 0;
	display: none;
	place-items: center;
	padding: 24px;
	z-index: 40;
}

.modal.is-open {
	display: grid;
	animation: fadeIn 180ms ease;
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 33, 61, 0.44);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.modal__panel {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: min(88vh, 760px);
	padding: 24px;
	overflow: auto;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--shadow-lg);
	animation: modalIn 220ms ease;
}

.modal__panel--wide {
	width: min(760px, 100%);
}

.modal__header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.modal__section {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}

.icon-button {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 14px;
	background: rgba(20, 33, 61, 0.08);
	color: var(--ink);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.diary-list,
.admin-list {
	display: grid;
	gap: 14px;
}

.diary-entry,
.admin-entry {
	padding: 18px;
	border-radius: 20px;
	border: 1px solid rgba(20, 33, 61, 0.09);
	background: rgba(20, 33, 61, 0.03);
}

.diary-entry__date,
.admin-entry__title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.02rem;
}

.diary-entry__text {
	margin-top: 8px;
	color: var(--muted);
	line-height: 1.7;
	white-space: pre-wrap;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.metric-card {
	display: grid;
	gap: 8px;
}

.metric-card strong {
	font-size: clamp(2rem, 4vw, 2.6rem);
}

.admin-card {
	display: grid;
	gap: 18px;
}

.admin-entry {
	display: grid;
	gap: 14px;
}

.admin-entry__head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: start;
}

.admin-entry__meta,
.admin-entry__chips,
.admin-entry__group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.admin-entry__subtle {
	color: var(--muted);
	font-size: 0.92rem;
}

.data-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(15, 118, 110, 0.09);
	color: var(--primary-strong);
	font-weight: 700;
	font-size: 0.92rem;
}

.data-chip--green {
	color: #166534;
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.data-chip--yellow {
	color: #92400e;
	background: rgba(250, 204, 21, 0.18);
	border: 1px solid rgba(245, 158, 11, 0.34);
}

.data-chip--red {
	color: #991b1b;
	background: rgba(239, 68, 68, 0.16);
	border: 1px solid rgba(239, 68, 68, 0.34);
}

.data-chip--pending {
	color: #6b7280;
	background: rgba(107, 114, 128, 0.12);
	border: 1px solid rgba(107, 114, 128, 0.24);
}

.data-block {
	display: grid;
	gap: 6px;
}

.data-block strong {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.data-block span,
.data-block p {
	line-height: 1.7;
}

.raw-toggle {
	border: 1px solid rgba(20, 33, 61, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.7);
	overflow: hidden;
}

.raw-toggle summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 16px;
	font-weight: 800;
}

.raw-toggle summary::-webkit-details-marker {
	display: none;
}

.raw-toggle pre {
	margin: 0;
	padding: 0 16px 16px;
	white-space: pre-wrap;
	color: var(--muted);
}

.empty-state {
	padding: 28px;
	border-radius: 22px;
	text-align: center;
	background: rgba(20, 33, 61, 0.04);
	color: var(--muted);
}

.splash-screen {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	gap: 10px;
	background: linear-gradient(160deg, rgba(248, 245, 239, 0.96), rgba(238, 243, 241, 0.98));
	z-index: 100;
}

.splash-screen__glow {
	position: absolute;
	width: 18rem;
	height: 18rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(15, 118, 110, 0.25), rgba(15, 118, 110, 0));
	animation: pulseSoft 2.4s ease-in-out infinite;
}

.splash-screen__eyebrow {
	position: relative;
	z-index: 1;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--primary);
}

.splash-screen__title {
	position: relative;
	z-index: 1;
	font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.reveal-card {
	animation: riseIn 700ms ease both;
}

.reveal-card:nth-child(2) {
	animation-delay: 120ms;
}

.reveal-card:nth-child(3) {
	animation-delay: 220ms;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes modalIn {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes riseIn {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes statusIn {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes drift {
	0%, 100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(16px, -18px, 0) scale(1.05);
	}
}

@keyframes pulseSoft {
	0%, 100% {
		transform: scale(0.95);
		opacity: 0.7;
	}
	50% {
		transform: scale(1.05);
		opacity: 1;
	}
}

@media (max-width: 980px) {
	.hero-card,
	.content-grid,
	.dashboard-grid {
		grid-template-columns: 1fr;
	}

	.hero-stats {
		grid-template-columns: 1fr;
	}

	.field--search {
		min-width: 100%;
	}

	.card__header {
		align-items: start;
		flex-direction: column;
	}

	.option-grid--days {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.shell {
		width: min(100% - 20px, 1180px);
		padding-top: 20px;
	}

	.hero-card,
	.card,
	.modal__panel {
		padding: 20px;
		border-radius: 24px;
	}

	.brand-lockup {
		align-items: start;
	}

	.brand-lockup__logo,
	.splash-screen__logo {
		width: 60px;
		height: 60px;
	}

	.form-grid--two,
	.option-grid--two,
	.button-row,
	.option-grid--days,
	.intensity-card__top,
	.admin-entry__head {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.button-row {
		display: grid;
	}

	.choice-pill {
		min-height: 50px;
	}

	.modal {
		padding: 12px;
	}

	.button {
		width: 100%;
	}
}
