:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #16161c;
  --ink-soft: rgba(22, 22, 28, 0.62);
  --accent: #c9a84c;
  --on-accent: #15130c;
  --border: rgba(20, 20, 28, 0.1);
  --dark-bg: #0d0d12;
  --dark-ink: #faf8f5;
  --dark-soft: rgba(250, 248, 245, 0.6);
  --radius: 1.75rem;
  --radius-sm: 1rem;
  --font-head: "Inter", system-ui, sans-serif;
  --font-drama: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --hero-bg: radial-gradient(
    120% 120% at 78% 4%,
    #2a2433 0%,
    #15151d 42%,
    #0a0a0f 100%
  );
  --hero-glow: radial-gradient(
    40% 50% at 82% 8%,
    rgba(201, 168, 76, 0.3),
    transparent 70%
  );
  --hero-ink: #faf8f5;
  --hero-sub: rgba(250, 248, 245, 0.62);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-head);
  overflow-x: hidden;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}

.grain-src {
  position: absolute;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.lift {
  transition:
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.35s ease,
    opacity 0.35s ease;
}
.lift:hover {
  transform: translateY(-1px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex: none;
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.5;
  animation: ping 2.4s ease-out infinite;
}
.dot--live {
  background: #2fbf6e;
}
.dot--live::after {
  border-color: #2fbf6e;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  80%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  margin: 0.7rem 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.section__title em {
  font-family: var(--font-drama);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0;
}
.section__lead {
  margin: 1.4rem 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.6rem 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    color 0.5s ease;
  color: var(--hero-ink);
}
.nav--solid {
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.4);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}
.nav__mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}
.nav__mark em {
  font-family: var(--font-drama);
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.nav__word {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0.88;
}
.nav__links {
  display: flex;
  gap: 0.35rem;
}
.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  opacity: 0.82;
}
.nav__link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.langs {
  display: flex;
  gap: 0.4rem;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.75;
}
.lang:hover {
  opacity: 1;
}
.lang--on {
  opacity: 1;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.lang .flag {
  display: block;
  flex: none;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav__word {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg,
.hero__glow,
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg {
  background: var(--hero-bg);
}
.hero__glow {
  background: var(--hero-glow);
  z-index: -1;
}
.hero__vignette {
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.32));
}

.hero__grid {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  align-items: end;
  gap: 2rem;
  padding: 7rem 0 clamp(3rem, 7vh, 6rem);
}
.hero__copy {
  max-width: 42rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--hero-sub);
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
}
.hero__line1 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.35rem, 2.7vw, 2.3rem);
  line-height: 1.08;
  color: var(--hero-ink);
}
.hero__line2 {
  font-family: var(--font-drama);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.3rem, 8.6vw, 7rem);
  line-height: 0.86;
  color: var(--hero-ink);
  letter-spacing: -0.01em;
  margin-top: 0.1rem;
}
.hero__line2 em {
  color: var(--accent);
  font-style: italic;
}
.hero__sub {
  margin: 1.8rem 0 0;
  max-width: 30rem;
  color: var(--hero-sub);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__sub strong {
  color: var(--hero-ink);
  font-weight: 600;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
  will-change: transform;
}
.store:hover {
  transform: scale(1.03);
}
.store:active {
  transform: scale(0.99);
}
.store .fill {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.store:hover .fill {
  transform: translateY(0);
}
.store__inner {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.store__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.store__txt small {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  opacity: 0.82;
  text-transform: uppercase;
}
.store__txt strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.store--ghost {
  color: var(--hero-ink);
  border: 1px solid color-mix(in srgb, var(--hero-ink) 34%, transparent);
}
.store--ghost .fill {
  background: var(--hero-ink);
}
.store--ghost:hover {
  color: var(--dark-bg);
}
.store--soon {
  background: transparent;
  cursor: default;
  opacity: 0.55;
  color: var(--hero-ink);
  border: 1px dashed color-mix(in srgb, var(--hero-ink) 36%, transparent);
}
.store--soon:hover {
  transform: none;
  box-shadow: none;
}

.hero__device {
  justify-self: end;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.phone {
  position: relative;
  width: clamp(220px, 22vw, 296px);
  aspect-ratio: 9 / 19.3;
  background: #0b0b0f;
  border-radius: 44px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 40px 90px -30px rgba(0, 0, 0, 0.7),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #0b0b0f;
  border-radius: 999px;
  z-index: 5;
}
.phone__screen {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: radial-gradient(
    120% 80% at 50% 0%,
    #2b3a52 0%,
    #16203a 55%,
    #0d1428 100%
  );
}
.phone__carousel {
  position: relative;
}
.phone__carousel .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
  user-select: none;
}
.phone__carousel .shot.is-active {
  opacity: 1;
}
.hero__deviceTag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--hero-sub);
  letter-spacing: 0.04em;
}
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-sub);
  z-index: 2;
}
.hero__scroll svg {
  animation: bob 2.2s ease-in-out infinite;
}
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .hero__cta {
    justify-content: center;
  }
  .hero__device {
    justify-self: center;
    margin-top: 1.5rem;
  }
  .phone {
    width: min(260px, 60vw);
  }
  .hero .hero__scroll {
    display: none;
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.features {
  padding: clamp(5rem, 11vw, 9rem) 0;
}
.features__intro,
.process__intro {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.features__grid {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 920px) {
  .features__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

.fcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.3);
}
.fcard__stage {
  position: relative;
  height: 250px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 5%, var(--surface));
  border: 1px solid var(--border);
}
.fcard__meta {
  padding: 0 0.4rem 0.3rem;
}
.fcard__kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.fcard__title {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  margin: 0.5rem 0 0.4rem;
  color: var(--ink);
}
.fcard__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.shuffler {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.4rem;
}
.shuf {
  position: absolute;
  width: min(82%, 230px);
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
}
.shuf--0 {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: none;
  z-index: 30;
}
.shuf--1 {
  transform: translateY(18px) scale(0.94);
  opacity: 0.5;
  filter: blur(1.4px);
  z-index: 29;
  pointer-events: none;
}
.shuf--2 {
  transform: translateY(36px) scale(0.88);
  opacity: 0.24;
  filter: blur(2.8px);
  z-index: 28;
  pointer-events: none;
}
.shuf__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.shuf__q {
  font-family: var(--font-drama);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.18;
  margin: 0.6rem 0 1rem;
  color: var(--ink);
}
.shuf__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.feed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}
.feed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}
.feed__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 700;
}
.feed__path {
  font-size: 0.62rem;
  color: var(--ink-soft);
}
.feed__body {
  flex: 1;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.42rem;
  overflow: hidden;
}
.feed__line {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.feed__line--old {
  color: var(--ink-soft);
  opacity: 0.7;
}
.feed__cursor {
  display: inline-block;
  width: 0.5rem;
  height: 1.02em;
  transform: translateY(0.16em);
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.sched {
  position: absolute;
  inset: 0;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.sched__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 600;
}
.sched__streak {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
}
.sched__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}
.sched__day {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sched__day i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  transition: background 0.3s ease;
}
.sched__day.is-past {
  color: var(--ink);
}
.sched__day.is-past i {
  background: var(--accent);
  opacity: 0.45;
}
.sched__day.is-active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.sched__day.is-active i {
  background: var(--on-accent);
}
.sched__save {
  margin-top: auto;
  border: none;
  cursor: default;
  border-radius: 10px;
  padding: 0.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.sched__save.is-saved {
  background: #2fbf6e;
  color: #fff;
}
.cursorSvg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transform: translate(var(--cx, 30px), var(--cy, 30px)) scale(var(--cs, 1));
  transition:
    transform 0.7s cubic-bezier(0.5, 0, 0.2, 1),
    opacity 0.35s ease;
  margin: -2px 0 0 -2px;
}
.cursorSvg.is-press {
  transition: transform 0.15s ease;
}
.cursorSvg.is-hidden {
  opacity: 0;
}

.philo {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: clamp(7rem, 16vw, 13rem) 0;
  overflow: hidden;
  isolation: isolate;
}
.philo__texture {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  opacity: 0.5;
  transform: translate3d(0, var(--py, 0px), 0);
  background-image:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--accent) 26%, transparent) 0,
      transparent 60%
    ),
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0 38px,
      color-mix(in srgb, var(--dark-ink) 6%, transparent) 38px 39px
    );
  background-size:
    140% 140%,
    80px 80px;
  background-position:
    80% 20%,
    center;
}
.philo__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}
.philo__small {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.02em;
  color: var(--dark-soft);
  margin: 0 0 1.6rem;
  text-transform: uppercase;
}
.philo__big {
  font-family: var(--font-drama);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 8.4rem);
  line-height: 0.94;
  margin: 0;
  letter-spacing: -0.01em;
}
.philo__wordwrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.philo__word {
  display: inline-block;
}
.philo__big em {
  color: var(--accent);
  font-style: italic;
}
.philo__foot {
  margin: 2rem auto 0;
  max-width: 36rem;
  color: var(--dark-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
}

.process {
  padding: clamp(5rem, 11vw, 9rem) 0 0;
}
.process__stack {
  position: relative;
}
.pcard {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.pcard__inner {
  width: min(1100px, calc(100% - 48px));
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  min-height: min(72vh, 560px);
  transform: scale(calc(1 - 0.1 * var(--p, 0)));
  filter: blur(calc(14px * var(--p, 0)));
  opacity: calc(1 - 0.5 * var(--p, 0));
  will-change: transform, filter;
}
.pcard__text {
  display: flex;
  flex-direction: column;
}
.pcard__n {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.pcard__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.6rem;
}
.pcard__title {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 1rem 0 1.1rem;
  color: var(--ink);
}
.pcard__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 30rem;
}
.pcard__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--dark-bg);
  color: var(--dark-ink);
  overflow: hidden;
}
.motif {
  width: 78%;
  height: 78%;
}
.motif__spin {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: spin 26s linear infinite;
}
.motif__spin--rev {
  animation: spin 18s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.motif__scan {
  animation: scan 3.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes scan {
  0% {
    transform: translateY(18px);
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(182px);
    opacity: 0;
  }
}
.motif__wave {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: trace 3s ease-in-out infinite;
}
@keyframes trace {
  0% {
    stroke-dashoffset: 360;
  }
  55%,
  100% {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 820px) {
  .pcard {
    height: auto;
    position: relative;
    padding: 0.8rem;
  }
  .pcard__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pcard__art {
    max-width: 280px;
  }
}

.footer {
  background: var(--dark-bg);
  color: var(--dark-ink);
  border-radius: 4rem 4rem 0 0;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2rem;
}
.footer__top {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-ink) 14%, transparent);
}
.footer__mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.footer__mark em {
  font-family: var(--font-drama);
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.footer__tag {
  margin: 1rem 0 0;
  max-width: 26rem;
  color: var(--dark-soft);
  line-height: 1.6;
  font-size: 0.98rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.footer__col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-soft);
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer__col a {
  display: block;
  padding: 0.32rem 0;
  color: var(--dark-ink);
  opacity: 0.82;
  font-size: 0.95rem;
}
.footer__col a:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: var(--accent);
}
.footer__bottom {
  width: min(1240px, calc(100% - 48px));
  margin: 1.6rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dark-soft);
  opacity: 0.7;
}
@media (max-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .hero [data-hero-stagger] {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .hero.hero-ready [data-hero-stagger] {
  opacity: 1;
  transform: none;
}
.js .hero .hero__eyebrow {
  transition-delay: 0.05s;
}
.js .hero .hero__line1 {
  transition-delay: 0.13s;
}
.js .hero .hero__line2 {
  transition-delay: 0.22s;
}
.js .hero .hero__sub {
  transition-delay: 0.32s;
}
.js .hero .hero__cta {
  transition-delay: 0.42s;
}
.js .hero .hero__device {
  transition-delay: 0.5s;
}

.js .philo__word {
  opacity: 0;
  transform: translateY(106%);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .philo__big.is-in .philo__word {
  opacity: 1;
  transform: none;
}
.js .philo__word {
  transition-delay: calc(var(--word-i, 0) * 0.07s);
}

.js .is-set,
.js .is-set .philo__word {
  /* biome-ignore lint/complexity/noImportantStyles: intentionally overrides animation/transition end-state */
  opacity: 1 !important;
  /* biome-ignore lint/complexity/noImportantStyles: intentionally overrides animation/transition end-state */
  transform: none !important;
  /* biome-ignore lint/complexity/noImportantStyles: intentionally overrides animation/transition end-state */
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lift {
    transition: none;
  }
  .js [data-reveal],
  .js .hero [data-hero-stagger],
  .js .philo__word {
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override must beat animation styles */
    opacity: 1 !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override must beat animation styles */
    transform: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override must beat animation styles */
    transition: none !important;
  }
  .motif__spin,
  .motif__spin--rev,
  .motif__scan,
  .motif__wave,
  .dot::after,
  .feed__cursor,
  .hero__scroll svg {
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion override must beat animation styles */
    animation: none !important;
  }
}
