/* ============ Fonts ============ */
@font-face {
  font-family: 'Suisse Intl Landing';
  src: url('/landing/fonts/SuisseIntl-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Suisse Intl Landing';
  src: url('/landing/fonts/SuisseIntl-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Suisse Intl Landing';
  src: url('/landing/fonts/SuisseIntl-Book.woff2') format('woff2');
  font-weight: 450;
  font-display: swap;
}
@font-face {
  font-family: 'Suisse Intl Landing';
  src: url('/landing/fonts/SuisseIntl-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ============ Tokens (Click Brand Guidelines 2026-V1) ============ */
:root {
  /* the screen's height units, held by the scenes once the page starts (scenes/viewport.js) */
  --vh: 1vh;
  --svh: 1svh;
  --black: #000;
  --white: #fff;
  --blue-600: #003eb8;
  --blue-500: #0259ff;
  --blue-400: #3d79ff;
  --blue-300: #75a0ff;
  --blue-200: #adc6ff;
  --blue-100: #e6eeff;
  --green: #39c355;
  --green-80: #a6e5b3;
  --red: #d85b6e;
  --red-65: #e694a0;
  --yellow: #ee9800;

  --bg: #000;
  /* product panels and cards on the black page */
  --card: rgb(6, 7, 9);
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  /* hairline around product windows: present, never louder than the UI inside */
  --frame: rgba(255, 255, 255, 0.07);
  --line-dash: rgba(255, 255, 255, 0.12);
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.4);

  --font: 'Suisse Intl Landing', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* labels, eyebrows and tags: brand Suisse Intl in caps (was a monospace) */
  --mono: var(--font);

  /* Motion: "Towards Click" and "Away from Click" */
  --ease-to: cubic-bezier(0.55, 0, 0.85, 0.25);
  --ease-away: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1360px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --nav-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* clip, not hidden: on phones anything wider than the screen otherwise widens the layout viewport (and pushes the fixed nav's burger off screen) */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}
/* The old landing document never loaded the app's global reset (its (landing) layout only imports this
   package's styles); the Svelte app's base layer sets `p { text-wrap: pretty }`, headings `balance` and
   `overflow-wrap: break-word`, which re-flow the landing copy. Section rules below opt in where they need it. */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: wrap;
  overflow-wrap: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-weight: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--blue-500);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.green {
  color: var(--green);
}
.sol {
  width: 0.85em;
  height: 0.85em;
  display: inline-block;
  vertical-align: -0.05em;
  color: var(--blue-300);
}

/* ============ Type ============ */
.eyebrow {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  box-shadow: none;
}
.h2 {
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 36ch;
}

/* ============ Buttons ============ */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 2px;
  transition:
    background 0.4s var(--ease-away),
    color 0.4s var(--ease-away),
    border-color 0.4s var(--ease-away),
    transform 0.4s var(--ease-away);
  white-space: nowrap;
  position: relative;
}
.btn .i {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-away);
}
.btn:hover .i {
  transform: translateX(3px);
}
.btn--sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--primary {
  background: var(--blue-500);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-400);
}
.btn--light {
  background: #fff;
  color: #000;
}
.btn--light:hover {
  background: var(--blue-100);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost .i {
  width: 18px;
  height: 18px;
}
.btn--ghost:hover .i {
  transform: none;
}

/* ============ Grain + guides ============ */
/* the layer only overhangs the screen by the furthest its jitter travels (6vw / 6vh): a -50% inset
   made it four screens of blended pixels, which Safari recomposites on every step */
.grain {
  position: fixed;
  inset: -6vh -6vw;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background: url('/landing/img/grain.png');
  background-size: 256px;
  mix-blend-mode: overlay;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-6vw, 4vh);
  }
  40% {
    transform: translate(4vw, -6vh);
  }
  60% {
    transform: translate(-4vw, -2vh);
  }
  80% {
    transform: translate(6vw, 6vh);
  }
  100% {
    transform: translate(0, 0);
  }
}
.guides {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: calc(var(--gutter) - 1px);
}
.guides span {
  width: 1px;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    var(--line-dash) 50%,
    transparent 50%
  );
  background-size: 1px 6px;
  opacity: 0.6;
}

/* scaled fixed-size mock container */
.fit {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  overflow: hidden;
}
.snap {
  position: absolute;
  left: 0;
  top: 0;
  width: 1600px;
  height: 823px;
}
/* a product screen's still (scenes/screens.js) fills its frame: the capture's pixels at the frame's
   own size, under the live capture when there is one */
/* The app's base layer paints img alt text transparent; the landing's images inherit their colour, as in the old package. */
img {
  color: inherit;
}
.still {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.5s var(--ease-away);
}
.nav.is-scrolled,
html:not(.landing-js) .nav {
  background: #000;
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo svg {
  width: 88px;
  height: 26px;
}
.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
}
.nav__links a {
  transition: color 0.3s;
  position: relative;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
}
.nav__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__login {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
}
.nav__login:hover {
  color: #fff;
}
.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: #fff;
  transition: transform 0.4s var(--ease-away);
}
.nav__burger span:first-child {
  top: 15px;
}
.nav__burger span:last-child {
  top: 22px;
}
/* The open burger's cross is drawn by LandingHeader's translate/rotate utilities; a transform here would turn each line twice. */
.mnav {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 49;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) 28px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.45s var(--ease-away);
}
.mnav.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.mnav a:not(.btn) {
  font-size: 28px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mnav .btn {
  margin-top: 18px;
}

@media (max-width: 1040px) {
  .nav__links,
  .nav__login {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .nav__cta .btn {
    display: none;
  }
}

/* ============ Reveal defaults ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
:is(.reduced, html:not(.landing-js)) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ============ lite tier (see perf.js): slower GPUs keep the motion, lose the costliest layers ============ */
html.lite .grain {
  display: none;
}
html.lite .pgrain::before {
  animation: none;
}
html.lite .pblur i {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.lite .btn--ghost,
html.lite .mnav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* the dip to black behind an in-page jump (see main.js) */
.jumpdip {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

html.intro .hero__copy,
html.intro #heroStage,
html.intro .nav__inner {
  visibility: hidden;
}
