/* Just Liaise, Apple design language on the twilight warmth palette.
   Palette (unchanged):
   twilight slate #36425B, deep twilight #2B3550,
   champagne cream #EBD3B2, muted terracotta #A86654, bright terracotta #E2A983. */

:root {
  --bg: #36425b;
  --bg-deep: #2b3550;
  --bg-deep-2: #232c44;
  --cream: #ebd3b2;
  --cream-soft: rgba(235, 211, 178, 0.88);
  --cream-faint: rgba(235, 211, 178, 0.64);
  --line: rgba(235, 211, 178, 0.14);
  --terra: #a86654;
  --terra-bright: #e2a983;
  --ink: #2b3550;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--terra); color: var(--cream); }

a { color: var(--cream); }

img, svg { display: block; }

/* ---------- Nav: fixed 48px, blurred twilight ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 48px;
  background: rgba(43, 53, 80, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  opacity: 0.92;
}

.brand:hover { opacity: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--cream-soft);
  opacity: 0.85;
}

.nav-links a:hover { opacity: 1; color: var(--cream); }

/* ---------- Buttons: one filled pill, one chevron link ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-radius: 980px;
  padding: 12px 26px;
  transition: background 0.2s ease, transform 0.12s ease;
}

.btn-primary {
  background: var(--cream);
  color: var(--ink);
}

.btn-primary:hover { background: #f4e2c4; }
.btn-primary:active { transform: scale(0.97); }

.btn-compact {
  font-size: 12px;
  padding: 6px 14px;
  font-weight: 500;
}

.btn-wide { width: 100%; text-align: center; }

.text-link {
  color: var(--terra-bright);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.text-link span { font-size: 1.1em; }

.text-link:hover { text-decoration: underline; }

/* ---------- Hero: centered stack, oversized type ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 148px 22px 96px;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(226, 169, 131, 0.14), transparent 65%),
    var(--bg);
}

.hero-copy { max-width: 900px; margin: 0 auto; }

.hero-eyebrow {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.009em;
  color: var(--terra-bright);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0.011em;
  color: var(--cream-soft);
  max-width: 640px;
  margin: 0 auto 30px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.wordmark {
  width: min(680px, 92vw);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.wordmark circle { fill: #a86654; }
.wordmark .const-lines,
.wordmark .const-lines path { stroke: #a86654; fill: none; }

/* ---------- Bands: alternating full-bleed, color is the divider ---------- */
.band { padding: 128px 22px; }

.band-deep { background: var(--bg-deep); }

.band-inner {
  max-width: 980px;
  margin: 0 auto;
}

.band-inner.narrow { max-width: 660px; }

.kicker {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terra-bright);
  margin-bottom: 12px;
}

.band h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.003em;
  color: var(--cream);
  margin-bottom: 20px;
  max-width: 800px;
}

.lede {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--cream-soft);
  max-width: 700px;
  margin-bottom: 14px;
}

.lede strong { color: var(--cream); font-weight: 600; }

.punch {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-top: 28px;
}

/* ---------- Promo tiles: 2-col, 12px gap, flat, 18px radius ---------- */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
}

.tile {
  background: var(--bg-deep-2);
  border-radius: 18px;
  padding: 44px 36px;
}

.band:not(.band-deep) .tile { background: var(--bg-deep); }

.tile-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra-bright);
  margin-bottom: 10px;
}

.tile h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.002em;
  color: var(--cream);
  margin-bottom: 14px;
}

.tile p {
  font-size: 17px;
  line-height: 1.47;
  color: var(--cream-soft);
  margin-bottom: 14px;
}

.tile .punch { font-size: 19px; margin-top: 20px; margin-bottom: 0; }
.tile .text-link { font-size: 15px; }

.rule {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--cream-faint);
  max-width: 700px;
}

/* ---------- Form: minimal, flat ---------- */
.form { margin-top: 44px; }

.field { margin-bottom: 22px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream-soft);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  background: var(--bg-deep-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.band-deep input[type="text"],
.band-deep input[type="email"] { background: rgba(0, 0, 0, 0.18); }

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--terra-bright);
  box-shadow: 0 0 0 4px rgba(226, 169, 131, 0.18);
}

input::placeholder { color: var(--cream-faint); opacity: 1; }

.role-pills { display: flex; gap: 10px; flex-wrap: wrap; }

.pill { cursor: pointer; }

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--cream-soft);
  transition: all 0.16s ease;
}

.pill input:checked + span {
  border-color: var(--terra-bright);
  color: var(--cream);
  background: rgba(168, 102, 84, 0.25);
}

.pill input:focus-visible + span {
  outline: 2px solid var(--terra-bright);
  outline-offset: 2px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  color: var(--cream-soft);
  font-size: 16px;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--terra-bright);
  flex-shrink: 0;
  cursor: pointer;
}

.form .btn { margin-top: 8px; }

.form-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--cream-faint);
}

.form-success { text-align: center; padding: 40px 10px; }

.form-success h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.002em;
  margin-bottom: 12px;
}

.form-success p { color: var(--cream-soft); }

.form-success .big-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--terra);
  margin: 0 auto 22px;
  position: relative;
}

.form-success .big-dot::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 20px;
  height: 10px;
  border-left: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
  transform: rotate(-45deg);
}

.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(168, 102, 84, 0.18);
  border: 1px solid var(--terra);
  color: var(--cream);
  font-size: 14px;
}

.form-error a { color: var(--cream); }

/* ---------- Footer: dense ---------- */
footer {
  background: var(--bg-deep-2);
  border-top: 1px solid var(--line);
  padding: 48px 22px 36px;
  text-align: center;
}

.footer-inner { max-width: 1024px; margin: 0 auto; }

.footer-signoff {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-links {
  font-size: 13px;
  color: var(--cream-faint);
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--cream-soft);
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover { text-decoration: underline; color: var(--cream); }

.footer-links span { margin: 0 2px; }

.copyright {
  font-size: 12px;
  color: var(--cream-faint);
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.in { opacity: 1; transform: none; }

.btn:active { transform: scale(0.97); }

/* ---------- Responsive: Apple's two breakpoints ---------- */
@media (max-width: 1068px) {
  .hero h1 { font-size: 48px; }
  .band h2 { font-size: 40px; }
  .band { padding: 104px 22px; }
  .tile h3 { font-size: 28px; }
}

@media (max-width: 734px) {
  .nav-links { display: none; }
  .hero { padding: 112px 22px 72px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 19px; }
  .hero-ctas { flex-direction: column; gap: 18px; margin-bottom: 56px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .band { padding: 80px 22px; }
  .band h2 { font-size: 32px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 36px 28px; }
  .field-row { grid-template-columns: 1fr; }
  .btn-wide { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg-deep); }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--terra-bright);
  outline-offset: 3px;
}
