/* Opami waiting-list page. Plain CSS, no build step.
   Sizes follow the Figma frames (desktop 1718 wide, mobile 440 wide) through --u,
   one design pixel expressed in CSS pixels. site.js keeps --z in sync with the viewport. */

@font-face {
  font-family: Urbanist;
  src: url(/Urbanist-variable.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --z: 0.84;
  --u: calc(var(--z) * 1px);
  --bg: #f6f6f6;
  --ink: #111111;
  --body: #343434;
  --muted: #6b6b6b;
  --mint: #2ccea5;
  --mint-btn: rgba(44, 206, 165, 0.8);
  --mint-deep: #2a957a;
  --mint-shadow: #22a886;
  --line: rgba(0, 0, 0, 0.12);
  --field-border: #cccccc;
  --error: #b00020;
  --focus: #0f6f57;
  --nav-h: calc(82 * var(--u));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--body);
  font-family: Urbanist, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 600; color: var(--ink); }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: #fff; color: var(--ink); border-radius: 6px;
  font-weight: 600; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.skip-link:focus { top: 12px; }

/* ---------- Background (fixed glows + ghost circles) ---------- */
.wl-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(29.8vw 47.6vh at 68.3% 57.7%, rgba(44, 206, 165, 0.16), rgba(44, 206, 165, 0) 100%),
    radial-gradient(29.8vw 47.6vh at 31.7% 42.3%, rgba(219, 148, 64, 0.14), rgba(219, 148, 64, 0) 100%),
    var(--bg);
}
.wl-bg__circle {
  position: absolute; border-radius: 50%;
  background: rgba(44, 206, 165, 0.045);
  transform: translate(-50%, -50%);
}
.wl-bg__circle--lg { left: calc(100% - 174 * var(--u)); top: 40.7%; width: calc(436 * var(--u)); height: calc(436 * var(--u)); }
.wl-bg__circle--sm { left: calc(100% - 324 * var(--u)); top: 25%; width: calc(131 * var(--u)); height: calc(131 * var(--u)); }
.wl-bg__circle--left { left: calc(43 * var(--u)); top: 61.3%; width: calc(208 * var(--u)); height: calc(208 * var(--u)); }

/* ---------- Floating app icons (one fixed layer, offset driven by scroll in site.js) ---------- */
.wl-icons {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.wl-icons__group {
  position: absolute; top: 0; left: 50%;
  width: calc(var(--frame-w, 1718) * var(--u));
  margin-left: calc(var(--frame-w, 1718) * var(--u) / -2);
  height: 0;
  will-change: transform;
  opacity: 0;
  transition: opacity .6s ease;
}
.wl-icons.is-ready .wl-icons__group { opacity: 1; }
.wl-icon {
  position: absolute;
  left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  margin-left: calc(var(--w) * var(--u) / -2); margin-top: calc(var(--h) * var(--u) / -2);
}
.wl-icon__float {
  display: block; width: 100%; height: 100%;
  animation: wl-float var(--dur, 7s) ease-in-out var(--delay, 0s) infinite alternate;
}
.wl-icon img {
  display: block; width: 100%; height: 100%;
  transform: rotate(var(--r, 0deg));
}
/* Entrance on load, after the hero; uses the individual scale/translate properties so it
   composes with the float (transform on the wrapper) and the tilt (transform on the img). */
.wl-icon img { animation: wl-icon-in .7s cubic-bezier(.34, 1.56, .64, 1) var(--in, 0ms) both; }
@keyframes wl-icon-in { from { opacity: 0; scale: .3; translate: 0 calc(30 * var(--u)); } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes wl-float {
  0%   { transform: translate3d(0, calc(var(--amp, 5) * -1px), 0) rotate(calc(var(--tilt, 2) * -1deg)); }
  100% { transform: translate3d(calc(var(--drift, 2) * 1px), calc(var(--amp, 5) * 1px), 0) rotate(calc(var(--tilt, 2) * 1deg)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border-radius: 5px; border: 0; white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease, opacity .2s ease;
}
.btn--primary {
  background: var(--mint-btn); color: #fff;
  text-shadow: 0 2px 2px rgba(9, 125, 96, 0.2);
  box-shadow: inset 0 -3px 0 rgba(9, 125, 96, 0.28);
}
.btn--primary:hover { background: var(--mint); }
.btn--primary:active { transform: translateY(1px); }
.btn--outline {
  background: transparent; color: #333; border: 1px solid rgba(51, 51, 51, 0.8);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.6); }
.btn--lg { width: calc(223 * var(--u)); height: calc(53.5 * var(--u)); font-size: calc(19 * var(--u)); min-height: 44px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }

/* ---------- Top nav ---------- */
.wl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(17 * var(--u)) 0 calc(28 * var(--u));
  background: rgba(247, 247, 247, 0.7);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.05);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease, visibility 0s linear .45s;
}
.wl-nav.is-visible {
  transform: none; opacity: 1; visibility: visible;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease, visibility 0s;
}
.wl-nav__logo { display: block; line-height: 0; }
.wl-nav__logo img { width: calc(120 * var(--u)); height: auto; min-width: 96px; }
.btn--nav { height: calc(44 * var(--u)); min-height: 40px; font-size: calc(17 * var(--u)); padding: 0 calc(18 * var(--u)); min-width: calc(172 * var(--u)); }
.btn--nav.btn--primary { width: calc(189 * var(--u)); }
.btn--nav.btn--outline { font-size: calc(16 * var(--u)); }
.btn--nav[hidden] { display: none; }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; }
.wl-section {
  position: relative;
  min-height: 82vh;
  min-height: 82svh; /* a little less than a screen per section; the hero stays full height */
  display: flex; align-items: center; justify-content: center;
  padding: calc(120 * var(--u)) calc(40 * var(--u)) calc(50 * var(--u));
}
.wl-hero { min-height: 100vh; min-height: 100svh; }

.eyebrow {
  font-size: calc(13 * var(--u)); line-height: calc(36 * var(--u));
  letter-spacing: .1em; text-transform: uppercase; color: var(--mint-deep);
}
@media (max-width: 1100px) { .eyebrow { font-size: max(12px, calc(13 * var(--u))); } }

/* Hero */
.wl-hero { padding: calc(60 * var(--u)) calc(40 * var(--u)) calc(330 * var(--u)); }
.wl-hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.wl-hero__logo { width: calc(164 * var(--u)); height: auto; margin-bottom: calc(61 * var(--u)); }
.wl-hero .eyebrow { margin-bottom: calc(16 * var(--u)); }
.wl-hero__title { font-size: calc(64 * var(--u)); line-height: 1.2; font-weight: 600; letter-spacing: -0.005em; }
.wl-hero__title span { display: block; font-weight: 200; color: var(--mint); }
.wl-hero__lead {
  margin-top: calc(25 * var(--u)); max-width: calc(669 * var(--u));
  font-size: calc(21 * var(--u)); line-height: calc(33 * var(--u)); letter-spacing: .02em;
  color: rgba(52, 52, 52, .92);
}
.wl-hero__actions { margin-top: calc(40 * var(--u)); display: flex; align-items: center; gap: calc(32 * var(--u)); }

/* Video teaser pill + tooltip */
.teaser { position: relative; }
.teaser__pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  width: calc(312 * var(--u)); height: calc(57 * var(--u)); min-height: 44px;
  padding: 0 calc(12 * var(--u)) 0 calc(15 * var(--u));
  border: calc(4 * var(--u)) solid rgba(15, 93, 74, 0.13); border-radius: 37px;
  background: rgba(246, 246, 246, .7); cursor: pointer;
  font: 600 calc(14 * var(--u))/1 Urbanist, Arial, sans-serif; color: #4a4a4a;
  transition: border-color .2s ease, transform .15s ease;
}
.teaser__pill:hover { border-color: rgba(15, 93, 74, 0.22); }
.teaser__pill:active { transform: translateY(1px); }
.teaser__preview {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: url(/img/pill-preview.png) center / cover no-repeat;
  opacity: .5; filter: blur(.4px);
}
.teaser__label { white-space: nowrap; text-shadow: 0 0 6px rgba(255,255,255,.9); }
.teaser__play {
  flex: none; width: calc(31 * var(--u)); height: calc(31 * var(--u)); min-width: 26px; min-height: 26px;
  border-radius: 50%; background: var(--mint); position: relative;
}
.teaser__play::after {
  content: ""; position: absolute; left: 42%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-color: transparent transparent transparent #fff;
  border-width: calc(5.5 * var(--u)) 0 calc(5.5 * var(--u)) calc(10 * var(--u));
  margin-left: 2px;
}
.teaser__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  background: #1f2322; color: #fff; font-size: 14px; font-weight: 600; line-height: 1;
  padding: 9px 12px; border-radius: 6px; white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.teaser__tip::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #1f2322;
}
.teaser__tip.is-shown { opacity: 1; transform: translate(-50%, 0); }
.teaser__tip:empty { display: none; }

/* Split sections (visual left, copy right) */
.wl-split {
  display: grid;
  grid-template-columns: calc(617 * var(--u)) calc(531 * var(--u));
  column-gap: calc(124 * var(--u));
  justify-content: center; align-content: center; align-items: center;
}
.wl-split__visual { display: flex; flex-direction: column; align-items: center; width: calc(617 * var(--u)); }
.wl-copy h2 { font-size: calc(44 * var(--u)); line-height: 1.2; margin: calc(16 * var(--u)) 0 calc(25 * var(--u)); }
.wl-copy p:not(.eyebrow) {
  font-size: calc(18 * var(--u)); line-height: calc(27 * var(--u)); letter-spacing: .02em;
  color: rgba(52, 52, 52, .92);
}
.wl-copy p:not(.eyebrow) + p:not(.eyebrow) { margin-top: calc(27 * var(--u)); }
.wl-copy strong { font-weight: 700; }
@media (min-width: 900px) { #messages .wl-copy p:not(.eyebrow) { max-width: calc(531 * .8 * var(--u)); } } /* 80% of the copy column */
.wl-copy strong.semi { font-weight: 600; }
.sparkle { display: block; width: calc(26 * var(--u)); height: calc(26 * var(--u)); margin-bottom: calc(10 * var(--u)); }
.eyebrow--ask { color: #b87a95; font-size: calc(15 * var(--u)); letter-spacing: .12em; }

/* Stack (visual above centered copy) + centered sections */
.wl-stack { flex-direction: column; }
.wl-stack__visual { display: flex; justify-content: center; }
.wl-copy--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.wl-stack .wl-copy { margin-top: calc(60 * var(--u)); }
.wl-stack .wl-copy h2 { max-width: calc(915 * var(--u)); }
.wl-stack .wl-copy p:not(.eyebrow) { max-width: calc(480 * var(--u)); }
.wl-copy--wide h2 { max-width: calc(795 * var(--u)); margin-bottom: calc(33 * var(--u)); }
.wl-copy--wide p:not(.eyebrow) { max-width: calc(740 * var(--u)); }
.wl-center { padding-top: calc(260 * var(--u)); }
.wl-center .wl-center__cta { margin-top: calc(30 * var(--u)); }

/* Visual placeholders (replaced by inlined app fragments). Sizes in design px; wrappers zoom. */
.wl-visual { position: relative; zoom: var(--z); }
.wl-visual[data-fragment="s2-email"]        { width: 590px; }
.wl-visual[data-fragment="s2-entities"]     { width: 590px; margin-top: 18px; }
.wl-visual[data-fragment="s3-item"]         { width: 590px; }
.wl-visual[data-fragment="s4-proposed-actions"] { width: 541px; }
.wl-visual[data-fragment="s5-decision"]     { width: 581px; }
.wl-visual[data-fragment="s6-running"]      { width: 568px; }
.wl-visual[data-fragment="s7-graduation"]   { width: 587px; }
.wl-visual[data-fragment="s8-ask"]          { width: 612px; }
.wl-visual:empty { border-radius: 12px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.wl-visual[data-fragment="s2-email"]:empty        { height: 515px; }
.wl-visual[data-fragment="s2-entities"]:empty     { height: 40px; background: transparent; box-shadow: none; }
.wl-visual[data-fragment="s3-item"]:empty         { height: 357px; }
.wl-visual[data-fragment="s4-proposed-actions"]:empty { height: 910px; }
.wl-visual[data-fragment="s5-decision"]:empty     { height: 63px; }
.wl-visual[data-fragment="s6-running"]:empty      { height: 285px; }
.wl-visual[data-fragment="s7-graduation"]:empty   { height: 496px; }
.wl-visual[data-fragment="s8-ask"]:empty          { height: 320px; }
/* App fragment overrides for the marketing page (app.css stays untouched). */
#decide .op-app .op-decision { background: transparent; border-color: transparent; padding: 0; }
/* app.css caps hover labels at 90px, which clips longer translations ("Je m’en charge", "Yo me encargo"). */
#decide .op-app .op-icon-button:hover .op-reveal, #decide .op-app .op-icon-button:focus-visible .op-reveal { max-width: 160px; }
#automation .op-app .op-offer-columns ul { list-style: none; padding-inline-start: 14px; }
/* Icons fade out wherever they would sit behind section content (site.js toggles is-occluded). */
.wl-icon { transition: opacity .35s ease; }
.wl-icon.is-occluded { opacity: 0; }

/* Section 4 card that travels into section 5 (translate + fade driven by site.js via --p). */
.wl-travel { position: relative; z-index: 1; justify-self: center; display: flex; justify-content: center; --p: 0; }
.wl-travel.is-travelling {
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / calc(1 - var(--p))) 0%, rgb(0 0 0 / calc(1 - .9 * var(--p))) 55%, rgb(0 0 0 / calc(1 - .4 * var(--p))) 100%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / calc(1 - var(--p))) 0%, rgb(0 0 0 / calc(1 - .9 * var(--p))) 55%, rgb(0 0 0 / calc(1 - .4 * var(--p))) 100%);
}

/* FAQ */
.wl-faq__inner { width: calc(971 * var(--u)); max-width: 100%; text-align: center; }
.wl-faq h2 { font-size: calc(44 * var(--u)); line-height: 1.2; margin: calc(4 * var(--u)) 0 calc(62 * var(--u)); }
.faq { text-align: left; }
.faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.11); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: calc(6 * var(--u)) calc(44 * var(--u)) calc(6 * var(--u)) 0;
  font-size: calc(18 * var(--u)); line-height: calc(27 * var(--u)); font-weight: 600; letter-spacing: .02em;
  color: rgba(52, 52, 52, .95);
  margin-top: calc(9 * var(--u));
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: calc(21 * var(--u)); top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid #333; border-bottom: 2px solid #333;
  transform: rotate(45deg); transition: transform .25s ease, margin-top .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: calc(2 * var(--u)) calc(90 * var(--u)) calc(22 * var(--u)) 0; }
.faq__a p { font-size: calc(15 * var(--u)); line-height: calc(21 * var(--u)); letter-spacing: .02em; color: rgba(52, 52, 52, .92); }
.faq__a p + p { margin-top: calc(13 * var(--u)); }
.faq details[open] .faq__a { animation: faq-open .3s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Join form */
.wl-join { flex-direction: column; padding-bottom: calc(120 * var(--u)); }
.wl-join__inner { width: calc(795 * var(--u)); max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.wl-join h2 { font-size: calc(44 * var(--u)); line-height: 1.2; margin: calc(4 * var(--u)) 0 calc(26 * var(--u)); }
.wl-join__lead, .wl-thanks__lead {
  max-width: calc(731 * var(--u));
  font-size: calc(18 * var(--u)); line-height: calc(27 * var(--u)); letter-spacing: .02em; color: rgba(52, 52, 52, .92);
}
.wl-join__lead + .wl-join__lead { margin-top: calc(17 * var(--u)); }

.form { width: calc(372 * var(--u)); min-width: 318px; margin-top: calc(32 * var(--u)); text-align: left; }
.field { margin-top: calc(10 * var(--u)); }
.field label {
  display: block; margin-bottom: calc(4 * var(--u));
  font-size: calc(16 * var(--u)); line-height: calc(27 * var(--u)); font-weight: 600; letter-spacing: .02em; color: rgba(52, 52, 52, .95);
}
.field .req { color: #c00; }
.field .hint { font-weight: 400; font-size: calc(13 * var(--u)); letter-spacing: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  display: block; width: 100%; height: calc(45 * var(--u)); min-height: 42px;
  padding: 0 12px; border: 1px solid var(--field-border); border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  font: 400 max(16px, calc(16 * var(--u))) Urbanist, Arial, sans-serif; color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
#hero-title:focus { outline: none; }
.field input:not([type="checkbox"]):focus { outline: none; border-color: var(--mint-deep); background: rgba(255,255,255,.6); box-shadow: 0 0 0 3px rgba(44, 206, 165, 0.25); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__err { min-height: 0; font-size: 13px; line-height: 18px; color: var(--error); font-weight: 600; }
.field__err:not(:empty) { margin-top: 4px; }
.phone { display: flex; }
.phone__cc {
  position: relative; flex: none; width: calc(69 * var(--u)); min-width: 62px; height: calc(45 * var(--u)); min-height: 42px;
  display: flex; align-items: center; gap: calc(12 * var(--u)); padding-left: calc(14 * var(--u));
  border: 1px solid var(--field-border); border-right: 0; border-radius: 3px 0 0 3px; background: rgba(255, 255, 255, 0.2);
}
.phone__cc:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.phone__flag { font-size: 18px; line-height: 1; }
.phone__caret { width: 0; height: 0; border-style: solid; border-width: 5px 5px 0 5px; border-color: #333 transparent transparent; }
.phone__cc select {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  font-size: 16px; appearance: none; border: 0;
}
.phone input[type="tel"] { border-radius: 0 3px 3px 0; }
.field--check { display: flex; align-items: flex-start; gap: calc(26 * var(--u)); margin-top: calc(20 * var(--u)); padding-left: calc(15 * var(--u)); }
.field--check input { flex: none; width: 15px; height: 15px; margin: calc(12 * var(--u)) 0 0; accent-color: var(--mint-deep); }
.field--check label { margin: 0; font-weight: 400; font-size: calc(14 * var(--u)); line-height: calc(20 * var(--u)); color: rgba(52, 52, 52, .92); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field__err--check { padding-left: calc(56 * var(--u)); }
.field--check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.form__err { text-align: center; color: var(--error); font-size: 14px; font-weight: 600; }
.form__err:not(:empty) { margin-top: 14px; }
.form__submit { display: flex; margin: calc(30 * var(--u)) auto 0; }
.form__submit.is-loading .btn__label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form__req { margin-top: calc(12 * var(--u)); text-align: center; font-size: max(12px, calc(13 * var(--u))); line-height: calc(27 * var(--u)); font-weight: 600; color: #767676; }

/* Thank-you state */
.wl-thanks[hidden], .wl-join__inner[hidden] { display: none; }
.wl-thanks h2 { outline: none; margin-bottom: calc(26 * var(--u)); }
.wl-thanks .emoji { font-weight: 400; }
.wl-thanks__lead { max-width: calc(520 * var(--u)); }
.wl-thanks__note {
  margin-top: calc(44 * var(--u)); width: calc(500 * var(--u)); max-width: 100%;
  padding: calc(21 * var(--u)) calc(16 * var(--u)); letter-spacing: .01em !important;
  background: rgba(255, 255, 255, 0.3); border: 1px solid rgba(204, 204, 204, 0.4); border-radius: 11px;
  font-size: calc(18 * var(--u)); line-height: calc(27 * var(--u)); letter-spacing: .02em; color: rgba(52, 52, 52, .92);
}
.wl-thanks__note strong { font-weight: 600; }
.invite { margin-top: calc(28 * var(--u)); display: flex; align-items: center; gap: calc(10 * var(--u)); }
.invite__label { font-size: calc(16 * var(--u)); font-weight: 600; letter-spacing: .02em; color: rgba(52, 52, 52, .95); white-space: nowrap; }
.invite__box {
  position: relative; display: flex; align-items: center;
  width: calc(320 * var(--u)); min-width: 260px; height: calc(40 * var(--u)); min-height: 40px;
  background: rgba(255, 255, 255, 0.3); border: 1px solid rgba(204, 204, 204, 0.4); border-radius: 11px;
}
.invite__box input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 4px 0 calc(12 * var(--u));
  font: 400 max(14px, calc(16 * var(--u))) Urbanist, Arial, sans-serif; letter-spacing: .02em; color: rgba(52, 52, 52, .95);
  text-overflow: ellipsis;
}
.invite__box input:focus { outline: none; }
.invite__box:focus-within { box-shadow: 0 0 0 2px rgba(44, 206, 165, .45); }
.invite__copy {
  flex: none; width: 40px; height: 100%; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 0 11px 11px 0; cursor: pointer;
}
.invite__copy:hover { background: rgba(255,255,255,.5); }
.invite__copied {
  position: absolute; right: 0; bottom: calc(100% + 6px); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--mint-deep); padding: 4px 8px; border-radius: 5px;
  opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease;
}
.invite__copied.is-shown { opacity: 1; transform: none; }
.invite__copied:empty { display: none; }
.wl-thanks__rule { width: calc(159 * var(--u)); border: 0; border-top: 1px solid rgba(0, 0, 0, 0.12); margin: calc(24 * var(--u)) 0 calc(20 * var(--u)); }
.share { display: flex; align-items: center; gap: calc(22 * var(--u)); }
.share__label { font-size: calc(16 * var(--u)); font-weight: 600; letter-spacing: .02em; color: rgba(52, 52, 52, .95); }
.share__list { display: flex; gap: calc(8 * var(--u)); margin: 0; padding: 0; list-style: none; }
.share__list a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; transition: background-color .2s ease, transform .15s ease; }
.share__list a:hover { background: rgba(255,255,255,.7); transform: translateY(-1px); }
.share__list img { width: 24px; height: 24px; }
.wl-thanks__reset { margin-top: calc(28 * var(--u)); }
.linkbtn { background: none; border: 0; padding: 4px; font: 500 14px Urbanist, Arial, sans-serif; color: #5a5a5a; text-decoration: underline; cursor: pointer; }

/* Footer */
.wl-footer {
  position: absolute; left: 0; right: 0; bottom: calc(20 * var(--u));
  text-align: center; padding: 0 16px;
  font-size: max(12px, calc(12 * var(--u))); line-height: 21px; letter-spacing: .02em; color: rgba(52, 52, 52, .75);
}
.wl-footer a { color: inherit; text-underline-offset: 2px; }
.wl-footer p { display: inline; }
.wl-footer__sep { margin: 0 6px; }

/* ---------- Reveal animations ---------- */
/* Scroll-driven: site.js sets an eased --t (0..1) on every item from its own scroll window,
   visual first, then each text block in turn. No snapping, no auto-scroll. The hero plays on load. */
.js .wl-section:not(.wl-hero) .reveal,
.js .wl-section:not(.wl-hero) .reveal-visual { opacity: var(--t, 1); will-change: transform, opacity; }
.js .wl-section:not(.wl-hero) .reveal { transform: translate3d(0, calc((1 - var(--t, 1)) * 90px), 0); }
.js .wl-section:not(.wl-hero) .reveal-visual {
  transform: translate3d(calc((1 - var(--t, 1)) * -240px), calc((1 - var(--t, 1)) * 60px), 0) scale(calc(0.86 + 0.14 * var(--t, 1)));
}
.js .wl-section:not(.wl-hero) .reveal-visual--up {
  transform: translate3d(0, calc((1 - var(--t, 1)) * 160px), 0) scale(calc(0.88 + 0.12 * var(--t, 1)));
}
.js .wl-hero .reveal { animation: wl-rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(80ms + var(--i, 0) * 110ms); }
@keyframes wl-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
/* Desktop: the approval bar follows the travelling section-4 card (see site.js). */
.js .wl-section .wl-stack__visual.reveal-visual.is-anchored { opacity: var(--pb, 1); transform: none; transition: none; }
.wl-stack__visual.is-inactive { pointer-events: none; }

.is-measuring .wl-section .reveal, .is-measuring .wl-section .reveal-visual { transform: none !important; }

/* ---------- Mobile (frames 440 wide) ---------- */
@media (max-width: 899px) {
  :root { --nav-h: calc(74 * var(--u)); }
  .wl-icons__group { --frame-w: 440; }
  .wl-bg {
    background:
      radial-gradient(70vw 38vh at 80% 62%, rgba(44, 206, 165, 0.14), rgba(44, 206, 165, 0) 100%),
      radial-gradient(70vw 38vh at 18% 40%, rgba(219, 148, 64, 0.12), rgba(219, 148, 64, 0) 100%),
      var(--bg);
  }
  .wl-bg__circle--lg { left: calc(100% + 30 * var(--u)); top: 45%; width: calc(420 * var(--u)); height: calc(420 * var(--u)); }
  .wl-bg__circle--sm { left: calc(100% - 60 * var(--u)); top: 26%; width: calc(130 * var(--u)); height: calc(130 * var(--u)); }
  .wl-bg__circle--left { left: 0; top: 76%; width: calc(230 * var(--u)); height: calc(230 * var(--u)); }

  .wl-nav { padding: 0 calc(21 * var(--u)) 0 calc(18 * var(--u)); }
  .wl-nav__logo img { width: calc(122 * var(--u)); }
  .btn--nav { height: calc(44 * var(--u)); font-size: calc(17 * var(--u)); }
  .btn--nav.btn--primary { width: calc(189 * var(--u)); }
  .btn--nav.btn--outline { width: calc(174 * var(--u)); font-size: calc(17 * var(--u)); }

  .wl-section { padding: calc(110 * var(--u)) calc(38 * var(--u)) calc(40 * var(--u)); }
  .eyebrow { font-size: max(13px, calc(14 * var(--u))); line-height: calc(36 * var(--u)); }

  .wl-hero { padding: calc(50 * var(--u)) calc(20 * var(--u)) calc(240 * var(--u)); }
  .wl-hero__logo { width: calc(128 * var(--u)); margin-bottom: calc(22 * var(--u)); }
  .wl-hero .eyebrow { margin-bottom: calc(6 * var(--u)); font-size: calc(15 * var(--u)); }
  .wl-hero__title { font-size: calc(49 * var(--u)); line-height: calc(54 * var(--u)); max-width: calc(410 * var(--u)); }
  .wl-hero__lead { margin-top: calc(26 * var(--u)); font-size: calc(17 * var(--u)); line-height: calc(27 * var(--u)); letter-spacing: .01em; max-width: calc(400 * var(--u)); }
  .wl-hero__actions { flex-direction: column; margin-top: calc(50 * var(--u)); gap: calc(32 * var(--u)); }
  .wl-hero .btn--lg { width: calc(223 * var(--u)); height: calc(53.5 * var(--u)); font-size: calc(19 * var(--u)); }

  .wl-split { display: flex; flex-direction: column; align-items: stretch; padding-left: 0; padding-right: 0; }
  .wl-split .wl-copy { order: 1; padding: 0 calc(38 * var(--u)); }
  .wl-split__visual, .wl-travel { order: 2; width: auto; margin-top: calc(50 * var(--u)); padding: 0 calc(20 * var(--u)); }
  .wl-travel .wl-split__visual { margin-top: 0; padding: 0; }
  .wl-copy h2 { font-size: calc(38 * var(--u)); line-height: calc(40 * var(--u)); margin: calc(14 * var(--u)) 0 calc(24 * var(--u)); }
  .wl-copy p:not(.eyebrow) { font-size: calc(16 * var(--u)); line-height: calc(25 * var(--u)); }
  .wl-copy p:not(.eyebrow) + p:not(.eyebrow) { margin-top: calc(25 * var(--u)); }
  .eyebrow--ask { font-size: calc(16 * var(--u)); }

  .wl-visual[data-fragment] { width: 100%; max-width: 440px; }
  .js .wl-section:not(.wl-hero) .reveal { transform: translate3d(0, calc((1 - var(--t, 1)) * 60px), 0); }
  .js .wl-section:not(.wl-hero) .reveal-visual { transform: translate3d(0, calc((1 - var(--t, 1)) * 120px), 0) scale(calc(0.9 + 0.1 * var(--t, 1))); }
  /* The decision bar is wider than a phone; scale it like mobile-05 (~400px wide at 440). */
  .wl-visual[data-fragment="s5-decision"] { width: auto; zoom: calc(var(--z) * 0.84); }
  /* mobile-05: section 4's card bottom flows straight into the decision bar. */
  #actions { padding-bottom: 0; }
  #decide { justify-content: flex-start; padding-top: calc(28 * var(--u)); }
  .wl-visual[data-fragment="s2-email"]:empty { height: 340px; }
  .wl-visual[data-fragment="s3-item"]:empty { height: 250px; }
  .wl-visual[data-fragment="s4-proposed-actions"]:empty { height: 1000px; }
  .wl-visual[data-fragment="s5-decision"]:empty { height: 56px; }
  .wl-visual[data-fragment="s6-running"]:empty { height: 200px; }
  .wl-visual[data-fragment="s7-graduation"]:empty { height: 480px; }
  .wl-visual[data-fragment="s8-ask"]:empty { height: 230px; }

  .wl-stack { padding-left: 0; padding-right: 0; }
  .wl-stack__visual { width: 100%; padding: 0 calc(18 * var(--u)); }
  .wl-stack .wl-copy { margin-top: calc(40 * var(--u)); padding: 0 calc(38 * var(--u)); }
  .wl-copy--center { text-align: left; align-items: flex-start; }
  .wl-center { padding-top: calc(250 * var(--u)); }
  .wl-center .wl-center__cta { align-self: center; margin-top: calc(40 * var(--u)); }

  .wl-faq { padding-left: calc(20 * var(--u)); padding-right: calc(20 * var(--u)); }
  .wl-faq__inner { width: 100%; text-align: left; }
  .wl-faq .eyebrow, .wl-faq h2 { margin-left: calc(18 * var(--u)); }
  .wl-faq h2 { font-size: calc(44 * var(--u)); line-height: calc(44 * var(--u)); margin-bottom: calc(30 * var(--u)); max-width: calc(330 * var(--u)); }
  .faq summary { font-size: calc(17 * var(--u)); padding: calc(12 * var(--u)) calc(40 * var(--u)) calc(12 * var(--u)) 0; margin-top: 0; }
  .faq summary::after { right: calc(6 * var(--u)); }
  .faq__a { padding: 0 0 calc(22 * var(--u)); }
  .faq__a p { font-size: calc(14.5 * var(--u)); line-height: calc(19 * var(--u)); }

  .wl-join { padding: calc(160 * var(--u)) calc(35 * var(--u)) calc(90 * var(--u)); }
  .wl-join__inner { align-items: stretch; text-align: left; }
  .wl-join h2 { font-size: calc(44 * var(--u)); margin: calc(-6 * var(--u)) 0 calc(24 * var(--u)); }
  .wl-join .eyebrow { margin-left: 0; }
  .wl-join__lead { font-size: calc(16 * var(--u)); line-height: calc(25 * var(--u)); padding-left: calc(5 * var(--u)); }
  .wl-join__lead + .wl-join__lead { margin-top: calc(25 * var(--u)); }
  .form { width: 100%; min-width: 0; margin-top: calc(24 * var(--u)); }
  .field label { font-size: calc(16 * var(--u)); }
  .field .hint { font-size: calc(13 * var(--u)); }
  .field--check { padding-left: calc(15 * var(--u)); gap: calc(20 * var(--u)); }
  .field--check label { font-size: calc(14 * var(--u)); }

  .wl-thanks { align-items: stretch; text-align: left; }
  .wl-thanks__lead { font-size: calc(16 * var(--u)); line-height: calc(25 * var(--u)); padding-left: calc(5 * var(--u)); }
  .wl-thanks__note { width: 100%; text-align: center; font-size: calc(18 * var(--u)); padding: calc(20 * var(--u)) calc(24 * var(--u)); }
  .invite { flex-direction: column; align-items: center; gap: calc(12 * var(--u)); }
  .invite__box { width: 100%; max-width: 340px; }
  .wl-thanks h2 { font-size: calc(42 * var(--u)); text-wrap: balance; }
  /* No keyboard on phones: drop the ⇧↵ hint so longer translated labels keep the bar inside the screen. */
  #decide .op-app .op-approve .op-kbd-group { display: none; }
  .wl-thanks__rule { align-self: center; }
  .share { justify-content: center; }
  .wl-thanks__reset { text-align: center; }
  .wl-footer { bottom: calc(10 * var(--u)); }
  .wl-footer p { display: block; }
  .wl-footer__sep--first { display: none; }
}

@media (max-width: 899px) and (max-height: 700px) {
  .wl-hero { padding-bottom: calc(230 * var(--u)); }
}

/* ---------- "Running now" demo (section 6) ---------- */
#control .op-history-running > header > div > span > svg { animation: wl-spin 1.2s linear infinite; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
/* app.css references op-ask-spin but its keyframes weren't captured */
#ask .op-ask-thinking > svg { animation: wl-spin 1.4s linear infinite; }
#control .op-running-row { transition: background-color 300ms; }
#control .op-running-row.is-done { background: var(--success-soft); }
#control .op-running-row.is-done time { color: var(--success); font-weight: 600; }
#control .op-running-row.is-done button { visibility: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .wl-icon__float, .wl-icon img { animation: none; }
  #control .op-history-running > header > div > span > svg, #ask .op-ask-thinking > svg { animation: none; }
  .js .wl-section .reveal, .js .wl-section .reveal-visual { opacity: 1 !important; transform: none !important; animation: none !important; }
  .wl-nav, .wl-nav.is-visible { transition: none; }
  .teaser__tip, .invite__copied { transition: none; }
  .faq details[open] .faq__a { animation: none; }
}
