@font-face {
  font-family: Geist;
  src: url("/assets/refinement/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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;
}
@font-face {
  font-family: Geist;
  src: url("/assets/refinement/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
  color-scheme: light;
  --paper: #fdfcfe;
  --white: #fff;
  --ink: #191537;
  --muted: #584f65;
  --purple: #322994;
  --purple-deep: #211a60;
  --lavender: #f0eafa;
  --line: #e1dbea;
  --yellow: #ffd800;
  --yellow-hover: #ffe95d;
  --gutter: clamp(22px, 4.45vw, 64px);
  --section-space: clamp(58px, 7.9vw, 114px);
  --radius: 19px;
  --nav-control-radius: 99px;
  --matte-glass-surface: rgb(252 250 255 / 86%);
  --matte-glass-filter: blur(15px) saturate(115%);
  --motion: 260ms cubic-bezier(.2,.72,.25,1);
  font-family: Geist, system-ui, sans-serif;
}

.header, .footer, .skip { font-family: Geist, system-ui, sans-serif; }
.header, .footer { line-height: 1.55; }
.header *, .footer *, .header *::after, .header *::before, .skip { box-sizing: border-box; }
.header a, .footer a, .skip { text-decoration: none; color: inherit; }
.header button { font: inherit; }
.header img, .footer img { display: block; max-width: 100%; }
.header :where(a,button):focus-visible, .footer a:focus-visible { outline: 3px solid #9066d2; outline-offset: 4px; }
.footer :where(p,h2,ul) { margin: 0; }
.footer ul { padding: 0; }

.skip { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 15px; transform: translateY(-160%); border-radius: 10px; background: var(--white); color: var(--ink); }
.skip:focus { transform: translateY(0); }

.header { position: relative; z-index: 5; background: linear-gradient(108deg, #a63382 0%, #733078 22%, #372360 47%, #211a50 83%, #211a50 100%); color: #fff; border-top: 3px solid var(--yellow); }
.header-inner { position: relative; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 20px; min-height: 76px; }
.brand { width: max-content; display: inline-flex; align-items: center; }
.brand img { width: 126px; height: auto; }
.header .brand img { filter: drop-shadow(0 1px 1px #25134d98); }
.header nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(12px, 1.42vw, 23px); }
.header nav > a, .mega-menu summary { position: relative; min-height: 42px; display: inline-flex; align-items: center; font-weight: 620; font-size: .875rem; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; transition: color var(--motion); }
.header nav > a:hover { color: var(--yellow); }
.header nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform var(--motion); }
.header nav > a:is(:hover, :focus-visible)::after { transform: scaleX(1); transform-origin: left; }
.languages { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #f3bfff50; background: #ffffff12; border-radius: var(--nav-control-radius); }
.languages a { display: grid; place-items: center; width: 36px; height: 34px; border-radius: 99px; color: #f4ecff; font-size: 13px; font-weight: 640; }
.languages a[aria-current] { background: var(--yellow); color: var(--ink); }
.menu-toggle { display: none; }

.footer { background: #fbf9fc; padding: clamp(36px, 5vw, 68px) 0 18px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .65fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3.1vw, 45px); }
.footer-grid h2 { font-size: 17px; letter-spacing: -.02em; font-weight: 660; color: var(--ink); margin-bottom: 11px; }
.footer ul { display: grid; gap: 5px; list-style: none; }
.footer-brand p { margin-top: 12px; max-width: 45ch; }
.footer-grid p, .footer a, .footer li, .footer-bottom { font-size: 14px; overflow-wrap: anywhere; }
.footer a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.socials { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px 12px; }
.footer-bottom { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 5px 16px; }

.frame { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }

@media (min-width: 1121px) {
  .header nav > a { font-size: 1rem; letter-spacing: normal; text-transform: none; }
}

@media (max-width: 1120px) {
  .header-inner { min-height: 69px; grid-template-columns: auto 1fr auto auto; }
  .header nav { grid-column: 1 / -1; display: flex; justify-content: center; gap: 4px 15px; padding: 5px 11px 11px; margin-bottom: 12px; flex-wrap: wrap; background: #241950e8; border-radius: 14px; }
  .header nav > a { min-height: 44px; padding: 0; }
  .header-inner { row-gap: 0; }
  .languages { grid-column: 3; grid-row: 1; margin-block: 13px; }
  .menu-toggle { grid-column: 4; grid-row: 1; display: none; place-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff59; border-radius: var(--nav-control-radius); color: #fff; background: #1f174644; cursor: pointer; }
  .menu-toggle span { position: relative; width: 19px; height: 14px; border-block: 1.5px solid currentColor; }
  .menu-toggle span::after { content: ""; position: absolute; top: calc(50% - .75px); left: 0; width: 100%; border-block-start: 1.5px solid currentColor; }
  .has-js .menu-toggle { display: grid; }
  .has-js .header nav:not(.open) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 28px; }
}

@media (max-width: 739px) {
  :root { --gutter: clamp(20px, 5.64vw, 34px); --section-space: 56px; --radius: 17px; }
  .header-inner { column-gap: 12px; }
  .header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .header nav > a { padding-inline: 0; }
  .header nav > a:nth-child(n + 3) { border-top: 1px solid #ffffff3b; }
  .brand img { width: 100px; }
  .languages a { width: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 21px 16px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 26px; }
}

@media (max-width: 359px) {
  .header-inner { column-gap: 8px; }
  .brand img { width: 91px; }
}

.mega-menu summary {
  gap: 8px;
  padding-inline: 6px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  list-style: none;
  transition: background var(--motion), border-color var(--motion);
}
.mega-menu summary::-webkit-details-marker { display: none; }
.mega-menu summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
}
.mega-menu[open] > summary { border-color: #e4c9f066; background: #ffffff0e; }
.header .mega-menu > summary:focus-visible { outline: 1px solid #e8d6f9; outline-offset: -2px; }
.mega-menu[open] summary::after { margin-top: 4px; rotate: 225deg; }
.mega-panel {
  position: absolute;
  z-index: 8;
  inset: 100% 0 auto;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(14px, 2vw, 29px);
  padding: 22px;
  border: 1px solid #dbcaed;
  border-radius: 23px;
  background: #fbf8ff;
  color: var(--ink);
  box-shadow: 0 22px 65px #160f3370;
}
.mega-menu:not([open]) .mega-panel { display: none; }
.mega-column { margin: 0; padding: 0; list-style: none; }
.mega-column a {
  display: flex;
  min-height: 41px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9px;
  line-height: 1.3;
  font-size: .9375rem;
  font-weight: 600;
  white-space: normal;
}
.mega-column a:is(:hover, :focus-visible) { color: var(--purple-deep); background: #eee4f9; }
.header .mega-panel a:focus-visible { outline: 1px solid #7c54bb; outline-offset: -2px; }
.mega-banner {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 13px;
  border-radius: 14px;
  background: radial-gradient(ellipse at 85% 0%, #69449c, #2b2057 68%);
}
.mega-banner img { width: 100%; height: auto; }
.mega-banner .button {
  min-height: 44px;
  padding: 8px 12px;
  gap: 7px;
  color: var(--ink);
  font-size: .9375rem;
}
.header .mega-banner .button:focus-visible { outline-color: #39225c; }
.mega-panel--apps { gap: 12px; margin: 0; list-style: none; }
.mega-app-link {
  --app-accent: #60399a;
  --app-surface: #efe5fa;
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-content: start;
  align-items: start;
  gap: 12px;
  padding: clamp(13px, 1.42vw, 20px);
  border: 1px solid #e6dcee;
  border-radius: 15px;
  background: #fff;
  transition: background var(--motion), border-color var(--motion), box-shadow var(--motion);
}
.mega-panel--apps li:nth-child(2) .mega-app-link { --app-accent: #694507; --app-surface: #fff0be; }
.mega-panel--apps li:nth-child(3) .mega-app-link { --app-accent: #2f5364; --app-surface: #e2f0f5; }
.mega-panel--apps li:nth-child(4) .mega-app-link { --app-accent: #684064; --app-surface: #f8e9f1; }
.mega-app-link:is(:hover,:focus-visible) { border-color: var(--app-accent); background: color-mix(in srgb, var(--app-surface), #fff 55%); box-shadow: 0 7px 20px #321b4c12; }
.mega-app-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--app-accent); background: var(--app-surface); }
.mega-app-copy { grid-column: 1 / -1; display: grid; gap: 5px; }
.mega-app-copy strong { font-size: .98rem; font-weight: 660; line-height: 1.23; }
.mega-app-copy small { color: var(--muted); font-size: .81rem; line-height: 1.36; }
.mega-app-link > .button-arrow { grid-column: 2; grid-row: 1; align-self: center; color: var(--app-accent); }
@media (max-width: 580px) {
  .mega-app-link { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; }
  .mega-app-copy { grid-column: 2; }
  .mega-app-link > .button-arrow { grid-column: 3; }
}

@media (min-width: 1121px) {
  .header nav { align-self: stretch; }
  .mega-menu { display: flex; align-items: center; align-self: stretch; }
  .mega-menu summary { margin-inline: -6px; font-size: 1rem; letter-spacing: normal; text-transform: none; }
}

@media (max-width:1120px) {
  .header nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 0 12px; }
  .header nav > .mega-menu { grid-column: 1 / -1; }
  .header nav > .mega-menu + .mega-menu { border-top: 1px solid #ffffff3b; }
  .mega-menu summary { width: 100%; justify-content: space-between; min-height: 48px; padding-inline: 0 8px; border-inline: 0; }
  .mega-panel { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 12px; border-radius: 13px; box-shadow: none; }
  .mega-banner { min-height: 58px; }
  .mega-banner img { display: none; }
}

@media (max-width:580px) {
  .mega-panel { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .mega-column a { min-height: 44px; }
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.cookie-settings-link:hover { color: var(--purple); }
.site-cookie[hidden], [data-cookie-settings][hidden] { display: none; }
.site-cookie, .site-cookie-dialog {
  width: min(calc(100% - 2 * var(--gutter)), 640px);
  max-height: calc(100dvh - 32px);
  padding: clamp(20px, 4vw, 36px);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 55px #21174042;
}
.site-cookie {
  position: fixed;
  z-index: 50;
  inset: auto auto max(16px, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  width: min(calc(100% - 2 * var(--gutter)), 450px);
  padding: 22px;
  margin: 0;
  overflow: auto;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-cookie, .mega-panel {
    background: var(--matte-glass-surface);
    -webkit-backdrop-filter: var(--matte-glass-filter);
    backdrop-filter: var(--matte-glass-filter);
  }
  .mega-app-link:not(:is(:hover, :focus-visible)) { background: rgb(255 255 255 / 62%); }
}
.site-cookie-dialog::backdrop { background: transparent; }
.cookie-notice-copy { display: flex; align-items: center; gap: 10px; }
.cookie-icon { flex-shrink: 0; color: var(--purple); }
.site-cookie h2, .site-cookie-dialog h2 { font-size: clamp(1.25rem, 2.1vw, 1.5rem); line-height: 1.2; margin: 0; text-wrap: balance; }
.site-cookie-dialog h2 { padding-inline-end: 38px; }
.site-cookie p, .site-cookie-dialog p, .site-cookie-dialog dd { font-size: .9375rem; color: var(--muted); }
.site-cookie p, .site-cookie-dialog p, .site-cookie-dialog dl { margin: 9px 0 0; }
.site-cookie-dialog dt { margin-top: 12px; font-weight: 650; }
.site-cookie-dialog dd { margin: 2px 0 0; }
.site-cookie a, .site-cookie-dialog a { color: var(--purple); text-decoration: underline; text-underline-offset: .2em; }
:is(.site-cookie, .site-cookie-dialog) a:focus-visible {
  outline: none;
  background: var(--lavender);
  text-decoration-thickness: .14em;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-notice-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.cookie-notice-actions .button-ink { border: 1px solid transparent; }
.cookie-notice-actions .button-outline { background: #faf7ff; border-color: #aaa0c7; }
.cookie-notice-actions .button-outline:is(:hover, :focus-visible) { background: var(--lavender); color: var(--ink); }
.cookie-actions .button { padding: 9px 14px; min-height: 44px; font-size: .9375rem; cursor: pointer; }
@media (max-width: 739px) {
  .site-cookie {
    inset-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
    width: auto;
    max-width: 450px;
    margin-inline: auto;
    padding: 16px;
    border-radius: 16px;
  }
  .site-cookie h2 { font-size: 1.0625rem; }
  .site-cookie .cookie-icon { width: 20px; height: 20px; }
  .site-cookie p { font-size: .9375rem; line-height: 1.45; }
  .cookie-notice-actions { margin-top: 12px; gap: 8px; }
}
.cookie-close { position: absolute; inset: 12px 12px auto auto; }
.cookie-close button { border: 1px solid var(--line); border-radius: 50%; background: var(--lavender); color: var(--ink); cursor: pointer; font: inherit; font-size: 1.25rem; width: 36px; height: 36px; }
