/* Giraffe Coming Soon: standalone page. Values come from the approved Figma file. */

@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/heebo-hebrew.woff2") format("woff2");
	unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/heebo-latin.woff2") format("woff2");
	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;
}

.gcs-body {
	margin: 0;
	padding: 0;
	background: #fafafa;
}

.gcs-page {
	--gcs-text: #1e233f;
	--gcs-secondary: #626675;
	--gcs-action: #e65125;
	--gcs-button-text: #ffffff;
	--gcs-background: #fafafa;
	--gcs-surface: #ffffff;
	--gcs-border: #626675;
	--gcs-focus: #1e233f;
	--gcs-radius: 8px;
	--gcs-control-height: 56px;

	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 100vh;
	min-height: 100svh;
	padding: 32px 24px 24px;
	background: var(--gcs-background);
	color: var(--gcs-text);
	font-family: "Heebo", "Arial Hebrew", Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.gcs-page *,
.gcs-page *::before,
.gcs-page *::after {
	box-sizing: border-box;
}

.gcs-page h1,
.gcs-page p,
.gcs-page ul,
.gcs-page li {
	margin: 0;
	padding: 0;
}

.gcs-page img {
	display: block;
	max-width: none;
	border: 0;
}

/* Logo: never larger than the 461 by 357 source. */
.gcs-logo {
	flex: none;
	width: 124px;
}

.gcs-logo img {
	width: 100%;
	height: auto;
}

.gcs-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 1080px;
}

.gcs-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.gcs-page .gcs-heading {
	max-width: 100%;
	color: var(--gcs-text);
	font-family: inherit;
	font-size: 42px;
	font-weight: 700;
	line-height: 52px;
	letter-spacing: 0;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.gcs-page .gcs-description {
	/* Narrow measure on phones gives the four even lines of the mobile design. */
	max-width: 300px;
	color: var(--gcs-secondary);
	font-size: 17px;
	font-weight: 400;
	line-height: 28px;
}

/* Each sentence starts on its own line, as designed, and wraps into even lines on narrow screens. */
.gcs-description__sentence {
	display: block;
	text-wrap: balance;
}

.gcs-categories {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	list-style: none;
}

.gcs-category {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	width: 100%;
	list-style: none;
}

.gcs-category__icon {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	overflow: hidden;
}

/* Each icon keeps its own exported size and sits at its Figma offset inside the 32px box. */
.gcs-category__icon img {
	position: absolute;
}

.gcs-category__icon--chair img {
	top: 3.2px;
	left: 6.2px;
}

.gcs-category__icon--desk img {
	top: 2.2px;
	left: 3.2px;
}

.gcs-category__icon--accessories img {
	top: 4.2px;
	left: 3.2px;
}

.gcs-category__label {
	color: var(--gcs-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	white-space: nowrap;
}

.gcs-signup {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	max-width: 616px;
	margin: 0;
}

.gcs-signup__label {
	display: block;
	color: var(--gcs-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	text-align: start;
}

.gcs-signup__controls {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gcs-field {
	position: relative;
	width: 100%;
}

.gcs-page .gcs-field__input {
	display: block;
	width: 100%;
	height: var(--gcs-control-height);
	margin: 0;
	padding: 0 16px;
	padding-inline-start: 40px;
	border: 1px solid var(--gcs-border);
	border-radius: var(--gcs-radius);
	background: var(--gcs-surface);
	box-shadow: none;
	color: var(--gcs-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	direction: ltr;
	text-align: left;
	appearance: none;
}

/* Empty field: Hebrew placeholder, right aligned. A typed address reads left to right. */
.gcs-page .gcs-field__input:placeholder-shown {
	direction: rtl;
	text-align: right;
}

.gcs-page .gcs-field__input::placeholder {
	color: var(--gcs-secondary);
	opacity: 1;
}

.gcs-field__icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 16px;
	transform: translateY(-50%);
	pointer-events: none;
}

.gcs-signup__trap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* White label on the orange button: bold at 19px counts as large text, where 3:1 contrast is enough (this pair is 3.77:1). */
.gcs-page .gcs-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--gcs-control-height);
	margin: 0;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: var(--gcs-radius);
	background: var(--gcs-action);
	box-shadow: none;
	color: var(--gcs-button-text);
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	line-height: 28px;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
}

.gcs-page .gcs-button:hover {
	border-color: var(--gcs-focus);
	background: var(--gcs-action);
	color: var(--gcs-button-text);
}

.gcs-page .gcs-button:active {
	border-color: var(--gcs-text);
	background: var(--gcs-text);
	color: var(--gcs-surface);
}

.gcs-page .gcs-button:disabled {
	border-color: var(--gcs-focus);
	background: var(--gcs-surface);
	color: var(--gcs-text);
	cursor: not-allowed;
}

/* Loading keeps the default look and the keyboard focus. Repeat clicks are ignored in the script. */
.gcs-page .gcs-button[aria-disabled="true"] {
	border-color: transparent;
	background: var(--gcs-action);
	color: var(--gcs-button-text);
	cursor: progress;
}

.gcs-page .gcs-field__input:focus-visible,
.gcs-page .gcs-button:focus-visible,
.gcs-page .gcs-contact__email:focus-visible {
	outline: 3px solid var(--gcs-focus);
	outline-offset: 3px;
}

.gcs-signup__hint,
.gcs-signup__status {
	min-height: 24px;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
}

.gcs-signup__hint {
	color: var(--gcs-secondary);
}

.gcs-signup__status {
	color: var(--gcs-text);
}

/* One line under the form: the hint, or the status message when there is one. */
.gcs-signup__status:empty,
.gcs-signup[data-state]:not([data-state="loading"]) .gcs-signup__hint {
	display: none;
}

.gcs-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.gcs-contact__label {
	color: var(--gcs-secondary);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}

.gcs-page .gcs-contact__email {
	border-radius: 4px;
	color: var(--gcs-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.gcs-page .gcs-contact__email:hover {
	color: var(--gcs-text);
	text-decoration: underline;
}

.gcs-page .gcs-credit {
	flex: none;
	color: var(--gcs-secondary);
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
}

/* Desktop composition, from 768px up. */
@media (min-width: 768px) {
	.gcs-page {
		gap: 24px;
		padding-top: 40px;
	}

	.gcs-logo {
		width: 150px;
	}

	.gcs-main {
		gap: 32px;
	}

	.gcs-page .gcs-heading {
		font-size: clamp(52px, calc(1.2vw + 49px), 72px);
		line-height: 1.2222;
	}

	.gcs-page .gcs-description {
		max-width: 760px;
		font-size: 20px;
		line-height: 32px;
	}

	.gcs-categories {
		flex-direction: row;
		justify-content: center;
		gap: 24px;
	}

	.gcs-category {
		flex: 0 1 220px;
		width: auto;
	}

	.gcs-signup__controls {
		flex-direction: row;
	}

	.gcs-field {
		flex: 1 1 360px;
		width: auto;
	}

	.gcs-page .gcs-button {
		flex: 0 0 244px;
		width: 244px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.gcs-page .gcs-button {
		transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	}
}
