/* Lovable's compiled Tailwind v4 output (scratch/lov/assets/styles-fFeesCUK.css), filtered to the classes the Joy Perks page uses.
   Derived, not hand-written: do not edit values here; copy them from the original. */
@layer theme {
  :root,
  :host {
    --font-sans: "Akkurat", "Arial", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-black: #000;
    --spacing: 0.25rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-5xl: 64rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --tracking-widest: 0.1em;
    --leading-tight: 1.25;
    --leading-relaxed: 1.625;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --aspect-video: 16 / 9;
    --default-transition-duration: 0.15s;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: "Akkurat", "Arial", sans-serif;
    --default-mono-font-family: var(--font-mono);
    --font-display: "Libre Caslon Display", Georgia, serif;
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-border: var(--border);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      "Helvetica Neue",
      "Noto Sans",
      Arial,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
  * {
    border-color: var(--color-border);
  }
  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    margin: 0;
    font-size: 14px;
  }
  h1,
  h2,
  h3,
  h4 {
    font-family: var(--font-display);
    letter-spacing: 0;
    font-weight: 400;
  }
}
@layer components;
@layer utilities {
  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .top-4 {
    top: calc(var(--spacing) * 4);
  }
  .right-4 {
    right: calc(var(--spacing) * 4);
  }
  .z-50 {
    z-index: 50;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-7 {
    margin-top: calc(var(--spacing) * 7);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-9 {
    margin-top: calc(var(--spacing) * 9);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .max-h-\[90vh\] {
    max-height: 90vh;
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-full {
    width: 100%;
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  :where(.space-y-1\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded-md {
    border-radius: calc(var(--radius) - 2px);
  }
  .rounded-sm {
    border-radius: calc(var(--radius) - 4px);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-input {
    border-color: var(--input);
  }
  .bg-background {
    background-color: var(--background);
  }
  .bg-primary {
    background-color: var(--primary);
  }
  .bg-secondary {
    background-color: var(--secondary);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-destructive {
    color: var(--destructive);
  }
  .text-muted-foreground {
    color: var(--muted-foreground);
  }
  .text-primary {
    color: var(--primary);
  }
  .text-primary-foreground {
    color: var(--primary-foreground);
  }
  .text-secondary-foreground {
    color: var(--secondary-foreground);
  }
  .opacity-70 {
    opacity: 0.7;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
      var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
      var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
      var(--tw-shadow);
  }
  .ring-offset-background {
    --tw-ring-offset-color: var(--background);
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property:
      color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from,
      --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 0.2s;
    transition-duration: 0.2s;
  }
  @media (hover: hover) {
    .hover\:bg-accent:hover {
      background-color: var(--accent);
    }
    .hover\:bg-primary\/90:hover {
      background-color: var(--primary);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-primary\/90:hover {
        background-color: color-mix(in oklab, var(--primary) 90%, transparent);
      }
    }
    .hover\:bg-secondary\/80:hover {
      background-color: var(--secondary);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-secondary\/80:hover {
        background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
      }
    }
    .hover\:text-accent-foreground:hover {
      color: var(--accent-foreground);
    }
    .hover\:underline:hover {
      text-decoration-line: underline;
    }
    .hover\:opacity-100:hover {
      opacity: 1;
    }
  }
  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
      var(--tw-shadow);
  }
  .focus\:ring-ring:focus {
    --tw-ring-color: var(--ring);
  }
  .focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }
  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
  .focus-visible\:ring-1:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width))
      var(--tw-ring-color, currentcolor);
    box-shadow:
      var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
      var(--tw-shadow);
  }
  .focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: var(--ring);
  }
  .focus-visible\:outline-none:focus-visible {
    --tw-outline-style: none;
    outline-style: none;
  }
  .disabled\:pointer-events-none:disabled {
    pointer-events: none;
  }
  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }
  .disabled\:opacity-50:disabled {
    opacity: 0.5;
  }
  .data-\[state\=closed\]\:animate-accordion-up[data-state="closed"] {
    animation: accordion-up var(--tw-animation-duration, var(--tw-duration, 0.2s)) var(--tw-ease, ease-out)
      var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
      var(--tw-animation-fill-mode, none);
  }
  .data-\[state\=closed\]\:animate-out[data-state="closed"] {
    animation: exit var(--tw-animation-duration, var(--tw-duration, 0.15s)) var(--tw-ease, ease)
      var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
      var(--tw-animation-fill-mode, none);
  }
  .data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
    --tw-exit-opacity: 0;
  }
  .data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
    --tw-exit-scale: 0.95;
  }
  .data-\[state\=open\]\:animate-accordion-down[data-state="open"] {
    animation: accordion-down var(--tw-animation-duration, var(--tw-duration, 0.2s)) var(--tw-ease, ease-out)
      var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
      var(--tw-animation-fill-mode, none);
  }
  .data-\[state\=open\]\:animate-in[data-state="open"] {
    animation: enter var(--tw-animation-duration, var(--tw-duration, 0.15s)) var(--tw-ease, ease)
      var(--tw-animation-delay, 0s) var(--tw-animation-iteration-count, 1) var(--tw-animation-direction, normal)
      var(--tw-animation-fill-mode, none);
  }
  .data-\[state\=open\]\:bg-accent[data-state="open"] {
    background-color: var(--accent);
  }
  .data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
    color: var(--muted-foreground);
  }
  .data-\[state\=open\]\:fade-in-0[data-state="open"] {
    --tw-enter-opacity: 0;
  }
  .data-\[state\=open\]\:zoom-in-95[data-state="open"] {
    --tw-enter-scale: 0.95;
  }
  @media (width >= 40rem) {
    .sm\:block {
      display: block;
    }
    .sm\:rounded-lg {
      border-radius: var(--radius);
    }
    .sm\:text-left {
      text-align: left;
    }
  }
  .\[\&_svg\]\:pointer-events-none svg {
    pointer-events: none;
  }
  .\[\&_svg\]\:size-4 svg {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .\[\&_svg\]\:shrink-0 svg {
    flex-shrink: 0;
  }
  .\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state="open"] > svg {
    rotate: 180deg;
  }
}
@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}
@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}
@property --tw-animation-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}
@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
:root {
  --radius: 0.375rem;
  --background: oklch(100% 0 0);
  --foreground: oklch(0% 0 0);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(12.9% 0.042 264.695);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(12.9% 0.042 264.695);
  --primary: oklch(53.466% 0.257916 273.392);
  --primary-foreground: oklch(100% 0 0);
  --secondary: oklch(96.8% 0.007 247.896);
  --secondary-foreground: oklch(20.8% 0.042 265.755);
  --muted: oklch(97.5% 0 0);
  --muted-foreground: oklch(52% 0 0);
  --accent: oklch(96.3% 0.018 280);
  --accent-foreground: oklch(20.8% 0.042 265.755);
  --destructive: oklch(57.7% 0.245 27.325);
  --destructive-foreground: oklch(98.4% 0.003 247.858);
  --border: oklch(91% 0 0);
  --input: oklch(87% 0 0);
  --hero-shade: linear-gradient(90deg, oklch(0% 0 0 / 0.62), oklch(0% 0 0 / 0.24) 60%, oklch(0% 0 0 / 0.08));
  --success: oklch(45% 0.11 158);
  --success-soft: oklch(96% 0.028 157);
  --warning: oklch(54% 0.12 76);
  --warning-soft: oklch(97% 0.035 85);
  --shadow-perk: 0 12px 40px oklch(0% 0 0 / 0.12);
  --ring: oklch(70.4% 0.04 256.788);
  --chart-1: oklch(64.6% 0.222 41.116);
  --chart-2: oklch(60% 0.118 184.704);
  --chart-3: oklch(39.8% 0.07 227.392);
  --chart-4: oklch(82.8% 0.189 84.429);
  --chart-5: oklch(76.9% 0.188 70.08);
  --sidebar: oklch(98.4% 0.003 247.858);
  --sidebar-foreground: oklch(12.9% 0.042 264.695);
  --sidebar-primary: oklch(20.8% 0.042 265.755);
  --sidebar-primary-foreground: oklch(98.4% 0.003 247.858);
  --sidebar-accent: oklch(96.8% 0.007 247.896);
  --sidebar-accent-foreground: oklch(20.8% 0.042 265.755);
  --sidebar-border: oklch(92.9% 0.013 255.508);
  --sidebar-ring: oklch(70.4% 0.04 256.788);
}
.joy-logo {
  font-family: var(--font-display);
  font-size: 47px;
  line-height: 1;
}
.field {
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--input);
  background: var(--background);
  width: 100%;
  color: var(--foreground);
  font-family: var(--font-sans);
  border-radius: 4px;
  outline: none;
  padding: 11px 12px;
  font-size: 13px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes arrive {
    0% {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
.marketing-page {
  font-size: 18px;
  line-height: 1.65;
}
.marketing-header {
  z-index: 30;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 88px;
  padding: 0 max(32px, 50% - 600px);
  display: flex;
  position: sticky;
  top: 0;
}
.marketing-hero {
  height: min(680px, 100svh - 180px);
  min-height: 500px;
  color: var(--primary-foreground);
  align-items: center;
  display: flex;
  position: relative;
}
.hero-photo,
.hero-shade {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-shade {
  background: var(--hero-shade);
}
.hero-copy {
  max-width: 760px;
  margin: 48px max(32px, 50% - 600px);
  position: relative;
}
.hero-eyebrow {
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
}
.hero-copy h1 {
  font-size: 80px;
  line-height: 1.05;
}
.hero-copy p {
  max-width: 580px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.65;
}
.hero-caption {
  font-size: 14px;
  position: absolute;
  bottom: 24px;
  right: 32px;
}
.hero-stat {
  border-bottom: 1px solid var(--border);
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 28px 6%;
  display: flex;
}
.hero-stat p {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.3;
}
.hero-stat > span {
  color: var(--muted-foreground);
  padding-left: 20px;
  font-size: 14px;
}
.marketing-section {
  max-width: 1264px;
  margin: auto;
  padding: 56px 32px;
}
.section-eyebrow {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  display: block;
}
.marketing-section h2 {
  font-size: 58px;
  line-height: 1.1;
}
.section-intro {
  max-width: 740px;
}
.section-intro > p {
  color: var(--muted-foreground);
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.7;
}
.product-strip {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  display: flex;
}
.product-strip span {
  background: var(--muted);
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 15px;
  display: flex;
}
.product-strip svg {
  color: var(--primary);
}
.joy-reach {
  border-top: 1px solid var(--border);
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  display: grid;
}
.joy-reach blockquote h3 {
  font-size: 34px;
  line-height: 1.2;
}
.joy-reach cite {
  margin-top: 16px;
  font-size: 14px;
  font-style: normal;
  display: block;
}
.reach-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  display: grid;
}
.reach-stats strong {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}
.reach-stats p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
}
.reach-stats span {
  color: var(--muted-foreground);
  margin-top: 8px;
  font-size: 14px;
  display: block;
}
.opportunity-section,
.perks-section {
  background: var(--muted);
}
.section-summary {
  color: var(--muted-foreground);
  max-width: 800px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.7;
}
.opportunity-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  margin-top: 45px;
  display: grid;
}
.opportunity-stats article {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.opportunity-stats article > div {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 80px;
  line-height: 1.15;
}
.opportunity-stats p {
  max-width: 320px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
}
.opportunity-stats small {
  color: var(--muted-foreground);
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  display: block;
}
.traveller-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 35px;
  display: grid;
}
.traveller-card {
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}
.traveller-card img {
  object-fit: cover;
  width: 100%;
  height: 240px;
}
.traveller-card > div {
  padding: 28px;
}
.traveller-card h3 {
  margin-top: 16px;
  font-size: 36px;
  line-height: 1.2;
}
.traveller-card p,
.benefit-grid p,
.steps-grid p {
  color: var(--muted-foreground);
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.65;
}
.benefits-section {
  border-block: 1px solid var(--border);
}
.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 50px;
  margin-top: 45px;
  display: grid;
}
.benefit-grid h3 {
  margin-top: 20px;
  font-size: 34px;
  line-height: 1.2;
}
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  margin-top: 45px;
  display: grid;
}
.step-number {
  font-family: var(--font-display);
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  font-size: 52px;
  line-height: 1.2;
  display: block;
}
.steps-grid h3 {
  margin-top: 24px;
  font-size: 34px;
  line-height: 1.2;
}
.joy-perks-badge {
  background: var(--accent);
  color: var(--primary);
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 16px;
  display: flex;
}
.example-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 35px;
  display: grid;
}
.example-grid article {
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 5px;
  padding: 25px 20px;
}
.example-grid svg {
  color: var(--primary);
}
.example-grid h3 {
  margin-top: 16px;
  font-size: 29px;
  line-height: 1.2;
}
.example-grid p {
  color: var(--muted-foreground);
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
}
.faq-section {
  grid-template-columns: 1fr 1.6fr;
  gap: 65px;
  display: grid;
}
.application-form {
  flex-direction: column;
  gap: 23px;
  display: flex;
}
.marketing-footer {
  padding: 40px 6% 24px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
}
@media (width <= 1000px) {
  .hero-copy h1 {
    font-size: 64px;
  }
  .hero-stat {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero-stat > span {
    padding-left: 40px;
  }
  .opportunity-stats,
  .steps-grid {
    gap: 28px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
  .traveller-grid {
    grid-template-columns: 1fr;
  }
  .traveller-card {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .traveller-card img {
    height: 100%;
    min-height: 260px;
  }
  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .joy-reach {
    grid-template-columns: 1fr;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (width <= 640px) {
  .reach-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .marketing-header {
    gap: 16px;
    height: 80px;
    padding: 0 24px;
  }
  .marketing-section {
    padding: 40px 24px;
  }
  .marketing-section h2 {
    font-size: 44px;
  }
  .section-intro > p,
  .section-summary {
    font-size: 18px;
  }
  .opportunity-stats,
  .steps-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .opportunity-stats article > div {
    font-size: 72px;
  }
  .opportunity-stats p {
    max-width: none;
  }
  .traveller-card {
    display: block;
  }
  .traveller-card img {
    height: 260px;
    min-height: 0;
  }
  .reach-stats {
    gap: 20px;
  }
  .reach-stats strong {
    font-size: 40px;
  }
  .reach-stats p {
    font-size: 16px;
  }
  .example-grid {
    gap: 16px;
  }
  .example-grid article {
    padding: 24px 20px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .marketing-footer {
    padding-inline: 24px;
  }
}
@media (width <= 400px) {
  .reach-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .example-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (width <= 640px) {
  .hero-stat {
    grid-template-columns: 24px minmax(0, 1fr);
    display: grid;
  }
  .hero-stat > span {
    grid-column: 2;
    padding-left: 0;
  }
}
.booking-cta {
  white-space: normal;
  border-radius: 6px;
  height: auto;
  min-height: 52px;
  padding: 14px 24px;
  font-size: 17px;
  line-height: 1.4;
}
.marketing-logo {
  object-fit: contain;
  width: 76px;
  height: 48px;
}
.interactive-perks {
  margin-top: 35px;
}
.perk-tabs {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  display: flex;
}
.perk-tabs button {
  height: auto;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 16px;
}
.perk-story {
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 45px;
  display: grid;
}
.perk-story-photo {
  padding-bottom: 26px;
  position: relative;
}
.perk-story-photo > img {
  object-fit: cover;
  border-radius: 5px;
  width: 100%;
  height: 340px;
}
.floating-perk {
  background: var(--background);
  box-shadow: var(--shadow-perk);
  border-radius: 5px;
  align-items: center;
  gap: 13px;
  padding: 18px 22px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
}
.floating-perk svg {
  color: var(--primary);
}
.floating-perk span {
  color: var(--primary);
  font-size: 14px;
}
.floating-perk p {
  font-family: var(--font-display);
  margin-top: 8px;
  font-size: 29px;
  line-height: 1.2;
}
.perk-story-copy h3 {
  font-size: 46px;
  line-height: 1.1;
}
.perk-story-copy > p {
  color: var(--muted-foreground);
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
}
.guest-preview-label {
  color: var(--primary);
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 15px;
  display: flex;
}
.revenue-explorer {
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1264px;
  margin: 0 auto;
  padding: 0 32px 56px;
  display: grid;
}
.revenue-explorer h3 {
  font-size: 42px;
  line-height: 1.15;
}
.revenue-disclaimer {
  color: var(--muted-foreground);
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
}
.revenue-controls {
  flex-direction: column;
  gap: 23px;
  display: flex;
}
.revenue-slider > span {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
}
.revenue-slider strong {
  color: var(--primary);
}
.revenue-slider input {
  width: 100%;
  min-height: 28px;
  accent-color: var(--primary);
  cursor: pointer;
}
.revenue-result {
  background: var(--background);
  text-align: center;
  border-radius: 6px;
  padding: 25px;
}
.revenue-result > span {
  color: var(--muted-foreground);
  font-size: 16px;
}
.revenue-result output {
  font-family: var(--font-display);
  color: var(--primary);
  overflow-wrap: anywhere;
  margin-top: 20px;
  font-size: 60px;
  line-height: 1.2;
  display: block;
}
.revenue-result p {
  margin-top: 16px;
  font-size: 16px;
}
.revenue-result small {
  color: var(--muted-foreground);
  margin-top: 20px;
  font-size: 14px;
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .perk-story {
    animation: 0.35s ease-out arrive;
  }
  .traveller-card img {
    transition: transform 0.55s;
  }
  .traveller-card:hover img {
    transform: scale(1.035);
  }
  .example-grid article {
    transition:
      transform 0.2s,
      border-color 0.2s;
  }
  .example-grid article:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
  }
}
@media (width <= 1000px) {
  .revenue-explorer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .revenue-explorer > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (width <= 760px) {
  .revenue-explorer {
    grid-template-columns: 1fr;
    padding: 0 24px 40px;
  }
  .perk-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .perk-story-photo > img {
    height: 320px;
  }
  .perk-story-copy h3 {
    font-size: 40px;
  }
  .perk-tabs {
    gap: 12px;
  }
}
.marketing-header .booking-cta {
  min-height: 48px;
  padding: 12px 20px;
}
.final-cta {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}
.final-cta p {
  margin: 24px 0 32px;
  font-size: 20px;
  line-height: 1.65;
}
@media (width <= 640px) {
  .marketing-hero {
    height: auto;
    min-height: calc(100svh - 190px);
  }
  .hero-copy {
    margin: 48px 24px 64px;
  }
  .hero-copy h1 {
    font-size: 52px;
  }
  .hero-copy p {
    font-size: 18px;
  }
  .hero-caption {
    display: none;
  }
  .hero-stat {
    gap: 12px;
    padding: 24px;
  }
  .hero-stat p {
    font-size: 28px;
  }
  .marketing-header .booking-cta {
    padding: 12px 16px;
    font-size: 16px;
  }
  .final-cta p {
    font-size: 18px;
  }
}
@media (width <= 400px) {
  .hero-copy h1 {
    font-size: 44px;
  }
  .floating-perk {
    padding: 18px;
    left: 12px;
    right: 12px;
  }
}
.apply-form {
  gap: 18px;
}
.apply-form .field {
  font-size: 15px;
}
.apply-form .field input,
.apply-form .field select {
  font-size: 16px;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@keyframes enter {
  0% {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
      scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1))
      rotate(var(--tw-enter-rotate, 0));
    filter: blur(var(--tw-enter-blur, 0));
  }
}
@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
      scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1))
      rotate(var(--tw-exit-rotate, 0));
    filter: blur(var(--tw-exit-blur, 0));
  }
}
@keyframes accordion-down {
  0% {
    height: 0;
  }
  to {
    height: var(
      --radix-accordion-content-height,
      var(
        --bits-accordion-content-height,
        var(
          --reka-accordion-content-height,
          var(--kb-accordion-content-height, var(--ngp-accordion-content-height, auto))
        )
      )
    );
  }
}
@keyframes accordion-up {
  0% {
    height: var(
      --radix-accordion-content-height,
      var(
        --bits-accordion-content-height,
        var(
          --reka-accordion-content-height,
          var(--kb-accordion-content-height, var(--ngp-accordion-content-height, auto))
        )
      )
    );
  }
  to {
    height: 0;
  }
}
@keyframes caret-blink {
  0%,
  70%,
  to {
    opacity: 1;
  }
  20%,
  50% {
    opacity: 0;
  }
}

/* Additions to Lovable's compiled CSS (lovable.css) for the public pages: the font, and what a native <dialog>,
   checkbox chips and server-rendered state need that Lovable's React components did through script. */

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/libre-caslon-display-latin-ext-400-normal-7a17a86fb7c3.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/libre-caslon-display-latin-400-normal-84267e937417.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Departure from Lovable: its overlay leaves white hero text at 1.6 to 3.5:1 on the photo at most widths. Stronger shade
 * (and a small scrim under the bottom-right caption) so every line passes WCAG AA from 320 to 1920; the photo on the
 * right stays as untouched as the text allows. See design-note.md, "Deliberate departures".
 */
:root {
  --hero-shade:
    linear-gradient(to top, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0) 140px),
    linear-gradient(90deg, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.5) 55%, rgb(0 0 0 / 0.16));
}

@media (max-width: 1023px) {
  :root {
    --hero-shade:
      linear-gradient(to top, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0) 140px),
      linear-gradient(90deg, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.56) 60%, rgb(0 0 0 / 0.22));
  }
}

@media (max-width: 640px) {
  :root {
    --hero-shade:
      linear-gradient(rgb(0 0 0 / 0.44), rgb(0 0 0 / 0.44)),
      linear-gradient(90deg, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.24) 60%, rgb(0 0 0 / 0.08));
  }
}

/*
 * The dialog. Radix centres with left:50% plus translate:-50% -50%, which leaves its layout box hanging half a dialog
 * past the right edge before the transform (at 390px: 195 to 585). Horizontally it is centred here with left, right and
 * auto margins, so its layout box always lies inside the viewport and nothing can scroll sideways. Vertically it keeps
 * Lovable's own top:50% and translateY(-50%): a fractional offset such as 62.75px at 1440x900 only paints the same
 * borders and text when it comes from a transform, so this is pixel-identical to the Lovable dialog at every size.
 */
dialog.joy-dialog {
  inset: auto;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: fit-content;
  translate: 0 -50%;
  color: inherit;
  max-height: 90vh;
}

/* Lovable's `grid` utility beats the user-agent rule that hides a closed dialog; put it back. */
dialog.joy-dialog:not([open]) {
  display: none;
}

/* The view wrappers hold what Radix puts directly in the dialog's grid; they add no box of their own. */
[data-joy-view="form"] {
  display: contents;
}

dialog.joy-dialog::backdrop {
  background: color-mix(in oklab, oklch(0% 0 0) 50%, transparent);
}

dialog.joy-dialog[data-state="open"]::backdrop {
  animation: joy-backdrop-in 0.15s ease;
}

dialog.joy-dialog[data-state="closed"]::backdrop {
  animation: joy-backdrop-out 0.15s ease forwards;
}

@keyframes joy-backdrop-in {
  from {
    opacity: 0;
  }
}

@keyframes joy-backdrop-out {
  to {
    opacity: 0;
  }
}

dialog.joy-dialog[data-state="closed"] {
  animation: exit 0.2s ease forwards;
  --tw-exit-opacity: 0;
  --tw-exit-scale: 0.95;
}

/* Radix removes page scroll and keeps the layout still by adding the scrollbar's width as a margin. */
html.joy-scroll-locked body {
  overflow: hidden;
  margin-right: var(--joy-scrollbar, 0px);
}

/* /apply without script: the same dialog, not modal, over an overlay drawn in the page. */
.joy-fallback-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: color-mix(in oklab, oklch(0% 0 0) 50%, transparent);
}

/* Perk chips are checkboxes so the form works without script; checked looks like Lovable's pressed chip. */
.chip-box {
  position: relative;
  display: inline-flex;
}

.chip-box > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip-box > input + span svg {
  display: none;
}

/* Checked is Lovable's `secondary` variant in place of `outline`: no border, secondary colours, the circle-check shown. */
.chip-box > input:checked + span {
  border-width: 0;
  border-color: var(--border);
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.chip-box > input:checked + span svg {
  display: block;
}

@media (hover: hover) {
  .chip-box:hover > input:checked + span {
    background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
  }
  .chip-box:hover > input:not(:checked) + span {
    background-color: var(--accent);
    color: var(--accent-foreground);
  }
}

.chip-box > input:focus-visible + span {
  --tw-ring-shadow: 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--ring);
  box-shadow:
    var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
    var(--tw-shadow);
}

/* The Spa and F&B discounts and the other-perk text appear when their chip is ticked, with or without script. */
form.application-form [data-for-perk] {
  display: none;
}

form.application-form:has(input[name="perks"][value="Spa"]:checked) [data-for-perk="Spa"],
form.application-form:has(input[name="perks"][value="F&B"]:checked) [data-for-perk="F&B"],
form.application-form:has(input[name="perks"][value="Other"]:checked) [data-for-perk="Other"],
form.application-form [data-for-perk][data-show] {
  display: flex;
}

/*
 * Departures from Lovable that fix its accessibility defects (design-note.md, "Deliberate departures"):
 *  - focus ring: Lovable's --ring is 2.2 to 2.6:1 on white and on its own buttons; same hue and chroma, darker, 4.3:1.
 *  - selects have no focus style at all in Lovable (only inputs do); give them the input treatment.
 *  - field borders are 1.5:1 against white; 3:1 is the WCAG 1.4.11 minimum for a control's boundary.
 *  - placeholder text is 50% black, 4.0:1; 4.5:1 needed.
 */
:root {
  --ring: oklch(0.58 0.04 256.788);
  --input: oklch(0.6 0 0);
}

::placeholder {
  color: oklch(0.52 0 0);
}

.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--accent);
}

/* On the blue call-to-action band a grey-blue ring vanishes; white reads at 5.7:1 there. */
.final-cta {
  --ring: oklch(1 0 0);
}

/*
 * Tap targets. WCAG 2.2 AA (2.5.8) asks for 24px; the platform guidance is 44px. Lovable's controls are 28 to 48px
 * high except the chips (32px), selects (43px), footer link (24px) and the 16px close X, so only the X and the chips
 * are given a larger invisible hit area (no layout change: pseudo-elements and the checkbox that overlays each chip).
 */
@media (pointer: coarse), (max-width: 640px) {
  .chip-box > input {
    inset: -6px 0;
    height: auto;
  }
  button[data-close-dialog].absolute::before,
  noscript a.absolute::before {
    content: "";
    position: absolute;
    inset: -14px;
  }
}

/*
 * Scrolling a focused field into view may only ever move the dialog vertically. overflow-x: clip cannot be scrolled
 * programmatically (hidden can); Chromium honours clip next to overflow-y: auto, Firefox and WebKit compute it as hidden,
 * which is why client/public.ts also resets any sideways scroll. scroll-padding-inline pins the inline scroll origin, and the 2px field ring and the
 * chip rings sit inside the dialog's 24px padding box, so clipping never cuts them.
 */
dialog.joy-dialog {
  overflow-x: clip;
  scroll-padding-inline: 0;
}

/* The honeypot: present for bots, invisible and unreachable for people, with no off-screen offset to leak. */
.joy-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}

[data-joy-view][hidden] {
  display: none !important;
}

/* A tab story that is not showing. Without script, public-noscript.css shows them all. */
.perk-story[data-active="false"] {
  display: none;
}
