/* ============================================================
   THE BOAT DOCKER — Welcome / Setup Page
   Palette: deep navy, brass rope accent, cream canvas
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root{
	--navy-deep:   #0B3D62;
	--navy-darker: #082C47;
	--brass:       #C8935B;
	--brass-dark:  #A8703C;
	--teal:        #1C7293;
	--cream:       #F6F3EC;
	--ink:         #1F2A33;
	--ink-dim:     #5B6B76;
	--white:       #FFFFFF;
	--danger:      #C0392B;
}

* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	border: none;
	outline: none;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 1.4em;
}

body {
	font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: var(--ink);
}
body, html {
	height: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	font-family: 'Oswald', "Helvetica Neue", sans-serif;
}
h2 {
	font-size: 22px;
	color: #E9E6E5;
}
h3 {
	font-size: 15px;
	color: var(--white);
	line-height: 1.5em;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
}
h2, h3 {
	text-align: center;
	letter-spacing: .01em;
}

/* ---------------- WRAPPER / BACKDROP ---------------- */
#wrapper {
	position: relative;
	min-height: 100%;
	background:
		radial-gradient(ellipse 900px 500px at 80% -10%, rgba(200,147,91,.14), transparent 60%),
		linear-gradient(180deg, var(--navy-darker) 0%, var(--navy-deep) 45%, #0E4870 100%);
	background-attachment: fixed;
	padding: 40px 20px 90px;
}

/* faint rope-and-wheel texture along the top, echoing the logo motif */
#wrapper::before{
	content:'';
	position:absolute; top:0; left:0; right:0; height:220px;
	background-image: repeating-linear-gradient(115deg, rgba(200,147,91,.10) 0 2px, transparent 2px 34px);
	pointer-events:none;
}

/* ---------------- FOOTER LINK CARDS ---------------- */
#footer-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 20px;
}
.footer-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
	border: 1px solid rgba(200,147,91,.35);
	border-radius: 10px;
	color: var(--white);
	transition: transform .15s, border-color .15s, background .15s;
}
.footer-card:hover {
	transform: translateY(-2px);
	border-color: var(--brass);
	background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
}
.footer-card-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	color: var(--brass);
}
.footer-card-icon svg { width: 100%; height: 100%; }
.footer-card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.footer-card-title {
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	letter-spacing: .02em;
	color: var(--white);
}
.footer-card-sub {
	font-size: 12.5px;
	color: rgba(255,255,255,.65);
}
.footer-card-arrow {
	flex: 0 0 auto;
	font-size: 18px;
	color: var(--brass);
	transition: transform .15s;
}
.footer-card:hover .footer-card-arrow {
	transform: translateX(3px);
}

/* ---------------- HERO ---------------- */
#content { max-width: 760px; margin: 0 auto; }
#content-holder { position: relative; z-index: 1; }

#hero {
	text-align: center;
	padding: 18px 10px 30px;
}
#brand-logo {
	max-width: 220px;
	width: 100%;
	display: block;
	margin: 0 auto 18px;
	padding: 18px 22px;
	background: var(--cream);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
#hero-tag {
	font-family: 'Oswald', sans-serif;
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--brass);
}

/* ---------------- FORM CARD ---------------- */
#form-holder {
	background: var(--cream);
	border-radius: 14px;
	padding: 8px 34px 34px;
	box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.settings-group {
	padding: 26px 0 22px;
	border-bottom: 1px solid rgba(11,61,98,.12);
}
.settings-group:last-of-type { border-bottom: none; }

.settings-group legend {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	color: var(--navy-deep);
	letter-spacing: .01em;
	margin-bottom: 4px;
}
.group-index {
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	color: var(--white);
	background: var(--navy-deep);
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0;
}
.group-hint {
	color: var(--ink-dim);
	font-size: 13px;
	margin-bottom: 16px;
}

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }

.field-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 20px;
}
.field-grid .field { margin-bottom: 0; }

label {
	color: var(--navy-deep);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: 6px;
	display: block;
}

select, input[type="text"] {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	color: var(--ink);
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	background: var(--white);
	border: 1.5px solid #D8CFC0;
	border-radius: 7px;
	transition: border-color .15s, box-shadow .15s;
}
select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230B3D62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}
select:focus, input[type="text"]:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(28,114,147,.18);
}

/* ---------------- CTA ---------------- */
#cta-row {
	margin-top: 28px;
	text-align: center;
}
#run-btn {
	width: 100%;
	height: 58px;
	background: linear-gradient(180deg, var(--brass), var(--brass-dark));
	color: var(--navy-darker);
	font-family: 'Oswald', sans-serif;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 6px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
	transition: transform .12s, box-shadow .12s;
}
#run-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
}
#run-btn:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
}

p { color: var(--white); }

/* ---------------- BOTTOM AD UNIT ---------------- */
#bottom-ad {
	margin-top: 24px;
	display: flex;
	justify-content: center;
	min-height: 90px; /* reserves space so the page doesn't jump once the ad loads */
}
/* ---------------- RESPONSIVE ---------------- */
@media screen and (max-width: 720px) {
	.field-grid { grid-template-columns: 1fr; }
	#form-holder { padding: 4px 22px 26px; }
	#footer-links { grid-template-columns: 1fr; }
}

@media screen and (max-width: 480px) {
	#wrapper { padding: 24px 12px 70px; }
}
