@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
	color-scheme: dark;
	--bg: #111b1b;
	--surface: #192625;
	--surface-raised: #20312e;
	--border: #30423d;
	--text: #e5ece5;
	--muted: #a4b4aa;
	--accent: #83b6a0;
	--accent-hover: #a0c9b4;
	--ocean: #82aeb8;
	--focus: #c0d993;
	--radius: 6px;
	--content-width: 1120px;
}

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

html {
	scroll-behavior: smooth;
	background: var(--bg);
}

body {
	min-height: 100vh;
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'DM Sans', 'Segoe UI', sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
  
}

::selection {
	background: #43695a;
	color: #fff;
}

a {
	color: var(--accent-hover);
	text-decoration-color: rgb(160 201 180 / 45%);
	text-underline-offset: 0.2em;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
	color: #c1dccb;
	text-decoration-color: currentColor;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	color: #f0f3e9;
	font-family: 'Roboto Slab', Georgia, serif;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
	font-size: 1.45rem;
}

p {
	margin: 0 0 1.1em;
	color: var(--muted);
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.25rem;
	padding: 0.25rem 0.8rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--accent);
	color: #10201a;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

button:hover,
.button:hover {
	transform: translateY(-1px);
	background: var(--accent-hover);
	color: #10201a;
}

button:active,
.button:active {
	transform: translateY(0);
}

.button--secondary {
	border-color: var(--border);
	background: var(--surface-raised);
	color: var(--text);
}

.button--secondary:hover {
	border-color: #526b60;
	background: #293c36;
	color: #fff;
}

input,
select,
textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #14201f;
	color: var(--text);
}

input::placeholder,
textarea::placeholder {
	color: #82948a;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgb(131 182 160 / 16%);
}

hr {
	height: 1px;
	margin: 2rem 0;
	border: 0;
	background: var(--border);
}

.container {
	width: min(calc(100% - 2.5rem), var(--content-width));
	margin-inline: auto;
}

.card,
.panel {
	padding: 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
}

.eyebrow {
	margin-bottom: 0.65rem;
	color: var(--ocean);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
