:root {
  --coral: #ed6757;
  --cream: #f2ead6;
  --paper: #f8f5ee;
  --petrol: #173a3b;
  --teal: #72b9ae;
  --charcoal: #202726;
  --ink: #181a19;
  --muted: #746f67;
  --line: rgba(24, 26, 25, .14);
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  line-height: 1.45;
}
body.partner-modal-open { overflow: hidden; }
main {
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.partner-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 4vw, 54px);
  color: var(--cream);
  background: rgba(23, 58, 59, .96);
  border-bottom: 1px solid rgba(243, 234, 210, .16);
  backdrop-filter: blur(12px);
}
.brand img { width: clamp(142px, 14vw, 190px); filter: brightness(0) invert(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link, .nav-cta, .button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 7px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}
.nav-link { border: 1px solid rgba(243, 234, 210, .34); }
.nav-cta, .button-light { color: var(--petrol); background: var(--cream); }
.button-dark { color: var(--cream); background: var(--petrol); }
.button-outline { border: 1px solid var(--petrol); }
.button-outline-light { border: 1px solid rgba(243, 234, 210, .48); color: var(--cream); }

.proposal-hero,
.brief-section,
.journey-section,
.partner-value,
.final-cta {
  position: relative;
  overflow: hidden;
}
.proposal-hero > :not(.coastal-mark),
.brief-section > :not(.coastal-mark),
.journey-section > :not(.coastal-mark),
.partner-value > :not(.coastal-mark),
.final-cta > :not(.coastal-mark) {
  position: relative;
  z-index: 1;
}

.proposal-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(480px, 1.22fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  padding: clamp(42px, 5vw, 70px) clamp(24px, 6vw, 82px);
  color: var(--cream);
  background:
    radial-gradient(circle at 96% 0, rgba(114, 185, 174, .13), transparent 26%),
    var(--petrol);
}
.hero-copy { max-width: 540px; }
.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  opacity: .66;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 900;
}
h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1, h2 {
  font-family: var(--display);
  line-height: .94;
  text-transform: uppercase;
  font-weight: 900;
}
h1 { font-size: clamp(50px, 6.3vw, 88px); }
h2 { font-size: clamp(36px, 4.1vw, 58px); color: var(--petrol); }
h3 { font-size: 16px; line-height: 1.15; }
.hero-lede, .section-copy > p, .final-cta p {
  max-width: 610px;
  margin: 18px 0 0;
  font-size: clamp(14px, 1.1vw, 17px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-proof {
  width: min(390px, 100%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding: 11px 14px;
  color: var(--petrol);
  background: var(--cream);
  border-radius: 9px;
}
.hero-proof span { font-family: var(--display); font-size: 29px; line-height: .9; }
.hero-proof small { text-transform: uppercase; font-size: 10px; font-weight: 900; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1.4vw, 22px) clamp(6px, 2vw, 26px) clamp(20px, 2.6vw, 34px);
}

/* ── Laptop mockups (product / website screenshots) ─────────────────
   Space-grey chassis, thin bezel, camera pinhole, hinge lip and a
   soft contact shadow. The full chassis tilts to the pointer (JS) and
   the outer wrapper keeps the slow idle float; both stop under reduced
   motion. */
.laptop {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: min(100%, 640px);
  max-width: 640px;
  perspective: 1500px;
  animation: laptop-float 8s cubic-bezier(.45, 0, .55, 1) infinite;
}
.laptop-body {
  position: relative;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-origin: 50% 78%;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.laptop::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -26px;
  height: 46px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .34), transparent 72%);
  filter: blur(7px);
  opacity: .9;
  z-index: -1;
  pointer-events: none;
}
.laptop-lid {
  position: relative;
  padding: 10px 10px 11px;
  border-radius: 17px 17px 7px 7px;
  background:
    linear-gradient(158deg, #363c3a 0%, #1c211f 58%, #0f1312 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 38px 60px -30px rgba(0, 0, 0, .62);
}
.laptop-cam {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #59605d, #10130f 78%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 1px 1px rgba(255, 255, 255, .12);
  transform: translateX(-50%);
}
.laptop-screen {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #05080b;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .55),
    inset 0 0 22px rgba(0, 0, 0, .4);
}
.laptop-screen img {
  width: 100%;
  height: auto;
  display: block;
}
.laptop-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, .18) 0%,
    rgba(255, 255, 255, .05) 16%,
    transparent 40%,
    transparent 100%);
  transition: opacity .5s ease;
}
.laptop:hover .laptop-glare { opacity: .55; }
.laptop-base {
  position: relative;
  width: min(calc(100% + 26px), calc(100vw - 32px));
  height: 15px;
  margin: 0 auto;
  border-radius: 3px 3px 13px 13px;
  background: linear-gradient(180deg, #626966 0%, #3d433f 26%, #23282600 100%),
              linear-gradient(180deg, #4c524f 0%, #2b302e 62%, #191d1b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 10px 16px -8px rgba(0, 0, 0, .5);
}
.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 15%;
  height: 6px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(180deg, #262b29, #363c39);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
  transform: translateX(-50%);
}

/* Hero laptop sits on the dark petrol field — add a faint teal rim + a
   deliberate resting tilt so it reads as a staged product shot. */
.laptop-hero .laptop-lid {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .07),
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 46px 80px -34px rgba(0, 0, 0, .75),
    0 26px 90px -46px rgba(114, 185, 174, .3);
}

@keyframes laptop-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.coastal-mark {
  position: absolute;
  z-index: 0;
  width: 54px;
  color: currentColor;
  opacity: .035;
  pointer-events: none;
}
.mark-sail { right: 3%; bottom: 18px; width: 52px; opacity: .025; }
.mark-platform-wave { left: 2%; bottom: 16px; width: 70px; opacity: .025; }
.mark-venue-palm { right: 2%; top: 18px; width: 46px; opacity: .025; transform: rotate(8deg); }
.mark-final-wave { left: 2%; bottom: 14px; width: 72px; opacity: .025; }

.brief-section,
.partner-value,
.journey-section,
.final-cta {
  padding: clamp(48px, 5.6vw, 76px) clamp(24px, 6vw, 82px);
}
.brief-section {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(390px, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.problem-section, .partner-value, .onboarding-section, .final-cta { background: var(--cream); }
.platform-section { background: var(--paper); }
.venue-section { background: #f5efe2; }
.section-copy .eyebrow { color: var(--muted); }
.section-copy > p { color: rgba(24, 26, 25, .72); }

.insight-grid, .value-grid, .journey-grid { display: grid; gap: 10px; }
.insight-grid { grid-template-columns: repeat(3, 1fr); }
.insight-grid article,
.value-grid article,
.journey-grid article {
  padding: 17px;
  background: rgba(255, 255, 255, .48);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.insight-grid article b,
.value-grid article b,
.journey-grid article b {
  display: block;
  margin-bottom: 9px;
  color: var(--coral);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
}
.insight-grid article p,
.value-grid article p,
.journey-grid article p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.phone-pair {
  width: min(100%, 440px);
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.phone-pair figure { margin: 0; }
.phone-pair figcaption, .dashboard-card figcaption {
  margin-top: 8px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}
.phone-screen {
  aspect-ratio: 945 / 2048;
  overflow: hidden;
  padding: 4px;
  background: #080807;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
}

.journey-section {
  color: var(--cream);
  background: var(--charcoal);
}
.journey-section h2 { color: var(--cream); }
.journey-section .section-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.journey-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey-grid article { min-height: 128px; background: var(--petrol); border-color: rgba(243, 234, 210, .13); }
.journey-grid article p { color: rgba(243, 234, 210, .7); }

.dashboard-card {
  margin: 0;
  padding: clamp(4px, 1vw, 14px) clamp(4px, 1.4vw, 20px) 26px;
  justify-self: center;
}
.dashboard-card figcaption { color: var(--muted); text-align: center; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.mini-tags span {
  padding: 8px 11px;
  color: var(--cream);
  background: var(--petrol);
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.partner-value .section-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value-grid article { min-height: 132px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 15px;
  background: rgba(255, 255, 255, .54);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.timeline b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--petrol);
  border-radius: 50%;
  font-size: 9px;
}
.timeline span { font-size: 13px; font-weight: 900; }
.timeline p { grid-column: 2; margin: -4px 0 0; color: var(--muted); font-size: 11px; }

.partner-form-section {
  order: 10;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(460px, 1.22fr);
  gap: clamp(20px, 3.2vw, 42px);
  align-items: center;
  padding: clamp(34px, 4vw, 52px) clamp(24px, 6vw, 82px);
  color: var(--cream);
  background:
    radial-gradient(circle at 8% 88%, rgba(114, 185, 174, .18), transparent 27%),
    radial-gradient(circle at 94% 4%, rgba(237, 103, 87, .12), transparent 23%),
    linear-gradient(135deg, #173a3b 0%, #1d4444 54%, #202f2f 100%);
  border-top: 1px solid rgba(243, 234, 210, .14);
  border-bottom: 1px solid rgba(243, 234, 210, .14);
}
.partner-form-section::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -34px;
  width: 48%;
  height: 130px;
  opacity: .08;
  background: url("./assets/coastal-waves.svg") center / contain no-repeat;
  pointer-events: none;
}
.partner-form-copy {
  position: relative;
  z-index: 1;
  max-width: 455px;
}
.partner-form-copy .eyebrow { color: #8fd1c5; }
.partner-form-copy h2 { color: var(--cream); }
.partner-form-copy > p:not(.eyebrow) { color: rgba(243, 234, 210, .74); }
.partner-form-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.partner-form-highlights span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(243, 234, 210, .22);
  background: rgba(243, 234, 210, .08);
  color: var(--cream);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}
.partner-form-shell {
  position: relative;
  z-index: 1;
}
.partner-form-card {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  padding: 12px;
  color: var(--ink);
  background: rgba(250, 248, 242, .96);
  border: 1px solid rgba(243, 234, 210, .34);
  border-radius: 14px;
  box-shadow: 0 24px 52px rgba(5, 23, 24, .24), inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
}
.partner-form-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 3px 3px 10px;
}
.partner-form-header h3 {
  margin-top: 5px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: .94;
  color: var(--petrol);
}
.form-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(23, 58, 59, .08);
  color: var(--petrol);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.form-status {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--petrol);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.partner-lead-form {
  display: grid;
  gap: 8px;
}
.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 9px;
}
.partner-form-grid-secondary {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
}
.partner-field,
.partner-sports-fieldset {
  margin: 0;
}
.partner-field {
  display: grid;
  gap: 5px;
}
.partner-field span,
.partner-sports-fieldset legend {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 8px;
  font-weight: 900;
}
.partner-field input,
.partner-field select,
.partner-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--ink);
  background: rgba(248, 245, 238, .92);
  border: 1px solid rgba(24, 26, 25, .12);
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.partner-field textarea {
  min-height: 74px;
  resize: vertical;
}
.partner-field input::placeholder,
.partner-field textarea::placeholder {
  color: rgba(24, 26, 25, .26);
  opacity: 1;
  font-size: .92em;
}
.partner-field input:focus::placeholder,
.partner-field textarea:focus::placeholder {
  color: rgba(24, 26, 25, .18);
}
.partner-field input:focus,
.partner-field select:focus,
.partner-field textarea:focus {
  border-color: rgba(23, 58, 59, .52);
  box-shadow: 0 0 0 3px rgba(23, 58, 59, .10);
  background: #fbfaf6;
}
.partner-field.is-invalid input,
.partner-field.is-invalid select,
.partner-field.is-invalid textarea {
  border-color: rgba(154, 58, 47, .46);
  box-shadow: 0 0 0 3px rgba(154, 58, 47, .08);
}
.partner-field small {
  justify-self: end;
  color: rgba(24, 26, 25, .46);
  font-size: 9px;
  font-weight: 700;
}
.partner-field-full {
  grid-column: 1 / -1;
}
.partner-sports-fieldset {
  padding: 0;
  border: 0;
}
.partner-sports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.sport-pill {
  position: relative;
  cursor: pointer;
}
.sport-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sport-pill span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(23, 58, 59, .12);
  background: rgba(255, 255, 255, .66);
  color: var(--petrol);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.sport-pill input:checked + span {
  transform: translateY(-1px);
  color: var(--cream);
  background: var(--petrol);
  border-color: var(--petrol);
}
.partner-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.partner-form-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}
.partner-form-note {
  max-width: 260px;
  margin: 0;
  color: rgba(24, 26, 25, .58);
  font-size: 10px;
}
.partner-form-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.partner-form-error {
  min-height: 16px;
  margin: 0;
  color: #9a3a2f;
  font-size: 10px;
  text-align: right;
}
.partner-submit {
  min-width: 190px;
  min-height: 38px;
  border: 0;
  cursor: pointer;
}
.partner-submit[disabled] {
  opacity: .72;
  cursor: wait;
}

.partner-success-popup[hidden] { display: none !important; }
.partner-success-popup {
  position: fixed;
  left: 50%;
  top: max(24px, env(safe-area-inset-top, 0px) + 16px);
  z-index: 150;
  width: min(560px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 32px;
  gap: 16px;
  align-items: center;
  padding: 18px 18px 20px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 88% 0, rgba(114, 185, 174, .24), transparent 34%),
    linear-gradient(135deg, #173a3b 0%, #1d4848 62%, #153536 100%);
  border: 1px solid rgba(243, 234, 210, .24);
  border-radius: 14px;
  box-shadow: 0 24px 58px rgba(20, 35, 34, .28), inset 0 1px 0 rgba(255, 255, 255, .10);
  transform: translateX(-50%);
  animation: partner-success-in .38s cubic-bezier(.22, 1, .36, 1) both;
}
.partner-success-popup.is-closing {
  pointer-events: none;
  animation: partner-success-out .22s ease both;
}
.partner-success-court {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(243, 234, 210, .72);
  border-radius: 8px;
  transform: rotate(-2deg);
}
.partner-success-court span {
  position: relative;
  border-right: 1px solid rgba(243, 234, 210, .42);
  border-bottom: 1px solid rgba(243, 234, 210, .42);
}
.partner-success-court span:nth-child(2n) { border-right: 0; }
.partner-success-court span:nth-child(n + 3) { border-bottom: 0; }
.partner-success-court span:first-child::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: #d5b34d;
  box-shadow: 0 0 0 3px rgba(213, 179, 77, .16);
}
.partner-success-copy { min-width: 0; }
.partner-success-badge {
  margin: 0 0 5px;
  color: #8fd1c5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.partner-success-copy h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 31px);
  line-height: .95;
  text-transform: uppercase;
}
.partner-success-copy > p:last-child {
  margin: 8px 0 0;
  color: rgba(243, 234, 210, .72);
  font-size: 10px;
  line-height: 1.45;
}
.partner-success-copy strong { color: var(--cream); }
.partner-success-close {
  align-self: start;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(243, 234, 210, .72);
  background: rgba(255, 255, 255, .08);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.partner-success-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}
.partner-success-timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #72b9ae, #d5b34d);
  transform-origin: left;
  animation: partner-success-timer 5s linear both;
}
@keyframes partner-success-in {
  from { opacity: 0; transform: translate(-50%, -14px) scale(.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes partner-success-out {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to { opacity: 0; transform: translate(-50%, -10px) scale(.985); }
}
@keyframes partner-success-timer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-success-popup,
  .partner-success-popup.is-closing,
  .partner-success-timer { animation: none; }
}

.final-cta {
  order: 8;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 170px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.final-cta .notification-phone { max-width: 170px; justify-self: end; }


.partner-app-download {
  order: 9;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(32px, 4.4vw, 54px) clamp(24px, 6vw, 82px);
  color: var(--cream);
  background:
    radial-gradient(circle at 86% 12%, rgba(114, 185, 174, .14), transparent 28%),
    linear-gradient(135deg, #173a3b 0%, #202726 100%);
  border-bottom: 1px solid rgba(243, 234, 210, .14);
}
.partner-app-download::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(243, 234, 210, .08);
  border-radius: 16px;
  pointer-events: none;
}
.partner-app-copy,
.partner-app-actions {
  position: relative;
  z-index: 1;
}
.partner-app-download h2 {
  max-width: 640px;
  color: var(--cream);
}
.partner-app-desc {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(243, 234, 210, .72);
  font-size: 14px;
  line-height: 1.55;
}
.partner-app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.partner-store-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 188px;
  padding: 7px 13px;
  color: var(--petrol);
  background: var(--cream);
  border: 1px solid rgba(243, 234, 210, .22);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.partner-store-button:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.partner-store-button span {
  display: grid;
  line-height: 1.02;
  text-align: left;
}
.partner-store-button small {
  color: rgba(23, 58, 59, .62);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 7px;
  font-weight: 900;
}
.partner-store-button strong {
  font-size: 14px;
  font-weight: 900;
}
.partner-store-button-dark {
  color: var(--cream);
  background: var(--petrol);
  border-color: rgba(23, 58, 59, .16);
  box-shadow: 0 8px 18px rgba(23, 58, 59, .16);
}
.partner-store-button-dark:hover {
  color: #fff;
  background: #1f4748;
}
.partner-store-button-dark small { color: rgba(243, 234, 210, .66); }

.partner-download-modal[hidden] { display: none !important; }
.partner-download-modal {
  position: fixed;
  inset: auto 22px 22px auto;
  z-index: 120;
  display: block;
}
.partner-download-scrim { display: none; }
.partner-download-dialog {
  position: relative;
  width: min(390px, calc(100vw - 32px));
  padding: 18px;
  color: var(--cream);
  background:
    radial-gradient(circle at 92% 0, rgba(114, 185, 174, .16), transparent 30%),
    rgba(23, 58, 59, .97);
  border: 1px solid rgba(243, 234, 210, .14);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  animation: partner-download-in .32s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes partner-download-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.partner-download-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(243, 234, 210, .72);
  background: rgba(255, 255, 255, .07);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.partner-download-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.partner-download-copy {
  padding-right: 30px;
}
.partner-download-copy h3 {
  margin-top: 4px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 28px;
  line-height: .95;
  text-transform: uppercase;
}
.partner-download-copy p:not(.eyebrow) {
  margin: 9px 0 0;
  color: rgba(243, 234, 210, .72);
  font-size: 12px;
  line-height: 1.45;
}
.partner-download-actions {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}
.partner-download-actions .partner-store-button {
  width: 50%;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 9px;
  /* Override dark variant — needs high contrast against dark petrol dialog */
  background: rgba(243, 234, 210, 0.12) !important;
  color: var(--cream) !important;
  border: 1px solid rgba(243, 234, 210, 0.28) !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
}
.partner-download-actions .partner-store-button:hover {
  background: rgba(243, 234, 210, 0.2) !important;
  border-color: rgba(243, 234, 210, 0.5) !important;
  transform: translateY(-1px);
}
.partner-download-actions .partner-store-button strong { font-size: 13px; color: #fff; }
.partner-download-actions .partner-store-button small { font-size: 7px; color: rgba(243, 234, 210, 0.6) !important; }

.partner-whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px) + 18px);
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, .16), transparent 28%),
    linear-gradient(145deg, #245354 0%, #1c494a 52%, #153f40 100%);
  border: 1px solid rgba(243, 234, 210, .16);
  border-radius: 999px;
  box-shadow:
    0 16px 30px rgba(13, 43, 44, .24),
    0 3px 9px rgba(12, 30, 30, .12),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -9px 18px rgba(5, 21, 22, .12);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform .2s ease, bottom .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, box-shadow .2s ease, filter .2s ease;
}
.partner-whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: saturate(1.04) brightness(1.04);
  box-shadow:
    0 20px 36px rgba(13, 43, 44, .28),
    0 0 0 5px rgba(37, 211, 102, .07),
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 -9px 18px rgba(5, 21, 22, .12);
}
.partner-whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .42);
  outline-offset: 5px;
  border-radius: 999px;
}
.partner-whatsapp-icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #25d366;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform .2s ease;
}
.partner-whatsapp-float:hover .partner-whatsapp-icon {
  transform: scale(1.05);
}
.partner-whatsapp-icon svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)) drop-shadow(0 0 8px rgba(37, 211, 102, .16));
}
body.partner-download-visible .partner-whatsapp-float {
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 18px);
  pointer-events: none;
}

.partner-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(24px, 6vw, 82px);
  color: var(--cream);
  background: var(--charcoal);
}
.partner-footer img { width: 158px; filter: brightness(0) invert(1); }
.partner-footer p { margin: 0; font-size: 9px; text-transform: uppercase; }
.partner-footer a { font-size: 11px; font-weight: 900; }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(.992);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Staged resting tilt for the laptops — a subtle product-shot angle that
   levels out on hover; only where a precise pointer can drive it. */
@media (hover: hover) and (pointer: fine) {
  .laptop-hero { --tilt-x: 4deg; --tilt-y: -6deg; }
  .laptop-dash { --tilt-x: 3deg; --tilt-y: 5deg; }
  .laptop:hover { --tilt-x: 0deg; --tilt-y: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .laptop { animation: none; }
  .laptop-body { transition: none; }
  .partner-store-button { transition: none; }
  .partner-whatsapp-float { transition: none; }
  .partner-whatsapp-icon::before { animation: none; opacity: .42; transform: none; }
  .laptop-hero,
  .laptop-dash { --tilt-x: 0deg; --tilt-y: 0deg; }
}

@media (max-width: 1000px) {
  .proposal-hero { grid-template-columns: 1fr; min-height: 0; }
  .brief-section, .partner-form-section, .final-cta, .partner-app-download { grid-template-columns: 1fr; }
  .partner-form-section { gap: 20px; }
  .partner-form-copy { max-width: 720px; }
  .partner-form-card { max-width: 720px; margin-left: 0; }
  .hero-visual { padding-top: 8px; }
  .laptop { max-width: 520px; margin-inline: auto; }
  .insight-grid { grid-template-columns: repeat(3, 1fr); }
  .final-cta .notification-phone { justify-self: start; }
}

@media (max-width: 700px) {
  .partner-nav { min-height: 56px; padding: 8px 12px; gap: 10px; }
  .brand img { width: 124px; }
  .nav-actions { gap: 6px; }
  .nav-link { display: none; }
  .nav-cta { min-height: 36px; padding-inline: 12px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  h2 { font-size: clamp(30px, 9vw, 42px); }
  .proposal-hero, .brief-section, .partner-value, .journey-section, .partner-form-section, .final-cta, .partner-app-download { padding: 32px 16px; }
  .proposal-hero { gap: 24px; }
  .hero-visual { padding-inline: 0; padding-bottom: 22px; }
  .laptop {
    width: min(100%, calc(100vw - 36px));
    animation: none;
  }
  .laptop::after {
    left: 10%;
    right: 10%;
    bottom: -18px;
    height: 34px;
    opacity: .62;
  }
  .laptop-lid { padding: 7px 7px 8px; border-radius: 13px 13px 6px 6px; }
  .laptop-base { height: 11px; width: min(calc(100% + 16px), calc(100vw - 32px)); }
  .hero-lede, .section-copy > p, .final-cta p { margin-top: 14px; font-size: 13px; }
  .hero-actions { margin-top: 18px; }
  .hero-proof { margin-top: 18px; padding: 9px 11px; }
  .hero-proof span { font-size: 24px; }
  .hero-proof small { font-size: 8px; }
  .brief-section { gap: 18px; }
  .insight-grid, .journey-grid, .value-grid, .timeline { grid-template-columns: 1fr 1fr; gap: 8px; }
  .insight-grid article,
  .value-grid article,
  .journey-grid article { padding: 13px; }
  .journey-grid article,
  .value-grid article { min-height: 112px; }
  .journey-section .section-copy, .partner-value .section-copy { display: block; }
  .phone-pair { grid-template-columns: repeat(2, minmax(128px, 1fr)); gap: 10px; overflow: visible; justify-self: stretch; padding-bottom: 0; }
  .phone-screen { border-radius: 24px; }
  .phone-screen img { border-radius: 20px; }
  .coastal-mark { opacity: .05; }
  .partner-footer { flex-direction: column; text-align: center; padding: 18px 16px; }
  .partner-form-section { gap: 16px; }
  .partner-form-highlights { margin-top: 14px; gap: 6px; }
  .partner-form-highlights span { font-size: 8px; padding: 6px 8px; }
  .partner-form-card { padding: 11px; border-radius: 12px; }
  .partner-form-header,
  .partner-form-footer { display: block; }
  .partner-form-header { padding: 2px 2px 10px; }
  .partner-form-header h3 { font-size: 23px; }
  .form-status { display: none; }
  .partner-lead-form { gap: 9px; }
  .partner-form-grid,
  .partner-form-grid-secondary { grid-template-columns: 1fr; }
  .partner-field input,
  .partner-field select,
  .partner-field textarea { min-height: 40px; padding: 9px 11px; font-size: 12px; }
  .partner-field textarea { min-height: 74px; }
  .sport-pill span { min-height: 32px; padding-inline: 10px; }
  .partner-form-note { max-width: none; margin-bottom: 8px; }
  .partner-form-actions { justify-items: stretch; }
  .partner-form-error { text-align: left; }
  .partner-submit { width: 100%; min-width: 0; }
  .partner-success-popup {
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    gap: 11px;
    padding: 14px 13px 17px;
    border-radius: 12px;
  }
  .partner-success-court { width: 52px; border-radius: 6px; }
  .partner-success-copy h3 { font-size: 21px; }
  .partner-success-copy > p:last-child { font-size: 9px; }
  .partner-success-close { width: 28px; height: 28px; }
  .partner-app-download::before { inset: 9px; border-radius: 14px; }

  /* Mobile App Modal to Bottom Sheet */
  .partner-download-modal {
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
  }
  .partner-download-scrim {
    display: block;
  }
  .partner-download-dialog {
    width: 100%;
    max-width: none;
    border-radius: 24px 24px 0 0;
    gap: 14px;
    padding: 24px 18px 36px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    animation: slide-up-sheet 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  @keyframes slide-up-sheet {
    to { transform: translateY(0); }
  }
  .partner-store-button {
    min-height: 44px;
    width: 100%;
  }
  .partner-store-button strong { font-size: 14px; }
  .partner-whatsapp-float {
    right: max(14px, env(safe-area-inset-right, 0px) + 12px);
    bottom: max(14px, env(safe-area-inset-bottom, 0px) + 12px);
    width: 56px;
    height: 56px;
    min-height: 0;
    padding: 0;
    border-radius: 999px;
  }
  .partner-whatsapp-icon {
    width: 31px;
    height: 31px;
  }
  .partner-whatsapp-icon svg {
    width: 31px;
    height: 31px;
  }
  body.partner-download-visible .partner-whatsapp-float {
    bottom: max(14px, env(safe-area-inset-bottom, 0px) + 12px);
    opacity: 1;
    pointer-events: none;
    transform: none;
  }
}

@media (max-width: 470px) {
  .insight-grid, .journey-grid, .value-grid, .timeline { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; }
  .partner-nav .nav-cta { font-size: 10px; }
  .partner-form-card { margin-inline: -2px; }
  .partner-sports-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sport-pill span { justify-content: center; width: 100%; }
}
