:root {
  --navy: #0e2a3b;
  --sea: #164a6b;
  --sand: #f4f2ec;
  --clay: #b8430f;
  --muted: #56636d;
  --mist: #c9d3da;
  --line: #e2ded4;
  --white: #ffffff;
  --display: "Barlow Condensed", sans-serif;
  --body: "Barlow", sans-serif;
  --bar: 64px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
}

p {
  margin: 0;
}

/* Sticky bar */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: var(--sand);
  border-bottom: 1px solid #1d3d52;
}

.bar a,
.hero a {
  color: var(--sand);
  text-decoration: none;
}

.bar a:hover,
.hero a:hover {
  color: var(--white);
}

.top {
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top nav a[aria-current] {
  box-shadow: inset 0 -3px 0 var(--clay);
}

/* Hero */

.hero {
  scroll-margin-top: var(--bar);
  background: var(--navy);
  color: var(--sand);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
}

.top nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  white-space: nowrap;
}

.top nav a {
  display: inline-block;
  padding: 10px 0;
}

.hero-body {
  padding-top: 56px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  max-width: 820px;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 620px;
  color: var(--mist);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary,
.hero .button.primary {
  background: var(--clay);
  color: var(--white);
}

.button.primary:hover {
  background: #9e390c;
}

.button.outline {
  border: 2px solid var(--sand);
}

.wave {
  display: block;
  width: 100%;
  height: 60px;
}

/* Sections */

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Each journey fills the screen, so the nav anchors land on it alone. */
.journey {
  scroll-margin-top: var(--bar);
  min-height: calc(100vh - var(--bar));
  min-height: calc(100svh - var(--bar));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.anglers {
  padding-top: 64px;
  padding-bottom: 72px;
}

.anglers .eyebrow {
  color: var(--sea);
}

.anglers h2,
.guides h2 {
  margin: 8px 0 28px;
  font-size: 44px;
  line-height: 1.05;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.step-number {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  color: var(--clay);
}

.steps h3 {
  margin: 4px 0 0;
  font-size: 19px;
}

.steps p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.section-action {
  margin-top: 28px;
  display: flex;
}

.guides {
  background: var(--navy);
  color: var(--sand);
  padding-top: 64px;
  padding-bottom: 72px;
}

.guides .eyebrow {
  color: #e3eef5;
}

.guides h2 {
  margin-bottom: 12px;
}

.guides-lead {
  margin-bottom: 28px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--mist);
}

.guides .steps li {
  background: var(--sea);
  border-color: #245d80;
}

.guides .step-number {
  color: #f08a5d;
}

.guides .steps p {
  color: var(--mist);
}

/* Waitlist */

.waitlist {
  scroll-margin-top: var(--bar);
  padding-top: 64px;
  padding-bottom: 72px;
}

.waitlist-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}

.waitlist h2 {
  margin-bottom: 8px;
  font-size: 40px;
  line-height: 1.05;
}

.waitlist-lead {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
}

.waitlist-form label {
  margin-bottom: 6px;
  font-weight: 600;
}

.waitlist-form input {
  margin-bottom: 16px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d9d4c7;
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  color: var(--navy);
  background: var(--white);
}

.waitlist-form input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 0;
}

.waitlist-form button {
  border: 0;
  cursor: pointer;
  font-family: var(--body);
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-message:not(:empty) {
  margin: -4px 0 12px;
  color: #9a3a0d;
  font-weight: 600;
}

.waitlist-legal {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.waitlist-legal a {
  color: var(--navy);
}

.waitlist-done p + p {
  margin-top: 4px;
}

.button.outline-dark {
  margin-top: 20px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: var(--body);
  cursor: pointer;
}

/* Only inside the dialog; the section at the end of the page stays. */
.waitlist [data-fechar] {
  display: none;
}

.waitlist-done-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--sea);
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  overflow: auto;
}

.waitlist-dialog::backdrop {
  background: rgb(14 42 59 / 0.6);
}

.waitlist-dialog .waitlist-card {
  border: 0;
}

.waitlist-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.waitlist-close:focus-visible {
  outline: 3px solid var(--clay);
}

/* Footer */

footer {
  border-top: 1px solid #d9d4c7;
}

.footer-row {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--navy);
}

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

@media (max-width: 480px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .anglers,
  .guides {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .brand-name {
    display: none;
  }

  .top nav {
    gap: 16px;
    font-size: 15px;
  }

  .hero-body {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .lead {
    font-size: 18px;
  }

  .actions .button,
  .section-action .button {
    flex: 1 1 100%;
  }

  .anglers h2,
  .guides h2,
  .waitlist h2 {
    font-size: 36px;
  }

  .waitlist-card {
    padding: 24px 20px;
  }
}
