@font-face {
  font-family: "Einstein";
  src: url("../fonts/Einstein-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: "Neon";
  src: url("../fonts/Neon-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: "Neon";
  src: url("../fonts/Neon-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "Einstein";
  src: url("../fonts/Einstein-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --ink: #142028;
  --sage: #c6c09c;
  --mist: #e2e4da;
  --stone: #6e756e;
  --paper: #f6f7f4;
  --white: #ffffff;
  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --shadow-low: 0 18px 50px rgba(20, 32, 40, 0.12);
  --shadow-high: 0 32px 90px rgba(20, 32, 40, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --content: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Einstein", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font-family: "Einstein", Arial, sans-serif;
}

.identity-page,
.feed-page,
.landing-page,
.ads-page,
.motion-page,
.reel-page,
.identity-page button,
.feed-page button,
.landing-page button,
.ads-page button,
.motion-page button,
.reel-page button,
.identity-page input,
.feed-page input,
.landing-page input,
.ads-page input,
.motion-page input,
.reel-page input {
  font-family: "Neon", "Einstein", Arial, sans-serif;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

::selection {
  color: var(--paper);
  background: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: var(--content);
  margin-inline: auto;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-ghost {
  border-color: currentColor;
  background: transparent;
}

.studio-nav {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  color: var(--paper);
  background: rgba(20, 32, 40, 0.96);
  border-block-end: 1px solid rgba(246, 247, 244, 0.16);
}

.studio-brand,
.studio-nav-links,
.studio-nav-actions {
  display: flex;
  align-items: center;
}

.studio-brand {
  justify-self: start;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}

.studio-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(246, 247, 244, 0.42);
  border-radius: 50%;
}

.studio-brand-mark svg {
  width: 17px;
  height: 17px;
}

.studio-nav-links {
  gap: 28px;
  justify-content: center;
}

.studio-nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(246, 247, 244, 0.78);
}

.studio-nav-links a:hover {
  color: var(--paper);
}

.studio-nav-actions {
  justify-self: end;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(246, 247, 244, 0.24);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.studio-footer {
  color: var(--paper);
  background: var(--ink);
  padding-block: clamp(72px, 9vw, 130px) 34px;
}

.studio-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: end;
}

.studio-footer h2 {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.studio-footer-meta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.studio-footer-meta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-block-start: 72px;
  padding-block-start: 24px;
  border-block-start: 1px solid rgba(246, 247, 244, 0.18);
  color: rgba(246, 247, 244, 0.72);
  font-size: 14px;
}

.lumera-surface {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 14%, rgba(198, 192, 156, 0.28), transparent 28%),
    linear-gradient(145deg, var(--paper) 0%, var(--mist) 48%, var(--paper) 100%);
}

.display-title {
  margin: 0;
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 420;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.section-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 470;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.body-large {
  max-width: 66ch;
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
}

.latin {
  direction: ltr;
  unicode-bidi: isolate;
}

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

.device-phone {
  position: relative;
  width: min(320px, 78vw);
  padding: 12px;
  border: 1px solid rgba(246, 247, 244, 0.42);
  border-radius: 40px;
  background: #11191e;
  box-shadow: var(--shadow-high);
}

.device-phone::before {
  content: "";
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 50%;
  z-index: 2;
  width: 84px;
  height: 20px;
  border-radius: 999px;
  background: #0a0e11;
  transform: translateX(-50%);
}

[dir="rtl"] .device-phone::before {
  transform: translateX(50%);
}

.device-phone-screen {
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 30px;
  background: var(--paper);
}

.device-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.device-browser {
  width: min(900px, 100%);
  overflow: hidden;
  border: 1px solid rgba(20, 32, 40, 0.2);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-high);
}

.device-browser-bar {
  display: flex;
  gap: 7px;
  height: 38px;
  align-items: center;
  padding-inline: 16px;
  background: #d8dbd2;
}

.device-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(20, 32, 40, 0.36);
}

.device-browser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 32px, 760px);
  }

  .studio-nav {
    grid-template-columns: 1fr auto;
    min-height: 70px;
    padding-inline: 16px;
  }

  .studio-nav-links {
    position: absolute;
    inset-block-start: 70px;
    inset-inline: 16px;
    display: none;
    padding: 18px;
    border: 1px solid rgba(246, 247, 244, 0.18);
    background: var(--ink);
    box-shadow: var(--shadow-low);
  }

  .studio-nav-links.is-open {
    display: grid;
  }

  .studio-nav-links a {
    padding-inline: 8px;
  }

  .studio-nav-actions .button {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .studio-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .studio-brand bdi {
    font-size: 14px;
  }

  .display-title {
    font-size: clamp(42px, 13.5vw, 64px);
  }

  .section-title {
    font-size: clamp(32px, 10vw, 50px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
