@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
/* Jost stands in for Futura Medium used in the PSD. */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --fz-yellow: #FFF200;
  --fz-cyan: #00AEEF;
  --fz-navy: #001B41;
  --fz-black: #231F20;

  --slate-900: #2B303D;
  --slate-700: #4A5061;
  --slate-500: #6B7080;

  --text: #FFFFFF;
  --text-soft: rgba(255, 255, 255, .86);
  --text-muted: rgba(255, 255, 255, .7);

  --field-bg: rgba(255, 255, 255, .16);
  --field-bg-hover: rgba(255, 255, 255, .22);
  --field-bg-focus: rgba(255, 255, 255, .26);
  --field-border: rgba(255, 255, 255, 0);
  --field-border-focus: rgba(255, 255, 255, .75);
  --error: #FF8A8A;
  --error-strong: #E5484D;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Jost", "Futura", "Century Gothic", sans-serif;

  --radius: 6px;
  --field-h: 2.75rem;
  --gap: .75rem;
  --form-w: 37.5rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #7E828E;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  /* No background here: it would paint over the fixed .backdrop layer. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }

.icon { width: 1em; height: 1em; flex: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--fz-cyan);
  outline-offset: 3px;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #7E828E;
}

.backdrop::before {
  content: "";
  position: absolute;
  /* Oversized so the drift never shows an edge. */
  inset: -6%;
  background:
    radial-gradient(40% 38% at 6% 6%, rgba(250, 250, 251, 1) 0%, rgba(250, 250, 251, .5) 35%, rgba(250, 250, 251, 0) 100%),
    radial-gradient(30% 34% at 14% 32%, rgba(206, 209, 215, .9) 0%, rgba(206, 209, 215, 0) 100%),
    radial-gradient(26% 40% at 7% 56%, rgba(200, 203, 209, .95) 0%, rgba(200, 203, 209, 0) 100%),
    radial-gradient(38% 36% at 94% 94%, rgba(222, 223, 226, .9) 0%, rgba(222, 223, 226, .4) 35%, rgba(222, 223, 226, 0) 100%),
    radial-gradient(30% 22% at 50% 92%, rgba(176, 179, 186, .5) 0%, rgba(176, 179, 186, 0) 100%),
    radial-gradient(36% 40% at 76% 24%, rgba(48, 54, 72, .9) 0%, rgba(48, 54, 72, .5) 45%, rgba(48, 54, 72, 0) 100%),
    radial-gradient(26% 34% at 84% 54%, rgba(62, 68, 86, .7) 0%, rgba(62, 68, 86, 0) 100%),
    radial-gradient(48% 42% at 52% 46%, rgba(76, 82, 98, 1) 0%, rgba(76, 82, 98, 0) 100%),
    linear-gradient(180deg, #7F838F 0%, #6E7381 55%, #868A95 100%);
  animation: drift 12s var(--ease-in-out) infinite alternate;
  will-change: transform;
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='3' intercept='-1'/%3E%3CfeFuncG type='linear' slope='3' intercept='-1'/%3E%3CfeFuncB type='linear' slope='3' intercept='-1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .26;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.04); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    max(4.75rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(6.5rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
  text-align: center;
}

.brand { margin-bottom: auto; } /* with the footer's auto margin, centres the content on tall screens */

.brand__logo {
  width: clamp(11.5rem, 22vw, 17.8rem);
  height: auto;
}

.hero {
  margin-top: clamp(4rem, 11vw, 8.9rem);
  max-width: 44rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.6vw, 4.125rem);
  line-height: .95;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(30, 34, 46, .18);
}

.hero__line { display: block; }

.hero__word {
  display: inline-block;
  padding-inline: .02em;
}

.hero__word em {
  font-style: italic;
  padding-right: .06em;
}

.hero__intro {
  margin: 3rem auto 0;
  max-width: 33rem;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-soft);
  text-wrap: pretty;
  text-shadow: 0 1px 14px rgba(30, 34, 46, .35);
}

.inquiry {
  width: 100%;
  max-width: var(--form-w);
  margin-top: clamp(3.5rem, 8vw, 6rem);
  text-align: left;
}

.inquiry__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.form { position: relative; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.field { position: relative; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field__control {
  display: block;
  width: 100%;
  height: var(--field-h);
  padding: 0 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  appearance: none;
  transition:
    background-color .3s var(--ease-out),
    border-color .3s var(--ease-out),
    box-shadow .3s var(--ease-out),
    transform .3s var(--ease-out);
}

.field__control::placeholder { color: var(--text-soft); opacity: 1; }
.field__control:hover { background: var(--field-bg-hover); }
.field__control:focus {
  outline: none;
  background: var(--field-bg-focus);
  border-color: var(--field-border-focus);
  box-shadow: 0 8px 24px -12px rgba(20, 24, 36, .55);
}

.field__control:-webkit-autofill,
.field__control:-webkit-autofill:hover,
.field__control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 9999s ease-out 0s;
  box-shadow: inset 0 0 0 100px rgba(120, 126, 140, .6);
}

.field--select .field__control { padding-right: 2.75rem; cursor: pointer; }
.field--select .field__control:invalid,
.field--select .field__control option[value=""] { color: var(--text-soft); }
.field--select option { color: var(--fz-black); background: #fff; }
.field__chevron {
  position: absolute;
  right: .9rem;
  top: calc(var(--field-h) / 2);
  width: 1.15rem;
  height: 1.15rem;
  translate: 0 -50%;
  pointer-events: none;
  transition: transform .3s var(--ease-out), color .2s;
}
.field--select.is-open .field__chevron { transform: rotate(180deg); color: var(--fz-cyan); }

.select__native {
  position: absolute;
  inset: 0 0 auto;
  height: var(--field-h);
  opacity: 0;
  pointer-events: none;
}
.select__button {
  display: flex;
  align-items: center;
  text-align: left;
}
.field--select.is-open .select__button {
  background: var(--field-bg-focus);
  border-color: var(--field-border-focus);
}
.select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__value.is-placeholder { color: var(--text-soft); }

.select__list {
  position: absolute;
  top: calc(var(--field-h) + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: min(22rem, 60vh);
  margin: 0;
  padding: .35rem 0;
  list-style: none;
  overflow-y: auto;
  outline: none;
  scrollbar-color: rgba(255, 255, 255, .3) transparent;
  animation: error-in .25s var(--ease-out);
}
.field--select.opens-up .select__list { top: auto; bottom: calc(var(--field-h) + 6px); }
.select__list[hidden] { display: none; }

.select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1rem;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .15s;
}
.select__group {
  padding: .7rem 1rem .3rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.select__group:not(:first-child) { margin-top: .25rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.select__option.is-active { background: var(--iti-hover-color); }
.select__option[aria-selected="true"] { background: rgba(0, 174, 239, .3); }
.select__check {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--fz-cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.select__option[aria-selected="true"] .select__check { opacity: 1; }

.field.is-invalid .field__control,
.field__control[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.field__error {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
  font-size: .8rem;
  line-height: 1.3;
  color: #fff;
  animation: error-in .35s var(--ease-out);
}
.field__error[hidden] { display: none; }
.field__error .icon { color: var(--error-strong); width: .95rem; height: .95rem; }

.form__message {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .7rem .9rem;
  font-size: .875rem;
  border-radius: var(--radius);
  background: rgba(229, 72, 77, .28);
  border: 1px solid rgba(255, 138, 138, .6);
  animation: error-in .35s var(--ease-out);
}
.form__message[hidden] { display: none; }
.form__message .icon { color: var(--error-strong); width: 1.1rem; height: 1.1rem; }

.field.is-shaking { animation: shake .45s var(--ease-out); }

@keyframes error-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
@keyframes shake {
  20% { transform: translateX(-5px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions { margin-top: 1rem; }

.form__legal {
  margin-top: .85rem;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.form__legal a { color: var(--text-soft); text-underline-offset: 2px; }
.form__legal a:hover { color: #fff; }

/* Hidden badge is allowed by Google when the notice text is shown. */
.grecaptcha-badge { visibility: hidden !important; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.75rem;
  height: var(--field-h);
  padding: 0 1.75rem;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .2s var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.button:hover { color: var(--slate-900); border-color: #fff; }
.button:hover::before { transform: none; }
.button:active { transform: scale(.98); }

.button__label { transition: opacity .2s, transform .3s var(--ease-out); }

.button__spinner {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s;
}

.button.is-loading { pointer-events: none; }
.form__grid { transition: opacity .3s var(--ease-out); }
.form.is-submitting .form__grid { opacity: .55; }
.button.is-loading .button__label { opacity: 0; transform: translateY(-4px); }
.button.is-loading .button__spinner { opacity: 1; animation: spin .7s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Panel can render outside .iti, so no nested selectors. */
:root {
  --iti-border-color: rgba(255, 255, 255, .14);
  --iti-country-selector-bg: #3A3F4D;
  --iti-hover-color: rgba(255, 255, 255, .08);
  --iti-icon-color: rgba(255, 255, 255, .7);
  --iti-spacer-horizontal: 1rem;
}

.iti { display: block; width: 100%; }

.iti__selected-country,
.iti__selected-country:hover,
.iti__selected-country[aria-expanded="true"] { background: transparent; }
.iti__selected-dial-code { color: var(--text); font-weight: 500; font-size: .95rem; }
.iti__selected-country { --iti-icon-color: #fff; }
.iti__selected-country[aria-expanded="true"] { --iti-icon-color: var(--fz-cyan); }
.iti__arrow { transition: border-color .2s; }
.iti:has(.iti__selected-country:hover) .field__control { background: var(--field-bg-hover); }
.iti__flag { border-radius: 2px; }

.iti__country-selector,
.select__list {
  color: var(--text);
  background: rgba(52, 57, 70, .97);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -12px rgba(10, 12, 20, .6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.select__list { overflow-y: auto; }
.iti--inline-country-selector .iti__country-selector,
.iti--detached-country-selector .iti__country-selector { margin-top: 6px; animation: error-in .25s var(--ease-out); }

.iti__search-input {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  outline: none;
}
.iti__search-input::placeholder { color: var(--text-muted); }
.iti__country-list { scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.iti__country { font-size: .9rem; color: var(--text); }
.iti__country-name { color: var(--text); }
.iti__country.iti__highlight { background: rgba(0, 174, 239, .3); }
.iti__dial-code { color: var(--text-muted); }
.iti__country-check-svg { color: var(--fz-cyan); }
.iti__no-results { color: var(--text-muted); }

.iti--fullscreen-popup.iti--detached-country-selector { background: rgba(20, 23, 32, .6); }
.iti__close-button { color: #fff; }

.site-footer {
  margin-top: auto;
  padding-top: clamp(3.5rem, 8vw, 6rem);
}

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.25rem;
}

.social__handle { font-size: 1.05rem; font-weight: 500; }

.social__list {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social__link {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  transition: background-color .3s var(--ease-out), transform .3s var(--ease-out), color .3s;
}
.social__link .icon { width: 1.15rem; height: 1.15rem; }
.social__link:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

.site-footer__domain {
  margin-top: 1.4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(4rem, 10vw, 7.5rem);
  max-width: 36rem;
}

.thanks__check {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.6rem;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks__status {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-soft);
}

.thanks__title { margin-top: 2.25rem; }
.thanks .hero__intro { margin-top: 1.4rem; }
.thanks .button { margin-top: 1.9rem; }
.page--thanks .site-footer,
.page--404 .site-footer { padding-top: 2.5rem; }

/* Visible without JS; main.js adds .is-ready to play the entrance. */

.js [data-reveal],
.js .hero__word {
  opacity: 0;
}

.js [data-reveal] {
  transform: translateY(18px);
  transition:
    opacity .9s var(--ease-out) var(--d, 0s),
    transform .9s var(--ease-out) var(--d, 0s);
}
.js .brand[data-reveal] { transform: translateY(-14px); }

.js .hero__word {
  transform: translateY(.45em);
  filter: blur(8px);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out),
    filter .9s var(--ease-out);
  transition-delay: calc(.25s + var(--i, 0) * .09s);
}

.is-ready [data-reveal],
.is-ready .hero__word {
  opacity: 1;
  transform: none;
  filter: none;
}

.thanks__ring { stroke-dasharray: 151; stroke-dashoffset: 151; opacity: .9; }
.thanks__tick { stroke-dasharray: 32; stroke-dashoffset: 32; stroke-width: 2; }
.is-ready .thanks__ring { animation: draw .9s var(--ease-in-out) .2s forwards; }
.is-ready .thanks__tick { animation: draw .5s var(--ease-out) .95s forwards; }
.no-js .thanks__ring,
.no-js .thanks__tick,
html:not(.js) .thanks__ring,
html:not(.js) .thanks__tick { stroke-dashoffset: 0; }

@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .backdrop::before { animation: none; }
}

@media (max-width: 600px) {
  :root { --field-h: 3rem; }
  .shell {
    padding-top: max(2.5rem, env(safe-area-inset-top));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .hero { margin-top: 3.25rem; }
  .hero__title { letter-spacing: .035em; }
  .hero__intro { margin-top: 1.75rem; }
  .inquiry { margin-top: 3rem; }
  .inquiry__title { font-size: 1.65rem; }
  .form__grid { grid-template-columns: 1fr; }
  /* 16px stops iOS zooming into fields */
  .field__control, .iti .iti__selected-dial-code, .iti .iti__search-input { font-size: 1rem; }
  .form__actions .button { width: 100%; }
  .site-footer { padding-top: 3.5rem; }
  .shell { padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); }
}

/* Desktop and tablet: gaps share the free height in PSD proportions, so the page fits without scrolling. */
@media (min-width: 601px) {
  :root {
    --content-h: 34rem;
    --free: max(0px, 100vh - var(--content-h));
  }
  .shell {
    padding-top: max(clamp(1.25rem, calc(var(--free) * .15), 4.75rem), env(safe-area-inset-top));
    padding-bottom: max(clamp(1.25rem, calc(var(--free) * .16), 7rem), env(safe-area-inset-bottom));
  }
  .hero { margin-top: clamp(1.5rem, calc(var(--free) * .21), 8.9rem); }
  .hero__intro { margin-top: clamp(1rem, calc(var(--free) * .08), 3rem); }
  .inquiry { margin-top: clamp(1.5rem, calc(var(--free) * .17), 6.25rem); }
  .site-footer { padding-top: clamp(1.5rem, calc(var(--free) * .16), 6rem); }
  .site-footer__domain { margin-top: clamp(.75rem, calc(var(--free) * .04), 1.4rem); }
  .thanks { margin-top: clamp(1.5rem, calc(var(--free) * .25), 7.5rem); }
  :root:has(.form__legal) { --content-h: 37rem; }
}
