@font-face {
	font-family: 'HackerNoonV2';
	src: url('fonts/HackerNoonV2-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Spacing & breakpoints (mobile-first)
   Width: 600px tablet typography/footer row, 768px two-column hero + measure,
   1024px wider --container-max. Short-height: max-height + orientation for
   landscape phones and split views (see “Short viewport” section).
   ========================================================================== */

:root {
	--space-xs: 8px;
	--space-sm: 16px;
	--space-md: 24px;
	--space-lg: 40px;
	--section-gap: 25px;
	--container-padding: 15px;
	--container-max: 900px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
	padding: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

a:active,
a:hover {
	outline: 0;
}

html {
	width: 100%;
	height: 100%;
	min-height: 100%;
	min-height: 100dvh;
	font-family: 'HackerNoonV2', sans-serif;
	-webkit-text-size-adjust: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	overflow-x: hidden;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #fff;
	background: #2A3439;
	font-family: 'HackerNoonV2', sans-serif;
	font-size: 100%;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

a:link,
a:visited {
	text-decoration: none;
	color: #AFE301;
}

img {
	width: auto;
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Typography (mobile-first)
   ========================================================================== */

h1 {
	margin-bottom: var(--space-sm);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

h2 {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: var(--space-sm);
}

h3 {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.3;
	margin-top: var(--space-md);
	margin-bottom: var(--space-xs);
}

h1,
h2,
h3 {
	overflow-wrap: break-word;
}

p {
	margin-bottom: var(--space-sm);
	font-size: 16px;
	line-height: 1.6;
	word-break: break-word;
}

ul,
ol {
	margin: 0 0 15px 0;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.6;
}

li {
	margin-bottom: 8px;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 1.6;
}

th,
td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	overflow-wrap: break-word;
	word-break: break-word;
}

th {
	font-weight: 600;
	border-bottom: 2px solid rgba(175, 227, 1, 0.3);
}

section {
	margin-bottom: var(--section-gap);
}

/* ==========================================================================
   Layout (mobile-first)
   ========================================================================== */

.responsive {
	width: 100%;
}

.sep {
	display: block;
	clear: both;
	width: 100%;
	height: 2px;
	margin: var(--space-sm) 0;
	background: rgba(175, 227, 1, 0.3);
}

.primary-btn {
	display: inline-block;
	padding: 15px 20px;
	text-transform: uppercase;
	color: #AFE301;
	border: 2px solid #AFE301;
	border-radius: 3px;
	font-size: 15px;
	font-weight: 500;
	min-height: 44px;
	box-sizing: border-box;
}

.primary-btn:hover {
	transition: all 0.1s ease-in-out;
	color: #000;
	background: #AFE301;
	box-shadow: 0 4px 20px 2px rgba(175, 227, 1, 0.3);
}

body > header.container {
	flex: 1;
}

.container {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--container-padding);
}

@supports (padding: max(0px)) {
	.container {
		padding-top: max(var(--container-padding), env(safe-area-inset-top, 0px));
		padding-right: max(var(--container-padding), env(safe-area-inset-right, 0px));
		padding-bottom: max(var(--container-padding), env(safe-area-inset-bottom, 0px));
		padding-left: max(var(--container-padding), env(safe-area-inset-left, 0px));
	}
}

main.container {
	padding-top: var(--space-lg);
	padding-bottom: var(--space-lg);
}

@supports (padding: max(0px)) {
	main.container {
		padding-top: max(var(--space-lg), env(safe-area-inset-top, 0px));
		padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom, 0px));
	}
}

/* ==========================================================================
   Homepage Hero (mobile-first)
   ========================================================================== */

.intro-container {
	position: relative;
	z-index: 10;
	width: 100%;
	margin-top: var(--space-md);
	margin-bottom: var(--space-lg);
	text-align: center;
}

a.home-brand-link,
a.home-brand-link:link,
a.home-brand-link:visited {
	display: inline-block;
	color: inherit;
	text-decoration: none;
}

a.home-brand-link:hover,
a.home-brand-link:focus-visible {
	opacity: 0.9;
}

.app-store-btn::before {
	padding-right: 8px;
	content: '';
	font-size: 16px;
}

.app-icon {
	width: 90px;
	margin: 0 auto;
}

/* iOS home-screen style tile (squircle approx. + rim; shadow on image only, not wordmark) */
.app-icon img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
	border-radius: 22.37%;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.12),
		0 0 0 2px rgba(0, 0, 0, 0.35),
		0 6px 18px rgba(0, 0, 0, 0.4);
}

.app-icon p {
	font-size: 35px;
	font-weight: 200;
	white-space: nowrap;
	font-family: 'HackerNoonV2', sans-serif;
}

.intro {
	max-width: 300px;
	margin-top: clamp(var(--space-md), 8vh, var(--space-lg));
	margin-right: auto;
	margin-bottom: var(--space-lg);
	margin-left: auto;
}

.intro h2 {
	margin-bottom: var(--space-md);
	font-size: clamp(1.5rem, 4vw + 1rem, 2rem);
	font-weight: 200;
	line-height: 1.2;
	font-family: 'HackerNoonV2', sans-serif;
}

.intro p {
	margin-bottom: 1em;
}

.intro p:last-child {
	margin-bottom: 0;
}

.intro ul.hero-features {
	margin: 0 0 1em 0;
	padding-left: 1.15em;
	line-height: 1.45;
	list-style-type: disc;
}

.intro ul.hero-features li {
	margin-bottom: 0.35em;
}

.intro ul.hero-features li:last-child {
	margin-bottom: 0;
}

.intro-container .app-store-btn {
	box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
	.intro-container .app-store-btn {
		display: block;
		width: 100%;
		max-width: 22rem;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
}

/* ==========================================================================
   iPhone Mockup (mobile-first)
   ========================================================================== */

.iphone {
	max-width: min(349px, 92vw);
	width: 100%;
	margin: 0 auto;
	padding-bottom: var(--space-lg);
}

.iphone-mockup {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

/* ==========================================================================
   Footer (mobile-first)
   ========================================================================== */

/* Wider than main on large viewports so copyright + nav fit one row without wrapping */
footer.container.footer {
	max-width: min(100%, var(--container-max));
}

@media only screen and (min-width: 768px) {
	footer.container.footer {
		max-width: min(100%, 1180px);
	}
}

.footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: var(--space-sm);
}

.footer .footer-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: var(--space-xs) var(--space-sm);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.footer .credit {
	width: auto;
	flex-shrink: 0;
	white-space: nowrap;
}

.footer .contact {
	width: auto;
	/* Do not shrink below link row width (min-width: 0 would squeeze and wrap links) */
	min-width: max-content;
	flex: 1 1 auto;
	flex-wrap: nowrap;
}

.footer .sep {
	flex: 0 0 100%;
}

.footer p {
	opacity: 0.7;
}

.credit {
	flex: 0 1 auto;
	width: auto;
	text-align: center;
	margin-bottom: 0;
}

.credit a {
	opacity: 1;
	color: #AFE301;
}

.credit a:hover {
	text-decoration: underline;
}

.contact {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-xs) var(--space-sm);
	text-align: center;
}

.contact a {
	padding: 6px 0;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.external-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.contact a.footer-link {
	gap: 4px;
}

/* Very narrow phones: stack footer instead of horizontal scroll */
@media only screen and (max-width: 380px) {
	.footer .footer-row {
		flex-direction: column;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		overflow-x: visible;
		gap: var(--space-sm);
	}

	.footer .credit {
		white-space: normal;
		text-align: center;
	}

	.footer .contact {
		flex-wrap: wrap;
		justify-content: center;
		min-width: 0;
		max-width: 100%;
	}
}

.footer-link-icon,
.external-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.contact a,
.contact a:visited {
	transition: opacity 0.2s ease, color 0.2s ease, text-decoration-color 0.2s ease;
	text-decoration: underline;
	text-decoration-color: rgba(175, 227, 1, 0.5);
	text-underline-offset: 3px;
	opacity: 0.9;
	color: #AFE301;
	cursor: pointer;
}

.contact a:hover,
.contact a:focus,
.contact a:visited:hover,
.contact a:visited:focus {
	opacity: 1;
	color: #c4f033;
	text-decoration-color: #AFE301;
}

/* ==========================================================================
   Support Form (mobile-first)
   ========================================================================== */

.support-form {
	margin-top: var(--section-gap);
}

.form-group {
	margin-bottom: var(--space-md);
}

.form-group > label,
.support-form legend {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
}

.support-form fieldset {
	border: none;
	margin: 0;
	padding: 0;
	margin-bottom: var(--space-md);
}

.support-form input[type="email"],
.support-form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-family: 'HackerNoonV2', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(175, 227, 1, 0.3);
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-form input[type="email"]:focus,
.support-form textarea:focus {
	border-color: #AFE301;
	box-shadow: 0 0 0 2px rgba(175, 227, 1, 0.15);
}

.support-form input[type="email"]::placeholder,
.support-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.support-form textarea {
	resize: vertical;
	min-height: 120px;
}

.radio-group {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 8px 12px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.radio-label {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	padding: 8px 10px;
	border-radius: 4px;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
	min-height: 44px;
	white-space: nowrap;
}

.radio-label-text {
	line-height: 1.35;
	white-space: nowrap;
}

.radio-label:hover {
	background: rgba(255, 255, 255, 0.05);
}

.radio-label input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.radio-custom {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(175, 227, 1, 0.4);
	border-radius: 50%;
	position: relative;
	transition: border-color 0.15s ease;
}

.radio-custom::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #AFE301;
	transition: transform 0.15s ease;
}

.radio-label input[type="radio"]:checked ~ .radio-custom {
	border-color: #AFE301;
}

.radio-label input[type="radio"]:checked ~ .radio-custom::after {
	transform: translate(-50%, -50%) scale(1);
}

.radio-label:has(input[type="radio"]:checked) {
	border-color: rgba(175, 227, 1, 0.2);
	background: rgba(175, 227, 1, 0.05);
	color: #fff;
}

.radio-label input[type="radio"]:focus-visible ~ .radio-custom {
	box-shadow: 0 0 0 2px rgba(175, 227, 1, 0.3);
}

.submit-btn {
	width: 100%;
	text-align: center;
	cursor: pointer;
	font-family: 'HackerNoonV2', sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* Solid-tint fill so the control is not the browser default (often white) */
.primary-btn.submit-btn {
	background-color: rgba(175, 227, 1, 0.14);
}

.form-status {
	margin-top: var(--space-sm);
	font-size: 15px;
	font-weight: 500;
	min-height: 24px;
}

.form-status.error {
	color: #ff6b6b;
}

.form-status.success {
	color: #AFE301;
}

/* ==========================================================================
   Tablet breakpoint (min-width: 600px)
   ========================================================================== */

@media only screen and (min-width: 600px) {
	:root {
		--container-padding: 25px;
	}

	/* Typography */
	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}

	p {
		font-size: 18px;
	}

	ul,
	ol,
	table {
		font-size: 18px;
	}

	.intro h2 {
		font-size: 30px;
	}

	/* Support form */
	.form-group > label,
	.support-form legend {
		font-size: 18px;
	}

	.support-form input[type="email"],
	.support-form textarea {
		font-size: 18px;
	}

	.radio-label {
		font-size: 18px;
	}

	.radio-group {
		gap: 10px 18px;
	}

	.submit-btn {
		width: auto;
		min-width: 200px;
	}

	/* Footer: horizontal row on tablet+ */
	.footer .footer-row {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-sm) var(--space-md);
	}

	.credit {
		text-align: left;
	}

	.contact {
		justify-content: flex-start;
		gap: var(--space-xs) var(--space-md);
		flex-wrap: wrap;
	}

	.footer .contact {
		justify-content: flex-end;
		flex-wrap: nowrap;
	}
}

/* ==========================================================================
   Tablet portrait band (600px–767px): proportionate copy + mockup
   ========================================================================== */

@media only screen and (min-width: 600px) and (max-width: 767px) {
	.intro {
		max-width: min(100%, 65ch);
	}

	.iphone {
		max-width: min(340px, 88vw);
	}
}

/* ==========================================================================
   Desktop breakpoint (min-width: 768px)
   ========================================================================== */

@media only screen and (min-width: 768px) {
	:root {
		--container-padding: 35px;
	}

	/* Typography */
	h1 {
		font-size: 34px;
	}

	h2 {
		font-size: 26px;
	}

	h3 {
		font-size: 22px;
	}

	.intro h2 {
		font-size: 32px;
	}

	.sep {
		margin-top: 0;
	}

	/* Homepage hero: two-column flexbox layout */
	header.container {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: var(--space-md);
		overflow: hidden;
	}

	.intro-container {
		flex: 0 0 48%;
		max-width: 48%;
		margin-bottom: 0;
		text-align: left;
	}

	.app-icon {
		margin: 0;
	}

	.app-icon p {
		margin-left: 2px;
	}

	.intro {
		max-width: 100%;
		margin-top: clamp(var(--space-lg), 10vh, 4rem);
		margin-bottom: var(--space-lg);
	}

	/* iPhone mockup */
	.iphone {
		flex: 0 0 42%;
		max-width: 42%;
		height: auto;
		margin-left: auto;
		text-align: right;
		padding-bottom: 0;
	}

	.iphone-mockup {
		max-width: min(349px, 100%);
		margin-left: auto;
		margin-right: 0;
	}

	/* Footer: side-by-side layout */
	.footer {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
	}

	.footer .sep {
		flex: 0 0 100%;
	}

	.credit {
		flex: 0 1 auto;
		width: auto;
		text-align: left;
		margin-bottom: 0;
	}

	.footer .footer-row {
		gap: var(--space-sm) var(--space-md);
	}

	.contact {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		justify-content: flex-end;
		align-content: flex-end;
		gap: var(--space-xs) var(--space-sm);
		flex-wrap: wrap;
	}

	.footer .contact {
		flex-wrap: nowrap;
		min-width: max-content;
		max-width: none;
	}

	/* Readable line length for inner pages (support, terms, privacy) */
	main.container .responsive {
		max-width: 65ch;
	}
}

/* ==========================================================================
   Short viewport (landscape phones, short windows)
   ========================================================================== */

@media only screen and (max-height: 500px) and (orientation: landscape) {
	.intro-container {
		margin-top: var(--space-sm);
		margin-bottom: var(--space-sm);
	}

	.app-icon {
		width: 72px;
	}

	.app-icon p {
		font-size: 28px;
	}

	.intro {
		margin-top: var(--space-sm);
		margin-bottom: var(--space-sm);
	}

	.iphone {
		padding-bottom: var(--space-sm);
	}
}

@media only screen and (max-height: 480px) {
	.intro-container {
		margin-top: var(--space-xs);
		margin-bottom: var(--space-sm);
	}

	.intro {
		margin-top: var(--space-xs);
	}
}

/* Compact two-column hero: wide-enough but short landscape (homepage only) */
@media only screen and (min-width: 640px) and (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
	header.container:has(.iphone) {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: var(--space-md);
		overflow: hidden;
	}

	header.container:has(.iphone) .intro-container {
		flex: 0 0 48%;
		max-width: 48%;
		margin-bottom: 0;
		text-align: left;
	}

	header.container:has(.iphone) .app-icon {
		margin: 0;
	}

	header.container:has(.iphone) .app-icon p {
		margin-left: 2px;
	}

	header.container:has(.iphone) .intro {
		max-width: 100%;
		margin-top: clamp(var(--space-sm), 6vh, var(--space-lg));
		margin-bottom: var(--space-md);
	}

	header.container:has(.iphone) .iphone {
		flex: 0 0 42%;
		max-width: 42%;
		height: auto;
		margin-left: auto;
		text-align: right;
		padding-bottom: 0;
	}

	header.container:has(.iphone) .iphone-mockup {
		max-width: min(349px, 100%);
		margin-left: auto;
		margin-right: 0;
	}

	header.container:has(.iphone) .app-store-btn {
		display: inline-block;
		width: auto;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}
}

/* ==========================================================================
   Wide desktop (min-width: 1024px)
   ========================================================================== */

@media only screen and (min-width: 1024px) {
	:root {
		--container-max: 960px;
		--container-padding: 40px;
	}

	.footer .footer-row {
		gap: var(--space-xs) var(--space-sm);
	}

	.footer .contact {
		gap: 6px 10px;
	}
}

/* ==========================================================================
   Accessibility: focus and motion
   ========================================================================== */

a:focus-visible,
button:focus-visible,
.primary-btn:focus-visible,
.submit-btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid #AFE301;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.primary-btn:hover,
	.contact a,
	.contact a:visited,
	.support-form input[type="email"],
	.support-form textarea,
	.radio-label,
	.radio-custom,
	.radio-custom::after {
		transition: none;
	}
}
