:root {
  color-scheme: light;
  --ink: #102126;
  --muted: #587070;
  --paper: #f8fbf7;
  --white: #ffffff;
  --teal: #167c7a;
  --teal-dark: #0c5554;
  --coral: #f0745e;
  --lime: #d8ed7d;
  --shadow: 0 24px 80px rgba(8, 32, 36, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 860px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 58% center;
  z-index: -2;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 26, 0.88) 0%, rgba(7, 24, 26, 0.68) 42%, rgba(7, 24, 26, 0.16) 100%),
    linear-gradient(0deg, rgba(7, 24, 26, 0.42), rgba(7, 24, 26, 0));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(8, 32, 36, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 28px);
}

.nav-link {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--teal-dark);
}

.nav-action {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.nav-action:hover {
  background: var(--teal-dark);
}

.text-link {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  padding: 2px 0;
  color: var(--white);
  background: transparent;
  font-weight: 700;
}

.text-link:focus-visible,
.nav-link:focus-visible,
.nav-action:focus-visible,
.button:focus-visible,
.modal__close:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(216, 237, 125, 0.82);
  outline-offset: 3px;
}

.hero__content {
  align-self: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 130px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 590px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 16px 36px rgba(240, 116, 94, 0.32);
  font-weight: 800;
}

.button:hover {
  background: #de604b;
}

.button--full {
  width: 100%;
}

.preview-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 36px;
  width: min(1180px, calc(100% - 40px));
  margin: -72px auto 0;
  padding: 30px;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-band__label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.preview-band h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.preview-band p:last-child {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 19, 23, 0.68);
}

.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal__panel--compact {
  width: min(620px, 100%);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #eaf1ee;
  font-size: 1.7rem;
  line-height: 1;
}

.modal__header,
.signup-form {
  padding-inline: clamp(22px, 5vw, 42px);
}

.modal__header {
  padding-top: 42px;
  padding-bottom: 14px;
}

.modal__header .eyebrow {
  color: var(--teal);
}

.modal__header h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.modal__header p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding-bottom: 42px;
}

.honey-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

label span {
  font-size: 0.88rem;
}

.check-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 600;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8d3;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdfb;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.35em;
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.form-status.is-error {
  color: #b42318;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-action {
    padding: 0 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__image {
    object-position: 68% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 26, 0.9), rgba(7, 24, 26, 0.45)),
      linear-gradient(0deg, rgba(7, 24, 26, 0.58), rgba(7, 24, 26, 0.12));
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .preview-band,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .preview-band {
    margin-top: -54px;
    padding: 24px;
  }

  .modal {
    padding: 12px;
  }

  .modal__panel {
    max-height: calc(100vh - 24px);
  }
}
