:root {
  --forest: #123f2b;
  --forest-2: #0d3122;
  --olive: #7f9c3d;
  --olive-light: #a9bc70;
  --teal: #5aa9a1;
  --coffee: #79583f;
  --cream: #f5efe1;
  --cream-2: #fbf8f0;
  --pearl: #fffdf8;
  --ink: #163729;
  --muted: #687260;
  --line: rgba(82, 75, 49, .14);
  --shadow: 0 24px 70px rgba(45, 49, 27, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }

.site-shell { overflow: hidden; }
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-link img { display: block; width: 245px; height: auto; }
.header-cta {
  text-decoration: none;
  border: 1px solid rgba(18, 63, 43, .17);
  background: rgba(255,253,248,.68);
  backdrop-filter: blur(14px);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 32px rgba(54,51,29,.08);
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 156px max(28px, calc((100vw - 1180px) / 2)) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  align-items: center;
  gap: clamp(46px, 7vw, 108px);
  isolation: isolate;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(250,247,238,.98) 0%, rgba(250,247,238,.86) 47%, rgba(250,247,238,.68) 100%),
    url("westin-root/hero-bg-clean.png") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 22%, rgba(255,255,255,.9), transparent 32%),
    radial-gradient(circle at 78% 34%, rgba(188,170,120,.13), transparent 30%),
    linear-gradient(180deg, transparent 73%, var(--cream-2));
}
.hero::after {
  content: "";
  position: absolute;
  left: -7%; right: -7%; bottom: 5%; height: 160px;
  z-index: -1;
  border-radius: 50%;
  border-top: 1px solid rgba(171,143,82,.18);
  transform: rotate(-2deg);
}
.floating-leaf {
  position: absolute;
  width: 56px;
  aspect-ratio: 1.7;
  background: linear-gradient(145deg, #a2b563, #4f762f);
  border-radius: 100% 0 100% 0;
  opacity: .28;
  filter: blur(.1px) drop-shadow(0 12px 18px rgba(49,74,31,.15));
  animation: leafDrift 9s ease-in-out infinite;
}
.leaf-one { left: 48%; top: 17%; transform: rotate(24deg); }
.leaf-two { right: 4%; bottom: 23%; width: 38px; animation-delay: -4s; opacity: .18; }

.hero-copy { max-width: 640px; }
.eyebrow {
  color: var(--olive);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .14em;
  font-weight: 850;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 6px rgba(127,156,61,.10);
  animation: livePulse 2.6s ease-out infinite;
}
.hero h1 {
  margin: 22px 0 22px;
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 600;
}
.hero-copy > p {
  margin: 0;
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.62;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button {
  appearance: none;
  border: 0;
  min-height: 54px;
  padding: 0 25px;
  border-radius: 17px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, #244f31, var(--forest));
  box-shadow: 0 16px 32px rgba(18,63,43,.22), inset 0 1px rgba(255,255,255,.18);
}
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; color: #66705e; font-size: 13px; }
.trust-row span::before { content: "✓"; color: var(--olive); font-weight: 900; margin-right: 7px; }

.lead-panel {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--radius-xl);
  background: rgba(255,253,248,.92);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(126,105,64,.08);
  backdrop-filter: blur(20px);
}
.lead-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 27px;
  border: 1px solid rgba(127,156,61,.07);
}
.panel-heading {
  position: relative;
  margin-bottom: 24px;
  padding: 2px 0 0 17px;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 2px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--olive), rgba(127,156,61,.18));
}
.panel-heading h2 { margin: 6px 0 5px; font-size: 27px; letter-spacing: -.03em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.field-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.location-grid { grid-template-columns: 1fr 94px; }
.field { display: grid; gap: 7px; }
.field > span { color: #5f6959; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid rgba(72,73,51,.14);
  background: rgba(249,247,238,.9);
  color: var(--forest-2);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(127,156,61,.8);
  background: white;
  box-shadow: 0 0 0 4px rgba(127,156,61,.1);
}
.field-error input, .field-error select, .field-error textarea, .consent.field-error { border-color: #b75a45; }
.optional-fields { margin: 5px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.optional-fields summary { padding: 13px 0; color: var(--olive); font-size: 13px; font-weight: 800; cursor: pointer; }
.optional-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 2px 0 16px; }
.optional-body .full { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: #67705e; font-size: 11px; line-height: 1.5; padding: 4px; border: 1px solid transparent; border-radius: 10px; }
.consent input { margin-top: 2px; accent-color: var(--olive); }
.submit-button { width: 100%; margin-top: 15px; }
.button-loading { display: none; }
.submit-button.is-loading .button-label { display: none; }
.submit-button.is-loading .button-loading { display: inline; }
.form-feedback { min-height: 19px; margin: 10px 0 0; text-align: center; font-size: 12px; }
.form-feedback.is-error { color: #a34031; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.success-state { position: relative; text-align: center; padding: 72px 20px; }
.success-orb { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 30px; background: var(--olive); box-shadow: 0 15px 32px rgba(91,119,41,.22); }
.success-state h2 { margin: 0 0 9px; font-size: 31px; }
.success-state p { color: var(--muted); }
.text-button { border: 0; padding: 10px; background: transparent; color: var(--olive); font-weight: 800; }

.value-section { max-width: 1180px; margin: 0 auto; padding: 55px 20px 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.value-card { padding: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card + .value-card { border-left: 1px solid var(--line); }
.value-number { color: var(--olive); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.value-card h3 { margin: 16px 0 9px; font-size: 23px; }
.value-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.site-footer { max-width: 1180px; margin: 0 auto; padding: 28px 20px 42px; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: #6d7568; font-size: 13px; }
.site-footer img { width: 175px; }
.site-footer p { margin-right: auto; }
.site-footer a { text-decoration: none; }

.setup-page, .legal-page { min-height: 100vh; background: radial-gradient(circle at 50% 10%, white, var(--cream)); }
.setup-shell, .legal-shell { width: min(620px, calc(100% - 36px)); margin: 0 auto; padding: 70px 0; }
.setup-logo, .legal-logo { width: 260px; display: block; margin: 0 auto 30px; }
.setup-card, .legal-shell { background: rgba(255,253,248,.92); border: 1px solid var(--line); border-radius: 28px; padding: 35px; box-shadow: var(--shadow); }
.setup-card h1, .legal-shell h1 { margin: 9px 0; font-family: Georgia, serif; font-size: 40px; }
.setup-card p, .legal-shell p { color: var(--muted); line-height: 1.65; }
.setup-form { display: grid; gap: 16px; margin-top: 24px; }
.setup-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.setup-form input { height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); }
.notice { margin: 18px 0; padding: 13px; border-radius: 12px; }
.notice.success { background: #e9f1da; color: #416328; }.notice.error { background: #f4ded8; color: #8d3c2e; }
.back-link { display: inline-block; margin-bottom: 22px; text-decoration: none; color: var(--olive); font-weight: 800; }
.legal-shell h2 { margin-top: 28px; }.legal-updated { margin-top: 35px; font-size: 12px; }

@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(127,156,61,.28); } 70% { box-shadow: 0 0 0 10px rgba(127,156,61,0); } 100% { box-shadow: 0 0 0 0 rgba(127,156,61,0); } }
@keyframes leafDrift { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 16px -20px; rotate: 8deg; } }

@media (max-width: 980px) {
  .site-header { min-height: 84px; }
  .brand-link img { width: 200px; }
  .hero { grid-template-columns: 1fr; padding-top: 128px; min-height: auto; gap: 46px; }
  .hero-copy { max-width: 760px; }
  .lead-panel { max-width: 720px; width: 100%; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 28px); }
  .brand-link img { width: 165px; }
  .header-cta { padding: 10px 13px; font-size: 11px; }
  .hero { padding: 108px 15px 65px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .trust-row { display: grid; gap: 8px; }
  .lead-panel { padding: 23px 18px; border-radius: 27px; }
  .panel-heading h2 { font-size: 24px; }
  .two-columns, .location-grid, .optional-body { grid-template-columns: 1fr; }
  .state-field { grid-column: auto; }
  .value-section { grid-template-columns: 1fr; padding-bottom: 70px; }
  .value-card + .value-card { border-left: 0; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { order: 3; width: 100%; }
}

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