/* Rebirth partnerships - /partner
   Styled to match rebirthodyssey.com rather than the enrolment card: a white
   page with faint swooshes, left-aligned section titles with an orange
   hand-drawn underline, an orange ring around one word in the big headings,
   cream and pale cyan panels, black/orange/cyan stat cards, gradient pillar
   cards, scrolling icon chips and a black rounded footer card. Buttons are
   the main site's rounded rectangles, cyan for the primary action.

   Type falls through to the device UI font, as styles.css explains, which is
   also what the main site renders. */

:root {
  --black: #0a0710;
  --ink: #111014;
  --text: #4a4950;
  --muted: #6e6d75;
  --cyan: #00c8f8;
  --cyan-hover: #00b4e0;
  --cyan-light: #e8f8fd;
  --cyan-chip: #b3eefc;
  --orange: #f47c2e;
  --orange-chip: #fdd1b4;
  --orange-wash: #fdeee4;
  --cream: #faf6f0;
  --line: #d9d9de;
  --error: #d92d20;
  --error-light: #fef3f2;
  --font: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.shell { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; }
.ic { width: 20px; height: 20px; }

.swoosh { position: absolute; left: 0; top: 0; width: 100%; height: 3600px; z-index: -1; pointer-events: none; }
.swoosh path { fill: none; stroke: #f1f1fb; stroke-width: 28; stroke-linecap: round; }

/* ---------------- buttons ---------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 12px; border: 2px solid transparent; font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: var(--cyan-hover); }
.btn-grey { background: #f4f4f5; border-color: var(--line); color: var(--ink); font-weight: 500; }
.btn-grey:hover { border-color: #b9b9c0; }
.btn-dark { background: var(--black); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.linkbtn { background: none; border: 0; padding: 0; font: 500 15px var(--font); color: var(--muted); text-decoration: underline; cursor: pointer; }

/* ---------------- header ---------------- */

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.scrolled { background: rgba(232,248,253,.88); }
.nav-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 84px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--orange); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 6px; }
.burger svg { width: 32px; height: 32px; }

/* ---------------- titles ---------------- */

.title { position: relative; display: inline-block; font-size: clamp(32px, 4vw, 44px); padding-bottom: 26px; margin-bottom: 40px; }
.underline { position: absolute; left: 0; bottom: 0; width: 100px; height: 14px; color: var(--orange); }
.title-center { display: block; text-align: center; padding-bottom: 0; }
.ringed { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.ring { position: absolute; left: -12%; top: -22%; width: 124%; height: 144%; color: var(--orange); z-index: -1; overflow: visible; }

/* ---------------- hero ---------------- */

.hero { padding: 96px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.22; max-width: 960px; margin: 0 auto; }
.hero-lede { margin: 28px auto 0; max-width: 640px; font-size: clamp(18px, 2vw, 21px); color: var(--text); }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tally-wrap { margin: 88px auto 0; max-width: 820px; background: var(--cyan-light); border-radius: 28px 28px 28px 28px; padding: 32px; }
.tally { display: flex; justify-content: space-around; align-items: center; margin: 0; padding: 26px 20px; border: 2px solid var(--ink); border-radius: 22px; }
.tally div { display: flex; flex-direction: column; align-items: center; }
.tally dd { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.2; }
.tally dt { color: var(--muted); font-size: 16px; }
.colon { font-size: 26px; font-weight: 700; color: var(--ink); }

/* ---------------- sections ---------------- */

.sec { padding: 88px 0; }
.sec-tight { padding: 40px 0; }
.sec-cream { background: var(--cream); }

.cream-card { background: var(--cream); border-radius: 40px; padding: clamp(32px, 5vw, 64px); max-width: 940px; }
.kicker { font-size: 19px; color: var(--ink); }
.question { margin-top: 22px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.35; }
.body { margin-top: 26px; font-size: 18px; line-height: 1.75; color: var(--text); }

/* results */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border-radius: 18px; padding: 26px 28px; color: #fff; border: 4px solid; }
.stat-black { background: #000; border-color: #a5a5aa; }
.stat-orange { background: var(--orange); border-color: #fbc39c; }
.stat-cyan { background: #00bce8; border-color: #9ff0fd; }
.stat-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding-bottom: 20px; border-bottom: 1.5px solid rgba(255,255,255,.85); }
.stat-top b { font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
.stat-top span { font-size: 19px; font-weight: 700; }
.stat-bottom { padding-top: 18px; font-size: 17px; color: rgba(255,255,255,.88); }
.proof-label { margin-top: 48px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.proof { display: block; padding: 0; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; cursor: zoom-in; font: inherit; transition: border-color .2s, transform .2s; }
.proof:hover { border-color: var(--ink); transform: translateY(-3px); }
.proof-img { display: flex; flex-direction: column; height: 210px; overflow: hidden; background: #f4f2f6; }
.proof-img.end { justify-content: flex-end; }
.proof-img.dark { justify-content: center; background: #0b0b0d; }
.proof-cap { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.proof-cap svg { width: 20px; height: 20px; color: var(--muted); }
.fine { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 860px; }
.fine b { color: var(--ink); }

/* pillars */
.pillars-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pillars-scroll::-webkit-scrollbar { display: none; }
.pillars { max-width: 1160px; margin: 0 auto; padding: 0 24px 8px; display: grid; grid-template-columns: repeat(3, minmax(280px, 1fr)); gap: 24px; }
.pillar { scroll-snap-align: center; border-radius: 40px; padding: 24px 24px 36px; color: #fff; }
.p-cyan { background: radial-gradient(120% 60% at 50% 0%, #a6ecfd 0%, #4fd6f7 45%, #00c3ef 100%); }
.p-dark { background: linear-gradient(180deg, #8ec5d3 0%, #2b5964 35%, #151515 70%, #04252c 100%); }
.p-orange { background: linear-gradient(180deg, #e6d9d0 0%, #eab08c 40%, #e0742f 100%); }
.pillar-art { background: #fff; border-radius: 32px; aspect-ratio: 1 / .95; display: flex; align-items: center; justify-content: center; }
.art-ic { width: 42%; height: 42%; }
.art-ic.cy { color: var(--cyan); }
.art-ic.or { color: var(--orange); }
.pillar h3 { color: #fff; font-size: 30px; margin: 30px 8px 10px; }
.pillar p { margin: 0 8px; font-size: 18px; line-height: 1.55; }

/* chips */
.chips-wrap { display: flex; flex-direction: column; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee.rev { animation-direction: reverse; }
.marquee ul { display: flex; gap: 18px; padding-right: 18px; }
.chip { display: flex; align-items: center; gap: 16px; white-space: nowrap; padding: 12px 30px 12px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font-size: 18px; color: var(--ink); }
.marquee:not(.rev) .chip:nth-child(odd) { background: var(--orange-wash); }
.marquee.rev .chip:nth-child(even) { background: var(--orange-wash); }
.chip-ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.chip-ic.o { background: var(--orange-chip); }
.chip-ic.c { background: var(--cyan-chip); }
.chip-ic svg { width: 28px; height: 28px; }
@keyframes slide { to { transform: translateX(-50%); } }
.logos { margin-top: 56px; text-align: center; }
.logos p { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logos ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; margin-top: 22px; }
/* The logos are white, cut for a dark background, so darken them here. */
.logos img { width: auto; filter: brightness(0); opacity: .55; transition: opacity .2s; }
.logos li:hover img { opacity: .9; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step { background: var(--cream); border-radius: 32px; padding: 32px 28px; }
.step-n { display: inline-block; color: var(--orange); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.step h3 { font-size: 24px; margin: 14px 0 10px; }
.step p { font-size: 16.5px; }

/* measurement */
.cyan-panel { background: var(--cyan-light); border-radius: 36px; padding: clamp(32px, 5vw, 56px); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpis li { background: #fff; border: 1.5px solid #9b9ba3; border-radius: 24px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.kpis b { color: var(--ink); font-size: 18px; font-weight: 600; }
.kpis span { color: var(--muted); font-size: 15.5px; }
.privacy { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 16px; color: var(--ink); }
.privacy svg { width: 26px; height: 26px; flex: none; color: var(--orange); }

/* investment */
.invest { background: #000; border: 4px solid #a5a5aa; border-radius: 22px; padding: clamp(28px, 4vw, 44px); color: #fff; max-width: 940px; }
.invest-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 24px; border-bottom: 1.5px solid rgba(255,255,255,.85); }
.invest-top b { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.invest-top > span { font-size: 20px; font-weight: 700; color: var(--cyan); }
.invest-body { padding-top: 22px; font-size: 18px; color: rgba(255,255,255,.88); }
.invest-fine { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.55); }

/* contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.lede { font-size: 18px; margin-bottom: 28px; }
.pdf-link { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
.pdf-link svg { width: 20px; height: 20px; color: var(--orange); }
.form-card { background: var(--cream); border-radius: 40px; padding: clamp(26px, 4vw, 44px); }
.form-card h3 { font-size: 26px; }
.form-hint { margin-top: 8px; font-size: 15px; color: var(--muted); }
.form-hint-c { text-align: center; margin-top: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236e6d75' stroke-width='2.5' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); background: var(--error-light); }
.field .err { display: none; margin-top: 6px; font-size: 14px; color: var(--error); }
.field.invalid .err { display: block; }
.shake { animation: shake .3s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
#form-partner .btn-block { margin-top: 26px; }
.sent { text-align: center; }
.sent-ic { width: 62px; height: 62px; margin: 0 auto; border-radius: 50%; background: var(--cyan); color: #fff; display: flex; align-items: center; justify-content: center; }
.sent-ic svg { width: 30px; height: 30px; }
.sent h3 { margin-top: 18px; }
.sent > p { margin-top: 8px; }
.brief { text-align: left; white-space: pre-wrap; word-break: break-word; font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; margin: 20px 0 0; max-height: 240px; overflow: auto; color: var(--ink); }
.sent-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0 16px; }

/* footer */
footer.shell { padding-bottom: 40px; }
.foot { background: var(--black); color: #fff; border-radius: 40px; padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 56px) 0; overflow: hidden; }
.foot-logo { height: 46px; width: auto; }
.foot-tag { margin-top: 18px; max-width: 460px; font-size: 18px; color: rgba(255,255,255,.88); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 40px; margin-top: 44px; }
.foot-h { font-size: 17px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #9a99a2; margin-bottom: 18px; }
.foot ul { display: flex; flex-direction: column; gap: 14px; }
.foot a { color: #fff; text-decoration: none; font-size: 18px; }
.foot a:hover { color: var(--cyan); }
.foot-social a { display: inline-flex; align-items: center; gap: 14px; }
.foot-social svg { width: 22px; height: 22px; }
.foot-base { margin: 44px calc(clamp(28px, 5vw, 56px) * -1) 0; padding: 26px clamp(28px, 5vw, 56px) 30px; border-top: 1px solid rgba(255,255,255,.16); font-size: 17px; color: rgba(255,255,255,.75); }

/* lightbox */
.zoom { border: 0; padding: 0; background: transparent; max-width: min(92vw, 760px); max-height: 92vh; overflow: visible; }
.zoom::backdrop { background: rgba(10,7,16,.8); }
.zoom img { max-height: 88vh; width: auto; border-radius: 16px; margin: 0 auto; }
.zoom-close { position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

/* motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chips-wrap { overflow-x: auto; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 960px) {
  .burger { display: block; }
  .nav-links { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: #fff; box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #eee; font-size: 18px; }
  .nav-links .btn { margin-top: 18px; min-height: 52px; }
  .stats, .proofs, .kpis { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(3, 82%); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-in { height: 76px; }
  .nav-links { top: 76px; }
  .nav-logo img { height: 34px; }
  .hero { padding: 64px 0 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { min-width: 240px; }
  .tally-wrap { margin-top: 64px; padding: 20px; border-radius: 22px; }
  .tally { padding: 18px 10px; }
  .tally dt { font-size: 14px; }
  .colon { font-size: 20px; }
  .sec { padding: 64px 0; }
  .title { margin-bottom: 32px; }
  .cream-card { border-radius: 32px; }
  .proofs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .chip { font-size: 16px; padding-right: 24px; }
  .chip-ic { width: 46px; height: 46px; }
  .row2 { grid-template-columns: 1fr; }
  .form-card { border-radius: 32px; }
  .foot-cols { grid-template-columns: 1fr; gap: 32px; }
  .zoom-close { top: 8px; right: 8px; }
}
