/* ============================================================================
   Sailsoft marketing site — "Offshore" ocean theme
   Palette mirrors the app (v3.5 src/app.css):
     deep navy #081727 · card navy #0f2842 · border #1c3a58
     teal #2ba6a4 (bright #7fd6d3) · brass/gold #e9c877 · slate #7f93a7
   ========================================================================== */

:root {
	--navy-deepest: #060f1c;
	--navy: #081727;
	--navy-raised: #0a1c30;
	--card: #0f2842;
	--border: #1c3a58;
	--teal: #2ba6a4;
	--teal-bright: #7fd6d3;
	--gold: #e9c877;
	--slate: #7f93a7;
	--slate-dim: #6d869b;
	--white: #f4f8fb;
	--radius: 16px;
	--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
		Arial, sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	font-family: var(--font);
	background: var(--navy);
	color: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--teal-bright);
	text-decoration: none;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------------------------------------------------------------- header */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	background: rgba(6, 15, 28, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(28, 58, 88, 0.6);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--white);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.brand img {
	height: 34px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav a {
	color: var(--slate);
	font-size: 15px;
	font-weight: 500;
	transition: color 0.15s;
}

.site-nav a:hover {
	color: var(--white);
}

.site-nav .btn {
	margin-left: 4px;
}

@media (max-width: 720px) {
	.site-nav a:not(.btn) {
		display: none;
	}
}

/* --------------------------------------------------------------- buttons */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
	white-space: nowrap;
}

.btn-sm {
	padding: 9px 18px;
	font-size: 14px;
}

.btn-primary {
	background: linear-gradient(135deg, #35b8b5, var(--teal));
	color: #06222b;
	box-shadow: 0 4px 18px rgba(43, 166, 164, 0.35);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(43, 166, 164, 0.5);
}

.btn-outline {
	border: 1px solid rgba(244, 248, 251, 0.35);
	color: var(--white);
	background: rgba(244, 248, 251, 0.04);
}

.btn-outline:hover {
	background: rgba(244, 248, 251, 0.1);
	border-color: rgba(244, 248, 251, 0.6);
}

/* ------------------------------------------------------------------ hero */

.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background:
		linear-gradient(180deg, rgba(6, 15, 28, 0.42) 0%, rgba(6, 15, 28, 0.62) 55%, var(--navy) 98%),
		url('assets/sailfish-hero.jpg') center 32% / cover no-repeat;
	padding-top: 64px;
}

.hero-inner {
	padding-bottom: 88px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--teal-bright);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.eyebrow::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--teal);
	box-shadow: 0 0 0 5px rgba(43, 166, 164, 0.25);
}

.hero h1 {
	max-width: 720px;
	font-size: clamp(38px, 6vw, 62px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.hero p {
	max-width: 560px;
	margin-top: 20px;
	font-size: 18px;
	color: #c3d2de;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

/* ------------------------------------------------------------ stats band */

.stats {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--navy-raised);
}

.stats .container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-top: 34px;
	padding-bottom: 34px;
	text-align: center;
}

.stat b {
	display: block;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--white);
}

.stat b em {
	font-style: normal;
	color: var(--teal-bright);
}

.stat span {
	font-size: 14px;
	color: var(--slate);
}

@media (max-width: 720px) {
	.stats .container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* -------------------------------------------------------------- sections */

section {
	padding: 96px 0;
}

.section-head {
	max-width: 640px;
	margin-bottom: 56px;
}

.section-head.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-head .eyebrow {
	margin-bottom: 12px;
}

.section-head.center .eyebrow {
	justify-content: center;
}

.section-head h2 {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.section-head p {
	margin-top: 14px;
	font-size: 17px;
	color: var(--slate);
}

/* -------------------------------------------------------------- features */

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.feature {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	transition: transform 0.15s, border-color 0.15s;
}

.feature:hover {
	transform: translateY(-3px);
	border-color: #2b5578;
}

.feature .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(43, 166, 164, 0.28), rgba(43, 166, 164, 0.08));
	color: var(--teal-bright);
	margin-bottom: 18px;
}

.feature h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.feature p {
	font-size: 15px;
	color: var(--slate);
}

@media (max-width: 900px) {
	.features-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------------------- screenshots */

.shots {
	background: var(--navy-raised);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.shot-row {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 56px;
	align-items: center;
}

.shot-row + .shot-row {
	margin-top: 96px;
}

.shot-row.flip .shot-copy {
	order: 2;
}

.shot-copy .eyebrow {
	margin-bottom: 10px;
}

.shot-copy h3 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-bottom: 12px;
}

.shot-copy p {
	font-size: 16px;
	color: var(--slate);
}

.shot-copy ul {
	margin-top: 16px;
	list-style: none;
}

.shot-copy li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	color: #b7c7d4;
	margin-top: 8px;
}

.shot-copy li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 7px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--teal);
	border-bottom: 2px solid var(--teal);
	transform: rotate(-45deg) scale(0.9);
}

/* browser-chrome frame around each screenshot */
.browser {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: #0b2038;
	box-shadow: 0 24px 60px rgba(2, 8, 16, 0.55);
}

.browser-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #0d2540;
	border-bottom: 1px solid var(--border);
}

.browser-bar i {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #24476b;
}

.browser-bar .url {
	flex: 1;
	margin-left: 10px;
	background: rgba(6, 15, 28, 0.6);
	border-radius: 6px;
	padding: 3px 12px;
	font-size: 11.5px;
	color: var(--slate-dim);
	max-width: 340px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.shot-row,
	.shot-row.flip {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.shot-row.flip .shot-copy {
		order: 0;
	}
}

/* ----------------------------------------------------------- proof quote */

.proof .inner {
	background:
		linear-gradient(100deg, rgba(7, 19, 33, 0.96) 35%, rgba(7, 19, 33, 0.82)),
		url('assets/MarinaFlamingoBG.jpeg') center 60% / cover no-repeat;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 64px 56px;
}

.proof blockquote {
	max-width: 620px;
	font-size: clamp(20px, 2.6vw, 27px);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.proof blockquote em {
	font-style: normal;
	color: var(--gold);
}

.proof figcaption {
	margin-top: 20px;
	font-size: 15px;
	color: var(--slate);
}

@media (max-width: 640px) {
	.proof .inner {
		padding: 40px 28px;
	}
}

/* ------------------------------------------------------------------- cta */

.cta {
	text-align: center;
	background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(43, 166, 164, 0.16), transparent),
		var(--navy);
}

.cta h2 {
	font-size: clamp(32px, 4.5vw, 46px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	max-width: 640px;
	margin: 0 auto;
}

.cta p {
	max-width: 520px;
	margin: 18px auto 0;
	font-size: 17px;
	color: var(--slate);
}

.cta .hero-actions {
	justify-content: center;
}

.cta .email-note {
	margin-top: 22px;
	font-size: 15px;
	color: var(--slate-dim);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
	border-top: 1px solid var(--border);
	background: var(--navy-deepest);
	padding: 36px 0;
}

.site-footer .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.site-footer .brand {
	font-size: 17px;
}

.site-footer .brand img {
	height: 28px;
}

.site-footer nav {
	display: flex;
	gap: 22px;
}

.site-footer a {
	color: var(--slate);
	font-size: 14px;
}

.site-footer a:hover {
	color: var(--white);
}

.site-footer .copy {
	font-size: 13px;
	color: var(--slate-dim);
}
