:root {
  --navy: #102a54;
  --blue: #1f6eb3;
  --sky: #d9ecfb;
  --green: #2e7d4f;
  --gold: #f5c84c;
  --red: #c83f49;
  --ink: #101820;
  --muted: #5d6977;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: rgba(16, 24, 32, 0.12);
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto auto;
  left: 0;
  padding: 16px clamp(18px, 4vw, 58px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 850;
  gap: 12px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-mark {
  align-items: center;
  background: var(--navy);
  border-radius: 8px;
  color: var(--gold);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-links a:hover,
.footer a:hover,
.details a:hover,
.social-links a:hover {
  color: var(--red);
}

.nav-button,
.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.nav-button,
.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero {
  color: var(--white);
  min-height: 84vh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  background: url("grayson_clock.png") center / cover;
}

.hero-shade {
  background:
    radial-gradient(circle at 82% 20%, rgba(245, 200, 76, 0.35), transparent 28%),
    linear-gradient(90deg, rgba(16, 42, 84, 0.94), rgba(16, 42, 84, 0.75) 52%, rgba(16, 42, 84, 0.3));
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84vh;
  padding: 86px clamp(20px, 5vw, 72px) 48px;
  position: relative;
  width: min(820px, 100%);
}

.eyebrow,
.section-label {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

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

h1 {
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  font-size: 1.2rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 660px;
}

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

.section {
  padding: clamp(62px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.two-column,
.contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.copy-stack p,
.section-heading p,
.meeting-band p,
.contact-info p {
  color: var(--muted);
  font-size: 1.05rem;
}

.values {
  background: var(--white);
}

.section-heading {
  max-width: 840px;
}

.value-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.value-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  padding: 26px;
}

.value-grid span {
  color: var(--red);
  display: block;
  font-weight: 850;
  margin-bottom: 44px;
}

.value-grid p {
  color: var(--muted);
}

.meeting-band {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
}

.meeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.meeting-band p:not(.section-label) {
  color: rgba(255, 255, 255, 0.72);
  max-width: 780px;
}

.contact-section {
  background:
    linear-gradient(rgba(247, 249, 251, 0.92), rgba(247, 249, 251, 0.96)),
    url("grayson_clock.png") center / cover;
}

.details {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.details strong {
  color: var(--navy);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 14px;
}

.contact-form,
.signup-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
}

label,
fieldset {
  color: var(--navy);
  display: grid;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 8px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

legend {
  padding: 0 6px;
}

input,
select,
textarea {
  background: #fbfdff;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(31, 110, 179, 0.2);
}

.check-row,
.consent {
  align-items: start;
  color: var(--ink);
  display: grid;
  font-weight: 650;
  gap: 10px;
  grid-template-columns: 20px 1fr;
}

.check-row input,
.consent input {
  min-height: auto;
  margin-top: 4px;
  width: auto;
}

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

.form-button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.footer {
  align-items: center;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.footer a {
  color: var(--gold);
  font-weight: 850;
}

.signup-page {
  background:
    linear-gradient(90deg, rgba(16, 42, 84, 0.95), rgba(16, 42, 84, 0.72)),
    url("grayson_clock.png") center / cover fixed;
}

.qr-page {
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.96), rgba(247, 249, 251, 0.86)),
    url("grayson_clock.png") center / cover fixed;
}

.qr-card {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  min-height: 100vh;
  padding: clamp(28px, 6vw, 84px);
}

.qr-card h1 {
  color: var(--navy);
}

.qr-card p:not(.section-label) {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 680px;
}

.qr-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 34px);
  text-align: center;
}

.qr-wrap img {
  display: block;
  margin: 0 auto 18px;
  max-width: 100%;
}

.qr-wrap p {
  color: var(--navy);
  font-weight: 850;
  margin: 0;
  overflow-wrap: anywhere;
}

.signup-shell {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
}

.signup-hero {
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signup-hero .brand small {
  color: rgba(255, 255, 255, 0.72);
}

.signup-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.14rem;
  max-width: 680px;
}

.response-page {
  display: grid;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  place-items: center;
}

.response-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 760px;
  padding: clamp(28px, 5vw, 58px);
}

.response-card h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.response-card p:not(.section-label) {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .contact-section,
  .signup-shell,
  .qr-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-button {
    justify-self: start;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(16, 42, 84, 0.95), rgba(16, 42, 84, 0.66));
  }

  .value-grid,
  .meeting-band {
    grid-template-columns: 1fr;
  }

  .meeting-band .button,
  .form-button {
    justify-self: stretch;
  }

  .meeting-actions {
    width: 100%;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button,
  .hero-actions {
    width: 100%;
  }
}
