
* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #edf3f5;
  color: #07384e;
}

body {
  border-top: 4px solid #0b4f66;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 0;
}

h1 {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.card {
  background: white;
  border: 1px solid #c7d3d9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-link {
  display: block;
  background: white;
}

.hero-link img {
  display: block;
  width: 100%;
  height: auto;
}

.sales-hero {
  padding: 0;
}

.card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #365867;
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.1;
}

p {
  margin: 0 0 8px;
  color: #324d58;
  font-size: 16px;
}

ul {
  margin: 4px 0 22px 20px;
  padding: 0;
  line-height: 1.65;
  color: #111;
}

.button-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 1px solid #9fb7c2;
  border-radius: 6px;
  padding: 10px 12px;
  background: #e8f0f4;
  color: #062e40;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  filter: brightness(.96);
  outline: 3px solid rgba(22, 123, 153, .25);
  outline-offset: 2px;
}

.button.primary {
  background: #177c99;
  border-color: #177c99;
  color: #fff;
}

.sales-body {
  min-height: 330px;
}

.boat-line {
  margin: 14px 0 24px;
  font-size: 18px;
  color: #111;
}

.browse {
  margin-top: auto;
  width: 100%;
}

footer {
  margin-top: 28px;
  min-height: 48px;
  padding: 14px 18px;
  background: #07384e;
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 18px, 620px);
    padding-top: 14px;
  }

  h1 {
    margin-bottom: 14px;
  }

  .choices {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-body {
    padding: 18px;
  }

  .sales-body {
    min-height: 270px;
  }
}

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

  footer {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}


.admin-entry {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 22px;
  border-radius: 6px;
  background: #27323a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.admin-page {
  max-width: 700px;
}

.admin-choice-card {
  background: #fff;
  border: 1px solid #c7d3d9;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  text-align: center;
}

.admin-choice-card p {
  margin-bottom: 22px;
}

.admin-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.back-home {
  display: inline-block;
  margin-top: 24px;
  color: #07384e;
  font-weight: 700;
}

@media (max-width: 520px) {
  .admin-choice-grid { grid-template-columns: 1fr; }
}
