@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@500;600&family=Nunito+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: dark light;
  --ink: #101113;
  --paper: #eff0ed;
  --mist: rgba(255, 255, 255, 0.68);
  --soft: rgba(16, 17, 19, 0.64);
  --line: rgba(255, 255, 255, 0.22);
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --round: "Nunito Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0f1012;
  color: var(--paper);
  font-family: var(--round);
  font-size: 16px;
}

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

.shell {
  min-height: 100vh;
  background: #0f1012;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero-light {
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background: var(--paper);
}

.hero-light::after {
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.74), transparent 28%),
    linear-gradient(90deg, rgba(238, 239, 235, 0.86), rgba(238, 239, 235, 0.24) 52%, rgba(238, 239, 235, 0.72));
}

.hero-dark {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 92svh;
  background: #101113;
}

.hero-dark::after {
  background:
    radial-gradient(circle at 66% 48%, rgba(14, 15, 17, 0.04), rgba(14, 15, 17, 0.7) 42%, rgba(14, 15, 17, 0.98) 78%),
    linear-gradient(90deg, rgba(15, 16, 18, 0.98), rgba(15, 16, 18, 0.74) 45%, rgba(15, 16, 18, 0.1));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-bg-portrait {
  display: none;
}

.hero-light .hero-bg {
  opacity: 0.82;
  filter: saturate(0.94) contrast(0.96);
}

.hero-dark .hero-bg {
  opacity: 0.78;
  filter: saturate(0.88) contrast(1.08) brightness(0.74);
  transform: scaleX(-1);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.05)),
    repeating-radial-gradient(circle at 23% 41%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.pixel-mask {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.68;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0 10px, transparent 10px 22px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0 10px, transparent 10px 22px);
  background-position:
    calc(50% + 2px) calc(50% + 1px),
    calc(50% - 3px) calc(50% + 4px);
  background-size:
    66px 66px,
    66px 66px;
  mask-image:
    radial-gradient(ellipse at 42% 52%, black 0 13%, transparent 33%),
    linear-gradient(112deg, transparent 0 22%, black 44% 54%, transparent 76%);
  -webkit-mask-image:
    radial-gradient(ellipse at 42% 52%, black 0 13%, transparent 33%),
    linear-gradient(112deg, transparent 0 22%, black 44% 54%, transparent 76%);
  mix-blend-mode: screen;
}

.pixel-mask-light {
  opacity: 0.5;
  filter: blur(0.2px);
}

.pixel-mask-dark {
  opacity: 0.72;
  background-size:
    54px 54px,
    54px 54px;
  mask-image:
    radial-gradient(ellipse at 62% 52%, black 0 15%, transparent 34%),
    linear-gradient(126deg, transparent 0 40%, black 54% 66%, transparent 82%);
  -webkit-mask-image:
    radial-gradient(ellipse at 62% 52%, black 0 15%, transparent 34%),
    linear-gradient(126deg, transparent 0 40%, black 54% 66%, transparent 82%);
}

.nav,
.lower {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  font-family: var(--round);
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
}

.nav a,
.lower a {
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav a:hover,
.lower a:hover,
.quiet-link:hover {
  opacity: 0.7;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--pixel);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
  text-transform: lowercase;
}

.brand-lockup {
  align-self: center;
  width: min(780px, 100%);
  margin-left: clamp(0px, 5vw, 84px);
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  color: #111214;
  font-family: var(--pixel);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.86;
}

.brand-lockup p {
  margin-top: clamp(14px, 1.8vw, 22px);
  color: rgba(17, 18, 20, 0.82);
  font-family: var(--round);
  font-size: clamp(0.92rem, 1.2vw, 1.18rem);
  font-weight: 700;
  text-transform: uppercase;
}

.quiet-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  padding-right: clamp(0px, 5vw, 96px);
  font-family: var(--round);
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}

.statement {
  align-self: center;
  width: min(700px, 100%);
  margin-left: clamp(0px, 4vw, 72px);
}

.eyebrow {
  margin-bottom: 22px;
  color: rgba(239, 240, 237, 0.58);
  font-family: var(--round);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 600;
  text-transform: uppercase;
}

h2 {
  max-width: 760px;
  font-family: var(--round);
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1;
}

.subcopy {
  max-width: 520px;
  margin-top: clamp(24px, 3vw, 38px);
  color: var(--mist);
  font-family: var(--round);
  font-size: clamp(1.12rem, 1.5vw, 1.55rem);
  font-weight: 500;
}

.lower {
  color: rgba(239, 240, 237, 0.76);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 9vw, 132px) clamp(24px, 6vw, 84px);
}

.section-light {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 104px);
  color: var(--ink);
  background: #f2f3ef;
}

.section-copy {
  max-width: 720px;
}

.section-copy h2,
.mode-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 1.04;
}

.kicker {
  margin-bottom: 18px;
  color: rgba(16, 17, 19, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-dark .kicker,
.mode-copy .kicker {
  color: rgba(239, 240, 237, 0.62);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 52px 0.34fr 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(16, 17, 19, 0.16);
}

.feature-list article:last-child {
  border-bottom: 1px solid rgba(16, 17, 19, 0.16);
}

.feature-list span {
  color: rgba(16, 17, 19, 0.42);
  font-size: 0.78rem;
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.1;
}

.feature-list p,
.mode-copy p,
.section-copy > p:not(.kicker) {
  margin: 0;
  color: rgba(16, 17, 19, 0.66);
  font-size: clamp(0.98rem, 1.2vw, 1.16rem);
  line-height: 1.6;
}

.section-image {
  display: grid;
  min-height: 74svh;
  place-items: center end;
  color: var(--paper);
  background: #111214;
}

.section-image > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(0.9) brightness(0.72);
}

.section-image::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.94), rgba(17, 18, 20, 0.54) 52%, rgba(17, 18, 20, 0.18)),
    radial-gradient(circle at 78% 48%, rgba(255, 255, 255, 0.12), transparent 32%);
}

.pixel-mask-field {
  z-index: -1;
  opacity: 0.6;
  mask-image:
    radial-gradient(ellipse at 70% 54%, black 0 18%, transparent 36%),
    linear-gradient(104deg, transparent 0 34%, black 48% 66%, transparent 82%);
  -webkit-mask-image:
    radial-gradient(ellipse at 70% 54%, black 0 18%, transparent 36%),
    linear-gradient(104deg, transparent 0 34%, black 48% 66%, transparent 82%);
}

.mode-copy {
  width: min(560px, 100%);
}

.mode-copy h2 {
  margin-bottom: 24px;
}

.mode-copy p:not(.kicker) {
  color: rgba(239, 240, 237, 0.74);
}

.section-dark {
  display: grid;
  grid-template-columns: 64px minmax(260px, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: 58svh;
  background:
    linear-gradient(135deg, #101113, #17181a 48%, #0d0e10);
}

.closing-mark {
  font-family: var(--pixel);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.8;
}

.section-dark .section-copy > p:not(.kicker) {
  margin-top: 24px;
  color: rgba(239, 240, 237, 0.64);
}

.access-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(239, 240, 237, 0.28);
  border-radius: 999px;
  color: rgba(239, 240, 237, 0.84);
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.access-link:hover {
  color: var(--ink);
  background: rgba(239, 240, 237, 0.88);
}

@media (max-width: 780px) {
  .hero {
    padding: 22px;
  }

  .hero-bg-wide {
    display: none;
  }

  .hero-bg-portrait {
    display: block;
  }

  .hero-light::after {
    background:
      linear-gradient(180deg, rgba(238, 239, 235, 0.92), rgba(238, 239, 235, 0.24) 48%, rgba(238, 239, 235, 0.82)),
      radial-gradient(circle at 68% 35%, rgba(255, 255, 255, 0.58), transparent 34%);
  }

  .nav {
    font-size: 0.78rem;
  }

  .brand-lockup,
  .statement {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 5.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 3.6rem);
  }

  .quiet-link {
    justify-self: start;
    padding-right: 0;
  }

  .lower {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-light,
  .section-dark {
    grid-template-columns: 1fr;
  }

  .feature-list article {
    grid-template-columns: 42px 1fr;
  }

  .feature-list p {
    grid-column: 2;
  }

  .section-image {
    place-items: end start;
  }
}

@media (max-width: 440px) {
  .nav a {
    display: none;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }
}
