:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5d6a76;
  --line: #dbe6e3;
  --paper: #f6fbf9;
  --white: #ffffff;
  --teal: #0f8d8a;
  --teal-dark: #075f5c;
  --coral: #ff6b4a;
  --amber: #f0b84a;
  --violet: #5967d8;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(15, 141, 138, 0.14), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(255, 107, 74, 0.12), transparent 26%),
    var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(219, 230, 227, 0.85);
  background: rgba(246, 251, 249, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--violet));
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 64px) 34px;
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.55rem, 6.5vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(15, 141, 138, 0.25);
}

.button.secondary,
.button.light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.download-facts span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.hero-stage img {
  position: absolute;
  right: -12%;
  bottom: -8%;
  width: min(680px, 54vw);
  max-width: none;
  height: auto;
  opacity: 0.74;
  filter: drop-shadow(0 34px 44px rgba(17, 24, 39, 0.18));
}

.app-window {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(219, 230, 227, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  animation: floatWindow 5.5s ease-in-out infinite;
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--teal);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 10px;
}

.url-pill,
.upload-pill,
.output-card {
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: #f8fcfb;
  font-weight: 800;
}

.upload-pill {
  justify-content: center;
  color: var(--teal-dark);
}

.voice-track {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 92px;
  margin: 18px 0;
  padding: 0 18px;
  border-radius: 8px;
  background: #111827;
}

.voice-track span {
  display: block;
  width: 100%;
  height: 22px;
  border-radius: 999px;
  background: var(--teal);
  animation: wave 1.2s ease-in-out infinite;
}

.voice-track span:nth-child(2) {
  animation-delay: 120ms;
  background: var(--amber);
}

.voice-track span:nth-child(3) {
  animation-delay: 240ms;
  background: var(--coral);
}

.voice-track span:nth-child(4) {
  animation-delay: 360ms;
  background: var(--violet);
}

.voice-track span:nth-child(5) {
  animation-delay: 480ms;
}

.clone-core {
  position: relative;
  display: grid;
  min-height: 160px;
  place-items: center;
}

.pulse-ring {
  position: absolute;
  width: 132px;
  height: 132px;
  border: 2px solid rgba(15, 141, 138, 0.35);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.core-dot {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--violet));
  font-weight: 950;
  box-shadow: 0 18px 30px rgba(89, 103, 216, 0.28);
}

.output-card {
  display: grid;
  gap: 10px;
  align-items: center;
  min-height: 72px;
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5ea;
}

.progress i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
  animation: progressMove 2.4s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(15, 141, 138, 0.22);
  border-radius: 50%;
  animation: rotate 16s linear infinite;
}

.orbit-one {
  inset: 10% 6% 13% 2%;
}

.orbit-two {
  inset: 18% 0 22% 18%;
  animation-duration: 24s;
  animation-direction: reverse;
}

.mission {
  margin: 0 clamp(18px, 5vw, 64px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mission p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 850;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 28px;
}

.section h2,
.local-band h2,
.support h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.flow-grid,
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-card,
.specs-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.flow-card {
  position: relative;
  overflow: hidden;
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
  transform-origin: left;
  animation: scanLine 3s ease-in-out infinite;
}

.flow-card:nth-child(2)::after {
  animation-delay: 220ms;
}

.flow-card:nth-child(3)::after {
  animation-delay: 440ms;
}

.flow-card:nth-child(4)::after {
  animation-delay: 660ms;
}

.flow-card h3,
.specs-grid h3 {
  margin: 16px 0 8px;
}

.flow-card p,
.specs-grid p,
.local-band p,
.support p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.flow-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #eef7f6;
  position: relative;
}

.video-icon::before {
  content: "";
  position: absolute;
  inset: 14px 12px;
  border: 3px solid var(--teal);
  border-radius: 6px;
}

.video-icon::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-left: 12px solid var(--coral);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.voice-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.voice-icon::before,
.voice-icon::after {
  content: "";
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: var(--violet);
}

.voice-icon::after {
  height: 40px;
  background: var(--amber);
}

.ai-icon::before {
  content: "IA";
  position: absolute;
  inset: 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 950;
}

.output-icon::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), var(--coral));
}

.output-icon::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
}

.specs-section {
  background: #ffffff;
}

.specs-grid article {
  min-height: 210px;
}

.spec-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.specs-grid strong {
  display: block;
  min-height: 58px;
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.15;
}

.specs-grid p {
  margin-top: 14px;
}

.minimum-note {
  margin-top: 16px;
  padding: 18px 20px;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  color: var(--muted);
  background: #fff8e7;
  line-height: 1.6;
}

.local-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(60px, 8vw, 108px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background: #111827;
}

.local-band .eyebrow,
.local-band p {
  color: #b9dcd9;
}

.local-visual {
  position: relative;
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  overflow: hidden;
}

.chip {
  position: absolute;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: rgba(15, 141, 138, 0.9);
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  animation: drift 6s ease-in-out infinite;
}

.chip:nth-child(1) {
  left: 12%;
  top: 14%;
}

.chip:nth-child(2) {
  right: 14%;
  top: 22%;
  background: rgba(89, 103, 216, 0.92);
  animation-delay: 400ms;
}

.chip:nth-child(3) {
  left: 26%;
  bottom: 15%;
  background: rgba(255, 107, 74, 0.92);
  animation-delay: 800ms;
}

.chip:nth-child(4) {
  right: 24%;
  bottom: 12%;
  background: rgba(240, 184, 74, 0.94);
  animation-delay: 1200ms;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.support div {
  max-width: 820px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes floatWindow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes wave {
  0%,
  100% {
    height: 18px;
  }
  50% {
    height: 58px;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@keyframes progressMove {
  0%,
  100% {
    width: 32%;
  }
  50% {
    width: 86%;
  }
}

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

@keyframes scanLine {
  0%,
  100% {
    transform: scaleX(0.18);
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -16px);
  }
}

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

@media (max-width: 1080px) {
  .flow-grid,
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .site-header,
  .footer,
  .support {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .local-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-stage img {
    right: -18%;
    width: 90%;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .input-row,
  .flow-grid,
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 470px;
  }

  .app-window {
    padding: 14px;
  }

  .local-visual {
    min-height: 260px;
  }

  .chip {
    width: 68px;
    height: 68px;
  }
}
