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

html {
  min-width: 320px;
  background: var(--cf-black);
  color-scheme: dark;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(120, 148, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 148, 255, 0.055) 1px, transparent 1px),
    var(--cf-black);
  background-size: 72px 72px;
  color: var(--cf-white);
  font-family: var(--cf-font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.18;
}

.ambient-one {
  top: -19rem;
  right: -10rem;
  background: var(--cf-signal-blue);
}

.ambient-two {
  bottom: -25rem;
  left: 20%;
  background: var(--cf-ice-blue);
  opacity: 0.08;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1440px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 30px clamp(24px, 5vw, 76px) 24px;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  width: clamp(168px, 16vw, 214px);
  padding: 8px 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.launch-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--cf-radius-pill);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--cf-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cf-signal-blue);
  box-shadow: 0 0 0 5px rgba(4, 55, 242, 0.18);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: clamp(72px, 10vh, 132px) 0 clamp(62px, 9vh, 112px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--cf-ice-blue);
  font-family: var(--cf-font-mono);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--cf-font-display);
  font-size: clamp(3.1rem, 5.1vw, 5.75rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--cf-ice-blue);
}

.hero-summary {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 23px;
  border-radius: var(--cf-radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button-primary {
  background: var(--cf-white);
  color: var(--cf-black);
}

.button-primary span {
  display: inline-flex;
  align-items: center;
  color: var(--cf-signal-blue);
  font-size: 1.1rem;
}

.button-primary svg {
  display: block;
}

.button-primary:hover {
  background: var(--cf-ice-blue);
  transform: translateY(-2px);
}

.button-primary:focus-visible {
  outline: 3px solid var(--cf-ice-blue);
  outline-offset: 4px;
}

.contact-note {
  display: grid;
  gap: 5px;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--cf-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.035em;
  line-height: 1.55;
  text-transform: uppercase;
}

.contact-note > span:first-child {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--cf-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact-detail {
  color: rgba(255, 255, 255, 0.42);
  transition: color 180ms ease;
}

.contact-note:hover .contact-detail {
  color: var(--cf-ice-blue);
}

.signal-visual {
  display: flex;
  justify-content: center;
}

.signal-frame {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(120, 148, 255, 0.18);
  background:
    radial-gradient(
      circle at center,
      rgba(4, 55, 242, 0.3) 0,
      rgba(4, 55, 242, 0.07) 44%,
      transparent 69%
    ),
    rgba(10, 16, 32, 0.46);
  clip-path: polygon(0 9%, 9% 0, 91% 0, 100% 9%, 100% 91%, 91% 100%, 9% 100%, 0 91%);
  isolation: isolate;
}

.signal-frame::before,
.signal-frame::after {
  position: absolute;
  z-index: 1;
  inset: 15%;
  border: 1px solid rgba(120, 148, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.signal-frame::after {
  inset: 27%;
  border-color: rgba(255, 255, 255, 0.1);
}

.mark-wrap {
  position: absolute;
  z-index: 4;
  inset: 24%;
  display: grid;
  place-items: center;
}

.mark-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--cf-ice-blue);
  border-style: solid;
  opacity: 0.74;
}

.corner-top-left {
  top: 10.5%;
  left: 10.5%;
  border-width: 1px 0 0 1px;
}

.corner-top-right {
  top: 10.5%;
  right: 10.5%;
  border-width: 1px 1px 0 0;
}

.corner-bottom-left {
  bottom: 10.5%;
  left: 10.5%;
  border-width: 0 0 1px 1px;
}

.corner-bottom-right {
  right: 10.5%;
  bottom: 10.5%;
  border-width: 0 1px 1px 0;
}

.frame-label {
  position: absolute;
  z-index: 6;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--cf-font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.frame-label-top {
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
}

.frame-label-bottom {
  bottom: 11%;
  left: 50%;
  transform: translateX(-50%);
}

.scan-field {
  position: absolute;
  z-index: 0;
  inset: 18% 7%;
  overflow: hidden;
  border-radius: 44%;
  opacity: 0.68;
  -webkit-mask-image: linear-gradient(90deg, transparent 1%, #000 15%, #000 85%, transparent 99%);
  mask-image: linear-gradient(90deg, transparent 1%, #000 15%, #000 85%, transparent 99%);
}

.query-beam {
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: -24%;
  width: 24%;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(90deg, transparent, rgba(120, 148, 255, 0.05) 25%, rgba(120, 148, 255, 0.3));
  box-shadow:
    8px 0 22px rgba(4, 55, 242, 0.16),
    1px 0 7px rgba(255, 255, 255, 0.28);
  animation: query-scan 9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.index-ring {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: conic-gradient(
    from 24deg,
    transparent 0 10%,
    rgba(120, 148, 255, 0.66) 10% 10.6%,
    transparent 10.6% 27%,
    rgba(255, 255, 255, 0.3) 27% 27.7%,
    transparent 27.7% 48%,
    rgba(120, 148, 255, 0.58) 48% 48.8%,
    transparent 48.8% 72%,
    rgba(255, 255, 255, 0.24) 72% 72.6%,
    transparent 72.6% 91%,
    rgba(120, 148, 255, 0.54) 91% 91.8%,
    transparent 91.8%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  pointer-events: none;
}

.index-ring-outer {
  inset: 15%;
  animation: index-rotate 36s linear infinite;
}

.index-ring-inner {
  inset: 27%;
  opacity: 0.68;
  animation: index-rotate-reverse 28s linear infinite;
}

.data-caption {
  position: absolute;
  z-index: 5;
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--cf-font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.data-caption-query {
  right: 13%;
  bottom: 25%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.data-caption-query span {
  width: 18px;
  height: 1px;
  background: var(--cf-ice-blue);
  box-shadow: 0 0 8px rgba(120, 148, 255, 0.48);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.capabilities {
  display: flex;
  gap: clamp(24px, 5vw, 72px);
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  list-style: none;
}

.capabilities li {
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}

.capabilities span {
  color: var(--cf-ice-blue);
  font-family: var(--cf-font-mono);
  font-size: 0.61rem;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--cf-font-mono);
  font-size: 0.66rem;
  white-space: nowrap;
}

@keyframes status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(4, 55, 242, 0.12);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(4, 55, 242, 0.24);
  }
}

@keyframes query-scan {
  0% {
    left: -24%;
    opacity: 0;
  }

  10%,
  82% {
    opacity: 1;
  }

  92%,
  100% {
    left: 100%;
    opacity: 0;
  }
}

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

@keyframes index-rotate-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 1024px) {
  .hero {
    display: grid;
    width: min(100%, 680px);
    margin-inline: auto;
    grid-template-areas:
      "eyebrow"
      "title"
      "summary"
      "visual"
      "actions";
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(68px, 9vw, 86px) 0 56px;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow {
    grid-area: eyebrow;
    margin-bottom: 22px;
  }

  h1 {
    grid-area: title;
    font-size: clamp(3.2rem, 7vw, 4.2rem);
  }

  .hero-summary {
    grid-area: summary;
    margin-top: 24px;
    line-height: 1.6;
  }

  .hero-actions {
    grid-area: actions;
    gap: 0;
    width: 100%;
    margin-top: 24px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--cf-radius-md);
    background: rgba(10, 16, 32, 0.72);
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .button-primary {
    justify-content: space-between;
    padding: 0 18px;
  }

  .contact-note {
    gap: 4px;
    max-width: none;
    padding: 14px 10px 8px;
  }

  .contact-note > span:first-child {
    font-size: 0.8rem;
  }

  .signal-visual {
    grid-area: visual;
    justify-content: center;
    margin-top: 30px;
  }

  .signal-frame {
    width: min(calc(100% - 16px), 600px);
    aspect-ratio: 1.52;
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.32),
      inset 0 0 40px rgba(4, 55, 242, 0.06);
    clip-path: polygon(
      0 12%,
      8% 0,
      92% 0,
      100% 12%,
      100% 88%,
      92% 100%,
      8% 100%,
      0 88%
    );
  }

  .signal-frame::before {
    inset: 9% 23%;
  }

  .signal-frame::after {
    inset: 20% 32%;
  }

  .mark-wrap {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 31%;
    transform: translate(-50%, -50%);
  }

  .frame-label {
    font-size: 0.5rem;
  }

  .frame-label-top {
    top: 12%;
  }

  .frame-label-bottom {
    bottom: 12%;
  }

  .corner-top-left,
  .corner-top-right {
    top: 13%;
  }

  .corner-bottom-left,
  .corner-bottom-right {
    bottom: 13%;
  }

  .scan-field {
    inset: 17% 6%;
  }

  .data-caption-query {
    right: 9%;
    bottom: 23%;
  }

  .site-footer {
    width: min(100%, 680px);
    margin-inline: auto;
    gap: 18px;
    padding-top: 8px;
    align-items: flex-start;
    flex-direction: column;
  }

  .capabilities {
    display: grid;
    width: 100%;
    gap: 0;
  }

  .capabilities li {
    min-height: 42px;
    padding: 0 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .capabilities li:last-child {
    border-bottom: 0;
  }

  .capabilities span {
    width: 22px;
  }

  .copyright {
    align-self: flex-end;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 48px 48px;
  }

  .site-shell {
    padding: 18px 20px 20px;
  }

  .brand {
    width: 150px;
  }

  .launch-status {
    gap: 8px;
    padding: 8px 10px;
    font-size: 0.58rem;
  }

  .hero {
    width: 100%;
    padding: 58px 0 48px;
  }

  h1 {
    font-size: clamp(2.75rem, 11.4vw, 3.6rem);
  }

  .hero-summary {
    font-size: 1rem;
  }

  .signal-frame {
    width: calc(100% - 16px);
  }
}

@media (max-width: 360px) {
  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
