/*
  Dialed website: shared styles (fonts, tokens, base, page frame, header + menu, footers).
  A faithful copy of the live Framer site. Every value below was read from the live site's
  CSS and computed styles (reference/shared/), so change one only after checking it there.

  Breakpoints, as on the live site:
    Desktop  (min-width: 1200px)
    Phone    (max-width: 1199.98px)   layout
             (max-width: 1199px)      text sizes (Framer's text styles use 1199, not 1199.98)
  There is no tablet layout: 810 to 1199px wide gets the phone layout.
*/

/* ---------- Fonts (self-hosted; licences beside the files) ---------- */

/* DM Sans v17 from Google Fonts: one variable file per subset covers weights 300 to 800. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/dm-sans/dm-sans-latin-ext.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: "DM Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/dm-sans/dm-sans-latin.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;
}
/* Metric-matched local fallback shown until DM Sans arrives (same numbers as the live site). */
@font-face {
  font-family: "DM Sans Placeholder";
  src: local("Arial");
  ascent-override: 94.36%;
  descent-override: 29.49%;
  line-gap-override: 0%;
  size-adjust: 105.13%;
}

/* ---------- Tokens ---------- */

:root {
  --color-core-black: #010b0f;      /* page background, header */
  --color-secondary-black: #0c1418; /* Home footer, every footer on phones, menu panel */
  --color-blue: #086b9f;            /* buttons */
  --color-text: #e1e4e5;            /* headings, footer links */
  --color-text-grey: #6e787d;       /* footer body text */
  --color-menu-text: #f0f2f5;       /* menu icon and menu items */
  --color-menu-border: #152028;
  --color-link-hover: #217cad;      /* footer link hover */
  --color-button-hover: rgb(132, 174, 196);
  --color-button-pressed: rgb(0, 78, 120);
  --color-button-success: rgb(78, 153, 78);
  --font-dm-sans: "DM Sans", "DM Sans Placeholder", sans-serif;
  --ease-framer: cubic-bezier(0.44, 0, 0.56, 1); /* Framer's default tween */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Base (mirrors Framer's reset, so copied sections lay out the same) ---------- */

html,
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
  -webkit-font-smoothing: inherit;
}
body,
input,
textarea,
select,
button {
  font-family: sans-serif;
  font-size: 12px;
}
body {
  background: var(--color-core-black);
}

/* The page frame. Header, the page's sections and the footer stack in one centred column. */
.site {
  background-color: var(--color-core-black);
  display: flex;
  flex-flow: column;
  place-content: center flex-start;
  align-items: center;
  gap: 0;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
  overflow: clip;
}
/* Holds the page's own sections. Framer's equivalent is display: contents; this column lays
   sections out the same way, and stays unpositioned so .site remains their containing block. */
.site-main {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
  flex: 0 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  background-color: var(--color-core-black);
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: min-content;
  padding: 56px 0 16px;
  position: relative;
  overflow: visible;
}
.site-header__logo {
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 10px;
  width: 132px;
  height: 37px;
  padding: 0;
  position: relative;
  overflow: visible;
  text-decoration: none;
}
.site-header__logo img,
.site-footer__logo img,
.site-footer__icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-position: center;
  object-fit: cover;
}
.site-header__menu-button {
  position: absolute;
  top: 48px;
  left: 24px;
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 0;
  width: min-content;
  height: min-content;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0);
  color: inherit;
  cursor: pointer;
  /* No will-change: Chrome kept that layer drawn at the hover's 1.1 scale, so the lines stayed
     soft after the pointer left. */
  transition:
    background-color 0.15s var(--ease-framer),
    transform 0.15s var(--ease-framer);
}
.site-header__menu-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: visible;
}
.site-header__menu-icon path {
  fill: transparent;
  stroke: var(--color-menu-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Hover only for a real pointer, as on the live site (Framer ignores touch hovers). */
@media (hover: hover) {
  .site-header__menu-button:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.1);
  }
}

/* ---------- Menu (opens below the hamburger; js/site.js moves it to the end of <body>) ---------- */

.site-menu {
  position: absolute;
  z-index: 11;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
}
.site-menu[hidden] {
  display: none;
}
.site-menu__panel {
  background-color: var(--color-secondary-black);
  border-radius: 12px;
  display: flex;
  flex-flow: column;
  place-content: flex-start;
  align-items: flex-start;
  gap: 2px;
  width: 200px;
  height: min-content;
  padding: 8px;
  position: relative;
  overflow: hidden;
  overflow: clip;
  box-shadow: rgba(0, 0, 0, 0.45) 0 12px 32px;
  will-change: transform;
  transform-origin: 0 0;
  /* Closed state. The live site animates with a spring; these curves trace it frame by frame
     (opening: opacity eases out over about 0.13s, the 6px slide settles with a slight overshoot
     by 0.3s; closing: the fade and the slide both follow the slide's spring, about 0.15s to
     invisible, as live's exit does). Like the live site, Reduce Motion does not change it. */
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.3s cubic-bezier(0.3, 0.6, 0.35, 1.04),
    transform 0.3s cubic-bezier(0.3, 0.6, 0.35, 1.04);
  transition-timing-function:
    linear(0, 0.0456 5.7%, 0.1994 11.3%, 0.4252 16.7%, 0.6093 22.3%, 0.7564 28%, 0.8684 33.3%, 0.9375 39%, 0.9814 44.7%, 1.004 50%, 1.0133 55.7%, 1.0152 61%, 1.0135 66.7%, 1.0104 72.3%, 1.0074 77.7%, 1.0047 83.3%, 1.0028 89%, 1.0014 94.3%, 1),
    linear(0, 0.0456 5.7%, 0.1994 11.3%, 0.4252 16.7%, 0.6093 22.3%, 0.7564 28%, 0.8684 33.3%, 0.9375 39%, 0.9814 44.7%, 1.004 50%, 1.0133 55.7%, 1.0152 61%, 1.0135 66.7%, 1.0104 72.3%, 1.0074 77.7%, 1.0047 83.3%, 1.0028 89%, 1.0014 94.3%, 1);
}
.site-menu__panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-menu-border);
  border-radius: inherit;
  pointer-events: none;
}
.site-menu.is-open .site-menu__panel {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.134s cubic-bezier(0.5, 1, 0.89, 1),
    transform 0.3s cubic-bezier(0.3, 0.6, 0.35, 1.04);
  transition-timing-function:
    cubic-bezier(0.5, 1, 0.89, 1),
    linear(0, 0.0456 5.7%, 0.1994 11.3%, 0.4252 16.7%, 0.6093 22.3%, 0.7564 28%, 0.8684 33.3%, 0.9375 39%, 0.9814 44.7%, 1.004 50%, 1.0133 55.7%, 1.0152 61%, 1.0135 66.7%, 1.0104 72.3%, 1.0074 77.7%, 1.0047 83.3%, 1.0028 89%, 1.0014 94.3%, 1);
}
.site-menu__item {
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center flex-start;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: min-content;
  padding: 10px 12px;
  position: relative;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0);
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: background-color 0.15s var(--ease-framer);
}
@media (hover: hover) {
  .site-menu__item:hover {
    background-color: rgba(255, 255, 255, 0.06);
  }
}
.site-menu__label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 0 0px;
  width: 1px;
  height: auto;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}
.site-menu__label p {
  margin: 0;
  padding: 0;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: 0;
  color: var(--color-menu-text);
  text-align: start;
}

/* ---------- Footer: shared by both variants ---------- */

.site-footer {
  background-color: var(--color-secondary-black);
  display: flex;
  flex-flow: column;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  height: min-content;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.site-footer__inner,
.site-footer__signup,
.site-footer__intro,
.site-footer__intro-text,
.site-footer__contact,
.site-footer__contact-main,
.site-footer__details {
  height: min-content;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-flow: column;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  position: relative;
}
.site-footer__inner {
  gap: 36px;
}
.site-footer__signup {
  gap: 24px;
}
.site-footer__intro {
  gap: 20px;
}
.site-footer__intro-text {
  gap: 10px;
}
.site-footer__contact {
  gap: 28px;
}
.site-footer__contact-main {
  gap: 25px;
}
.site-footer__details {
  gap: 16px;
}

/* Text boxes behave like Framer's rich-text containers (a flex column holding one block). */
.site-footer__text-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 auto;
  height: auto;
  position: relative;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  outline: none;
}
.site-footer__text-box--full {
  width: 100%;
}
.site-footer__text-box--wide {
  width: 100%;
  max-width: 650px;
}
.site-footer__text-box--auto {
  width: auto;
  max-width: 650px;
}

.site-footer__heading {
  margin: 0;
  padding: 0;
  font-family: var(--font-dm-sans);
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
  line-height: 110%;
  letter-spacing: -0.5px;
  color: var(--color-text);
  text-align: center;
  text-transform: none;
  text-decoration: none;
}
.site-footer__text {
  margin: 0;
  padding: 0;
  font-family: var(--font-dm-sans);
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: 0;
  color: var(--color-text-grey);
  text-align: center;
}
.site-footer__text strong {
  font-family: var(--font-dm-sans);
  font-style: normal;
  font-weight: 400;
}
.site-footer__small {
  margin: 0;
  padding: 0;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: 0;
  color: var(--color-text-grey);
  text-align: center;
}
.site-footer__link {
  color: var(--color-text);
  font-family: var(--font-dm-sans);
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.site-footer__link strong {
  font-weight: 400;
}
.site-footer__link:hover {
  color: var(--color-link-hover);
}

/* Email signup */
.site-footer__form {
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: min-content;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.site-footer__field {
  display: flex;
  flex-flow: column;
  flex: 1 0 0px;
  place-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  width: 1px;
  max-width: 250px;
  height: min-content;
  padding: 0;
  position: relative;
}
.site-footer__input-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  height: 48px;
  padding: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(187, 187, 187, 0.15);
}
.site-footer__input-wrap::after {
  content: "";
  pointer-events: none;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(136, 136, 136, 0.1);
  border-radius: 10px;
}
.site-footer__input-wrap:focus-within::after {
  border-color: #09f;
}
.site-footer__input {
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "DM Sans";
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2em;
  letter-spacing: 0;
  color: #999;
  appearance: none;
  -webkit-appearance: none;
}
.site-footer__input::placeholder {
  color: #999;
  opacity: 1;
}
.site-footer__input:focus-visible {
  outline: none;
}
.site-footer__submit-box {
  flex: 0 0 auto;
  width: auto;
  height: 48px;
  position: relative;
}
.site-footer__submit {
  display: flex;
  flex-flow: row;
  place-content: center;
  align-items: center;
  gap: 0;
  width: 144px;
  height: 100%;
  margin: 0;
  padding: 0 48px;
  border: 0;
  border-radius: 9999px;
  position: relative;
  overflow: visible;
  background-color: var(--color-blue);
  opacity: 1;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-framer);
}
@media (hover: hover) {
  .site-footer__submit[data-state="idle"]:hover {
    background-color: var(--color-button-hover);
  }
}
.site-footer__submit[data-state="idle"]:active {
  background-color: var(--color-button-pressed);
}
.site-footer__submit-label {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  position: relative;
  white-space: pre;
  user-select: none;
  -webkit-user-select: none;
}
.site-footer__submit-label p {
  margin: 0;
  padding: 0;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: 0;
  color: #fff;
  text-align: start;
}
/* Sending: the live button drops its label and shows a spinner whose mask image is missing
   on Framer's CDN, so in practice it is an empty blue pill. Copied as it looks. */
.site-footer__submit[data-state="sending"] {
  cursor: auto;
}
.site-footer__submit[data-state="sending"] .site-footer__submit-label {
  display: none;
}
.site-footer__submit[data-state="success"] {
  background-color: var(--color-button-success);
  padding: 0;
  cursor: auto;
}
.site-footer__hp {
  position: absolute;
  transform: scale(0);
}
/* The "Enable JavaScript" line: Framer's reset gives it no margin, so the phone footer is not
   24px taller without JavaScript. */
.site-footer__form noscript p {
  margin: 0;
}

/* Social icons */
.site-footer__social {
  height: min-content;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 24px;
  width: min-content;
  padding: 0;
  position: relative;
}
.site-footer__icon {
  display: block;
  flex: 0 0 auto;
  height: auto;
  position: relative;
  overflow: visible;
  opacity: 0.85;
  text-decoration: none;
}
.site-footer__icon--ig {
  width: 32px;
  aspect-ratio: 0.997573 / 1;
}
.site-footer__icon--fb {
  width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}
.site-footer__icon--li {
  display: flex;
  flex-flow: row;
  place-content: center;
  align-items: center;
  gap: 10px;
  width: 35px;
  aspect-ratio: 1.07831 / 1;
  padding: 0;
  border-radius: 8px;
}

.site-footer__logo {
  display: block;
  flex: 0 0 auto;
  width: 132px;
  height: 37px;
  position: relative;
  overflow: visible;
  text-decoration: none;
}
.site-footer__links {
  height: min-content;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-flow: wrap;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 6px 12px;
  width: 100%;
  padding: 0;
  position: relative;
}
.site-footer__legal {
  height: min-content;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-flow: row;
  flex: 0 0 auto;
  place-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  position: relative;
}

/* ---------- Footer: mountain variant (Partners, Terms, Privacy) ---------- */

.site-footer--mountain {
  background-color: transparent;
}
.site-footer__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.site-footer__bg img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-position: right bottom;
  object-fit: cover;
}

/* ---------- Footer: phone layout ---------- */

@media (max-width: 1199.98px) {
  .site-footer {
    padding: 56px 32px 64px;
  }
  .site-footer--mountain {
    background-color: var(--color-secondary-black);
  }
  .site-footer__bg {
    display: none;
  }
  .site-footer__inner,
  .site-footer__social {
    gap: 32px;
  }
  .site-footer__intro-text {
    gap: 8px;
  }
  .site-footer__form {
    flex-direction: column;
  }
  .site-footer__field {
    flex: 0 0 auto;
    width: 100%;
  }
  .site-footer__submit-box {
    width: 250px;
  }
  .site-footer__submit {
    width: 100%;
  }
  .site-footer__contact,
  .site-footer__contact-main {
    gap: 24px;
  }
}
@media (max-width: 1199px) {
  .site-footer__heading {
    font-size: 22px;
  }
  .site-footer__text {
    font-size: 18px;
  }
}
