@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-v20.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-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-v20.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;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin-ext-v5.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-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin-v5.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;
}

:root {
  --bg: #08080a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --glass-raise: rgba(35, 35, 43, 0.55);
  --glass-blur: blur(16px) saturate(125%);

  --text: #f4f2ee;
  --text-muted: #9e9890;
  --text-dim: #948d84;

  --gold-300: #f0d791;
  --gold: #d9b24c;
  --gold-600: #a87f24;
  --gold-faint: rgba(217, 178, 76, 0.09);
  --link-line: rgba(240, 215, 145, 0.34);

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.95rem);
  --step-0: clamp(1rem, 0.95rem + 0.22vw, 1.14rem);
  --step-1: clamp(1.1rem, 1.02rem + 0.35vw, 1.35rem);
  --step-3: clamp(2.2rem, 1.35rem + 3.5vw, 4.4rem);
  --step-btn: clamp(0.98rem, 1.08vw, 1.25rem);

  --shell: 1180px;
  --shell-wide: 1340px;
  --shell-narrow: 760px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --rim: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 70%),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.36),
      rgba(255, 255, 255, 0.16) 30%,
      rgba(255, 255, 255, 0.16) 70%,
      rgba(255, 255, 255, 0.28)
    );
  --rim-lit: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 60%),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.21) 0%,
      rgba(255, 255, 255, 0.23) 58%,
      rgba(217, 178, 76, 0.52) 92%,
      rgba(240, 215, 145, 0.64) 100%
    );
  --rim-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  --rim-inner: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --rim-soft: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.03) 38%,
    rgba(255, 255, 255, 0.02) 72%,
    rgba(255, 255, 255, 0.06)
  );

  --glow-blinds: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0px,
    rgba(0, 0, 0, 1) 14px,
    rgba(0, 0, 0, 0.62) 34px,
    rgba(0, 0, 0, 0.62) 48px,
    rgba(0, 0, 0, 0.96) 62px,
    rgba(0, 0, 0, 0.96) 74px,
    rgba(0, 0, 0, 0.7) 88px,
    rgba(0, 0, 0, 0.7) 100px,
    rgba(0, 0, 0, 1) 118px,
    rgba(0, 0, 0, 1) 132px
  );

  --hero-foot-fade: linear-gradient(
    180deg,
    #000 62%,
    rgba(0, 0, 0, 0.62) 84%,
    rgba(0, 0, 0, 0.22) 96%,
    rgba(0, 0, 0, 0.08) 100%
  );

  --blinds-soft: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.52) 0px,
    rgba(0, 0, 0, 0.52) 14px,
    rgba(0, 0, 0, 1) 34px,
    rgba(0, 0, 0, 1) 48px,
    rgba(0, 0, 0, 0.6) 62px,
    rgba(0, 0, 0, 0.6) 74px,
    rgba(0, 0, 0, 0.94) 88px,
    rgba(0, 0, 0, 0.94) 100px,
    rgba(0, 0, 0, 0.66) 118px,
    rgba(0, 0, 0, 0.66) 132px
  );

  --ambient: radial-gradient(
      72% 54% at 98% 2%,
      rgba(217, 178, 76, 0.105) 0%,
      rgba(199, 160, 63, 0.055) 30%,
      rgba(140, 110, 34, 0.022) 58%,
      transparent 80%
    ),
    radial-gradient(
      64% 48% at 2% 58%,
      rgba(217, 178, 76, 0.095) 0%,
      rgba(184, 148, 55, 0.04) 34%,
      transparent 74%
    ),
    radial-gradient(
      54% 34% at 84% 102%,
      rgba(217, 178, 76, 0.075) 0%,
      transparent 72%
    );

  --shadow-lift: 0 1px 1px rgba(0, 0, 0, 0.4), 0 18px 40px -18px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 10px 30px -12px rgba(217, 178, 76, 0.45);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 6rem;
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--ambient);
  -webkit-mask-image: var(--blinds-soft);
  mask-image: var(--blinds-soft);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.008em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(217, 178, 76, 0.28);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 100;
  transform: translate(-50%, -120%);
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: #100c02;
  font-size: var(--step--1);
  font-weight: 600;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide {
  max-width: var(--shell-wide);
}

.shell--narrow {
  max-width: var(--shell-narrow);
}

.rim {
  position: relative;
}

.rim::before,
.section__kicker::before,
.btn--outline::before,
.btn--ghost::before,
.demo-card::before,
.nav__toggle::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--rim);
  -webkit-mask: var(--rim-mask);
  mask: var(--rim-mask);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.eyebrow,
.section__kicker {
  --rim: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.1)),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.19),
      rgba(255, 255, 255, 0.045) 34%,
      rgba(255, 255, 255, 0.045) 66%,
      rgba(255, 255, 255, 0.17)
    );
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.55rem, 0.914vw, 16px);
  padding: 0 clamp(0.75rem, 1.143vw, 20px) 0 clamp(0.7rem, 1.086vw, 19px);
  min-height: clamp(30px, 2.171vw, 38px);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 13, 0.72);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.81rem, 0.977vw, 17.1px);
  font-weight: 500;
  letter-spacing: -0.003em;
}

.eyebrow__dot,
.section__kicker::after {
  flex-shrink: 0;
  width: clamp(5px, 0.4vw, 7px);
  height: clamp(5px, 0.4vw, 7px);
  border-radius: 50%;
  background: var(--gold);
}

.section__kicker {
  margin-bottom: clamp(1.1rem, 1.8vw, 1.6rem);
}

.section__kicker::after {
  content: "";
  order: -1;
}

.section__title {
  font-size: var(--step-3);
  max-width: 20ch;
  letter-spacing: -0.035em;
}

.section__title em {
  color: var(--gold-300);
}

.section__lede {
  margin-top: 1.1rem;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: var(--step-1);
  line-height: 1.6;
}
