/* Crawford & Co. Creative — coming soon landing page */

:root {
  --ink: #071b2d;
  --navy: #123b5a;
  --blue: #3fa6d2;
  --blue-soft: #ddf3fa;
  --yellow: #ffd166;
  --yellow-soft: #fff0b8;
  --white: #ffffff;
  --paper: #f8fcfd;
  --muted: #526c7c;
  --line: rgba(18, 59, 90, 0.18);
  --shadow: 0 24px 70px rgba(7, 27, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(63, 166, 210, 0.16), transparent 34%),
    radial-gradient(circle at 72% 98%, rgba(255, 209, 102, 0.22), transparent 28%),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 10px;
  background: linear-gradient(90deg, var(--yellow) 0 28%, var(--blue) 28% 72%, var(--navy) 72%);
  z-index: 10;
}

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

.page-shell {
  width: min(1380px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 118px;
  padding: 30px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 235px;
  text-decoration: none;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(54px, 8vw, 130px);
  padding: 42px 0 74px;
}

.hero-copy {
  max-width: 770px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.3vw, 6.9rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.positioning {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.38;
}

.invitation {
  max-width: 665px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.signup-form {
  max-width: 720px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.field-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 12px;
}

.field label {
  display: block;
  margin: 0 0 7px 3px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.field label span {
  color: var(--muted);
  font-weight: 500;
}

input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(18, 59, 90, 0.23);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
  color: #8b9ca7;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(63, 166, 210, 0.16);
}

button {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 150ms ease, background 150ms ease;
}

button:hover {
  background: #0b2d47;
  transform: translateY(-1px);
}

button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.privacy-note {
  margin: 12px 4px 0;
  color: #6d808b;
  font-size: 0.74rem;
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.mark-frame {
  position: relative;
  z-index: 2;
  width: min(440px, 88%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 59, 90, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.mark-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 209, 102, 0.8);
  border-radius: 50%;
}

.mark-frame img {
  position: relative;
  z-index: 2;
  width: 76%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
}

.orb-one {
  width: 250px;
  height: 250px;
  top: 12px;
  right: 0;
  background: var(--blue-soft);
}

.orb-two {
  width: 185px;
  height: 185px;
  left: 5px;
  bottom: 20px;
  background: var(--yellow-soft);
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 3px;
  z-index: 3;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

footer {
  min-height: 72px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

/* Thank-you page */
.thank-you-shell {
  text-align: center;
}

.thank-you {
  flex: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 70px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you-mark {
  width: 160px;
  margin-bottom: 30px;
}

.thank-you h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.thank-you > p:not(.eyebrow) {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.text-link {
  margin-top: 30px;
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 36px, 760px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
  }

  .visual {
    min-height: 400px;
    order: -1;
  }

  .mark-frame {
    width: min(360px, 78vw);
  }

  .orb-one {
    right: 8%;
  }

  .orb-two {
    left: 8%;
  }

  .visual-caption {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 540px);
  }

  .site-header {
    min-height: 102px;
    padding-top: 24px;
  }

  .brand {
    width: 190px;
  }

  .status {
    display: none;
  }

  .hero {
    padding: 18px 0 48px;
  }

  .visual {
    min-height: 290px;
  }

  .mark-frame {
    width: min(265px, 76vw);
  }

  .orb-one {
    width: 160px;
    height: 160px;
  }

  .orb-two {
    width: 120px;
    height: 120px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .positioning {
    margin-top: 25px;
  }

  .signup-form {
    padding: 17px;
    border-radius: 17px;
  }

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

  footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* Header adjustment for the streamlined landing page */
.site-header {
  justify-content: flex-start;
}
