:root {
  color-scheme: dark;
  --bg: #0b111e;
  --surface: #121a2a;
  --surface-2: #162033;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --border: rgba(148, 163, 184, 0.22);
  --shadow: 0 22px 44px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #121a2f 0%, #0b111e 45%, #070b14 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.nav {
  background: rgba(11, 17, 30, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 0;
  width: min(390px, 100%);
  height: 60px;
  background: url("/morningtidelogo0209.png") no-repeat left center;
  background-size: contain;
  text-decoration: none;
}

.brand-badge {
  display: none;
}

.brand span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b111e;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border-color: rgba(125, 211, 252, 0.6);
  box-shadow: none;
}

main {
  padding-bottom: 40px;
}

.hero {
  padding: 80px 0 68px;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 22, 0.9));
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.6rem;
  margin: 0 0 16px;
  line-height: 1.2;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.lede {
  font-size: 1.1rem;
  color: #cbd5f5;
}

.section {
  padding: 56px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(18, 26, 42, 0.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h2 a,
.card h3 a {
  text-decoration: none;
  color: var(--text);
}

.card h2 a:hover,
.card h3 a:hover {
  color: var(--accent);
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: rgba(8, 12, 20, 0.9);
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

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

.form {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

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

button.btn {
  cursor: pointer;
  border: none;
}

.note {
  background: rgba(15, 23, 42, 0.6);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

@media (max-width: 960px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cols-2,
  .cols-3,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.1rem;
  }

  .hero {
    padding: 64px 0 54px;
  }
}
