:root {
  --ufo-machine-paper: #f2e9d6;
  --ufo-machine-paper-deep: #eadfc8;
  --ufo-machine-ink: #171717;
  --ufo-machine-muted: rgba(23, 23, 23, 0.58);
  --ufo-machine-line: rgba(23, 23, 23, 0.18);
  --ufo-machine-line-strong: rgba(23, 23, 23, 0.34);
  --ufo-machine-gold: #c49b3f;
  --ufo-machine-gold-soft: rgba(196, 155, 63, 0.2);
}

body.ufo-machine-skin-active {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.58), transparent 22rem),
    linear-gradient(180deg, var(--ufo-machine-paper), var(--ufo-machine-paper-deep));
  color: var(--ufo-machine-ink);
  cursor: auto;
}

body.ufo-machine-skin-active #root {
  display: none !important;
}

body.ufo-machine-proofing #root {
  filter: sepia(0.16) contrast(0.96) brightness(1.04);
  transition: filter 900ms ease;
}

.ufo-machine-skin,
.ufo-machine-skin * {
  box-sizing: border-box;
}

.ufo-machine-skin {
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.028) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.32), transparent 50rem),
    var(--ufo-machine-paper);
  background-size: 120px 120px, 120px 120px, auto, auto;
  color: var(--ufo-machine-ink);
  font-family: "Libre Baskerville", Georgia, serif;
}

.ufo-machine-skin::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background:
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(23, 23, 23, 0.025) 23px 24px),
    radial-gradient(circle at 20% 20%, rgba(112, 78, 34, 0.06), transparent 18rem),
    radial-gradient(circle at 80% 64%, rgba(112, 78, 34, 0.06), transparent 20rem);
  mix-blend-mode: multiply;
}

.ufo-machine-skin a {
  color: inherit;
  text-decoration: none;
}

.ufo-machine-frame {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 56px);
}

.ufo-machine-frame::before,
.ufo-machine-frame::after {
  content: "";
  position: fixed;
  top: clamp(36px, 5vw, 76px);
  bottom: clamp(36px, 5vw, 76px);
  width: 1px;
  background: linear-gradient(transparent, var(--ufo-machine-line-strong), transparent);
  pointer-events: none;
}

.ufo-machine-frame::before {
  left: clamp(22px, 3.2vw, 48px);
}

.ufo-machine-frame::after {
  right: clamp(22px, 3.2vw, 48px);
}

.ufo-machine-register,
.ufo-machine-register::before,
.ufo-machine-register::after {
  position: fixed;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 3;
}

.ufo-machine-register {
  border-top: 1px solid var(--ufo-machine-line-strong);
  border-left: 1px solid var(--ufo-machine-line-strong);
}

.ufo-machine-register::before,
.ufo-machine-register::after {
  content: "";
  left: 12px;
  top: -7px;
  width: 1px;
  height: 40px;
  background: var(--ufo-machine-line-strong);
}

.ufo-machine-register::after {
  left: -7px;
  top: 12px;
  width: 40px;
  height: 1px;
}

.ufo-machine-register--tl {
  left: 24px;
  top: 24px;
}

.ufo-machine-register--tr {
  right: 24px;
  top: 24px;
  transform: rotate(90deg);
}

.ufo-machine-register--bl {
  left: 24px;
  bottom: 24px;
  transform: rotate(-90deg);
}

.ufo-machine-register--br {
  right: 24px;
  bottom: 24px;
  transform: rotate(180deg);
}

.ufo-machine-topbar,
.ufo-machine-footer {
  width: min(1180px, calc(100vw - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ufo-machine-topbar {
  padding-top: 12px;
}

.ufo-machine-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.ufo-machine-brand::before {
  content: "US-28";
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ufo-machine-muted);
}

.ufo-machine-nav,
.ufo-machine-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
}

.ufo-machine-nav a,
.ufo-machine-footer-nav a {
  position: relative;
  padding: 8px 0;
}

.ufo-machine-nav a::after,
.ufo-machine-footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--ufo-machine-gold);
  opacity: 0;
  transform: translateX(-50%) scale(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ufo-machine-nav a:hover::after,
.ufo-machine-footer-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.ufo-machine-proof {
  justify-self: end;
  text-align: right;
  color: var(--ufo-machine-muted);
  line-height: 1.45;
}

.ufo-machine-hero {
  width: min(1180px, calc(100vw - 72px));
  margin: clamp(70px, 11vw, 142px) auto clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr) 150px;
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.ufo-machine-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.ufo-machine-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  border: 1px solid var(--ufo-machine-line);
  border-radius: 50%;
  animation: ufoMachineRotate 34s linear infinite;
}

.ufo-machine-logo {
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1;
  display: block;
  background: #050505;
  border-radius: 50%;
  object-fit: contain;
  filter: sepia(0.04) contrast(1.05);
  box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.18), 0 18px 52px rgba(23, 23, 23, 0.08);
}

.ufo-machine-logo-svg {
  width: min(100%, 300px);
  height: auto;
  display: block;
  color: rgba(23, 23, 23, 0.84);
  filter: sepia(0.12) contrast(1.02);
}

.ufo-machine-logo-outer,
.ufo-machine-logo-inner,
.ufo-machine-logo-ship path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ufo-machine-logo-outer {
  stroke-width: 9;
}

.ufo-machine-logo-inner {
  stroke-width: 2;
  opacity: 0.82;
}

.ufo-machine-logo-text {
  fill: currentColor;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.ufo-machine-logo-text--bottom {
  font-size: 16px;
}

.ufo-machine-logo-ship {
  stroke-width: 5;
}

.ufo-machine-logo-ship circle {
  fill: currentColor;
  stroke: none;
}

.ufo-machine-title {
  margin: 0;
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 400;
}

.ufo-machine-subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 30px;
  line-height: 1.34;
}

.ufo-machine-copy {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(23, 23, 23, 0.72);
}

.ufo-machine-rule {
  width: 28px;
  height: 2px;
  margin-top: 24px;
  background: var(--ufo-machine-gold);
}

.ufo-machine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.ufo-machine-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid var(--ufo-machine-line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--ufo-machine-ink);
  font-size: 16px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.ufo-machine-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.28);
}

.ufo-machine-button--primary {
  border-color: rgba(112, 78, 34, 0.18);
  background: linear-gradient(180deg, #d4b069, #c49b3f);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.36);
}

.ufo-machine-spec {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 30px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ufo-machine-muted);
}

.ufo-machine-spec strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ufo-machine-ink);
  font-weight: 600;
}

.ufo-machine-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  line-height: 1.65;
}

.ufo-machine-section {
  width: min(1180px, calc(100vw - 72px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 70px) 0;
  border-top: 1px solid var(--ufo-machine-line);
  position: relative;
}

.ufo-machine-section::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ufo-machine-gold);
  transform: translateX(-50%);
}

.ufo-machine-section-head {
  text-align: center;
  margin-bottom: 34px;
}

.ufo-machine-section-head h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 400;
}

.ufo-machine-section-head p {
  margin: 10px 0 0;
  color: rgba(23, 23, 23, 0.66);
  font-size: 15px;
}

.ufo-machine-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ufo-machine-card {
  min-height: 250px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: 30px 22px;
  border: 1px solid var(--ufo-machine-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ufo-machine-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 155, 63, 0.54);
  background: rgba(255, 255, 255, 0.22);
}

.ufo-machine-card-icon,
.ufo-machine-logic-icon,
.ufo-machine-footer-sigil {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 155, 63, 0.7);
  border-radius: 50%;
  color: var(--ufo-machine-gold);
}

.ufo-machine-card svg,
.ufo-machine-logic-icon svg,
.ufo-machine-footer-sigil svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}

.ufo-machine-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
}

.ufo-machine-card h3 sup {
  font-size: 0.55em;
  line-height: 0;
}

.ufo-machine-card p {
  margin: 0;
  max-width: 22ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(23, 23, 23, 0.68);
}

.ufo-machine-card-arrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--ufo-machine-gold);
  font-size: 26px;
}

.ufo-machine-logic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.ufo-machine-logic-step {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  position: relative;
}

.ufo-machine-logic-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% - 18px);
  top: 50%;
  width: 64px;
  border-top: 1px dashed rgba(23, 23, 23, 0.28);
}

.ufo-machine-logic-copy span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--ufo-machine-muted);
  font-size: 11px;
}

.ufo-machine-logic-copy h3 {
  margin: 3px 0 4px;
  font-size: 22px;
  font-weight: 400;
}

.ufo-machine-logic-copy p {
  margin: 0;
  color: rgba(23, 23, 23, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.ufo-machine-side-note {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0;
  color: rgba(23, 23, 23, 0.5);
  text-transform: uppercase;
}

.ufo-machine-side-note--left {
  left: -70px;
  top: 34px;
}

.ufo-machine-side-note--right {
  right: -78px;
  top: 40px;
  text-align: right;
}

.ufo-machine-footer {
  border-top: 1px solid var(--ufo-machine-line);
  padding: 34px 0 44px;
}

.ufo-machine-footer-brand {
  display: grid;
  grid-template-columns: 34px auto;
  gap: 12px;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.ufo-machine-footer-brand small {
  display: block;
  margin-top: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0;
  color: var(--ufo-machine-gold);
}

.ufo-machine-footer-sigil {
  justify-self: end;
  width: 54px;
  height: 54px;
}

.ufo-machine-hidden-note,
.ufo-proof-hidden-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ufo-machine-skin.is-proof-building {
  animation: ufoMachineProofBuildIn 1.65s ease both;
}

.ufo-machine-proof-rebuild,
.ufo-machine-proof-rebuild * {
  box-sizing: border-box;
}

.ufo-machine-proof-rebuild {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  color: rgba(23, 23, 23, 0.74);
  background:
    radial-gradient(circle at 48% 46%, rgba(244, 237, 222, 0.44), transparent 28rem),
    rgba(242, 233, 214, 0.16);
  transition: opacity 900ms ease;
}

.ufo-machine-proof-rebuild.is-visible {
  opacity: 1;
}

.ufo-machine-proof-rebuild.is-resolving {
  opacity: 0;
  transition-duration: 1500ms;
}

.ufo-proof-grid {
  position: absolute;
  inset: 0;
  opacity: 0.82;
  background:
    linear-gradient(rgba(23, 23, 23, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(196, 155, 63, 0.3) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  background-size: 112px 112px, 112px 112px, auto;
  animation: ufoProofGridArrive 1.8s ease both;
}

.ufo-proof-crop,
.ufo-proof-crop::before,
.ufo-proof-crop::after {
  position: absolute;
  width: 58px;
  height: 58px;
}

.ufo-proof-crop {
  border-top: 1px solid rgba(23, 23, 23, 0.34);
  border-left: 1px solid rgba(23, 23, 23, 0.34);
  opacity: 0;
  animation: ufoProofMarkIn 1.25s ease 220ms both;
}

.ufo-proof-crop::before,
.ufo-proof-crop::after {
  content: "";
  left: 28px;
  top: -16px;
  width: 1px;
  height: 90px;
  background: rgba(23, 23, 23, 0.26);
}

.ufo-proof-crop::after {
  left: -16px;
  top: 28px;
  width: 90px;
  height: 1px;
}

.ufo-proof-crop--tl {
  left: 30px;
  top: 30px;
}

.ufo-proof-crop--tr {
  right: 30px;
  top: 30px;
  transform: rotate(90deg);
}

.ufo-proof-crop--bl {
  left: 30px;
  bottom: 30px;
  transform: rotate(-90deg);
}

.ufo-proof-crop--br {
  right: 30px;
  bottom: 30px;
  transform: rotate(180deg);
}

.ufo-proof-status,
.ufo-proof-spec {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.56);
}

.ufo-proof-status {
  left: clamp(28px, 5vw, 80px);
  top: clamp(96px, 10vw, 150px);
  color: rgba(23, 23, 23, 0.72);
  animation: ufoProofStatusIn 1.2s ease 460ms both;
}

.ufo-proof-status::after {
  content: "";
  display: block;
  width: 88px;
  height: 1px;
  margin-top: 9px;
  background: rgba(196, 155, 63, 0.66);
  transform-origin: left center;
  animation: ufoProofRuleIn 1.1s ease 740ms both;
}

.ufo-proof-spec--left {
  left: clamp(28px, 5vw, 80px);
  bottom: clamp(86px, 9vw, 132px);
  animation: ufoProofStatusIn 1.2s ease 760ms both;
}

.ufo-proof-spec--right {
  right: clamp(28px, 5vw, 80px);
  top: clamp(96px, 10vw, 150px);
  text-align: right;
  animation: ufoProofStatusIn 1.2s ease 920ms both;
}

.ufo-proof-logo-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ufoProofLogoStageIn 1.1s ease 1.05s both;
}

.ufo-proof-logo {
  position: absolute;
  inset: 0;
  width: 260px;
  height: 260px;
  display: block;
  background: #050505;
  border-radius: 50%;
  object-fit: contain;
  color: rgba(23, 23, 23, 0.8);
  filter: sepia(0.04) contrast(1.05);
}

.ufo-proof-logo-outer,
.ufo-proof-logo-inner,
.ufo-proof-logo-ship path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ufo-proof-logo-outer {
  stroke-width: 9;
}

.ufo-proof-logo-inner {
  stroke-width: 2;
  opacity: 0.72;
}

.ufo-proof-logo-text {
  fill: currentColor;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.ufo-proof-logo-text--bottom {
  font-size: 16px;
}

.ufo-proof-logo-ship {
  stroke-width: 5;
}

.ufo-proof-logo-ship circle {
  fill: currentColor;
  stroke: none;
}

.ufo-proof-logo--since {
  opacity: 1;
  animation: ufoProofSinceOut 1.7s ease 2.15s forwards;
}

.ufo-proof-logo--future {
  opacity: 0;
  transform: scale(0.985);
  animation: ufoProofFromIn 1.8s ease 2.1s forwards;
}

.ufo-machine-assembly {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #050505;
  color: #f2e9d6;
  animation: ufoMachineAssemblyFade 4.6s ease forwards;
}

.ufo-machine-assembly-panel {
  width: min(680px, calc(100vw - 44px));
  display: grid;
  gap: 18px;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ufo-machine-assembly-panel::before,
.ufo-machine-assembly-panel::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ufo-machine-gold), transparent);
  transform-origin: center;
  animation: ufoMachineLineBuild 1.2s ease forwards;
}

.ufo-machine-assembly-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 56px;
  letter-spacing: 0;
  color: #fff8e8;
}

.ufo-machine-assembly-copy {
  color: rgba(242, 233, 214, 0.7);
  font-size: 11px;
  line-height: 1.8;
}

.ufo-machine-assembly-grid {
  height: 110px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 155, 63, 0.3);
  background:
    linear-gradient(90deg, rgba(196, 155, 63, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(196, 155, 63, 0.15) 1px, transparent 1px);
  background-size: 38px 38px;
}

.ufo-machine-assembly-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(242, 233, 214, 0.34), transparent);
  transform: translateX(-100%);
  animation: ufoMachineScan 2.4s ease 0.55s forwards;
}

.ufo-machine-skin.is-assembling .ufo-machine-frame {
  animation: ufoMachineFrameArrive 1.15s ease 2.55s both;
}

.ufo-machine-skin.is-assembling .ufo-machine-hero,
.ufo-machine-skin.is-assembling .ufo-machine-section,
.ufo-machine-skin.is-assembling .ufo-machine-footer {
  animation: ufoMachineContentArrive 0.95s ease 3.05s both;
}

@keyframes ufoMachineRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ufoMachineAssemblyFade {
  0%, 72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ufoMachineLineBuild {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ufoMachineScan {
  to {
    transform: translateX(100%);
  }
}

@keyframes ufoMachineFrameArrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ufoMachineContentArrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ufoMachineProofBuildIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.994);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ufoProofGridArrive {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 0.82;
    transform: scale(1);
  }
}

@keyframes ufoProofMarkIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ufoProofStatusIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ufoProofRuleIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ufoProofLogoStageIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes ufoProofSinceOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.012);
  }
}

@keyframes ufoProofFromIn {
  0% {
    opacity: 0;
    transform: scale(0.985);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .ufo-machine-title {
    font-size: 74px;
  }

  .ufo-machine-subtitle {
    font-size: 26px;
  }

  .ufo-machine-hero {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .ufo-machine-spec {
    display: none;
  }

  .ufo-machine-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ufo-machine-logic {
    grid-template-columns: 1fr;
  }

  .ufo-machine-logic-step:not(:last-child)::after {
    display: none;
  }

  .ufo-machine-side-note {
    display: none;
  }
}

@media (max-width: 760px) {
  .ufo-machine-frame {
    padding: 18px;
  }

  .ufo-machine-topbar,
  .ufo-machine-footer,
  .ufo-machine-hero,
  .ufo-machine-section {
    width: min(100%, calc(100vw - 36px));
  }

  .ufo-machine-topbar {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .ufo-machine-brand {
    justify-content: center;
  }

  .ufo-machine-nav,
  .ufo-machine-footer-nav {
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .ufo-machine-proof {
    justify-self: center;
    text-align: center;
  }

  .ufo-machine-hero {
    grid-template-columns: 1fr;
    margin-top: 48px;
    text-align: center;
  }

  .ufo-machine-logo {
    width: min(260px, 72vw);
  }

  .ufo-machine-logo-svg {
    width: min(260px, 72vw);
  }

  .ufo-machine-title {
    font-size: 54px;
  }

  .ufo-machine-subtitle {
    font-size: 23px;
  }

  .ufo-machine-section-head h2 {
    font-size: 36px;
  }

  .ufo-machine-subtitle,
  .ufo-machine-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .ufo-machine-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .ufo-machine-actions {
    justify-content: center;
  }

  .ufo-machine-card-grid {
    grid-template-columns: 1fr;
  }

  .ufo-machine-card {
    min-height: 210px;
  }

  .ufo-machine-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ufo-machine-footer-sigil {
    justify-self: center;
  }

  .ufo-machine-assembly-title {
    font-size: 32px;
    letter-spacing: 0;
  }

  .ufo-proof-logo-stage,
  .ufo-proof-logo {
    width: 220px;
    height: 220px;
  }

  .ufo-proof-spec {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ufo-machine-skin *,
  .ufo-machine-skin *::before,
  .ufo-machine-skin *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .ufo-machine-assembly {
    display: none;
  }
}
