/* nexura.insure — Northern Paper v3.3.1 public teaser */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces/Fraunces[SOFT,WONK,opsz,wght].ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter/Inter[opsz,wght].ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F2F5F4;
  --white: #FFFFFF;
  --charcoal: #1B2E39;
  --teal-deep: #127990;
  --teal-hover: #0E687C;
  --grey-text: #5F7377;
  --steel-text: #59747A;
  --hairline: #DDE3E0;
  --field-border: #B8C6C2;
  --field-fill: #F8FAF9;
  --error: #8B2E2E;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

input,
button {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--teal-deep);
}

button,
input {
  border-radius: 0;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.chrome-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(24px, 5vw, 72px);
}

.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
}

.wordmark-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 162px;
  min-height: 44px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.wordmark {
  width: 112px;
  height: 44px;
  object-fit: contain;
}

.quiet-link {
  color: var(--grey-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 144px);
  display: flex;
  align-items: center;
  gap: clamp(48px, 5.55vw, 80px);
  padding: 64px clamp(24px, 5vw, 72px) 40px;
}

.promise-column {
  width: calc(100% - 472px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-left: 32px;
  border-left: 1px solid var(--charcoal);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--teal-deep);
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 120, "SOFT" 0, "WONK" 0;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: clamp(58px, 5.55vw, 80px);
  line-height: 1.075;
  letter-spacing: -0.025em;
}

.category {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--grey-text);
  font-size: 19px;
  line-height: 30px;
}

.human-review {
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--charcoal);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.human-review > span {
  width: 28px;
  height: 1px;
  flex: 0 0 28px;
  background: var(--teal-deep);
}

.access-column {
  width: 392px;
  flex: 0 0 392px;
}

.access-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--white);
}

.form-header {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-header h2,
.success-panel h2 {
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.025em;
}

.form-header p,
.success-panel p {
  margin-bottom: 0;
  color: var(--grey-text);
  font-size: 13px;
  line-height: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: var(--steel-text);
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  background: var(--field-fill);
  color: var(--charcoal);
  font-size: 14px;
  line-height: 20px;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}

.field input::placeholder {
  color: var(--grey-text);
  opacity: 0.85;
}

.field input:focus {
  border-color: var(--teal-deep);
  background: var(--white);
  box-shadow: 0 0 0 3px rgb(18 121 144 / 14%);
}

.turnstile-slot {
  width: 100%;
  min-width: 0;
  min-height: 64px;
}

.turnstile-slot:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--field-border);
  border-radius: 10px;
  background: var(--field-fill);
}

.turnstile-slot:empty::before {
  content: "Security check";
  color: var(--steel-text);
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-action {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border: 1px solid var(--teal-deep);
  border-radius: 10px;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  transition: background 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out;
}

.primary-action:hover {
  border-color: var(--teal-hover);
  background: var(--teal-hover);
}

.primary-action:active {
  transform: translateY(1px);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-note,
.form-error,
.noscript-note {
  margin-bottom: 0;
  color: var(--grey-text);
  font-size: 11px;
  line-height: 18px;
}

.form-note a,
.noscript-note a {
  color: var(--charcoal);
  font-weight: 600;
}

.form-error {
  color: var(--error);
  font-weight: 600;
}

.hp-field {
  position: absolute;
  top: auto;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.success-panel {
  min-height: 280px;
  justify-content: center;
}

.success-panel strong {
  color: var(--charcoal);
}

.noscript-note {
  margin: 12px 0 0;
}

.site-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--hairline);
  color: var(--grey-text);
  font-size: 11px;
  line-height: 17px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer a {
  text-decoration: none;
}

/* Privacy */
.legal-main {
  width: min(100%, 856px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 48px) 96px;
}

.legal-main h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.08;
}

.effective-date {
  margin-bottom: 40px;
  color: var(--steel-text);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.legal-lede {
  color: var(--grey-text);
  font-size: 17px;
  line-height: 28px;
}

.legal-main h2 {
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-main p,
.legal-main li {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 25px;
}

.legal-main p {
  margin-bottom: 14px;
}

.legal-main ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-main li {
  margin-bottom: 8px;
}

.legal-main a {
  color: var(--teal-deep);
}

.contact-card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--white);
}

/* 404 */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.not-found main {
  max-width: 700px;
  text-align: center;
}

.not-found h1 {
  margin: 18px auto 32px;
  font-size: clamp(42px, 7vw, 72px);
}

.not-found .primary-action {
  width: auto;
  display: inline-flex;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .hero {
    align-items: flex-start;
  }

  .promise-column {
    width: calc(100% - 440px);
  }

  h1 {
    font-size: clamp(52px, 6vw, 68px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    flex-direction: column;
    gap: 40px;
    padding-block: 56px;
  }

  .promise-column {
    width: 100%;
  }

  .access-column {
    width: min(100%, 560px);
    flex-basis: auto;
    align-self: flex-end;
  }

  .site-footer {
    padding-block: 18px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 64px;
  }

  .chrome-inner {
    padding-inline: 24px;
  }

  .wordmark-link {
    min-height: 36px;
    min-width: 140px;
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .wordmark {
    width: 96px;
    height: 38px;
  }

  .hero {
    gap: 36px;
    padding: 42px 24px 32px;
  }

  .promise-column {
    gap: 24px;
    padding-left: 20px;
    border-left-width: 3px;
  }

  .hero-copy {
    gap: 18px;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 16px;
  }

  h1 {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -0.035em;
  }

  .category {
    font-size: 17px;
    line-height: 25px;
  }

  .human-review {
    padding-top: 18px;
    font-size: 13px;
    line-height: 19px;
  }

  .access-card {
    gap: 18px;
    padding: 28px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgb(27 46 57 / 6%);
  }

  .form-header h2,
  .success-panel h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .field input {
    border-radius: 4px;
  }

  .turnstile-slot:empty,
  .primary-action {
    border-radius: 4px;
  }

  .site-footer {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 360px) {
  .chrome-inner {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: 42px;
    line-height: 46px;
  }

  .access-card {
    padding-inline: 20px;
  }

  .legal-main {
    padding-inline: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
