:root {
  --bg: #071614;
  --bg-deep: #040e0c;
  --bg-lift: #0d2823;
  --orange: #f05a28;
  --orange-bright: #ff6b38;
  --orange-soft: rgba(240, 90, 40, 0.14);
  --orange-line: rgba(240, 90, 40, 0.38);
  --white: #f7f4ef;
  --muted: rgba(247, 244, 239, 0.68);
  --line: rgba(247, 244, 239, 0.1);
  --display: "Syne", system-ui, sans-serif;
  --body: "Sora", system-ui, sans-serif;
  --max: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--white);
  background: var(--bg-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(240, 90, 40, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 45% at 90% 70%, rgba(18, 90, 78, 0.55), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(240, 90, 40, 0.1), transparent 50%),
    linear-gradient(180deg, #0a1c18 0%, var(--bg-deep) 42%, #061310 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite;
}

.orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -8%;
  left: 28%;
  background: rgba(240, 90, 40, 0.28);
}

.orb-b {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  right: -12%;
  bottom: 8%;
  background: rgba(22, 110, 95, 0.45);
  animation-delay: -6s;
}

.orb-c {
  width: min(36vw, 300px);
  height: min(36vw, 300px);
  left: -8%;
  bottom: 22%;
  background: rgba(240, 90, 40, 0.12);
  animation-delay: -11s;
}

.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.traces path {
  stroke-dasharray: 12 18;
  animation: dash 28s linear infinite;
}

.nodes circle {
  animation: nodePulse 3.6s ease-in-out infinite;
}

.nodes circle:nth-child(odd) {
  animation-delay: 0.8s;
}

.scan {
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(240, 90, 40, 0.06) 48%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(240, 90, 40, 0.06) 52%,
    transparent 60%
  );
  animation: sweep 9s ease-in-out infinite;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100svh;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem 4.5rem;
}

.hero-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 90, 40, 0.16) 0%, transparent 68%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mark {
  width: clamp(52px, 10vw, 68px);
  height: clamp(52px, 10vw, 68px);
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(240, 90, 40, 0.35));
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
}

.name {
  font-family: var(--display);
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.ti {
  color: var(--orange);
}

.tag {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.headline {
  margin: 2.1rem 0 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2.15rem, 6.2vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.headline span {
  color: rgba(247, 244, 239, 0.78);
  font-weight: 600;
}

.summary {
  margin: 1.35rem 0 0;
  max-width: 36ch;
  font-size: clamp(1rem, 2.1vw, 1.125rem);
  font-weight: 300;
  color: var(--muted);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2.25rem;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.85rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #071614;
  text-decoration: none;
  background: linear-gradient(180deg, var(--orange-bright), var(--orange));
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(240, 90, 40, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(240, 90, 40, 0.38);
}

.cta:focus-visible,
.cta-ghost:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.cta-ghost {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-ghost:hover {
  color: var(--white);
  border-bottom-color: var(--orange);
}

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid rgba(247, 244, 239, 0.22);
  border-radius: 999px;
  opacity: 0.7;
  animation: fadeUp 1s ease 0.8s both;
}

.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--orange);
  animation: scrollDot 1.8s ease-in-out infinite;
}

.contact {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(4, 14, 12, 0.35) 0%, rgba(7, 22, 20, 0.82) 100%);
  backdrop-filter: blur(8px);
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.contact-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-bright);
}

.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-lead {
  margin: 0.75rem auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-weight: 300;
}

.form-shell {
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(10, 28, 24, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.form-host {
  min-height: 140px;
}

.form-host :is(input, textarea, select, button, label, p, h2) {
  font-family: var(--body) !important;
}

.form-host .rz-lead-form {
  max-width: none !important;
}

.meta {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.meta-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.42);
}

.meta a,
.meta span:not(.meta-label) {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}

.meta a {
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.meta a:hover {
  color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
}

.footer {
  padding: 1.35rem 1.5rem 2.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(247, 244, 239, 0.38);
}

.footer p {
  margin: 0;
  max-width: 42rem;
  margin-inline: auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -3%, 0) scale(1.06);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -420;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.8;
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 640px) {
  .meta {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
