@font-face { font-family: 'Palmello'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/palmello.woff2") format('woff2'); } /* W27-FACE */
/* Landing page around the tool: hero, webinar postcard, confirmation, film modal. Tool styles live in tool.css.
   Values come from the WDS "Win at 2027" campaign theme (w27.theme.css, --w27-* tokens on .theme-w27, loaded
   before this file). Fallbacks keep the page readable if the theme file is missing. */

.w27-page {
  --ink: var(--w27-text-primary, #26262b);
  --display: var(--w27-text-display, #fff27a);
  --brand: var(--w27-text-brand, #5c2638);
  --on-dark: var(--w27-text-on-dark, #fdfcfa);
  --postcard: var(--w27-bg-postcard, #eab6a5);
  --r-md: var(--w27-radius-md, 20px);
  --font-ui: var(--w27-font-ui, 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
  --font-mono: var(--w27-font-mono, 'Google Sans Code', ui-monospace, Menlo, monospace);
  --font-script: 'Palmello', 'Brush Script MT', cursive;   /* no theme token: Figma's postcard script */
  --blush: #f3d9cf;                                              /* no theme token: secondary copy on burgundy */
  --ease: var(--w27-ease, cubic-bezier(.2, .8, .2, 1));
  /* Content column (Figma "Max width (Body)"): 1280 wide with 62px inside it, centred, so copy starts 142px from the
     edge at 1440 and 382px at 1920 while backgrounds and photos run full bleed. Use it in padding or left only. */
  --gx: max(clamp(24px, 9.86vw, 142px), calc(50% - 578px));
  /* Figma postcard (Webinar postcard, Head): Paper Rest at the postcard's 0.924 scale, with its inset highlights. */
  --postcard-shadow: 0 5.545px 12.938px -1.848px rgba(38, 38, 43, .1), 0 .924px 1.386px rgba(38, 38, 43, .1), inset 0 -1.386px .924px rgba(38, 38, 43, .06), inset 0 1.386px 0 rgba(255, 255, 255, .55);
  --postcard-radius: 18.48px;
  /* One shared grain texture for Figma's "HappyCo Grain" and "Retro Title Card" look: a 160px tile of SVG fractal
     noise, drawn once by the browser and repeated. Black specks with the noise as alpha; each surface sets the strength
     with opacity. Inherits into the quiz's shadow root, which uses it on the board and plan notes. */
  --w27-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.2 0 0 0 -.95'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

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

.w27-page { max-width: none; margin: 0; padding: 0; background: var(--w27-bg-ground, #3c7363); color: var(--on-dark); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
.w27-page h1, .w27-page h2, .w27-page p, .w27-page ul { margin: 0; padding: 0; }
.w27-page h2 { letter-spacing: 0; color: inherit; }   /* the site's global h2 colour is navy */
.w27-page .lockup-h1 { line-height: 0; }
.w27-page ul { list-style: none; }
.w27-page img { display: block; }
.w27-page [hidden] { display: none !important; }
.w27-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w27-page :focus-visible { outline: 3px solid var(--display); outline-offset: 3px; }

/* W27 Button (outline, on dark): full opacity, theme radius (rounded corners, not a pill). */
.w27-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--w27-space-12, 12px);
  height: 64px; padding: 0 var(--w27-space-32, 32px);
  border-radius: var(--r-md);
  border: var(--w27-stroke, 1.5px) solid var(--w27-border-on-brand, #fff27a);
  background: transparent;
  color: var(--w27-text-on-brand, #fff27a);
  font: var(--w27-text-button, 700 18px/1.12 var(--font-ui));
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms;
}
.w27-page .btn:hover { background: rgba(255, 242, 122, .08); }
.w27-page .btn:active { transform: translateY(1px); }
.w27-page .btn.is-placeholder { cursor: default; }
.w27-page .link { border: 0; background: transparent; color: var(--blush); font: var(--w27-text-body-s, 400 14px/1.25 var(--font-ui)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Hero ---------- */

.w27-page .hero {
  display: grid;
  /* The panel stays 528 wide from 1440 up (Figma 1920 frame: the photo takes the extra width); 410 at 1024.
     One screen tall, 620 to 900 (Figma fixes the hero at 900 at 1440 and 1920). */
  --hero-h: clamp(620px, 100svh, 900px);
  grid-template-columns: minmax(0, 1fr) clamp(410px, 36.67vw, 528px);
  height: var(--hero-h);
}
.w27-page .hero-photo {
  position: relative;
  display: grid; place-items: center;
  /* Figma, under a 10% black wash: the photo fills the height and sits 160px left of the column at 1440 and 1920 (0.1 of
     its width), or with the man centred in the column on narrower screens (1024: 219px left). Whichever is further
     left. The photo is 1.777:1, so its width is 1.777 x the hero's height. */
  background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url("hero.jpg") 0 0 / cover no-repeat #6e7a5e;
  background-position-x: min(calc(50% + var(--hero-h) * .2044), calc(var(--hero-h) * -.1782));
  place-items: start center;
}
/* Figma: the lockup block starts 31% down the hero (281 of 900), the lockup 538 wide at 1440 and 430 at 1024. */
.w27-page .hero-lockup { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.6vh, 32px); margin-top: calc(var(--hero-h) * .312 - 24px); padding: var(--w27-space-24, 24px); text-align: center; }
.w27-page .hero-lockup .lockup { width: clamp(284px, calc(26vw + 164px), 538px); }
.w27-page .hero-presents { font: var(--w27-text-eyebrow, 700 18px/1.12 var(--font-ui)); text-transform: uppercase; color: var(--display); }
.w27-page .lockup { width: min(538px, 80vw); height: auto; filter: drop-shadow(0 3px 24px rgba(0, 0, 0, .25)); }
/* Retro Title Card grain on the lockup only: the shared texture, masked to the letters. */
.w27-page .lockup-h1 { position: relative; }
.w27-page .lockup-h1::after {
  content: ''; position: absolute; inset: 0;
  background: var(--w27-grain) 0 0 / 160px 160px;
  -webkit-mask: url("icons/lockup.svg") center / 100% 100% no-repeat; mask: url("icons/lockup.svg") center / 100% 100% no-repeat;
  opacity: .14;
  pointer-events: none;
}
.w27-page .btn-film { padding: 0 var(--w27-space-32, 32px); }   /* Figma Button · win at 2027: 32px sides, 24px play icon */
.w27-page .play { flex: none; width: 24px; height: 24px; }

/* The right column scales its spacing with the viewport height, so on short screens (1280x720, 1024x768)
   the logo, copy, button, checks and webinar tab all fit without scrolling. */
.w27-page .hero-panel {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(32px, 13.15vh, 118px) clamp(24px, 3.9vw, 56px) calc(56px + clamp(20px, 4vh, 48px));   /* Figma: face mark at 118 of 900 */
  overflow: hidden;
  text-align: center;
  color: var(--display);
  background: var(--w27-bg-brand, #5c2638) url("burgundy.jpg") center / cover;
}
/* Retro Title Card grain over the panel and its text (the shared texture), under the webinar card. */
.w27-page .hero-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: var(--w27-grain) 0 0 / 160px 160px;
  mix-blend-mode: multiply;
  opacity: .14;
  pointer-events: none;
}
.w27-page .webinar { z-index: 2; }
@media (prefers-reduced-transparency: reduce) {
  .w27-page .hero-panel::after, .w27-page .lockup-h1::after, .w27-page .postcard::after { display: none; }
}
.w27-page .logo { width: clamp(48px, 7vh, 64px); height: auto; aspect-ratio: 1; }
.w27-page .hero-intro { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.6vh, 24px); margin-top: clamp(20px, 9vh, 81px); max-width: 345px; animation: rise 360ms var(--ease); }   /* Figma Hero · Copy: 345 wide, top at 262 of 900 */
/* Figma sets the headline in the 345 copy block; Google Sans Flex draws it wider in the browser, so it gets 380px
   (centred over the block) to keep Figma's three lines. */
.w27-page .hero-title { margin-inline: -17.5px; font: var(--w27-text-headline-xl, 780 40px/.95 var(--font-ui)); text-transform: uppercase; }
.w27-page .hero-body { max-width: 320px; font: var(--w27-text-body-l, 400 18px/1.25 var(--font-ui)); text-wrap: pretty; }   /* Figma: body 320 wide inside the 345 copy block */
.w27-page .btn-start { width: 241px; }
.w27-page .checks { display: flex; flex-direction: column; gap: var(--w27-space-8, 8px); margin-top: clamp(0px, .75vh, 7px); color: var(--postcard); font: var(--w27-text-body-l, 400 18px/1.25 var(--font-ui)); text-align: left; }
.w27-page .checks li { display: flex; gap: var(--w27-space-8, 8px); align-items: center; }
.w27-page .checks li::before { content: ''; flex: none; width: 24px; height: 24px; background: url("icons/icon-check.svg") center / contain no-repeat; }

/* Webinar flyout (Figma Header Messaging, Message=Webinar Flyout). Closed, the pink tab is the top strip of the
   postcard; open, the whole card slides up over the intro, which fades out behind it. */
.w27-page .webinar { position: absolute; inset: 0; pointer-events: none; }
.w27-page .webinar-tab {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(343px, calc(100% - 48px)); height: 56px;   /* Figma: the closed card shows a 56px strip */
  display: flex; align-items: flex-start; justify-content: center; gap: var(--w27-space-8, 8px);
  padding: 18px 0 0;
  border: 0;
  border-radius: var(--postcard-radius) var(--postcard-radius) 0 0;
  background: var(--w27-grain) 0 0 / 160px 160px, var(--postcard);
  background-blend-mode: soft-light, normal;
  box-shadow: var(--postcard-shadow);
  color: var(--brand);
  font: var(--w27-text-label-mono-strong, 600 14px/1.12 var(--font-mono));
  letter-spacing: var(--w27-text-label-mono-strong-tracking, .04em);
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  transition: height 200ms var(--ease), transform 320ms var(--ease), opacity 200ms;
}
.w27-page .webinar-tab:hover { height: 64px; }
.w27-page .webinar-tab:focus-visible { outline-color: var(--display); }
.w27-page .webinar-card {
  position: absolute; left: 50%; top: calc(50% + 26px);
  width: min(343px, calc(100% - 48px));
  min-height: min(456px, calc(100% - 120px));
  gap: var(--w27-space-16, 16px);
  padding: 29.6px;
  transform: translate(-50%, 150%) rotate(-2deg);
  visibility: hidden;
  pointer-events: auto;
  transition: transform 420ms var(--ease), visibility 0s 420ms;
}
.w27-page .postcard-body { display: flex; flex-direction: column; align-items: center; gap: var(--w27-space-16, 16px); }
.w27-page .btn-seat {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--w27-space-12, 12px);
  height: 64px; padding: 0 var(--w27-space-24, 24px); margin-top: var(--w27-space-8, 8px);
  border: var(--w27-stroke-default, 1.5px) solid var(--brand);
  border-radius: var(--w27-radius-md, 20px);
  color: var(--brand);
  font: var(--w27-text-button, 700 18px/1.12 var(--font-ui));
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 160ms;
}
.w27-page .btn-seat:hover { background: rgba(92, 38, 56, .08); }
.w27-page .btn-seat:focus-visible { outline-color: var(--brand); }
.w27-page .webinar-close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--brand);
  font: 400 26px/1 var(--font-ui);
  cursor: pointer;
}
.w27-page .webinar-close:hover { background: rgba(92, 38, 56, .08); }
.w27-page .webinar-close:focus-visible { outline-color: var(--brand); outline-offset: 0; }
/* Open, the card slides up over the intro, which stays put and doesn't fade (Figma Message=Webinar Flyout). Once the
   card has landed the intro is set hidden, unseen, so the headline's edges (drawn 380 wide, past the 343 card) never
   peek out at its sides; closing shows it again at once. */
.w27-page .hero-panel.is-webinar-open .hero-intro { visibility: hidden; transition: visibility 0s 420ms; }
.w27-page .hero-panel.is-webinar-open .webinar-tab { opacity: 0; transform: translate(-50%, 100%); pointer-events: none; }
.w27-page .hero-panel.is-webinar-open .webinar-card { transform: translate(-50%, -50%) rotate(-2deg); visibility: visible; transition: transform 420ms var(--ease), visibility 0s 0s; }

/* Short, narrow two-column screens (1024-1199 wide): the headline steps down to Headline L. */
@media (min-width: 1024px) and (max-width: 1199px) {
  /* Figma Header · Tablet · 1024: face mark 80 down, copy at 218, the headline in three lines on a 300px measure. */
  .w27-page .hero-panel { padding-top: clamp(32px, 10.4vh, 94px); }
  .w27-page .hero-intro { margin-top: clamp(20px, 11vh, 99px); }
  .w27-page .hero-title { max-width: 300px; margin-inline: auto; font: var(--w27-text-headline-l, 780 32px/.95 var(--font-ui)); }
}
@media (min-width: 1024px) and (max-height: 780px) {
  .w27-page .hero-title { font: var(--w27-text-headline-l, 780 32px/.95 var(--font-ui)); }
  .w27-page .hero-body, .w27-page .checks { font-size: 16px; }
  .w27-page .btn-start { height: 56px; }
}

/* ---------- Webinar postcard ---------- */

.w27-page .postcard {
  width: min(356px, 100%);
  min-height: 384px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--w27-space-16, 16px);
  padding: 30px var(--w27-space-24, 24px);
  overflow: hidden;
  border-radius: var(--postcard-radius);   /* no theme token (Figma postcard 18.48) */
  background: var(--postcard);
  color: var(--ink);
  text-align: center;
  box-shadow: var(--postcard-shadow);
  transform: rotate(-2deg);
  isolation: isolate;
}
/* HappyCo Grain on the card: the shared texture, soft-lit over the salmon so it reads as paper tooth and flecks. */
.w27-page .postcard::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  background: var(--w27-grain) 0 0 / 160px 160px;
  mix-blend-mode: multiply;
  opacity: .2;
  pointer-events: none;
}
.w27-page .postcard { position: relative; }
.w27-page .webinar-card.postcard { position: absolute; }
.w27-page .postcard-eyebrow { display: flex; align-items: center; gap: 10px; font: var(--w27-text-eyebrow, 700 18px/1.12 var(--font-ui)); text-transform: uppercase; color: var(--brand); }   /* the campaign eyebrow token (Figma drew 17px; the type gate allows campaign tokens only) */
.w27-page .live { display: inline-grid; place-items: center; width: 88px; height: 36px; background: url("icons/live-ring.svg") center / 100% 100% no-repeat; }
.w27-page .postcard-title { font: 400 80px/.68 var(--font-script); letter-spacing: -1.5px; margin: 10px -16px 6px; }   /* Figma: Palmello 80/0.68, -1.5px in the hero flyout */
.w27-page .postcard-sub { font: 700 22px/1.12 var(--font-ui); text-transform: uppercase; max-width: 262px; }   /* no theme token */
.w27-page .webinar-card.postcard { width: min(343px, calc(100% - 48px)); min-height: min(456px, calc(100% - 120px)); padding: 29.6px; transform: translate(-50%, 150%) rotate(-2deg); }
.w27-page .hero-panel.is-webinar-open .webinar-card.postcard { transform: translate(-50%, -50%) rotate(-2deg); }
.w27-page .postcard-when { font: var(--w27-text-label-mono, 500 14px/1 var(--font-mono)); text-transform: uppercase; color: var(--brand); }

/* ---------- Webinar (Figma 701:19085, "Confirmation + Webinar") ---------- */

.w27-page .confirm {
  position: relative;
  min-height: 900px;
  background: var(--w27-bg-brand, #5c2638) url("burgundy.jpg") 0 -20px / 528px 939px repeat;   /* Figma: 528 x 939 tiles from the left edge, 20px above the top */
  color: var(--display);
}
.w27-page .confirm-copy { position: relative; z-index: 1; padding: 101px 0 112px var(--gx); }
.w27-page .confirm-head { display: flex; flex-direction: column; gap: var(--w27-space-24, 24px); max-width: 426px; }
.w27-page .confirm-eyebrow, .w27-page .confirm-label { display: flex; align-items: center; gap: var(--w27-space-8, 8px); font: var(--w27-text-label-mono, 500 14px/1 var(--font-mono)); text-transform: uppercase; color: var(--postcard); }
/* Figma breaks it "RESOLUTIONS, REALIZED: / HOW REAL OPERATORS / FIXED IT IN 2026" in a 426 box; the browser draws Google
   Sans Flex wider (the first line is 504px), so the headline alone gets 520px to keep those three lines. */
.w27-page .confirm-title { max-width: 520px; margin-right: -94px; font: var(--w27-text-headline-xl, 780 40px/.95 var(--font-ui)); text-transform: uppercase; text-wrap: wrap; }
.w27-page .confirm-body { font: var(--w27-text-body-l, 400 18px/1.25 var(--font-ui)); text-wrap: pretty; }
.w27-page .confirm-row { display: flex; align-items: flex-start; gap: 35px; margin-top: 54px; }
.w27-page .confirm-left { flex: 0 0 297px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--w27-space-16, 16px); }
.w27-page .confirm-checks { margin: 0; gap: var(--w27-space-12, 12px); }
.w27-page .confirm-checks li { align-items: flex-start; }
.w27-page .confirm-close { margin-top: 24px; max-width: 265px; font: var(--w27-text-body-l, 400 18px/1.25 var(--font-ui)); }
.w27-page .confirm .btn { margin-top: 12px; }
.w27-page .confirm .postcard { flex: none; width: 343px; min-height: 372px; margin-top: -22px; color: var(--brand); }   /* Figma Confirmation: every postcard line in burgundy */
.w27-page .confirm .postcard-title { letter-spacing: -2px; }
.w27-page .confirm .live { width: 89.5px; height: 38.4px; }
/* The dinner photo fills everything right of the copy: 528 wide at 1440, 768 at 1920. */
.w27-page .confirm-photo { position: absolute; top: 0; bottom: 0; right: 0; left: calc(var(--gx) + 770px); background: #6e5a44 url("dinner.jpg") -110px -37px / 1738px 974px no-repeat; }   /* Figma: the photo drawn 1738 x 974 from 110px left of the column, 37px above the top */

/* ---------- Footer (Figma 701:19084) ---------- */

.w27-page .foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "lockup logo" "tag copy";
  row-gap: 45px; column-gap: var(--w27-space-24, 24px);   /* Figma: tagline at 202 of 301 */
  padding: 76px calc(var(--gx) + 22px) 60px var(--gx);
  color: var(--brand);
  /* Grid paper on butter, solid grid lines (Figma). */
  background-color: var(--w27-butter, #fef6ae);
  background-image: linear-gradient(var(--w27-grid-line, #d9d4ca) .8px, transparent .8px), linear-gradient(90deg, var(--w27-grid-line, #d9d4ca) .8px, transparent .8px);
  background-size: 37.5px 37.5px;
  background-position: 0 38px, 38px 0;
}
.w27-page .foot-lockup { grid-area: lockup; width: 270px; height: auto; }
.w27-page .foot-logo { grid-area: logo; justify-self: end; margin-top: 21px; width: 187px; height: auto; }
.w27-page .foot-tag { grid-area: tag; font: 400 24px/1.25 var(--font-ui); text-wrap: pretty; }
.w27-page .foot-copy { grid-area: copy; align-self: center; justify-self: end; font: 400 16px/1.25 var(--font-ui); }

/* Without JavaScript the quiz element shows only this note (its noscript content). */
.w27-page .quiz-nojs { padding: calc(2 * var(--w27-space-32, 32px)) var(--w27-space-24, 24px); text-align: center; color: var(--display); font: var(--w27-text-body-l, 400 18px/1.25 var(--font-ui)); }

/* ---------- Film modal ---------- */

html.w27-modal-open { overflow: hidden; }
/* The close button sits in the dialog's own top padding, above the frame, so the centred dialog keeps it on screen. That
   row is the 44px button plus space-8. The width also follows the height (16:9 frame plus that row and a space-16 margin
   each side), so on short landscape screens the frame and its close button both fit. */
.w27-page .film {
  --film-close-row: calc(44px + var(--w27-space-8, 8px));
  --film-margin: calc(2 * var(--w27-space-16, 16px));
  width: min(1040px, calc(100vw - 32px), calc((100vh - var(--film-close-row) - var(--film-margin)) * 16 / 9));
  width: min(1040px, calc(100vw - 32px), calc((100svh - var(--film-close-row) - var(--film-margin)) * 16 / 9));
  max-width: none; max-height: none;
  padding: var(--film-close-row) 0 0; border: 0;
  background: transparent;
  color: var(--display);
  overflow: visible;
}
.w27-page .film[open] { animation: filmIn 260ms var(--ease); }
.w27-page .film::backdrop { background: rgba(26, 14, 18, .82); }
.w27-page .film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--w27-radius-sm, 12px);
  overflow: hidden;
  background: var(--w27-bg-brand, #5c2638) url("burgundy.jpg") center / cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.w27-page .film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.w27-page .film-soon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 28px);
  padding: var(--w27-space-24, 24px);
  text-align: center;
}
.w27-page .film-soon .lockup { width: min(420px, 60%); }
.w27-page .film-play {
  display: grid; place-items: center;
  width: clamp(56px, 8vw, 84px); aspect-ratio: 1;
  border: var(--w27-stroke, 1.5px) solid var(--w27-border-on-brand, #fff27a);
  border-radius: var(--w27-radius-pill, 999px);
}
.w27-page .film-play::before { content: ''; margin-left: 5px; border-left: 20px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.w27-page .film-label { font: var(--w27-text-label-mono-strong, 600 14px/1.12 var(--font-mono)); letter-spacing: var(--w27-text-label-mono-strong-tracking, .04em); text-transform: uppercase; }
.w27-page .film-note { font: var(--w27-text-body-s, 400 14px/1.25 var(--font-ui)); color: var(--blush); max-width: 380px; }
.w27-page .film-close {
  position: absolute; top: 0; right: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: var(--w27-stroke, 1.5px) solid var(--w27-border-on-brand, #fff27a);
  border-radius: var(--w27-radius-pill, 999px);
  background: transparent; color: var(--display);
  font: 400 26px/1 var(--font-ui);
  cursor: pointer;
}
.w27-page .film-close:hover { background: rgba(255, 242, 122, .1); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes filmIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .w27-page, .w27-page *, .w27-page *::before, .w27-page *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

/* ---------- Stack ---------- */

@media (max-width: 1023px) {
  /* Stacked: the open card sits below the logo, anchored to the panel's bottom edge. */
  .w27-page .hero-panel.is-webinar-open { min-height: 640px; }
  .w27-page .webinar-card.postcard { top: auto; bottom: 24px; transform: translate(-50%, 120%) rotate(-2deg); }
  .w27-page .hero-panel.is-webinar-open .webinar-card.postcard { transform: translate(-50%, 0) rotate(-2deg); }
  /* Stacked, the card would cover only half the intro, so the intro fades out behind it here. */
  .w27-page .hero-intro { transition: opacity 240ms var(--ease), visibility 0s 0s; }
  .w27-page .hero-panel.is-webinar-open .hero-intro { opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s 200ms; }
  .w27-page .hero { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; }
  /* Figma Header · Tablet Portrait 768 and Mobile 390: the photo 500 / 360 tall, drawn 998 wide from the left edge at
     768 and 641 wide from 52px left at 390 (in between, on the same line); the lockup block centred, 355 / 284 wide. */
  .w27-page .hero-photo {
    --photo-h: clamp(360px, 65vw, 560px);
    min-height: 0; height: var(--photo-h);
    place-items: center;
    padding-top: max(0px, calc(var(--photo-h) * .16 - 40px));   /* the lockup sits a little below centre (Figma 768: centre 270 of 500) */
    background-size: max(calc(94.5vw + 272.5px), calc(var(--photo-h) * 1.777)) auto;
    background-position: min(0px, calc(13.68vw - 105px)) 0;
  }
  .w27-page .hero-lockup { margin-top: 0; gap: 26px; }
  .w27-page .hero-lockup .lockup { width: clamp(284px, calc(18.8vw + 211px), 538px); }
  /* The panel: face mark 35 down, copy 31 under it, three benefits, 31px above the webinar tab (Figma 768). */
  .w27-page .hero-panel { padding: 35px var(--w27-space-24, 24px) calc(56px + 31px); }
  .w27-page .logo { width: 54px; }
  .w27-page .hero-intro { margin-top: 31px; gap: 20px; max-width: 383px; }
  /* Figma: two lines in the 383 block at 768. The browser draws the headline wider, so it gets 440px. */
  .w27-page .hero-title { margin-inline: -28.5px; }   /* Figma 768 draws it at 32px; the campaign type scale keeps 40px above 600 (type gate) */
  .w27-page .hero-body { max-width: none; }
  .w27-page .checks { margin-top: 6px; }
  .w27-page .foot { grid-template-columns: 1fr; grid-template-areas: "lockup" "tag" "logo" "copy"; row-gap: 24px; padding: 56px var(--w27-space-24, 24px) 48px; }
  .w27-page .foot-logo, .w27-page .foot-copy { justify-self: start; margin-top: 8px; }
}

/* The webinar section stacks a little earlier than the hero, before the photo column gets too thin. */
@media (max-width: 1199px) {
  .w27-page .confirm { min-height: 0; }
  .w27-page .confirm-copy { padding: 72px var(--w27-space-24, 24px); display: flex; flex-direction: column; align-items: center; text-align: center; }
  .w27-page .confirm-head { align-items: center; max-width: 520px; }
  .w27-page .confirm-title { margin-right: 0; }
  .w27-page .confirm-body { max-width: 426px; }
  .w27-page .confirm-row { flex-direction: column; align-items: center; gap: 48px; }
  .w27-page .confirm-left { flex: none; align-items: center; }
  .w27-page .confirm-checks { text-align: left; }
  .w27-page .confirm .postcard { margin-top: 0; order: -1; }
  .w27-page .confirm-photo { position: static; min-height: 56vw; background-position: 8% 50%; background-size: cover; }
}

@media (max-width: 600px) {
  /* Figma Mobile 390: face mark 40px at 35, copy at 111, the benefits 66px above the tab. */
  .w27-page .hero-lockup { gap: 19px; }
  .w27-page .hero-panel { padding-bottom: calc(56px + 66px); }
  .w27-page .logo { width: 40px; }
  .w27-page .hero-intro { max-width: 300px; margin-top: 36px; }
  .w27-page .hero-title { margin-inline: 0; }
  .w27-page .checks { margin-top: 4px; }
  .w27-page .hero-title, .w27-page .confirm-title { font: var(--w27-text-headline-l, 780 32px/.95 var(--font-ui)); }
  .w27-page .postcard-title { font-size: 50px; }
  /* Figma Mobile: "Resolutions, Realized." is bigger on the card and breaks onto two lines (Dan, 2026-12-01). */
  .w27-page .confirm .postcard-title { font-size: 66px; margin-inline: 0; text-wrap: balance; }
  /* The date line wraps on a phone: the icon sits above it rather than beside two ragged lines. */
  .w27-page .confirm-eyebrow { flex-wrap: wrap; justify-content: center; text-align: center; line-height: 1.35; text-wrap: balance; }
}

/* ---------- Cookie banner (Consent Pro), this page only ---------- */

/* A slim full-width bar along the bottom edge in the campaign's look, instead of the site's 440px corner card over the
   quiz (Jendi, 2026-11-27). Consent Pro renders the banner in its own shadow root, so a page can change only its CSS
   custom properties (docs.consentpro.com, banner customization). The wording, the buttons and the corner are set once
   for the whole site in the Consent Pro Web App. Its message always sits above the buttons (the layout is fixed inside
   Consent Pro, and its three buttons always share the row's width), so the bar is a two-row bar. Only documented
   properties are set. The banner sits outside .theme-w27, so the values are the theme's, written out. */
consentpro-banner, consentpro-preferences, consentpro-fixed-preferences {
  --consentpro-color-surface: #fdfcfa;            /* --w27-paper */
  --consentpro-color-text: #26262b;               /* --w27-text-primary */
  --consentpro-color-link: #5c2638;               /* --w27-text-brand */
  --consentpro-color-border: #d9d4ca;             /* --w27-putty */
  /* Accept and Reject carry the same weight (privacy review): both burgundy with highlighter text. Consent Pro gives
     Reject a transparent border that a page can't change, so a matching fill is the only way to match them. */
  --consentpro-color-primary-bg: #5c2638;
  --consentpro-color-primary-text: #fff27a;
  --consentpro-color-secondary-bg: #5c2638;
  --consentpro-color-secondary-text: #fff27a;
  --consentpro-color-link-button-text: #26262b;   /* Preferences: outline */
  --consentpro-color-link-button-border: #d9d4ca;
  --consentpro-font-family: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --consentpro-font-size-base: 12.5px;
  --consentpro-line-height-base: 1.4;
  --consentpro-radius-sm: 8px;
  --consentpro-radius-md: 0px;                    /* square bar edges */
}
consentpro-banner {
  --consentpro-banner-max-width: 100%;
  --consentpro-banner-padding: 10px 24px;
  --consentpro-banner-offset-bottom: 0px;
  --consentpro-banner-offset-left: 0px;
  /* The banner is fixed bottom-left and shrinks to its message, so at 1440 it would end 1256px wide (the right offset
     only applies to a right-hand banner). Pinning its right edge makes the bar run edge to edge. */
  right: 0;
}
@media (max-width: 600px) {
  consentpro-banner { --consentpro-banner-padding: 10px 16px; }
}
/* While the bar shows, page.js sets --w27-consent-bar to its height (0 when closed): the footer ends that much lower so
   its last line clears it. The quiz uses the same property inside its shadow root (tool.css). */
.w27-page .foot { padding-bottom: calc(var(--foot-pad-bottom, 69px) + var(--w27-consent-bar, 0px)); }   /* 301 tall, as in Figma */
@media (max-width: 1023px) { .w27-page .foot { --foot-pad-bottom: 48px; } }
