html { margin: 0 !important; }
body { margin: 0; }
#wpadminbar ~ .nahantnet-page { min-height: calc(100vh - 32px); }
@media screen and (max-width: 782px) { #wpadminbar ~ .nahantnet-page { min-height: calc(100vh - 46px); } }

:root {
  --ink: #ffffff;
  --muted: rgba(255,255,255,.78);
  --panel: rgba(5, 23, 42, .72);
  --panel-strong: rgba(3, 17, 31, .84);
  --line: rgba(255,255,255,.22);
  --accent: #68d8ff;
  --accent-2: #d7b46a;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #06182b;
}

/* Page is now solid navy. The image is no longer a full-page background. */
.nahantnet-page {
  min-height: 100vh;
  position: relative;
  overflow: visible;
  background: #06182b;
}

.nahantnet-page::before {
  display: none;
}

.nahantnet-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

/* Header / cover image */
.nahantnet-logo-bar {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-image:
    linear-gradient(
      180deg,
      rgba(2,16,31,.15),
      rgba(2,16,31,.55)
    ),
    url('background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.nahantnet-logo {
  width: min(560px, 82vw);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.38));
}

/* Content area below the image */
.nahantnet-main {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  align-items: start;
  gap: 44px;
  padding: 80px 20px;
  background: #06182b;
}

.nahantnet-copy {
  max-width: 690px;
  padding-bottom: 34px;
  text-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 20, 36, .36);
  backdrop-filter: blur(10px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .17em;
  color: rgba(255,255,255,.86);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

h1 {
  margin: 24px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.1vw, 82px);
  line-height: .94;
  letter-spacing: -.035em;
  max-width: 750px;
}

.lede {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.56;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(2, 17, 32, .44);
  color: rgba(255,255,255,.84);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.signup-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 24px;
}

.signup-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  letter-spacing: -.02em;
}

.signup-card p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.76);
  line-height: 1.45;
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.field label {
  display: block;
  margin: 0 0 6px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(0, 12, 24, .50);
  color: #fff;
  border-radius: 13px;
  min-height: 46px;
  padding: 12px 13px;
  font: inherit;
  outline: none;
}

.field textarea { min-height: 86px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(104,216,255,.78);
  box-shadow: 0 0 0 3px rgba(104,216,255,.16);
}

.checks {
  display: grid;
  gap: 9px;
  margin-top: 2px;
  padding: 10px 0 0;
}

.checks label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.35;
}

.checks input { margin-top: 3px; accent-color: var(--accent); }

.submit-btn {
  margin-top: 5px;
  width: 100%;
  border: 0;
  border-radius: 15px;
  min-height: 52px;
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff, #cfefff);
  color: #06213a;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 14px 36px rgba(0,0,0,.34);
}

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

.privacy-note {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.56);
  font-size: 12px;
  line-height: 1.35;
}

.nahantnet-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  text-shadow: none;
  background: #06182b;
}

@media (max-width: 900px) {
  .nahantnet-logo-bar {
    height: 340px;
  }

  .nahantnet-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .nahantnet-copy {
    text-align: center;
    max-width: 100%;
    padding-bottom: 0;
  }

  h1 {
    max-width: 100%;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .pill-row {
    justify-content: center;
  }

  .signup-card {
    max-width: 620px;
    margin: 0 auto;
  }

  .nahantnet-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .nahantnet-logo-bar {
    height: 260px;
    padding: 0 12px;
  }

  .nahantnet-logo {
    width: 92vw;
  }

  .nahantnet-main {
    padding: 32px 14px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1;
    margin: 20px 0 14px;
  }

  .lede {
    font-size: 17px;
  }

  .signup-card {
    padding: 18px;
    border-radius: 20px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .submit-btn {
    min-height: 56px;
    font-size: 16px;
  }

  .nahantnet-footer {
    font-size: 12px;
    padding: 0 14px 24px;
  }
}
/* Force white text everywhere */

body,
.nahantnet-page,
.nahantnet-main,
.nahantnet-copy,
.signup-card,
.signup-card h2,
.signup-card p,
.lede,
h1,
.field label,
.checks label,
.privacy-note,
.nahantnet-footer {
    color: #ffffff !important;
}