:root {
  --ink: #0c0f0d;
  --muted: #5c635f;
  --line: #dfe5e0;
  --paper: #f7faf7;
  --white: #ffffff;
  --trail: #2f6d4f;
  --trail-dark: #123525;
  --trail-soft: #e3efe7;
  --focus: #75b985;
  --shadow: 0 24px 70px rgba(12, 15, 13, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 247, 0.88);
  border-bottom: 1px solid rgba(223, 229, 224, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 156px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-top-cta {
  position: absolute;
  top: clamp(22px, 4vw, 42px);
  right: clamp(22px, 5vw, 72px);
  z-index: 3;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.86) contrast(1.08);
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 9, 0.9), rgba(7, 12, 9, 0.44) 48%, rgba(7, 12, 9, 0.18)),
    linear-gradient(0deg, rgba(7, 12, 9, 0.72), rgba(7, 12, 9, 0.06) 42%);
  z-index: -1;
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(22px, 4vw, 42px) clamp(22px, 6vw, 72px) 72px;
  color: var(--white);
}

.hero-logo {
  width: min(340px, 68vw);
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 32px;
  filter: invert(1) brightness(2);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--trail);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bde6c5;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(2.45rem, 5.7vw, 4.95rem);
}

h2 {
  font-size: clamp(2rem, 4.7vw, 4.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-lead {
  max-width: 610px;
  margin: clamp(72px, 10vh, 120px) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--trail-dark);
}

.button.primary:hover {
  background: #194b33;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.intro,
.values,
.edition,
.signup {
  padding: clamp(68px, 9vw, 118px) clamp(22px, 5vw, 72px);
}

.intro,
.edition,
.signup {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.section-copy {
  max-width: 760px;
}

.intro-text {
  display: grid;
  gap: 22px;
  padding-top: calc(1.05rem * 1.5 + 21px);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.intro-text p,
.edition-copy p,
.signup-copy p {
  margin: 0;
}

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

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 5vw, 58px);
  background: var(--line);
  border: 1px solid var(--line);
}

.value-item {
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.value-marker {
  display: block;
  color: var(--trail);
  font-size: 0.8rem;
  font-weight: 850;
  margin-bottom: 54px;
}

.value-item p {
  margin: 18px 0 0;
  color: var(--muted);
}

.edition {
  align-items: center;
  background: var(--paper);
}

.edition-copy {
  max-width: 720px;
}

.edition-copy p {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.agenda {
  margin-top: 34px;
}

.agenda h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.agenda ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.agenda li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.agenda span {
  color: var(--trail-dark);
  font-weight: 900;
}

.agenda p {
  margin: 0;
}

.route-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-panel div {
  display: grid;
  gap: 7px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
}

.metric {
  color: var(--trail-dark);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.signup {
  background: var(--ink);
  color: var(--white);
}

.signup .eyebrow {
  color: #bde6c5;
}

.signup-copy {
  position: sticky;
  top: 118px;
}

.signup-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.signup-form {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: clamp(22px, 4vw, 40px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.spots-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--trail-soft);
  color: var(--trail-dark);
}

.spots-counter span {
  font-weight: 750;
}

.spots-counter strong {
  font-size: 1.35rem;
  line-height: 1;
}

.spots-counter.is-full {
  background: #f4e7e4;
  color: #7c2d21;
}

.field {
  display: grid;
  gap: 8px;
}

label,
.form-note {
  font-size: 0.95rem;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd3cd;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(117, 185, 133, 0.2);
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-weight: 650;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--trail-dark);
}

.consent a {
  color: var(--trail-dark);
  font-weight: 850;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.submit {
  width: 100%;
}

.submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--trail-dark);
  font-weight: 800;
}

.form-status.error {
  color: #a33628;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 26px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
  min-height: 84px;
}

.site-footer img {
  width: 150px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.linkedin-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.copyright {
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 160px);
  transform: translateX(-50%);
  font-size: 0.9rem;
  text-align: center;
}

.terms-page {
  background: var(--white);
}

.terms-header {
  position: sticky;
}

.terms-main {
  padding: clamp(96px, 12vw, 140px) clamp(22px, 5vw, 72px) 72px;
}

.terms-content {
  width: min(860px, 100%);
  margin: 0 auto;
}

.terms-content h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.9rem);
}

.terms-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
}

.terms-content .button {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 52px;
  }

  .intro,
  .edition,
  .signup {
    grid-template-columns: 1fr;
  }

  .signup-copy {
    position: static;
  }

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

  .value-item {
    min-height: auto;
  }

  .value-marker {
    margin-bottom: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 18px;
  }

  .brand img {
    width: 130px;
    height: 44px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  .hero-content {
    padding: 92px 20px 54px;
  }

  .hero-logo {
    display: block;
    margin: 0 auto 32px;
    object-position: center;
  }

  .hero-top-cta {
    top: 18px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    min-height: 42px;
    width: calc(100% - 40px);
    max-width: 360px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

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

  .site-footer {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 24px 20px;
  }

  .footer-info {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .site-footer p {
    text-align: center;
  }

  .copyright {
    position: static;
    width: auto;
    max-width: 100%;
    transform: none;
  }
}
