/**
 * Website In Development — Screen #01 Default (Figma).
 * Scoped to .oaf-dev-body / .oaf-dev-page.
 */

:root {
	--oaf-dev-white: #ffffff;
	--oaf-dev-yellow: #ffd24f;
	--oaf-dev-focus: #ffd84d;
	--oaf-dev-error: #ffb4ab;
	--oaf-dev-success: #c6f2bf;
	--oaf-dev-brand-blue: #1b4f9c;
	--oaf-dev-ink: #0e2f57;
	--oaf-dev-sky: #3a74b5;
	--oaf-dev-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	--oaf-dev-gutter: 44px;
	--oaf-dev-frame: 1440px;
	--oaf-dev-line: 1px solid var(--oaf-dev-white);
}

.oaf-dev-body,
.oaf-dev-body *,
.oaf-dev-body *::before,
.oaf-dev-body *::after {
	box-sizing: border-box;
}

html:has(.oaf-dev-body) {
	height: 100%;
	height: 100dvh;
	overflow: hidden;
	background: var(--oaf-dev-sky);
}

.oaf-dev-body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100dvh;
	min-height: 100vh;
	font-family: var(--oaf-dev-sans);
	color: var(--oaf-dev-white);
	background: var(--oaf-dev-sky);
	overflow: hidden;
}

.oaf-dev-page {
	position: fixed;
	inset: 0;
	z-index: 1;
	isolation: isolate;
	width: 100%;
	height: 100dvh;
	min-height: 100vh;
	background-color: var(--oaf-dev-sky);
	overflow: hidden;
}

.oaf-dev-body.admin-bar .oaf-dev-page {
	top: 32px;
	height: calc(100dvh - 32px);
	min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
	.oaf-dev-body.admin-bar .oaf-dev-page {
		top: 46px;
		height: calc(100dvh - 46px);
		min-height: calc(100vh - 46px);
	}
}

.oaf-dev-page__frame {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(100%, var(--oaf-dev-frame));
	height: 100%;
	margin-inline: auto;
	overflow: hidden;
}

/* Header — logo left, Contact Us right with vertical rule */
.oaf-dev-page__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	min-height: 72px;
	padding: 16px var(--oaf-dev-gutter) 16px;
	border-bottom: var(--oaf-dev-line);
}

.oaf-dev-page__logo {
	display: flex;
	align-items: center;
	gap: 15px;
	line-height: 0;
	text-decoration: none;
	color: inherit;
}

.oaf-dev-page__logo img {
	display: block;
	width: min(360px, 70vw);
	height: auto;
	max-height: 41px;
	object-fit: contain;
	object-position: left center;
}

.oaf-dev-page__contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	margin: -16px 0;
	padding: 0 24px;
	border: 0;
	border-left: var(--oaf-dev-line);
	background: transparent;
	color: var(--oaf-dev-white);
	font-family: var(--oaf-dev-sans);
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 40px;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 150ms ease;
}

.oaf-dev-page__contact-btn:hover {
	opacity: 0.85;
}

.oaf-dev-page__contact-btn:focus {
	outline: none;
}

.oaf-dev-page__contact-btn:focus-visible {
	outline: 2px solid var(--oaf-dev-focus);
	outline-offset: -2px;
}

/* Body — hero top, newsletter bottom */
.oaf-dev-page__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	padding: 40px var(--oaf-dev-gutter) 24px;
}

.oaf-dev-page__hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: min(100%, 563px);
}

.oaf-dev-page__heading {
	margin: 0;
	width: 100%;
	font-family: var(--oaf-dev-sans);
	font-style: normal;
	font-weight: 600;
	font-size: 64px;
	line-height: 63px;
	letter-spacing: -0.03em;
	color: var(--oaf-dev-white);
}

.oaf-dev-page__heading-accent {
	color: var(--oaf-dev-yellow);
}

.oaf-dev-page__intro {
	margin: 0;
	width: 100%;
	font-family: var(--oaf-dev-sans);
	font-style: normal;
	font-weight: 400;
	font-size: 25px;
	line-height: 30px;
	letter-spacing: 0.02em;
	color: var(--oaf-dev-white);
}

/* Newsletter */
.oaf-dev-page__newsletter {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: min(100%, 415px);
	margin-top: auto;
	padding-top: 32px;
}

.oaf-dev-page__newsletter-text {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	align-self: stretch;
	gap: 0 0.35em;
	width: 100%;
	max-width: 100%;
}

.oaf-dev-page__newsletter-title,
.oaf-dev-page__newsletter-subtitle {
	margin: 0;
	font-family: var(--oaf-dev-sans);
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: var(--oaf-dev-white);
}

.oaf-dev-page__newsletter-title {
	width: auto;
	max-width: 100%;
}

.oaf-dev-page__newsletter-subtitle {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.oaf-dev-page__newsletter-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	width: 100%;
}

.oaf-dev-page__newsletter-field {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 57px;
	padding: 0 16px 0 15px;
	border: 2px solid var(--oaf-dev-white);
	background: transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.oaf-dev-page__newsletter-form:not(.is-error):not(.is-success) .oaf-dev-page__newsletter-field:hover {
	background: rgba(255, 255, 255, 0.12);
}

.oaf-dev-page__newsletter-form:not(.is-error):not(.is-success) .oaf-dev-page__newsletter-field:focus-within {
	background: rgba(255, 255, 255, 0.12);
	border: 3px solid var(--oaf-dev-white);
	box-shadow: 0 0 0 4px var(--oaf-dev-focus);
}

.oaf-dev-page__newsletter-form.is-error .oaf-dev-page__newsletter-field {
	border-color: var(--oaf-dev-error);
	box-shadow: none;
}

.oaf-dev-page__newsletter-form.is-success .oaf-dev-page__newsletter-field {
	border-color: var(--oaf-dev-success);
	box-shadow: none;
}

.oaf-dev-page__newsletter-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--oaf-dev-white);
	font-family: var(--oaf-dev-sans);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	outline: none;
}

.oaf-dev-page__newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.85);
	opacity: 1;
}

.oaf-dev-page__newsletter-form.is-success .oaf-dev-page__newsletter-input {
	cursor: default;
}

.oaf-dev-page__newsletter-submit {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.oaf-dev-page__newsletter-submit svg {
	display: block;
	width: 24px;
	height: 24px;
}

.oaf-dev-page__newsletter-submit:focus-visible {
	outline: 2px solid var(--oaf-dev-white);
	outline-offset: 2px;
}

.oaf-dev-page__newsletter-form.is-success .oaf-dev-page__newsletter-submit {
	display: none;
}

.oaf-dev-page__newsletter-message {
	margin: 0;
	font-family: var(--oaf-dev-sans);
	font-weight: 400;
	font-size: 13px;
	line-height: 16px;
}

.oaf-dev-page__newsletter-message.is-error {
	color: var(--oaf-dev-error);
}

/* Footer */
.oaf-dev-page__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	flex-shrink: 0;
	gap: 12px 24px;
	padding: 12px var(--oaf-dev-gutter) 20px;
	border-top: var(--oaf-dev-line);
}

.oaf-dev-page__copyright {
	margin: 0;
	font-family: var(--oaf-dev-sans);
	font-weight: 400;
	font-size: 11px;
	line-height: 14px;
	color: var(--oaf-dev-white);
}

.oaf-dev-page__social {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
	padding: 0;
}

.oaf-dev-page__social a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	padding: 4px 0;
	font-family: var(--oaf-dev-sans);
	font-weight: 400;
	font-size: 13px;
	line-height: 16px;
	color: var(--oaf-dev-white);
	text-decoration: none;
}

.oaf-dev-page__social a::after {
	content: "";
	display: block;
	align-self: stretch;
	width: 100%;
	height: 2px;
	background: var(--oaf-dev-white);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 200ms ease-out;
}

.oaf-dev-page__social a:hover::after,
.oaf-dev-page__social a:focus-visible::after {
	transform: scaleX(1);
}

.oaf-dev-page__social a:focus-visible {
	outline: none;
}

/* Contact panel */
.oaf-dev-page__overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(10, 36, 64, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease-out, visibility 300ms ease-out;
}

.oaf-dev-page__overlay:not([hidden]) {
	opacity: 1;
	visibility: visible;
}

.oaf-dev-page__panel {
	position: fixed;
	z-index: 50;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	width: min(100%, 440px);
	height: 100%;
	max-height: 100dvh;
	padding: 40px 48px 48px;
	background: var(--oaf-dev-white);
	box-shadow: -8px 0 40px rgba(10, 36, 64, 0.25);
	overflow-x: hidden;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 300ms ease-out;
}

.oaf-dev-page__panel.is-open {
	transform: translateX(0);
}

.oaf-dev-body.admin-bar .oaf-dev-page__panel {
	top: 32px;
	max-height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
	.oaf-dev-body.admin-bar .oaf-dev-page__panel {
		top: 46px;
		max-height: calc(100dvh - 46px);
	}
}

.oaf-dev-page__panel-top {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	align-self: stretch;
	width: 100%;
	height: 44px;
}

.oaf-dev-page__panel-close {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: transparent;
	cursor: pointer;
}

.oaf-dev-page__panel-close:hover,
.oaf-dev-page__panel-close:focus-visible {
	background: rgba(14, 47, 87, 0.08);
	outline: none;
}

.oaf-dev-page__panel-close-icon {
	display: block;
	width: 24px;
	height: 24px;
}

.oaf-dev-page__panel-title {
	margin: 0;
	font-family: var(--oaf-dev-sans);
	font-weight: 600;
	font-size: 30px;
	line-height: 36px;
	letter-spacing: -0.03em;
	color: var(--oaf-dev-ink);
}

.oaf-dev-page__panel-intro {
	margin: 0;
	align-self: stretch;
	width: 100%;
	max-width: 344px;
	font-family: var(--oaf-dev-sans);
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: var(--oaf-dev-ink);
}

.oaf-dev-page__panel-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	gap: 6px;
	width: 100%;
	max-width: 344px;
}

.oaf-dev-page__panel-label {
	font-family: var(--oaf-dev-sans);
	font-weight: 700;
	font-size: 13px;
	line-height: 16px;
	color: var(--oaf-dev-brand-blue);
}

.oaf-dev-page__panel-value {
	display: block;
	width: 100%;
	font-family: var(--oaf-dev-sans);
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	color: var(--oaf-dev-ink);
	text-decoration: none;
	word-break: break-word;
}

.oaf-dev-page__panel-value:hover,
.oaf-dev-page__panel-value:focus-visible {
	text-decoration: underline;
	outline: none;
}

.oaf-dev-page__panel-divider {
	display: block;
	align-self: stretch;
	width: 100%;
	height: 1px;
	background: var(--oaf-dev-ink);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Laptop */
@media (max-width: 1100px) {
	:root {
		--oaf-dev-gutter: 32px;
	}

	.oaf-dev-page__heading {
		font-size: clamp(40px, 5.5vw, 64px);
		line-height: 1;
	}

	.oaf-dev-page__intro {
		font-size: clamp(18px, 2.2vw, 25px);
		line-height: 1.25;
	}
}

/* Tablet / Mobile — scrollable + fluid for every height/width */
@media (max-width: 768px) {
	:root {
		--oaf-dev-gutter: 20px;
	}

	/* Unlock page scroll so short phones never clip/overlap */
	html:has(.oaf-dev-body) {
		height: auto;
		min-height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
		background: var(--oaf-dev-sky);
	}

	.oaf-dev-body {
		height: auto;
		min-height: 100dvh;
		min-height: 100svh;
		overflow-x: hidden;
		overflow-y: visible;
	}

	.oaf-dev-page {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;
		min-height: 100dvh;
		min-height: 100svh;
		overflow: visible;
	}

	.oaf-dev-body.admin-bar .oaf-dev-page {
		top: auto;
		height: auto;
		min-height: calc(100dvh - 46px);
	}

	.oaf-dev-page__frame {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: var(--oaf-dev-frame);
		height: auto;
		min-height: 100dvh;
		min-height: 100svh;
		overflow: visible;
	}

	.oaf-dev-body.admin-bar .oaf-dev-page__frame {
		min-height: calc(100dvh - 46px);
	}

	.oaf-dev-page__header {
		position: sticky;
		top: 0;
		z-index: 5;
		flex-shrink: 0;
		min-height: 49px;
		padding: 13px var(--oaf-dev-gutter);
		background-color: var(--oaf-dev-sky);
	}

	.oaf-dev-page__logo {
		min-width: 0;
		flex: 1 1 auto;
	}

	.oaf-dev-page__logo img {
		width: min(206px, calc(100vw - 7.5rem));
		max-width: 100%;
		height: auto;
		max-height: 23.33px;
	}

	.oaf-dev-page__contact-btn {
		flex: 0 0 auto;
		margin: -13px 0;
		padding: 0 16px;
		font-size: 14px;
		line-height: 20px;
	}

	.oaf-dev-page__body {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		gap: clamp(24px, 6vh, 48px);
		width: 100%;
		min-height: 0;
		padding: clamp(24px, 4vh, 30px) var(--oaf-dev-gutter) clamp(20px, 3vh, 28px);
	}

	.oaf-dev-page__hero {
		flex-shrink: 0;
		gap: 16px;
		width: 100%;
		max-width: 350px;
	}

	.oaf-dev-page__heading {
		font-size: clamp(26px, 7.7vw, 30px);
		line-height: 1.25;
		letter-spacing: -0.03em;
	}

	.oaf-dev-page__intro {
		font-size: clamp(15px, 4.1vw, 16px);
		line-height: 1.25;
		letter-spacing: 0.02em;
	}

	.oaf-dev-page__newsletter {
		flex-shrink: 0;
		width: 100%;
		max-width: 350px;
		gap: 12px;
		margin-top: auto;
		padding-top: 0;
	}

	.oaf-dev-page__newsletter-text {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		align-self: stretch;
		gap: 2px;
		width: 100%;
		max-width: 100%;
	}

	.oaf-dev-page__newsletter-title,
	.oaf-dev-page__newsletter-subtitle {
		width: 100%;
		max-width: 100%;
		font-weight: 400;
		font-size: 14px;
		line-height: 18px;
	}

	.oaf-dev-page__newsletter-form,
	.oaf-dev-page__newsletter-field {
		width: 100%;
		max-width: 350px;
	}

	.oaf-dev-page__newsletter-field {
		height: 57px;
		min-height: 57px;
	}

	.oaf-dev-page__newsletter-input {
		font-weight: 700;
		font-size: 13px;
		line-height: 16px;
	}

	/* Footer — Figma Group 6 / Frame 8 */
	.oaf-dev-page__footer {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		flex-wrap: nowrap;
		flex-shrink: 0;
		gap: 18px;
		width: 100%;
		padding: 16px var(--oaf-dev-gutter) max(16px, env(safe-area-inset-bottom, 0px));
	}

	.oaf-dev-page__social {
		order: 0;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 24px;
		width: auto;
		max-width: 100%;
	}

	.oaf-dev-page__social a {
		padding: 4px 0;
		gap: 3px;
		font-weight: 400;
		font-size: 13px;
		line-height: 16px;
	}

	.oaf-dev-page__copyright {
		order: 1;
		align-self: stretch;
		width: 100%;
		max-width: 268px;
		font-weight: 600;
		font-size: 10px;
		line-height: 13px;
	}

	.oaf-dev-page__panel {
		width: 100%;
		padding: 32px 24px max(40px, env(safe-area-inset-bottom, 0px));
		gap: 28px;
	}
}

/* Very short phones — tighter rhythm, still scrollable */
@media (max-width: 768px) and (max-height: 700px) {
	.oaf-dev-page__body {
		gap: 20px;
		padding-top: 20px;
		padding-bottom: 16px;
	}

	.oaf-dev-page__hero {
		gap: 12px;
	}

	.oaf-dev-page__heading {
		font-size: 26px;
		line-height: 1.2;
	}

	.oaf-dev-page__intro {
		font-size: 15px;
		line-height: 1.25;
	}

	.oaf-dev-page__newsletter {
		gap: 10px;
	}

	.oaf-dev-page__footer {
		gap: 14px;
		padding-top: 14px;
		padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.oaf-dev-page__panel,
	.oaf-dev-page__overlay,
	.oaf-dev-page__contact-btn,
	.oaf-dev-page__newsletter-field,
	.oaf-dev-page__social a::after {
		transition: none;
	}
}
