.hrma-page {
	--hrma-ink: #17221b;
	--hrma-muted: #66736b;
	--hrma-green: #5a7f45;
	--hrma-green-dark: #233629;
	--hrma-soft: #f4f8f2;
	--hrma-border: #dde8dd;
	width: min(1180px, calc(100% - 48px));
	margin: 34px auto 82px;
	color: var(--hrma-ink);
	font-family: Manrope, Arial, sans-serif;
}

.hrma-account,
.hrma-account-tile {
	--hrma-ink: #17221b;
	--hrma-muted: #66736b;
	--hrma-green: #5a7f45;
	--hrma-green-dark: #233629;
	--hrma-soft: #f4f8f2;
	--hrma-border: #dde8dd;
	font-family: Manrope, Arial, sans-serif;
}

.hrma-page * {
	box-sizing: border-box;
}

.hrma-page a {
	color: var(--hrma-green-dark);
	font-weight: 800;
}

.hrma-hero {
	overflow: hidden;
	border-radius: 28px;
	padding: clamp(34px, 6vw, 76px);
	background: radial-gradient(circle at 84% 20%, rgba(110, 172, 120, .3), transparent 34%), linear-gradient(135deg, #102018, #22372b 62%, #101c16);
	color: #fff;
}

.hrma-kicker {
	margin: 0 0 10px;
	color: #9dc28d;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hrma-hero h1 {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 5vw, 72px);
	line-height: 1.03;
	letter-spacing: -.055em;
}

.hrma-hero p:not(.hrma-kicker) {
	max-width: 760px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .84);
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.7;
}

.hrma-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: -28px auto 34px;
	padding: 0 28px;
}

.hrma-choice {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	grid-template-areas:
		"icon title"
		"icon copy"
		"icon action";
	gap: 8px 18px;
	width: 100%;
	min-height: 188px;
	padding: 26px;
	border: 1px solid rgba(90, 127, 69, .18);
	border-radius: 22px;
	background: #fff;
	color: var(--hrma-ink);
	text-align: left;
	box-shadow: 0 18px 48px rgba(21, 39, 27, .12);
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hrma-page a.hrma-choice {
	color: var(--hrma-ink);
	font-weight: inherit;
	text-decoration: none;
}

.hrma-choice:hover,
.hrma-choice.is-active {
	transform: translateY(-3px);
	border-color: rgba(90, 127, 69, .44);
	background: #fbfdf9;
	box-shadow: 0 22px 58px rgba(21, 39, 27, .16);
}

.hrma-choice:focus-visible,
.hrma-button:focus-visible {
	outline: 3px solid rgba(90, 127, 69, .28);
	outline-offset: 3px;
}

.hrma-choice-icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: #edf5ea;
	color: var(--hrma-green);
}

.hrma-choice svg,
.hrma-page svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hrma-choice strong {
	grid-area: title;
	align-self: end;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -.03em;
}

.hrma-choice small {
	grid-area: copy;
	color: var(--hrma-muted);
	font-size: 15px;
	line-height: 1.55;
}

.hrma-choice em {
	grid-area: action;
	align-self: end;
	color: var(--hrma-green-dark);
	font-size: 13px;
	font-style: normal;
	font-weight: 950;
	letter-spacing: .08em;
}

.hrma-form-shell,
.hrma-info-card,
.hrma-process-grid article,
.hrma-terms,
.hrma-faq {
	border: 1px solid var(--hrma-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(23, 34, 27, .07);
}

.hrma-form-shell {
	margin: 34px 0;
	padding: clamp(22px, 4vw, 40px);
}

.hrma-form-head h2,
.hrma-info-card h2,
.hrma-process-grid h2,
.hrma-terms h2,
.hrma-faq h2 {
	margin: 0 0 12px;
	color: var(--hrma-ink);
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.1;
	letter-spacing: -.045em;
}

.hrma-form-head p:not(.hrma-kicker) {
	max-width: 760px;
	margin: 0 0 24px;
	color: var(--hrma-muted);
	font-size: 16px;
	line-height: 1.65;
}

.hrma-step-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 28px 0 16px;
	color: var(--hrma-green-dark);
	font-size: 13px;
	font-weight: 950;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.hrma-step-label span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--hrma-green);
	color: #fff;
	font-size: 13px;
}

.hrma-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hrma-page label {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	color: var(--hrma-ink);
	font-size: 13px;
	font-weight: 900;
}

.hrma-page input,
.hrma-page select,
.hrma-page textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid #d9e4d9;
	border-radius: 14px;
	background: #fff;
	color: var(--hrma-ink);
	font: 600 15px/1.4 Manrope, Arial, sans-serif;
	padding: 12px 14px;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hrma-page textarea {
	resize: vertical;
	min-height: 128px;
}

.hrma-page input:focus,
.hrma-page select:focus,
.hrma-page textarea:focus {
	outline: 0;
	border-color: rgba(90, 127, 69, .78);
	box-shadow: 0 0 0 4px rgba(90, 127, 69, .12);
}

.hrma-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--hrma-green);
	color: #fff;
	font-size: 13px;
	font-weight: 950;
	letter-spacing: .08em;
	cursor: pointer;
	transition: transform .18s ease, background .18s ease;
}

.hrma-button:hover {
	background: var(--hrma-green-dark);
	color: #fff;
	transform: translateY(-1px);
}

.hrma-button:disabled,
.is-loading .hrma-button {
	cursor: wait;
	opacity: .7;
	transform: none;
}

.hrma-status {
	min-height: 24px;
	margin: 12px 0 0;
	color: var(--hrma-green-dark);
	font-weight: 800;
}

.hrma-status.is-error {
	color: #9b1c1c;
}

.hrma-order-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--hrma-soft);
	color: var(--hrma-muted);
}

.hrma-order-summary strong {
	color: var(--hrma-ink);
}

.hrma-items {
	display: grid;
	gap: 12px;
}

.hrma-item {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(190px, .9fr) 130px;
	gap: 16px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--hrma-border);
	border-radius: 18px;
	background: #fff;
}

.hrma-item-check {
	grid-template-columns: 22px 64px minmax(0, 1fr);
	grid-template-areas: "check image name" "check image meta";
	align-items: center;
	margin: 0;
}

.hrma-item-check input {
	grid-area: check;
	width: 18px;
	min-height: 18px;
}

.hrma-item-check span {
	grid-area: image;
	display: block;
}

.hrma-item-check img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 12px;
	background: #f5f5f5;
}

.hrma-item-check strong {
	grid-area: name;
	font-size: 15px;
	line-height: 1.35;
}

.hrma-item-check small {
	grid-area: meta;
	color: var(--hrma-muted);
	font-size: 12px;
	font-weight: 700;
}

.hrma-item-meta {
	display: grid;
	gap: 6px;
	color: var(--hrma-muted);
	font-size: 13px;
}

.hrma-qty {
	margin: 0;
}

.hrma-amount {
	margin: 16px 0 0;
	padding: 16px;
	border-radius: 16px;
	background: #eef6ea;
	color: var(--hrma-ink);
	font-weight: 900;
}

.hrma-amount strong {
	display: inline-block;
	margin-left: 6px;
	color: var(--hrma-green-dark);
	font-size: 20px;
}

.hrma-amount span {
	display: block;
	margin-top: 6px;
	color: var(--hrma-muted);
	font-size: 13px;
	font-weight: 700;
}

.hrma-drop {
	display: grid;
	place-items: center;
	min-height: 96px;
	padding: 18px;
	border: 1px dashed rgba(90, 127, 69, .45);
	border-radius: 16px;
	background: #fbfdf9;
	color: var(--hrma-muted);
	text-align: center;
	font-weight: 800;
}

.hrma-drop input {
	max-width: 420px;
	border: 0;
	background: transparent;
}

.hrma-legal {
	margin: 12px 0 18px;
	color: var(--hrma-muted);
	font-size: 13px;
	line-height: 1.55;
}

.hrma-info-grid,
.hrma-process-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 34px 0;
}

.hrma-info-card,
.hrma-process-grid article {
	padding: clamp(22px, 3vw, 32px);
}

.hrma-info-card p,
.hrma-process-grid p,
.hrma-process-grid li {
	color: var(--hrma-muted);
	line-height: 1.7;
}

.hrma-highlight {
	background: linear-gradient(135deg, #f0f7ec, #fff);
	border-color: rgba(90, 127, 69, .26);
}

.hrma-process-grid ol {
	margin: 0;
	padding-left: 20px;
}

.hrma-terms {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	margin: 34px 0;
	background: var(--hrma-border);
}

.hrma-terms h2 {
	grid-column: 1 / -1;
	margin: 0;
	padding: 28px 28px 10px;
	background: #fff;
}

.hrma-terms div {
	display: grid;
	gap: 8px;
	padding: 24px;
	background: #fff;
}

.hrma-terms strong {
	color: var(--hrma-green-dark);
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.hrma-terms span {
	color: var(--hrma-muted);
	line-height: 1.65;
}

.hrma-faq {
	padding: clamp(22px, 3vw, 34px);
}

.hrma-faq details {
	border-top: 1px solid var(--hrma-border);
}

.hrma-faq details:first-of-type {
	border-top: 0;
}

.hrma-faq summary {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0;
	color: var(--hrma-ink);
	font-weight: 900;
	cursor: pointer;
}

.hrma-faq p {
	margin: -4px 0 18px;
	color: var(--hrma-muted);
	line-height: 1.7;
}

.hrma-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.hrma-success {
	padding: clamp(28px, 5vw, 54px);
	border-radius: 22px;
	background: linear-gradient(135deg, #eef6ea, #fff);
	text-align: center;
}

.hrma-success h2 {
	margin: 0 0 12px;
	color: var(--hrma-green-dark);
	font-size: clamp(28px, 4vw, 48px);
	letter-spacing: -.04em;
}

.hrma-wz-next {
	max-width: 720px;
	margin: 28px auto 0;
	padding: clamp(20px, 4vw, 30px);
	border: 1px solid rgba(90, 127, 69, .22);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(23, 34, 27, .08);
}

.hrma-wz-next h3 {
	margin: 0 0 10px;
	color: var(--hrma-green-dark);
	font-size: clamp(22px, 3vw, 30px);
	letter-spacing: -.035em;
}

.hrma-wz-next p {
	max-width: 560px;
	margin: 0 auto 18px;
	color: var(--hrma-muted);
	line-height: 1.6;
}

.hrma-account-tile,
.hrma-account-section,
.hrma-account-active {
	margin: 22px 0;
	padding: 22px;
	border: 1px solid var(--hrma-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(23, 34, 27, .06);
}

.hrma-account-tile a {
	display: grid;
	gap: 6px;
	color: var(--hrma-ink);
	text-decoration: none;
}

.hrma-account-tile strong {
	color: var(--hrma-green-dark);
	font-size: 20px;
	letter-spacing: -.02em;
}

.hrma-account-tile span,
.hrma-account-order p {
	color: var(--hrma-muted);
}

.hrma-account-orders,
.hrma-account-cases {
	display: grid;
	gap: 12px;
}

.hrma-account-order,
.hrma-account-cases article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--hrma-border);
	border-radius: 16px;
	background: var(--hrma-soft);
}

.hrma-account-order-actions,
.hrma-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hrma-account-order-actions .button,
.hrma-order-actions .button {
	border-radius: 999px;
	background: var(--hrma-green);
	color: #fff;
	font-weight: 900;
}

@media (max-width: 900px) {
	.hrma-choice-grid,
	.hrma-info-grid,
	.hrma-process-grid {
		grid-template-columns: 1fr;
	}

	.hrma-item {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 640px) {
	.hrma-page {
		width: min(100% - 28px, 680px);
		margin: 24px auto 56px;
	}

	.hrma-hero {
		border-radius: 22px;
	}

	.hrma-choice-grid {
		margin-top: 16px;
		padding: 0;
	}

	.hrma-choice {
		grid-template-columns: 1fr;
		grid-template-areas: "icon" "title" "copy" "action";
		min-height: 0;
		padding: 22px;
	}

	.hrma-field-grid,
	.hrma-terms {
		grid-template-columns: 1fr;
	}

	.hrma-item-check {
		grid-template-columns: 22px 54px minmax(0, 1fr);
	}

	.hrma-item-check img {
		width: 54px;
		height: 54px;
	}

	.hrma-button {
		width: 100%;
		min-height: 52px;
	}

	.hrma-account-order,
	.hrma-account-cases article {
		grid-template-columns: 1fr;
	}

	.hrma-account-order-actions .button,
	.hrma-order-actions .button {
		width: 100%;
		text-align: center;
	}
}
